Re: Backup Solution
Hi everybody , I like to know the different backup techniques that is very cheaper (I cant go for a SAN, mirror .. even if I can purchase those,please excuse me because I believe more productivity @ less resources )for my webserver, but any solution logicaly the cheapest one ,by which I can restore all the data that I have just before the server crash(if it occurs) What I followed was I configured a crontab in mydesktop PC which will run rsync utility through ssh to my webserver at 23 rd hour of a day . so I can get incremntal backup of the directories and database ( that I configuerd for rsync )daily . But I want a solution through that I can restore my server without any data lose (ex: if the server crashes at 23.30 hour then that 30 minutes data I lose ). So many experts here in this mailing lists can suggest their techniques for a full system recovery( backup solutions) after the crash without any data lose. Your kind responses will help me lot Thanks in advance KK _ Post free property ads on Yello Classifieds now! www.yello.in http://ss1.richmedia.in/recurl.asp?pid=220 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting vim to work correctly.
Eric Schuele wrote: On 09/27/2007 21:01, Jay Chandler wrote: Howdy. Sorry to keep hitting the list with questions today, but does anyone know how to get the home, delete, end, page up, etc. keys working correctly in vim? It works in Linux, drives me nuts in FreeBSD... They work perfectly fine here. How is it you expect those keys to behave? Define working correctly. When in insert mode, and pagedown is pressed, the letter the cursor is over is capitalized, and the editor is removed from insert mode, as an example. PageUp capitalizes the letter next to it, and again removes me from insert mode. Home randomly capitalizes letters and shifts the cursor to the next letter. Insert decapitalizes the letter the cursor is over. Weird behavior like this... I was mistaken in that this is in vim-- this is in the natural version of vi that ships with the base OS. This is happening from PuTTY in default setting mode on a Windows box-- my MacBook is relatively better behaved. -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: heavy gravity fluctuation, move computer to floor rapidly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compilation error libpcre.so.0: ELF file OS ABI invalid
Context: Intel Core Duo, FreeBSD 6.2-p7, latest portsnap, gcc-4.2.2. Updating the statistical program R, some packages fail to compile (I use tarballs) because this cryptic error pops up * Installing *source* package 'MCMCpack' ... checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes checking whether c++ accepts -g... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes It seems that during the compilation a-linux-connected-lib is being looked for, doesn't it? Anyway, what should I do? Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Crash Recovery Backup Solution ?
From: dhaneshk k [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: Backup Solution Date: Fri, 28 Sep 2007 06:11:14 + Hi everybody , I like to know the different backup techniques that is very cheaper (I cant go for a SAN, mirror .. even if I can purchase those,please excuse me because I believe more productivity @ less resources )for my webserver, but any solution logicaly the cheapest one ,by which I can restore all the data that I have just before the server crash(if it occurs) What I followed was I configured a crontab in mydesktop PC which will run rsync utility through ssh to my webserver at 23 rd hour of a day . so I can get incremntal backup of the directories and database ( that I configuerd for rsync )daily . But I want a solution through that I can restore my server without any data lose (ex: if the server crashes at 23.30 hour then that 30 minutes data I lose ). So many experts here in this mailing lists can suggest their techniques for a full system recovery( backup solutions) after the crash without any data lose. Your kind responses will help me lot Thanks in advance KK _ Post free property ads on Yello Classifieds now! www.yello.in http://ss1.richmedia.in/recurl.asp?pid=220 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Single,planning to marry? Find the right match @ shaadi.com http://ss1.richmedia.in/recurl.asp?pid=202 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why Fedora core 4 by defalut and not Fedora 7 or another distribution?
Hello everyone, i`m courious why it has been choosed *Fedora core 4* as an defalut linux compatibility, and not *Fedora 7* *or 6* in the first place, and in the second why fc and not or another distro as *Arch*, *Debian*, Ubuntu, openSUSE, Mandriva,*Gentoo* etc. My best regards, Cuculici Marcel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why Fedora core 4 by defalut and not Fedora 7 or another distribution?
On Fri, 28 Sep 2007 09:57:35 +0300 Marcel Cuculici wrote: Hello everyone, i`m courious why it has been choosed *Fedora core 4* as an defalut linux compatibility, and not *Fedora 7* *or 6* in the first place, A work to switch to a new version is not finished. At -CURRENT you may try to use linux kernel version 2.6.16. and in the second why fc and not or another distro as *Arch*, *Debian*, Ubuntu, openSUSE, Mandriva,*Gentoo* etc. Mostly for historical reasons. At first it was Red Hat. Then Fedora (sometimes) Core. But you know anyone (maybe you?) may change the status-quo. ;-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ 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, Open LDAP, PAM, TLS and NSS, howto?
Hello out there, I have a problem with setting up an FreeBSD box as OpenLDAP server with several services, like SAMBA, NFS. The intention is to have a FreeBSD 7.0 fileserver (NFS, SAMBA) also acting as OpenLDAP server. So far. OpenLDAP is up and running, using TLS/SSL certificate. SAMBA is also up and running - but it never connects to the OpenLDAP server due to an connection error, but this shouldn't be the subject here, I have more basic questions about what FreeBSD already has and what to install additionally. I want customers to log in on the FBSD box, so they sould log in (authenticated via OpenLDAP), change their passwords and shells and those user specifica should be updated on the LDAP server. I already installed pam_ldap-port but ran into trouble because FreeBSD's nss obviously does not have a tag 'ldap' to refere to an OpenLDAP server (and not files). Well, I'm confused and not very firm with OpenLDAP/PAM/NSS stuff, especially if SSL/TLS come into play and I would like to ask those herein administering those setups, especially within a hybrid NFS/SAMBA fileservicing environment, where to find up to date informationes/howto/tipps. Most websites and HowTo's I found were Linux related or, if related to FreeBSD, outdated. Sorry beeing so unspecific, but the problem is complex (to me) so I would better ask for those who are willing to help or give hints and tips. Thanks in advance and for your patience, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Please link to CaravanUser.com
Thanks for listing your caravan park or business with CaravanUser.com You may or may not be aware that CaravanUser.com is a non profitable organisation earning money to buy wheelchair accessible static caravans for families with disabled children to enjoy holidays in the best way possible, caravanning. I am sending you this e-mail to ask if it would be possible for you to put a link from your website to CaravanUser.com. This way it will help us attract valued customers with the possibility of raising more money. We will of course put a link back to your site. Remember the more links to and from your site the higher up the search engines you go so this is beneficial for both of us. Please use the information below for the link: www.caravanuser.com Camera user is one of the UK's largest growing caravan park databases which specialises in caravan parks throughout the UK in Europe they are wheelchair accessible for disabled caravanners. Thanks very much your time. Chris Stevens Director - CaravanUser.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: D-Link G122 C1 (USB WiFi)
Hi, On 9/28/07, James Jeffery [EMAIL PROTECTED] wrote: Ive tryed for ages to get this USB Wifi card to work with FreeBSD6.2. Many forums are saying its impossible, ive tryed ndis, project evil ect. Has anyone had any success with it? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] There is rum(4) in 7.0-CURRENT according to the manpage it seems to be supported. http://www.freebsd.org/cgi/man.cgi?query=rumapropos=0sektion=0manpath=FreeBSD+7-currentformat=html It's not merged into RELENG_6, but kevlo has made a patch available at http://people.freebsd.org/~kevlo/, you should contact him for more information. HTH, Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't connecto to www.freebsd.org
On Thu, Sep 27, 2007 at 07:46:46PM -0800, Beech Rintoul wrote: On Thursday 27 September 2007, Beech Rintoul said: On Thursday 27 September 2007, Jeff Mohler said: On 9/27/07, icantthinkofone [EMAIL PROTECTED] wrote: I just found I am having this problem, too. I can access every other site I visit, both large and small. 'make fetchindex' no longer works, eg, it times out. As does 'fetch www.freebsd.org/docs' as suggested. --- Well dang.. I tried to visit www.freebsd.org as well, and I got porn instead. Who do I thank? No..I wont be trying to fix this. I am having no trouble getting to the main www.freebsd.org site and I don't get any porno either - unless you consider Bsdie pornographic. His tennies don't cover much. jerry /humor Try the mirror: http://ww2.sg.freebsd.org it's up. -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html -- ___ 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: Backup Large FileServer
Alexandre Biancalana wrote: Hi list, I've to backup a large window$ 2003 FileServer (~800GB) from my new FreeBSD BackupServer (before I can change this fileserver to FreeBSD). I'm trying cygwin+rsync on FileServer side and rsync+hardlinks on BackupServer side. Using rsync the two great advantages are: 1. Only copy the changes 2. on the BackupServer side I use hardlinks from the older backups, with this only space consumed is from file that where changed. on the bad side: 1. Problems with long pathnames 2. Problems with unicode filenames 3. Very slow copy ~ 2MB/s (I've doubt if this can be improved using any other copy method) Last time I had to do this I ended up using the ntbackup util that comes with windows and getting it to save to a file on a samba share. This at least meant that it dealt with things like NTFS ACLs/permissions and other such windows oddities. Cygwin, while great in that you can at least have a decent command line on windows, is very slow. I'd hope that you could get better, depending on the connection between the servers. Vince I want hear some ideas from the list about the options available to accomplish this job. Best Regards, Alexandre Biancalana ___ 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]
Backup Large FileServer
Hi list, I've to backup a large window$ 2003 FileServer (~800GB) from my new FreeBSD BackupServer (before I can change this fileserver to FreeBSD). I'm trying cygwin+rsync on FileServer side and rsync+hardlinks on BackupServer side. Using rsync the two great advantages are: 1. Only copy the changes 2. on the BackupServer side I use hardlinks from the older backups, with this only space consumed is from file that where changed. on the bad side: 1. Problems with long pathnames 2. Problems with unicode filenames 3. Very slow copy ~ 2MB/s (I've doubt if this can be improved using any other copy method) I want hear some ideas from the list about the options available to accomplish this job. Best Regards, Alexandre Biancalana ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU Monitoring Software
Hi, On 9/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was wanting to see what my servers utilize as far as memory, disk, cpu, etc. over a certain time period. Is there some software that I can use? I guess something like the 'top' command that gives an average output over a certain time. I downloaded sysstat for my linux boxes, but it does not want to compile under freebsd. What about using systat(1) ? :-) It's already in the base system. HTH, Regards. Thanks. -- Scott Mayo System Administrator Bloomfield Schools Gun Control: Belief that violent predators willing to ignore laws against robbery, kidnapping, rape, and murder will obey a law telling them that they cannot do so with a gun. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD Tomcat
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Rambius Ivanov Sent: Friday, 28 September 2007 1:50 PM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Tomcat Hello, On 9/28/07, Byung-Hee HWANG [EMAIL PROTECTED] wrote: In this case I think you are better to use Linux than to use FreeBSD because still it's difficult to operate Java stuff on FreeBSD. So I recommend that you should move to Linux. Actually nowadays it is easy to use java and tomcat on freebsd. First one has to install a JDK. I myself prefer diablo-jdk. Go to /usr/ports/java/diablo-jdk15, type make install and follow the instructions. Due to java licenses you have to manually fetch some files from internet and put them in /usr/ports/distfiles. If you are required to use sun jdk, you can install it from java/jdk15. Note that it will need an existing jdk to bootstrap. By default it uses linux-sun-jdk and I had problems with it in the past. In this case I used diablo-jdk and sun jdk15 installed correctly. From my experinece, however, I can tell that tomcat runs fine with diablo-jdk. Next go to /usr/ports/www/tomcat55/ and install it and you have java and tomcat. I/You/He/She/We love FreeBSD, though;; Oh yes, we loves FreeBSD, don't we, my precious? Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thank you for the replies. I installed linux-sun-jdk, tomcat and mod_jk (tomcat apache connector) from ports. It seesm to work, but I have not have it tested in the production environment by the developers. Would you mind explaining the difference between sun-jdk and diablo jdk? Kind regards, Yance Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
Hello, On 9/28/07, John Nielsen [EMAIL PROTECTED] wrote: This is not correct. The Java packages available from the FreeBSD Foundation are based on the same codebase as any other 1.5 JDK or JRE from Sun. Thank you for correcting me. I was not (fully) aware of this fact. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting vim to work correctly.
On Friday 28 September 2007 06:05:49 Jay Chandler wrote: Eric Schuele wrote: On 09/27/2007 21:01, Jay Chandler wrote: Howdy. Sorry to keep hitting the list with questions today, but does anyone know how to get the home, delete, end, page up, etc. keys working correctly in vim? It works in Linux, drives me nuts in FreeBSD... They work perfectly fine here. How is it you expect those keys to behave? Define working correctly. When in insert mode, and pagedown is pressed, the letter the cursor is over is capitalized, and the editor is removed from insert mode, as an example. PageUp capitalizes the letter next to it, and again removes me from insert mode. Home randomly capitalizes letters and shifts the cursor to the next letter. Insert decapitalizes the letter the cursor is over. Weird behavior like this... I was mistaken in that this is in vim-- this is in the natural version of vi that ships with the base OS. This is happening from PuTTY in default setting mode on a Windows box-- my MacBook is relatively better behaved. If you also run Linux, you can copy your ~/.vimrc or the systemwide one to your FreeBSD as ~/.vimrc and that should fix the problem. Also export your editor as vim in your ~/.bashrc. In addition, I make an alias so that when I use 'vi' as a command, I get 'vim' and not what FreeBSD uses as vi by default. I had the same problems that you report. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compilation error libpcre.so.0: ELF file OS ABI invalid
In the last episode (Sep 28), vittorio said: Context: Intel Core Duo, FreeBSD 6.2-p7, latest portsnap, gcc-4.2.2. Updating the statistical program R, some packages fail to compile (I use tarballs) because this cryptic error pops up * Installing *source* package 'MCMCpack' ... checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes checking whether c++ accepts -g... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes It seems that during the compilation a-linux-connected-lib is being looked for, doesn't it? Anyway, what should I do? I'd check $PATH and maybe $LD_PRELOAD for things pointing into /compat/linux . Moving /usr/compat/linux/lib/libpcre.so.0 out of the way might change the error message and help you track down the cause. Running ktrace -d or truss -f on your port build might help too. Another possibility is that the freebsd-port version of /usr/local/lib/libpcre.so.0 has gotten damaged somehow. FreeBSD's grep doesn't link with pcre so it's sort of unlikely that that would be the cause, though. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Large FileServer
Alexandre, I would suggest investing in a detachable storage media. My personal favorite is this one from Maxtor Solutions... http://www.maxtorsolutions.com/en/catalog/MSS_II_Dual/index.html You have the option of direct attach via USB or NetAttach via 10/100/1000BT, the latter would be good because you can serve the files from the device while you are transitioning the server. In any event it would make your transition fairly headache free. Cheers, Mikel King CITO, Tech Alliance, INC Senior Editor, Daemon News 39 West Fourteenth Street Second Floor New York, NY 10011 http://www.techally.com http://www.daemonnews.org t: 212.727.2100x132 +--+ How do you spell cooperation? Pessimists use each other, but optimists help each other. Collaboration feeds your spirit, while competition only stokes your ego. You'll find the best way to get along. +--+ On Sep 28, 2007, at 9:52 AM, Alexandre Biancalana wrote: Hi list, I've to backup a large window$ 2003 FileServer (~800GB) from my new FreeBSD BackupServer (before I can change this fileserver to FreeBSD). I'm trying cygwin+rsync on FileServer side and rsync+hardlinks on BackupServer side. Using rsync the two great advantages are: 1. Only copy the changes 2. on the BackupServer side I use hardlinks from the older backups, with this only space consumed is from file that where changed. on the bad side: 1. Problems with long pathnames 2. Problems with unicode filenames 3. Very slow copy ~ 2MB/s (I've doubt if this can be improved using any other copy method) I want hear some ideas from the list about the options available to accomplish this job. Best Regards, Alexandre Biancalana ___ 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]
Re: CPU Monitoring Software
a certain time. I downloaded sysstat for my linux boxes, but it does not want to compile under freebsd. systat under freebsd (single s) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU Monitoring Software
I was wanting to see what my servers utilize as far as memory, disk, cpu, etc. over a certain time period. Is there some software that I can use? I guess something like the 'top' command that gives an average output over a certain time. you could make a script using top|head +sleep :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
D-Link G122 C1 (USB WiFi)
Ive tryed for ages to get this USB Wifi card to work with FreeBSD6.2. Many forums are saying its impossible, ive tryed ndis, project evil ect. Has anyone had any success with it? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
Hello On 9/28/07, Yance Kowara [EMAIL PROTECTED] wrote: Would you mind explaining the difference between sun-jdk and diablo jdk? From the point of view of the end user or even the Java programmer there is no differences - both jdk's offer the same public APIs, compilers, runtime environments, etc. The differences are in the internal implementaions. Sun JDK is developed by Sun Microsystem. They officially offer binary downloads for Windows, Solaris and Linux, as well the source code (for their JDK). A FreeBSD port for Sun JDK does exists, but it is not made by Sun. Take a look at that page: http://www.freebsd.org/java/ Diablo JDK (I think) is another implementation of JDK - see http://freebsdfoundation.org/downloads/java.shtml. Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting vim to work correctly.
On 2007-09-28 13:45, Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Friday 28 September 2007 11:56, Giorgos Keramidas wrote: On 2007-09-27 23:05, Jay Chandler [EMAIL PROTECTED] wrote: Eric Schuele wrote: On 09/27/2007 21:01, Jay Chandler wrote: Howdy. Sorry to keep hitting the list with questions today, but does anyone know how to get the home, delete, end, page up, etc. keys working correctly in vim? It works in Linux, drives me nuts in FreeBSD... They work perfectly fine here. How is it you expect those keys to behave? Define working correctly. When in insert mode, and pagedown is pressed, the letter the cursor is over is capitalized, and the editor is removed from insert mode, as an example. PageUp capitalizes the letter next to it, and again removes me from insert mode. Home randomly capitalizes letters and shifts the cursor to the next letter. Insert decapitalizes the letter the cursor is over. Weird behavior like this... Nothing weird, same here with every terminal I have installed(xterm, Eterm konsole). You should instal Vim if you want the old behaviour. Indeed. After Nikos' post I reread the original. Jay, what you are describing is: When in insert mode, and pagedown is pressed, the letter the cursor is over is capitalized, and the editor is removed from insert mode, as an example. This is expected behavior if you are using /usr/bin/vi. Keep in mind that nvi is a different program. Why don't you install Vim? Indeed, if vim's behavior is desired, then it may be a good idea to install vim. I usually keep around an installation of editors/vim-lite for those rare occassions that I have managed to break my local Emacs installation beyond repair :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU Monitoring Software
And for visual historical data, use MRTG. ~BAS On Fri, 2007-09-28 at 15:30 +0200, Dominique Goncalves wrote: Hi, On 9/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was wanting to see what my servers utilize as far as memory, disk, cpu, etc. over a certain time period. Is there some software that I can use? I guess something like the 'top' command that gives an average output over a certain time. I downloaded sysstat for my linux boxes, but it does not want to compile under freebsd. What about using systat(1) ? :-) It's already in the base system. HTH, Regards. Thanks. -- Scott Mayo System Administrator Bloomfield Schools Gun Control: Belief that violent predators willing to ignore laws against robbery, kidnapping, rape, and murder will obey a law telling them that they cannot do so with a gun. ___ 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: Backup Solution
On Fri, Sep 28, 2007 at 06:11:14AM +, dhaneshk k wrote: Hi everybody , I like to know the different backup techniques that is very cheaper (I cant go for a SAN, mirror .. even if I can purchase those,please excuse me because I believe more productivity @ less resources )for my webserver, but any solution logicaly the cheapest one ,by which I can restore all the data that I have just before the server crash(if it occurs) What I followed was I configured a crontab in mydesktop PC which will run rsync utility through ssh to my webserver at 23 rd hour of a day . so I can get incremntal backup of the directories and database ( that I configuerd for rsync )daily . But I want a solution through that I can restore my server without any data lose (ex: if the server crashes at 23.30 hour then that 30 minutes data I lose ). You are stuck with some kind of real time mirroring then. There is no backup solution that doesn't have at least a little lag. There are also socalled 'bare-metal' solutions such as Acronis, but in some sense, they are also a form of mirror/softupdate/journaling that may cost you possibly more than you want - given what you say above and are still vulnerable to a physical disk failure without additional backup and if you have to revert to one of those backups, then you have that lag loss. A mirror of a checksumming raid with periodic backups is probably the best you can get without getting in to huge money. The only question is your backup media. Tape is the old standby and still works, but takes a long time. Additional large disks are becoming popular because they are fast and easy but can get expensive when the dump takes more than one for a full dump. jerry So many experts here in this mailing lists can suggest their techniques for a full system recovery( backup solutions) after the crash without any data lose. Your kind responses will help me lot Thanks in advance KK _ Post free property ads on Yello Classifieds now! www.yello.in http://ss1.richmedia.in/recurl.asp?pid=220 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0, Open LDAP, PAM, TLS and NSS, howto?
FreeBSD 5.x and 6.x work fine with both PAM and NSS - LDAP w/ TLS (PKI). All other services (RADIUS, Apache ((mod_ldap, mod_pam_auth), PHP, interactive shell, SFTP, etc.) can be tied into LDAP either directly or via PAM. As for password change, I don't know if anyone has a passwd(1) binary that properly changes the LDAP password attribute -- if there is and its out there, it requires ACL insanity. Like Oracle, you can either understand OpenLDAP ACLs, or you have real work to do :} Check the nss_pam.conf and nss_ldap.conf configs in local/etc/* -- set to debug 1 to get debugging info. Feel free to share error messages. ~BAS On Fri, 2007-09-28 at 10:54 +, O. Hartmann wrote: Hello out there, I have a problem with setting up an FreeBSD box as OpenLDAP server with several services, like SAMBA, NFS. The intention is to have a FreeBSD 7.0 fileserver (NFS, SAMBA) also acting as OpenLDAP server. So far. OpenLDAP is up and running, using TLS/SSL certificate. SAMBA is also up and running - but it never connects to the OpenLDAP server due to an connection error, but this shouldn't be the subject here, I have more basic questions about what FreeBSD already has and what to install additionally. I want customers to log in on the FBSD box, so they sould log in (authenticated via OpenLDAP), change their passwords and shells and those user specifica should be updated on the LDAP server. I already installed pam_ldap-port but ran into trouble because FreeBSD's nss obviously does not have a tag 'ldap' to refere to an OpenLDAP server (and not files). Well, I'm confused and not very firm with OpenLDAP/PAM/NSS stuff, especially if SSL/TLS come into play and I would like to ask those herein administering those setups, especially within a hybrid NFS/SAMBA fileservicing environment, where to find up to date informationes/howto/tipps. Most websites and HowTo's I found were Linux related or, if related to FreeBSD, outdated. Sorry beeing so unspecific, but the problem is complex (to me) so I would better ask for those who are willing to help or give hints and tips. Thanks in advance and for your patience, Oliver ___ 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]
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
CPU Monitoring Software
I was wanting to see what my servers utilize as far as memory, disk, cpu, etc. over a certain time period. Is there some software that I can use? I guess something like the 'top' command that gives an average output over a certain time. I downloaded sysstat for my linux boxes, but it does not want to compile under freebsd. Thanks. -- Scott Mayo System Administrator Bloomfield Schools Gun Control: Belief that violent predators willing to ignore laws against robbery, kidnapping, rape, and murder will obey a law telling them that they cannot do so with a gun. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.2 amd64 ufs_dirbad
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been chasing my tail with a problem for a few days now and I'm about to throw in the towel. I have a Tyan Thunder K8SR w/ 2 amd64's, 6GB of mem, and a 250 GB SATA drive. I've been trying to get FreeBSD 6.2 amd64 on it. When I do the install, if I try to put the ports on, it reliably crashes with a ufs_dirbad. I can install w/o the ports. I found a ref to booting with: set hw.physmem=4G and that gets me through (w/ the ports). When I buildworld, I eventually get the same ufs_dirbad. I have swapped out the drive and tried a new one (same problem). WHenever I reboot (at all) if I fsck I see lots of filesystem errors. I just did a memtest86 over night, and found no problems. Can anyone help me out here? I can provide any other info that would help. Thanks, Eric -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFG/Tr8K/tq6CJjZQIRAjwKAJ48hBPeFwnSBQaykw7rJsNW49Rt3wCeO0HY yxThKkuyCTPJOjfTw2KWsp4= =syDq -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: libX11 configure error
On 9/28/07, John E Hein [EMAIL PROTECTED] wrote: Alex P wrote at 18:33 +0400 on Sep 27, 2007: hi. My system can`t to update libX11. FreeBSD 6_2 p7. logs attached. setenv XORG_UPDATE yes ports is up to date Can you help me to clear problem? . . configure:22997: checking keysymdef.h configure:23016: error: Cannot find keysymdef.h It should be part of xproto. pkg_info -L -x xproto | grep keysymdef /usr/local/include/X11/keysymdef.h tnx. it cleared problem.I`ve found many absent files by reinstalling xproto, kbproto etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
Quoting Ivan \Rambius\ Ivanov [EMAIL PROTECTED]: On 9/28/07, Yance Kowara [EMAIL PROTECTED] wrote: Would you mind explaining the difference between sun-jdk and diablo jdk? From the point of view of the end user or even the Java programmer there is no differences - both jdk's offer the same public APIs, compilers, runtime environments, etc. The differences are in the internal implementaions. Sun JDK is developed by Sun Microsystem. They officially offer binary downloads for Windows, Solaris and Linux, as well the source code (for their JDK). A FreeBSD port for Sun JDK does exists, but it is not made by Sun. Take a look at that page: http://www.freebsd.org/java/ Diablo JDK (I think) is another implementation of JDK - see http://freebsdfoundation.org/downloads/java.shtml. This is not correct. The Java packages available from the FreeBSD Foundation are based on the same codebase as any other 1.5 JDK or JRE from Sun. The difference is that they are available as certified binary packages. See the original announcement for all the details: http://freebsdfoundation.org/press/20060405-PRrelease.shtml then consider donating to the Foundation to support ongoing and future porting and certification work for Java on FreeBSD. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Deny access from localhost to internet.....
Hi guys, How are you today? The question is this..I want to restrict external access, that is from my BSD to the internet, to some groups of users. Other groups i want to access internet normally. I dont want this group of users to be able to establish connections to the internet but yes to the internal systems on the LAN... Is this possible without hacking the kernel? Thanks and salutes for all Agusitn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting vim to work correctly.
On 2007-09-27 23:05, Jay Chandler [EMAIL PROTECTED] wrote: Eric Schuele wrote: On 09/27/2007 21:01, Jay Chandler wrote: Howdy. Sorry to keep hitting the list with questions today, but does anyone know how to get the home, delete, end, page up, etc. keys working correctly in vim? It works in Linux, drives me nuts in FreeBSD... They work perfectly fine here. How is it you expect those keys to behave? Define working correctly. When in insert mode, and pagedown is pressed, the letter the cursor is over is capitalized, and the editor is removed from insert mode, as an example. PageUp capitalizes the letter next to it, and again removes me from insert mode. Home randomly capitalizes letters and shifts the cursor to the next letter. Insert decapitalizes the letter the cursor is over. Weird behavior like this... I was mistaken in that this is in vim-- this is in the natural version of vi that ships with the base OS. This is happening from PuTTY in default setting mode on a Windows box-- my MacBook is relatively better behaved. This is usually a configuration error related to the $TERM setup of the client, so what's your terminal set to in the PuTTY setup of Windows? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PF NAT, how to forward GRE?
Mel [EMAIL PROTECTED] writes: I take it you mean gre(4), which defines two IP protocols. So your rules will need to include proto gre or proto mobile to identify the traffic. Something like: nat on $wan_if proto gre from $int_if:network to any - ($wan_if) and don't forget to include a matching pass rule. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting vim to work correctly.
On Fri, Sep 28, 2007 at 01:45:13PM +0300, Nikos Vassiliadis wrote: Keep in mind that nvi is a different program. Why don't you install Vim? That's my immediate recommendation, too. Another recommendation I might make is to use vi the way it was intended: keep your fingers on home row, and when you want to do something like page up or page down, use the command mode keys that correspond with the desired action. For instance, ^B will page up, and typing a number first will cause it to page up that many times. ^F does the same thing, but pages down instead. ^U and ^D move up and down, respectively, a number of lines determined by the editor's scroll option (usually half a visible page in Vim, measured in screen lines rather than file lines as it would be measured in vi). I, personally, like Vim. It's what I use. I also try to use it the way vi is best used, because the benefits apply just as much to Vim. Specifically, except when actually entering entirely new text, I stay in command mode. Editing and moving around in a document is much, much faster for me when I can do it all from the home row of the keyboard. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] McCloctnick the Lucid: The first rule of magic is simple. Don't waste your time waving your hands and hopping when a rock or a club will do. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Large FileServer
On 9/28/07, Alexandre Biancalana [EMAIL PROTECTED] wrote: Hi list, I've to backup a large window$ 2003 FileServer (~800GB) from my new FreeBSD BackupServer (before I can change this fileserver to FreeBSD). I'm trying cygwin+rsync on FileServer side and rsync+hardlinks on BackupServer side. Using rsync the two great advantages are: 1. Only copy the changes 2. on the BackupServer side I use hardlinks from the older backups, with this only space consumed is from file that where changed. on the bad side: 1. Problems with long pathnames 2. Problems with unicode filenames 3. Very slow copy ~ 2MB/s (I've doubt if this can be improved using any other copy method) I want hear some ideas from the list about the options available to accomplish this job. Alexandre - have you looked at using something like Bacula: http://www.bacula.org/ You should get much better performance (you can write your backup to disk - it does not have to be a tape device) and all windows metadata etc. should be preserved as well. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU Monitoring Software
What about monit? http://www.tildeslash.com/monit/ Here is the manual online: http://www.tildeslash.com/monit/doc/manual.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting vim to work correctly.
On Friday 28 September 2007 11:56, Giorgos Keramidas wrote: On 2007-09-27 23:05, Jay Chandler [EMAIL PROTECTED] wrote: Eric Schuele wrote: On 09/27/2007 21:01, Jay Chandler wrote: Howdy. Sorry to keep hitting the list with questions today, but does anyone know how to get the home, delete, end, page up, etc. keys working correctly in vim? It works in Linux, drives me nuts in FreeBSD... They work perfectly fine here. How is it you expect those keys to behave? Define working correctly. When in insert mode, and pagedown is pressed, the letter the cursor is over is capitalized, and the editor is removed from insert mode, as an example. PageUp capitalizes the letter next to it, and again removes me from insert mode. Home randomly capitalizes letters and shifts the cursor to the next letter. Insert decapitalizes the letter the cursor is over. Weird behavior like this... Nothing weird, same here with every terminal I have installed(xterm, Eterm konsole). You should instal Vim if you want the old behaviour. I was mistaken in that this is in vim-- this is in the natural version of vi that ships with the base OS. This is happening from PuTTY in default setting mode on a Windows box-- my MacBook is relatively better behaved. This is usually a configuration error related to the $TERM setup of the client, so what's your terminal set to in the PuTTY setup of Windows? Keep in mind that nvi is a different program. Why don't you install Vim? Actually, the only consistent behaviour is, that vi clones have inconsistencies among them :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Solution
In response to dhaneshk k [EMAIL PROTECTED]: Hi everybody , I like to know the different backup techniques that is very cheaper (I cant go for a SAN, mirror .. even if I can purchase those,please excuse me because I believe more productivity @ less resources )for my webserver, but any solution logicaly the cheapest one ,by which I can restore all the data that I have just before the server crash(if it occurs) What I followed was I configured a crontab in mydesktop PC which will run rsync utility through ssh to my webserver at 23 rd hour of a day . so I can get incremntal backup of the directories and database ( that I configuerd for rsync )daily . But I want a solution through that I can restore my server without any data lose (ex: if the server crashes at 23.30 hour then that 30 minutes data I lose ). So many experts here in this mailing lists can suggest their techniques for a full system recovery( backup solutions) after the crash without any data lose. rsync more often. Seriously. If your data is that important, put it in a loop and run it nonstop, or with a 5-minute sleep between each run. In general, however, the requirements you seem to be asking for don't fall under the category of cheap. There are some things you just can't do cheaply, and getting up to the minute backups is one of them. Who are all these other people in the recipient list? -- 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 [EMAIL PROTECTED]
File size discrepancies
I have a file hierarchy of about 18GiB which was copied from a UFS 2 file system one hard disk to a UFS 2 file system on a gmirror array. The size of the two hierarchies differ by 12 bytes according to du(1). No errors were reported by cp(1) during the copy operation. Is this normal, or should I start hunting for corruption? FreeBSD 6.1-RELEASE -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deny access from localhost to internet.....
On Sep 28, 2007, at 10:51 AM, Agus wrote: The question is this..I want to restrict external access, that is from my BSD to the internet, to some groups of users. Other groups i want to access internet normally. I dont want this group of users to be able to establish connections to the internet but yes to the internal systems on the LAN... Is this possible without hacking the kernel? Sure. Install a proxy mechanism like SOCKS or Squid (if you just want to control web traffic) which requires users to authenticate before they are allowed to connect to the net... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adding CR/LF
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 Thanks in advance for your assistance. Jay ___ 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 Sep 28, 2007, at 11:34 AM, [EMAIL PROTECTED] wrote: 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 Thanks in advance for your assistance. /bin/echo and the builtin echo command found in /bin/sh and /bin/tcsh do not understand the C-style \r and \n escapes; you could switch your script to using Bash or ZSH and it would work in those shells, or else use printf command rather than echo. man builtin might give some insight. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File size discrepancies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Modulok wrote: I have a file hierarchy of about 18GiB which was copied from a UFS 2 file system one hard disk to a UFS 2 file system on a gmirror array. The size of the two hierarchies differ by 12 bytes according to du(1). No errors were reported by cp(1) during the copy operation. Is this normal, or should I start hunting for corruption? Hmmm... 12 bytes out of 18GiB is pretty good going. A 12 byte discrepancy could be due to something as simple as a changed path name in a sym-link or two. Most other reasonable explanations for a size difference I can think of would probably result in a bigger discrepancy. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG/UrG8Mjk52CukIwRCC8yAJwJfgq5bRiUxL0FmTJx0KRTSEl4iQCfR0LD kgdxWwDRQCoGeCTOS0ANDGk= =7DnR -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File size discrepancies
On Sep 28, 2007, at 11:27 AM, Modulok wrote: I have a file hierarchy of about 18GiB which was copied from a UFS 2 file system one hard disk to a UFS 2 file system on a gmirror array. The size of the two hierarchies differ by 12 bytes according to du(1). No errors were reported by cp(1) during the copy operation. cp may copy through symlinks-- it's not the ideal tool for replicating very large hierarchies if they contain links. tar, rsync, dump/restore might be better choices, and you could use rsync - acv to check for and correct any differences. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DHCP and DNS
I had a wired network with a FreeBSD gateway/firewall. The gateway died and I converted to a mixed network with a Belkin N1 wireless router. I have 2 windows machines and 3 FreeBSD 6.2-stable machines. fix etc/rc.conf and reboot. dhclient is running. I have leases and can access the web. All machines can ping the outside world by name and any other machine by IP. The windows machines can ping any other maching by name. The FreeBSD machines can not ping any local machine by name. What accesses the router to get DHCP info? # cat /etc/hosts | sed '/^#/d' ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain # hostname dv6000 # ping dv6000 ping: cannot resolve dv6000: Unknown host I am missing something. What? tomdean # cat /var/db/dhclient* lease { interface fxp0; fixed-address 192.168.2.5; option subnet-mask 255.255.255.0; option routers 192.168.2.1; option domain-name-servers 192.168.2.1,66.93.87.2,216.231.41.2; option domain-name tddhome; option dhcp-lease-time 283824000; option dhcp-message-type 5; option dhcp-server-identifier 192.168.2.1; renew 3 2012/3/28 05:36:11; rebind 3 2015/8/12 02:36:11; expire 0 2016/9/25 17:36:11; } I cannot get DNS for machines inside the router # dig dv6000 ; DiG 9.3.4-P1 dv6000 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 42504 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;dv6000.IN A ;; Query time: 0 msec ;; SERVER: 192.168.2.1#53(192.168.2.1) ;; WHEN: Fri Sep 28 11:37:49 2007 ;; MSG SIZE rcvd: 24 But, I can see machines outside the router # dig mail.speakeasy.org ; DiG 9.3.4-P1 mail.speakeasy.org ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 27174 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.speakeasy.org.IN A ;; ANSWER SECTION: mail.speakeasy.org. 60 IN A 69.17.117.59 ;; Query time: 1 msec ;; SERVER: 192.168.2.1#53(192.168.2.1) ;; WHEN: Fri Sep 28 11:46:20 2007 ;; MSG SIZE rcvd: 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0, Open LDAP, PAM, TLS and NSS, howto?
Thank you for responding. So, I'll feel free reporting my bad luck. This is a reference page I consulted for some hints, but without success: http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html First, OS ist the most recent FreeBSD 7.0. OpenLDAP is openldap-server-2.3.38, standard config, no SASL support or anything else apart from default PAM_LDAP NSS_LDAP I renamed cached.conf to nscd.conf as suggested (for your information). In /etc/nsswitch.conf I changed # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD: src/etc/nsswitch.conf,v 1.1 2006/05/03 15:14:47 ume Exp $ # group: files ldap group_compat: nis hosts: files dns networks: files passwd: files ldap passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files I also changed /etc/pam.d/sshd to this: # # $FreeBSD: src/etc/pam.d/sshd,v 1.16 2007/06/10 18:57:20 yar Exp $ # # PAM configuration for the sshd service # # auth authsufficient pam_opie.so no_warn no_fake_prompts authrequisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass authsufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass authsufficient pam_ssh.so no_warn try_first_pass authrequiredpam_unix.so no_warn try_first_pass # account account requiredpam_nologin.so #accountrequiredpam_krb5.so account requiredpam_login_access.so account requiredpam_unix.so # session #sessionoptionalpam_ssh.so session requiredpam_permit.so # password #password sufficient pam_krb5.so no_warn try_first_pass passwordrequiredpam_unix.so no_warn try_first_pass Both configuration files for nss_ldap and pam_ldap respective got linked to /usr/localetc/openldap/ldap.conf, which looks like this: # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASEdc=foo,dc=org #URIldapi:/// URI ldapi://%2fvar%2frun%2fopenldap%2fldapi/ #SSL start_tls #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never #TLS_CACERT #TLS_CERT #TLS_KEY #TLS_REQCERTallow #TLS_REQCERTdemand #TLS_CHECKPEER yes My /etc/rc.conf.local file has the following OpenLDAP specific entry: ### ### OpenLDAP Server ### ### slapd_enable=YES #slapd_flags='-d 3 -4 -s 4 -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap:/// ldaps:///' slapd_flags='-4 -s 4 -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://192.168.2.210 ldaps://192.168.2.210' slapd_sockets=/var/run/openldap/ldapi My OpenLDAP config file has SSL-certificates disabled. After the installation of nss_ldap the slapd server takes several decades of seconds to start. But it starts well and after it has initiated itself, I can do on the server a simple 'slapcat' and receive. But I can't access the LDAP server. Doing an 'id testuser' results in 'id not found'. On the console, I receive massively errors like this: TCP: [127.0.0.1]:389 to [127.0.0.1]:63896 tcpflags 0x18PUSH,ACK; tcp_do_segment: FIN_WAIT_2: Received data after socket was closed, sending RST and removing tcpcb Well, I checked sockstat for a listening slapd and I found slapd listening on both loopback, local NIC adn on both ports 389 and 636. So what is wrong ? Regards, a desperate Oliver Brian A. Seklecki wrote: FreeBSD 5.x and 6.x work fine with both PAM and NSS - LDAP w/ TLS (PKI). All other services (RADIUS, Apache ((mod_ldap, mod_pam_auth), PHP, interactive shell, SFTP, etc.) can be tied into LDAP either directly or via PAM. As for password change, I don't know if anyone has a passwd(1) binary that properly changes the LDAP password attribute -- if there is and its out there, it requires ACL insanity. Like Oracle, you can either understand OpenLDAP ACLs, or you have real work to do :} Check the nss_pam.conf and nss_ldap.conf configs in local/etc/* -- set to debug 1 to get debugging info. Feel free to share error messages. ~BAS On Fri, 2007-09-28 at 10:54 +, O. Hartmann wrote: Hello out there, I have a problem with setting up an FreeBSD box as OpenLDAP server with several services, like SAMBA, NFS. The intention is to have a FreeBSD 7.0 fileserver (NFS, SAMBA) also acting as OpenLDAP server. So far. OpenLDAP is up and running, using TLS/SSL certificate. SAMBA is also up and running - but it never connects to the OpenLDAP server due to an connection error, but this shouldn't be the subject here, I have more basic questions about
Re: DHCP and DNS
-- Original message -- From: Thomas D. Dean [EMAIL PROTECTED] I had a wired network with a FreeBSD gateway/firewall. The gateway died and I converted to a mixed network with a Belkin N1 wireless router. I have 2 windows machines and 3 FreeBSD 6.2-stable machines. fix etc/rc.conf and reboot. dhclient is running. I have leases and can access the web. All machines can ping the outside world by name and any other machine by IP. The windows machines can ping any other maching by name. The FreeBSD machines can not ping any local machine by name. What accesses the router to get DHCP info? # cat /etc/hosts | sed '/^#/d' ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain # hostname dv6000 # ping dv6000 ping: cannot resolve dv6000: Unknown host I am missing something. What? tomdean # cat /var/db/dhclient* lease { interface fxp0; fixed-address 192.168.2.5; option subnet-mask 255.255.255.0; option routers 192.168.2.1; option domain-name-servers 192.168.2.1,66.93.87.2,216.231.41.2; option domain-name tddhome; option dhcp-lease-time 283824000; option dhcp-message-type 5; option dhcp-server-identifier 192.168.2.1; renew 3 2012/3/28 05:36:11; rebind 3 2015/8/12 02:36:11; expire 0 2016/9/25 17:36:11; } I cannot get DNS for machines inside the router # dig dv6000 ; DiG 9.3.4-P1 dv6000 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 42504 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;dv6000.IN A ;; Query time: 0 msec ;; SERVER: 192.168.2.1#53(192.168.2.1) ;; WHEN: Fri Sep 28 11:37:49 2007 ;; MSG SIZE rcvd: 24 But, I can see machines outside the router # dig mail.speakeasy.org ; DiG 9.3.4-P1 mail.speakeasy.org ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 27174 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.speakeasy.org.IN A ;; ANSWER SECTION: mail.speakeasy.org. 60 IN A 69.17.117.59 ;; Query time: 1 msec ;; SERVER: 192.168.2.1#53(192.168.2.1) ;; WHEN: Fri Sep 28 11:46:20 2007 ;; MSG SIZE rcvd: 52 Do you have an internal DNS server? Is it possible the windows boxes are using NetBIOS for name resolution, and hence can ping each other by name? Absent and internal DNS server, the FreeBSD machines would be stumped...for internal name resolution. Bob ___ 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 Fri, Sep 28, 2007 at 06:34:22PM -, [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 Are those single quotes the right ones to use there? jerry 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 Thanks in advance for your assistance. Jay ___ 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: File size discrepancies
Modulok [EMAIL PROTECTED] writes: I have a file hierarchy of about 18GiB which was copied from a UFS 2 file system one hard disk to a UFS 2 file system on a gmirror array. The size of the two hierarchies differ by 12 bytes according to du(1). No errors were reported by cp(1) during the copy operation. Is this normal, or should I start hunting for corruption? The explanation is probably benign, but checking is very simple; just build an mtree(8) description on the original hierarchy and check it against the second one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP and DNS
How can I get FreeBSD to query the router for IP information for other machines? tomdean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Portupgrading cups-base gives compiler error
Hi all, I'm running 6.2-STABLE and my ports are up to date. When trying to portupgrade print/cups-base from 1.2.12 to 1.3.0 I am getting a compiler error. Any cure for this ? Thanks ! ... echo Compiling admin.c... Compiling admin.c... cc -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c admin.c admin.c: In function `do_config_server': admin.c:1364: warning: implicit declaration of function `cupsAdminGetServerSettings' admin.c:1383: error: `CUPS_SERVER_REMOTE_ANY' undeclared (first use in this function) admin.c:1383: error: (Each undeclared identifier is reported only once admin.c:1383: error: for each function it appears in.) admin.c:1421: warning: implicit declaration of function `cupsAdminSetServerSettings' admin.c: In function `do_menu': admin.c:2278: error: `CUPS_SERVER_REMOTE_ANY' undeclared (first use in this function) gmake[1]: *** [admin.o] Error 1 gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.3.0/cgi-bin' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.79030.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.2.12 UPGRADE_PORT_VER=1.2.12 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! print/cups-base (cups-base-1.2.12)(compiler error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed bsdaddict# -- Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP and DNS
The router provides DHCP services. The windows boxes can ping the FreeBDS boxes by name. tomdean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP and DNS
On Sep 28, 2007, at 12:27 PM, Thomas D. Dean wrote: How can I get FreeBSD to query the router for IP information for other machines? Your question isn't very clear, but if you want to configure FreeBSD to use a nameserver on your router (or elsewhere), set up /etc/ resolv.conf. Otherwise, FreeBSD will issue ARP queries to locate other machines on the local subnet. Normally, the machine itself will reply, but it's certainly possible for other devices to publish that info (via proxy-arping; see man arp). -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone have a favorite laptop?
On Wed, Sep 26, 2007 at 11:12:44AM -0400, Jerry McAllister wrote: On Tue, Sep 25, 2007 at 09:24:55PM -0400, Bob Johnson wrote: I have installed FreeBSd on IBM/Lenova and Dell with little problem. But, I wonder if anyone here has had any dealings with a nice little notebook from a Japanese company called 'Kojinsha'. I saw them the last time I was in Japan, of course, running MS-something. They are very compact, but still with a typable keyboard unlike some other compact notebooks and a very sharp looking display. I am hoping I can find them sold with an English Language setup in the USA. (I have seen an European (British?) English Language version. So, has anyone seen these or better yet, tried one? I was quite tempted to order one of those from conics.net a while ago, but getting it across the border into Russia is a real PITA. When I googled to check for possible compatibility issues I saw people running Linux on it, there's a working Xorg driver, too. Most likely FreeBSD will run fine on it as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP and DNS
I have a Belkin N1 wireless router with a mix of wireless and wired machines. 2 wired FreeBSD machines, 1 wired Windows machine, 1 wireless FreeBSD machine, -current wpi driver in the works, and a wireless windows machine. The wired FreeBSD machines get leases with dhclient. Looking at the router with seamonkey, I can see the leases for all the machines. Do I have to manually create/maintain /etc/hosts on each FreeBSD machine to use names to access the other machines on the local network? Is there a tool to extract lease information from the router? tomdean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File size discrepancies
In the last episode (Sep 28), Modulok said: I have a file hierarchy of about 18GiB which was copied from a UFS 2 file system one hard disk to a UFS 2 file system on a gmirror array. The size of the two hierarchies differ by 12 bytes according to du(1). No errors were reported by cp(1) during the copy operation. du doesn't count in bytes; it counts in disk blocks or KB. A 12KB difference is probably just due to better packing of directories in your newly-created tree as compared to your orignal one. To figure out where the difference is, run du -a in both trees and diff the two outputs. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newby needing help
Roland Smith wrote: On Thu, Sep 27, 2007 at 09:11:01PM +, neal wrote: I've checked out all the main functions I want from FreeBSD and had them all working (hehe, but since broke some) so I'm happy it will do the things I want so far. First question, what is recommended regarding doing updates. Is it best to just do all of them? It depends. If the update of the base system concerns something that you use, I would definitely install it. That's the problem though, same with linux, there are obvious things that I would update but there are likely items that I would never have a clue if I needed them or not. As I'm going to do a completely fresh install on a clean system I might just try doing all upgrades right from the start and see how it goes from there. The best way to keep the base system up-to-date is using csup (which is still referenced in the Handbook in §20.3 as cvsup). For updating the ports tree I can recommend portsnap. For updating the ports themselves I use portmaster. I have always had problems doing this e.g. with Mandrake and other Linuxs and so am reluctant, but if it is usual I'll give it a try. The upgrade tools on FreeBSD work quite well. But if you're rebuilding your own ports it can take quite some time depending on your machine. I've been using the Package Manager so far but will look into using a command prompt at some later time. (I'm also reluctant as I assume a full update will update xorg to 7.3 and I have 7.2 installed with the latest nvidia 9# driver and it works beautifully so would rather stay with that. There is a new beta driver available. Yes, I've read about it here. I have read the Handbook, but still have a problem understanding how to map my ext2 and ext3 partitions to the UFS notation. e.g. The notation is a BSD thing, it has nothing to do with UFS. ok. I have a drive hda, it has a swap an unused space and four partitions one of which is my home partition hda7. How do I refer to this home partition using ad0??? notation If you do 'ls ad0*' you'll see what is available. Remember that what DOS and Linux calls partitions are called slices in FreeBSD. Partitions in FreeBSD are subdivisions of a slice. E.g. ad0s1a is partition a of slice 1 of ad0. Customarily, slice b is used for swap, and slice c is unused. You can see this with the 'bsdlabel' command. OK, I've done that. this is the result for the drive currently being used by linux. - [EMAIL PROTECTED] /usr/home/pineal]$ ls /dev/ad0* /dev/ad0/dev/ad0s2 /dev/ad0s6 /dev/ad0s8 /dev/ad0s1 /dev/ad0s5 /dev/ad0s7 /dev/ad0s9 - The number of apparent slices (those with a ad0s[n] designation) seen by BSD is one more than the number of linux partitions I actually have. No I haven't miss-counted. I have 1 swapfile partition and five partitions hda5-9 used by linux. btw I tried to run the bsdlabel command but it returns no valid label found for both ad0 and ad1. (as this is what I understand I need to do, if not please enlighten). I have installed the ext2fs utilities/drivers and can mount an ext2 fs written on dvd without problems. I would recommend converting the disk to native UFS2 filesystems. I'm not sure if mounting an ext2 slice read/write is such a good idea. Make (in Linux, e.g. Knoppix) a tarball of your data and seve it to another disk or CD,DVD. Reslice and format the disk with sysinstall, and restore your backup. Maybe I didn't make myself clear here. I have an existing in-use Linux system. I want to be able to access the /home partition as it contains all my personal data that I will need to move over to FreeBSD when I do the new install. You might find §16.3 of the Handbook enlightening. did you mean from Ch 16 3. Why will chmod not change the permissions on symlinks? I intend to do a completely fresh install and would like to compile for my specific pc kit. Would I be best doing this following installation and initial setting up? Yes. Read Chapter 4 of the Handbook about ports. My FreeBSD page has some tips about setting port variables in make.conf; http://www.xs4all.nl/~rsmith/freebsd/index.html Roland Had a quick look at your 'page', looks useful. thank you for your help Roland neal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stress testing/burning in HDD's
On Wed, Sep 26, 2007 at 01:59:25PM -0700, Don O'Neil wrote: I have an array that has a drive that keeps timing out/failing... So I need to replace it. However, I want to stress test/burn in a replacement disk first. What is the best way to do this? Use smartmontools to run long self-tests. You can also try tools like mhdd (free) and spinrite (commercial) for in-depth analysis of a hard drive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP and DNS
On Sep 28, 2007, at 1:19 PM, Thomas D. Dean wrote: I have a Belkin N1 wireless router with a mix of wireless and wired machines. 2 wired FreeBSD machines, 1 wired Windows machine, 1 wireless FreeBSD machine, -current wpi driver in the works, and a wireless windows machine. The wired FreeBSD machines get leases with dhclient. Looking at the router with seamonkey, I can see the leases for all the machines. Do I have to manually create/maintain /etc/hosts on each FreeBSD machine to use names to access the other machines on the local network? Is there a tool to extract lease information from the router? You could write something with curl or wget easily enough, but for that kind of situation, you're better off setting up a dhcpd on one of the machines and allocating fixed IPs to the MAC addresses of the boxes you care about. From there, you can either set up a static hosts file which matches the DHCP assignments, or set up local DNS. -- -Chuck ___ 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 Fri, 28 Sep 2007, [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 It took me a bit to realize that what you're trying to do is go from a variable with a space-separated list of filenames to a variable with a newline-separated list. If you don't really need that second variable but just want to show those names on the screen, just echo ${filename} in the loop. echo appends a linefeed. Or use printf, which can understand standard character escapes. If you really want a new variable, echo the FILENAMES variable into tr to replace spaces with newlines. (\r is not needed.) String manipulation in sh is painful at best. Any of the scripting languages are better at this. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrading cups-base gives compiler error
I have the same issue on 7-current On 9/28/07, beni [EMAIL PROTECTED] wrote: Hi all, I'm running 6.2-STABLE and my ports are up to date. When trying to portupgrade print/cups-base from 1.2.12 to 1.3.0 I am getting a compiler error. Any cure for this ? Thanks ! ... echo Compiling admin.c... Compiling admin.c... cc -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c admin.c admin.c: In function `do_config_server': admin.c:1364: warning: implicit declaration of function `cupsAdminGetServerSettings' admin.c:1383: error: `CUPS_SERVER_REMOTE_ANY' undeclared (first use in this function) admin.c:1383: error: (Each undeclared identifier is reported only once admin.c:1383: error: for each function it appears in.) admin.c:1421: warning: implicit declaration of function `cupsAdminSetServerSettings' admin.c: In function `do_menu': admin.c:2278: error: `CUPS_SERVER_REMOTE_ANY' undeclared (first use in this function) gmake[1]: *** [admin.o] Error 1 gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.3.0/cgi-bin' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.79030.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.2.12 UPGRADE_PORT_VER=1.2.12 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! print/cups-base (cups-base-1.2.12)(compiler error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed bsdaddict# -- Beni. ___ 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: newby needing help
On Fri, Sep 28, 2007 at 09:39:50PM +, neal wrote: Roland Smith wrote: On Thu, Sep 27, 2007 at 09:11:01PM +, neal wrote: I've checked out all the main functions I want from FreeBSD and had them all working (hehe, but since broke some) so I'm happy it will do the things I want so far. First question, what is recommended regarding doing updates. Is it best to just do all of them? It depends. If the update of the base system concerns something that you use, I would definitely install it. That's the problem though, same with linux, there are obvious things that I would update but there are likely items that I would never have a clue if I needed them or not. As I'm going to do a completely fresh install on a clean system I might just try doing all upgrades right from the start and see how it goes from there. There are different branches that you can follow. You could go for 6.2-RELEASE with (security patches). You won't have to update this often. Or if you need drivers or features that are not in RELEASE yet, you can follow 6-STABLE. 7-CURRENT is for those feeling adventurous. I'd recommend starting with 6.2-RELEASE with patches. The best way to keep the base system up-to-date is using csup (which is still referenced in the Handbook in §20.3 as cvsup). For updating the ports tree I can recommend portsnap. For updating the ports themselves I use portmaster. I have always had problems doing this e.g. with Mandrake and other Linuxs and so am reluctant, but if it is usual I'll give it a try. The upgrade tools on FreeBSD work quite well. But if you're rebuilding your own ports it can take quite some time depending on your machine. I've been using the Package Manager so far but will look into using a command prompt at some later time. I've never used Package Manager. I didn't even know FreeBSD had one. :-) I have a drive hda, it has a swap an unused space and four partitions one of which is my home partition hda7. How do I refer to this home partition using ad0??? notation If you do 'ls ad0*' you'll see what is available. Remember that what DOS and Linux calls partitions are called slices in FreeBSD. Partitions in FreeBSD are subdivisions of a slice. E.g. ad0s1a is partition a of slice 1 of ad0. Customarily, slice b is used for swap, and slice c is unused. You can see this with the 'bsdlabel' command. OK, I've done that. this is the result for the drive currently being used by linux. - [EMAIL PROTECTED] /usr/home/pineal]$ ls /dev/ad0* /dev/ad0/dev/ad0s2 /dev/ad0s6 /dev/ad0s8 /dev/ad0s1 /dev/ad0s5 /dev/ad0s7 /dev/ad0s9 - The number of apparent slices (those with a ad0s[n] designation) seen by BSD is one more than the number of linux partitions I actually have. No I haven't miss-counted. I have 1 swapfile partition and five partitions hda5-9 used by linux. Try mounting slices 5-9 with mount_ext2fs (as root). btw I tried to run the bsdlabel command but it returns no valid label found for both ad0 and ad1. My bad. That only works with BSD partitions. Maybe I didn't make myself clear here. I have an existing in-use Linux system. I want to be able to access the /home partition as it contains all my personal data that I will need to move over to FreeBSD when I do the new install. I would still recommend moving the data to a UFS2 filesystem. You might find §16.3 of the Handbook enlightening. did you mean from Ch 16 3. Why will chmod not change the permissions on symlinks? I mean chapter 16, section 3; Adding Disks (on my 6-STABLE system). The HTML version lives at file:///usr/share/doc/en_US.ISO8859-1/books/handbook/disks-adding.html Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpDe3i2IgxrZ.pgp Description: PGP signature
Install problems with CD
Hi all, This is my very first post in this list, so I beg for your patience :) I'm trying to install FreeBSD 6.1 on an IBM Netfinity 5000. I have the two CD's set. The machine uses a IDE DVD drive, and 5 SCSI disks. I boot the machine and the CD starts to boot. I select the FreeBSD normal booting. Everything seems to be fine. I can see the messages about the detected devices (BIOS CDROM is cd0 and so on...) I start the installation, The disks are detected, I set up my partitions and then I select the CD/DVD media installation... and then I get a No CD/DVD drive is present. The drive is working in terms of hardware (I can run several live CD linux distros for example) and then access the CD as usual. How is it possible that after booting with FreeBSD the sysinstall (?) program doesn't detect the cd? 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]
xorg nvidia
Hello everyone, To install nvidia driver 100.14.11 i did cd /usr/ports/x11/nvidia-driver/ make install clean and afther that rehash and nvidia-xconfig, but the X dose not start and give this error: ___ Insomniak# startx xauth: creating new authority file /root/.serverauth.828 xauth: (argv):1: bad display name Insomniak.nuambenzina.ro:0 in list comman d xauth: (stdin):1: bad display name Insomniak.nuambenzina.ro:0 in add comman d X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.2-STABLE i386 Current Operating System: FreeBSD Insomniak.nuambenzina.ro 6.2-STABLEFreeBSD 6. 2-STABLE #0: Thu Sep 27 23:19:23 EEST 2007 [EMAIL PROTECTED] :/us r/obj/usr/src/sys/GENERIC i386 Build Date: 28 September 2007 08:07:07AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Sat Sep 29 00:04:41 2007 (==) Using config file: /etc/X11/xorg.conf (EE) NVIDIA(0): = WARNING WARNING WARNING WARNING = (EE) NVIDIA(0): This server has a video driver ABI version of 2.0 but this (EE) NVIDIA(0): driver is designed to work with versions before 2.0. (EE) NVIDIA(0): Please check http://www.nvidia.com/ for driver updates or (EE) NVIDIA(0): downgrade to an X server with a supported driver ABI. (EE) NVIDIA(0): === (II) Module ramdac already built-in NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory ). (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and (EE) NVIDIA(0): that the NVIDIA device files have been created properly. (EE) NVIDIA(0): Please consult the NVIDIA README for details. (EE) NVIDIA(0): *** Aborting *** : Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.2-STABLE i386 Current Operating System: FreeBSD Insomniak.nuambenzina.ro 6.2-STABLEFreeBSD 6. 2-STABLE #0: Thu Sep 27 23:19:23 EEST 2007 [EMAIL PROTECTED] :/us r/obj/usr/src/sys/GENERIC i386 Build Date: 28 September 2007 08:07:07AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Sat Sep 29 00:04:41 2007 (==) Using config file: /etc/X11/xorg.conf (EE) NVIDIA(0): = WARNING WARNING WARNING WARNING = (EE) NVIDIA(0): This server has a video driver ABI version of 2.0 but this (EE) NVIDIA(0): driver is designed to work with versions before 2.0. (EE) NVIDIA(0): Please check http://www.nvidia.com/ for driver updates or (EE) NVIDIA(0): downgrade to an X server with a supported driver ABI. (EE) NVIDIA(0): === (II) Module ramdac already built-in NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory ). (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and (EE) NVIDIA(0): that the NVIDIA device files have been created properly. (EE) NVIDIA(0): Please consult the NVIDIA README for details. (EE) NVIDIA(0): *** Aborting *** (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found X connection to :0.0 broken (explicit kill or server shutdown). xauth: (argv):1: bad display name Insomniak.nuambenzina.ro:0 in remove comm and __ In /usr/ports/UPDATING it`s say: 20070913: AFFECTS: users of x11/xorg, x11/nvidia-driver AUTHOR: [EMAIL PROTECTED] X.org ports were updated to 7.3. Since we're now using the modular build, the upgrade is pretty much painless. If you're using the x11/xorg meta-port, upgrade should be as easy as: # portupgrade -R xorg Users of nvidia-driver will have to make sure Composite extension is turned off and start Xorg with the following command: $ startx -- -ignoreABI The -ignoreABI option is a Xorg option. If you're using gdm, kdm or xdm, you will have to modify your configuration file so that Xorg
Re: xorg nvidia
This is a known issue with all nvidia cards and xorg 7.3... nvidia should release an updated driver very soon... until then to get some possible hints do a search of this list for nvidia issues. --Aryeh On 9/28/07, Marcel Cuculici [EMAIL PROTECTED] wrote: Hello everyone, To install nvidia driver 100.14.11 i did cd /usr/ports/x11/nvidia-driver/ make install clean and afther that rehash and nvidia-xconfig, but the X dose not start and give this error: ___ Insomniak# startx xauth: creating new authority file /root/.serverauth.828 xauth: (argv):1: bad display name Insomniak.nuambenzina.ro:0 in list comman d xauth: (stdin):1: bad display name Insomniak.nuambenzina.ro:0 in add comman d X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.2-STABLE i386 Current Operating System: FreeBSD Insomniak.nuambenzina.ro 6.2-STABLEFreeBSD 6. 2-STABLE #0: Thu Sep 27 23:19:23 EEST 2007 [EMAIL PROTECTED] :/us r/obj/usr/src/sys/GENERIC i386 Build Date: 28 September 2007 08:07:07AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Sat Sep 29 00:04:41 2007 (==) Using config file: /etc/X11/xorg.conf (EE) NVIDIA(0): = WARNING WARNING WARNING WARNING = (EE) NVIDIA(0): This server has a video driver ABI version of 2.0 but this (EE) NVIDIA(0): driver is designed to work with versions before 2.0. (EE) NVIDIA(0): Please check http://www.nvidia.com/ for driver updates or (EE) NVIDIA(0): downgrade to an X server with a supported driver ABI. (EE) NVIDIA(0): === (II) Module ramdac already built-in NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory ). (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and (EE) NVIDIA(0): that the NVIDIA device files have been created properly. (EE) NVIDIA(0): Please consult the NVIDIA README for details. (EE) NVIDIA(0): *** Aborting *** : Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.2-STABLE i386 Current Operating System: FreeBSD Insomniak.nuambenzina.ro 6.2-STABLEFreeBSD 6. 2-STABLE #0: Thu Sep 27 23:19:23 EEST 2007 [EMAIL PROTECTED] :/us r/obj/usr/src/sys/GENERIC i386 Build Date: 28 September 2007 08:07:07AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Sat Sep 29 00:04:41 2007 (==) Using config file: /etc/X11/xorg.conf (EE) NVIDIA(0): = WARNING WARNING WARNING WARNING = (EE) NVIDIA(0): This server has a video driver ABI version of 2.0 but this (EE) NVIDIA(0): driver is designed to work with versions before 2.0. (EE) NVIDIA(0): Please check http://www.nvidia.com/ for driver updates or (EE) NVIDIA(0): downgrade to an X server with a supported driver ABI. (EE) NVIDIA(0): === (II) Module ramdac already built-in NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory ). (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and (EE) NVIDIA(0): that the NVIDIA device files have been created properly. (EE) NVIDIA(0): Please consult the NVIDIA README for details. (EE) NVIDIA(0): *** Aborting *** (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found X connection to :0.0 broken (explicit kill or server shutdown). xauth: (argv):1: bad display name Insomniak.nuambenzina.ro:0 in remove comm and __ In /usr/ports/UPDATING it`s say: 20070913: AFFECTS: users of x11/xorg, x11/nvidia-driver AUTHOR: [EMAIL PROTECTED] X.org ports were updated to 7.3. Since we're now using the modular build, the upgrade is pretty much painless. If you're using the x11/xorg
Re: Install problems with CD
If I remember right this is a known issue with some older distro CD's (the boot code doesn't need any kind of software driver for the CD but the install code does)... I suggest either using a newer version like 6.2 or using the install from network option for install medium. --Aryeh On 9/28/07, Fernando Apesteguía [EMAIL PROTECTED] wrote: Hi all, This is my very first post in this list, so I beg for your patience :) I'm trying to install FreeBSD 6.1 on an IBM Netfinity 5000. I have the two CD's set. The machine uses a IDE DVD drive, and 5 SCSI disks. I boot the machine and the CD starts to boot. I select the FreeBSD normal booting. Everything seems to be fine. I can see the messages about the detected devices (BIOS CDROM is cd0 and so on...) I start the installation, The disks are detected, I set up my partitions and then I select the CD/DVD media installation... and then I get a No CD/DVD drive is present. The drive is working in terms of hardware (I can run several live CD linux distros for example) and then access the CD as usual. How is it possible that after booting with FreeBSD the sysinstall (?) program doesn't detect the cd? 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install problems with CD
On 9/29/07, Aryeh Friedman [EMAIL PROTECTED] wrote: If I remember right this is a known issue with some older distro CD's (the boot code doesn't need any kind of software driver for the CD but the install code does)... I suggest either using a newer version like 6.2 or using the install from network option for install medium. OK, But after the installation, will FreeBSD detect my DVD drive? Cheers --Aryeh On 9/28/07, Fernando Apesteguía [EMAIL PROTECTED] wrote: Hi all, This is my very first post in this list, so I beg for your patience :) I'm trying to install FreeBSD 6.1 on an IBM Netfinity 5000. I have the two CD's set. The machine uses a IDE DVD drive, and 5 SCSI disks. I boot the machine and the CD starts to boot. I select the FreeBSD normal booting. Everything seems to be fine. I can see the messages about the detected devices (BIOS CDROM is cd0 and so on...) I start the installation, The disks are detected, I set up my partitions and then I select the CD/DVD media installation... and then I get a No CD/DVD drive is present. The drive is working in terms of hardware (I can run several live CD linux distros for example) and then access the CD as usual. How is it possible that after booting with FreeBSD the sysinstall (?) program doesn't detect the cd? 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cant send email using mail but it works telnetting...
Hi list... I gound a problem while trying to send an email with a script using mail -s Subject [EMAIL PROTECTED] Then i entered the data...finished with . but it gets stuck in the queue with this... V8 T1191019178 K1191020151 N2 P120418 I0/80/47582 MDeferred: Connection refused by himalaya.free-shells.com.ar. Fbs $_localhost [127.0.0.1] $rESMTP $severest.free-shells.com.ar ${daemon_flags} ${if_addr}127.0.0.1 S[EMAIL PROTECTED] MDeferred: Connection refused by himalaya.free-shells.com.ar. rRFC822; [EMAIL PROTECTED] RPFD:[EMAIL PROTECTED] H?P?Return-Path: 81g H??Received: from everest.free-shells.com.ar (localhost [127.0.0.1]) by everest.free-shells.com.ar (8.13.6/8.13.6) with ESMTP id l8SMdc7L021779 for [EMAIL PROTECTED]; Fri, 28 Sep 2007 19:39:38 -0300 (ART) (envelope-from [EMAIL PROTECTED]) H??Received: (from [EMAIL PROTECTED]) by everest.free-shells.com.ar (8.13.6/8.13.6/Submit) id l8SMdc3P021778 for [EMAIL PROTECTED]; Fri, 28 Sep 2007 19:39:38 -0300 (ART) (envelope-from brahama) H??Date: Fri, 28 Sep 2007 19:39:38 -0300 (ART) H??From: User Brahama [EMAIL PROTECTED] H??Message-Id: [EMAIL PROTECTED] H??To: [EMAIL PROTECTED] H??Subject: subjet . My hostname is everestmy firewall/router name is himalaya I think the problem is that is trying to resolve to himalaya.free-shells.com.ar which is the FQDN in my NS could it be that? how can i bypass local mail to go directly to localhost sendmail...? Thanks... PS: While telneting localhost 25 and sending it manually works ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP and DNS
At 01:48 PM 9/28/2007, Thomas D. Dean wrote: I had a wired network with a FreeBSD gateway/firewall. The gateway died and I converted to a mixed network with a Belkin N1 wireless router. I have 2 windows machines and 3 FreeBSD 6.2-stable machines. fix etc/rc.conf and reboot. dhclient is running. I have leases and can access the web. All machines can ping the outside world by name and any other machine by IP. The windows machines can ping any other maching by name. The FreeBSD machines can not ping any local machine by name. What accesses the router to get DHCP info? # cat /etc/hosts | sed '/^#/d' ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain You need to add the hostname dv6000 entry to hosts, or create your own zone files and run bind. As these are private IP's you need either to update hosts or run DNS. You may find it easier to give servers static private IP's that way you are assured your hosts entries or DNS entries are correct. # hostname dv6000 # ping dv6000 ping: cannot resolve dv6000: Unknown host I am missing something. What? tomdean # cat /var/db/dhclient* lease { interface fxp0; fixed-address 192.168.2.5; option subnet-mask 255.255.255.0; option routers 192.168.2.1; option domain-name-servers 192.168.2.1,66.93.87.2,216.231.41.2; option domain-name tddhome; option dhcp-lease-time 283824000; option dhcp-message-type 5; option dhcp-server-identifier 192.168.2.1; renew 3 2012/3/28 05:36:11; rebind 3 2015/8/12 02:36:11; expire 0 2016/9/25 17:36:11; } I cannot get DNS for machines inside the router # dig dv6000 ; DiG 9.3.4-P1 dv6000 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 42504 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;dv6000.IN A ;; Query time: 0 msec ;; SERVER: 192.168.2.1#53(192.168.2.1) ;; WHEN: Fri Sep 28 11:37:49 2007 ;; MSG SIZE rcvd: 24 But, I can see machines outside the router # dig mail.speakeasy.org ; DiG 9.3.4-P1 mail.speakeasy.org ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 27174 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.speakeasy.org.IN A ;; ANSWER SECTION: mail.speakeasy.org. 60 IN A 69.17.117.59 ;; Query time: 1 msec ;; SERVER: 192.168.2.1#53(192.168.2.1) ;; WHEN: Fri Sep 28 11:46:20 2007 ;; MSG SIZE rcvd: 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install problems with CD
Depends on the distro (some have broken drivers in the install some don't... no matter what you will probally want to look at doing a cvsup upgrade to a newer version once you have installed it [see the handbook for details]). --Aryeh On 9/28/07, Fernando Apesteguía [EMAIL PROTECTED] wrote: On 9/29/07, Aryeh Friedman [EMAIL PROTECTED] wrote: If I remember right this is a known issue with some older distro CD's (the boot code doesn't need any kind of software driver for the CD but the install code does)... I suggest either using a newer version like 6.2 or using the install from network option for install medium. OK, But after the installation, will FreeBSD detect my DVD drive? Cheers --Aryeh On 9/28/07, Fernando Apesteguía [EMAIL PROTECTED] wrote: Hi all, This is my very first post in this list, so I beg for your patience :) I'm trying to install FreeBSD 6.1 on an IBM Netfinity 5000. I have the two CD's set. The machine uses a IDE DVD drive, and 5 SCSI disks. I boot the machine and the CD starts to boot. I select the FreeBSD normal booting. Everything seems to be fine. I can see the messages about the detected devices (BIOS CDROM is cd0 and so on...) I start the installation, The disks are detected, I set up my partitions and then I select the CD/DVD media installation... and then I get a No CD/DVD drive is present. The drive is working in terms of hardware (I can run several live CD linux distros for example) and then access the CD as usual. How is it possible that after booting with FreeBSD the sysinstall (?) program doesn't detect the cd? 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrading cups-base gives compiler error
When will this be in cvsup? --Aryeh On 9/29/07, Frank Jahnke [EMAIL PROTECTED] wrote: The cups-base upgrade error can be fixed with a simple patch. See http://www.freebsd.org/cgi/query-pr.cgi?pr=116721 (I was bitten by this as well.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
On Fri, Sep 28, 2007 at 07:14:33AM -0700, Yance Kowara wrote: [...] Thank you for the replies. I installed linux-sun-jdk, tomcat and mod_jk (tomcat apache connector) from ports. It seesm to work, but I have not have it tested in the production environment by the developers. I suggest that you use the native jdk instead (which you can bootstrap build with the linux-sun-jdk). The linux-sun-jdk has various issues running correctly on FreeBSD; check the java-mailing archives. The native jdk removes the requirement of yet another layer of software to run (ie the linuxalator), and simplifies debugging. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- Irrationality is the square root of all evil - Douglas Hofstadter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP and DNS
You need to add the hostname dv6000 entry to hosts, or create your own zone files and run bind. As these are private IP's you need either to update hosts or run DNS. You may find it easier to give servers static private IP's that way you are assured your hosts entries or DNS entries are correct. AHA! where is my head? All the FreeBSD machines run samba. # nmblookup asus fueno dv6000 hp_pavillion nat-valid-name \ | sed -e '/^query/d' -e '/name.*failed/d' -e 's/00//' 192.168.2.6 asus 192.168.2.3 fueno 192.168.2.5 dv6000 192.168.2.4 hp_pavillion and, put this in /etc/hosts, periodically. Then, all I need to know is the names of the machines, which I can put on one machine and copy it to others. Any other ideas? tomdean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU Monitoring Software
On 9/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was wanting to see what my servers utilize as far as memory, disk, cpu, etc. over a certain time period. Is there some software that I can use? I guess something like the 'top' command that gives an average output over a certain time. I downloaded sysstat for my linux boxes, but it does not want to compile under freebsd. Thanks. try bsdsar http://www.googlebit.com/bsdsar/ it is also in ports,just search ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
url encoding a string with base system tools
I am creating a new port and part of the install procedure is the install script needs to send some data to a web server in the form of http://.?X where XXX is the url encoded plain text (can include any ascii printable character) that needs to be sent. Since this for a port I want to do the plain to url encoded text with tools *ONLY* found in the base freebsd install (no ports). How would I do this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]