Re: nforce2 (for the zillionth time, I should imagine)
On Wednesday 10 September 2003 06:25 pm, Lewis Thompson wrote: Hi, I've just purchased a new machine (a micro-ATX machine) with an nforce2 board. After a little searching on Google/Groups it looks to still be pretty much unsupported. Can anybody give a run-down of the how each aspect is? The board I have has onboard GeForce4 MX (which I know will work with the new drivers), onboard sound, onboard network card, etc. Any details would be appreciated. Thanks very much, -lewiz. You could read the chapter in the FreeBSD Handbook for X Window System: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Or you could get the driver from nVidia for FreeBSD, which can be found here: http://www.nvidia.com/object/freebsd_1.0-4365.html The list of supported cards is in the Linux README file, here: ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/README.txt Best of luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i can't find my second network card!
On Wed, 10 Sep 2003, LALEKAN ODOFFIN wrote: i don't know the NIC details and its kinda difficult for me to get it. but assuming i get it what do i do with the details. Just lead me on. i will do anything to get it on. hi, you can get the NIC details using pciconf -l -v as root. when you have determined that, proceed as instructed in the FreeBSD handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html Joseph. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmms-arts plugin
On Wednesday 10 September 2003 01:49, Todd Stephens wrote: I am having a lot of pain trying to compile the xmms-arts plugin available from xmms.org, since it is not in the ports anymore. If anyone uses the xmms-arts plugin on freebsd I would really appreciate any help. I am running FreeBSD-4.8 STABLE, with the ports cvsuped and upraded today. I do not believe you need it. I am running XMMS under KDE with no arts plugin without any problems at all. You don't *need* it, but xmms will lock the sound-device while playing and thus hindering kde-apps using it. One solution is to use vchans, but it sound *awfull* with my HW. An arts-plugin to xmms would be really nice, but I never got the plugin working apart from crashing everythin IIRC. Bjarne -- Homepage: http://www.mekanix.dk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: set user-id
From: Dan Nelson [EMAIL PROTECTED] To: Gerald S. Stoller [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: set user-id Date: Wed, 23 Jul 2003 14:23:05 -0500 (snip) Well, why don't you just chmod 4755 /bin/ksh, then. :-D with a slight change, I copied ksh to /bin with the name kshroot , made sure that the group on it is the group of root , and then did chmod 4750 /bin/kshroot Thus only the users who are 'close to' root (e.g., generally users who have the root password so they can become root if necessary) can run this shell whenever they need to act as root , and can use it in scripts (first line: #!/bin/kshroot). Again note that these scripts can only be invoked by users who are 'close to' root. For the other users, I'd have to use a sudo. That will work, too. -- Dan Nelson [EMAIL PROTECTED] I suggest that the FreeBSD system have an argument (or option, if arguments are not allowed) on the kernel which will have it (when the setuid/setgid is on a script and the shell/interpreter is hallowed/sanctioned) invoke the interpreter and express the setuid/setgid of the script on it, and then have it interpret the script. If it cant be done this way, then make the feature a configuration option at the time of building the kernel. Care must be taken in implementing the setuid feature. As a friend noted: Suppose current use is U /bin/prog is setuid to P script is setuid to S and begins #!/bin/prog then the ksh command prog script runs as P prog script runs as P script runs as S . script runs as U That's the way it is on Unix systems that I use, and the freeBSD man page seems to agree. _ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendto: buffer space not available
Hi, I have this 4.9-PRERELEASE proxy server which is set up with WCCP to my Cisco gateway. It is on a Pentium 4 with 256MB DDR. Traffic can get really high on its interface (not to mention the annoying icmp's which my ipfw rejects). It is OK a day or two from a fresh reboot but after a while, test pings reports a sendto: buffer space not available. I already have the following in my kernel config: options MAXDSIZ=(256*1024*1024) options MAXSSIZ=(256*1024*1024) options DFLDSIZ=(256*1024*1024) options NMBCLUSTERS=131072 Should I need to edit or add something? Is something set too high, or low? Btw, I am also running postfix, qpopper and httpd on this server. Hope somebody can help. Thanks in advance. Regards, chael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmms-arts plugin
Hi Bjarne, I do not believe you need it. I am running XMMS under KDE with no arts plugin without any problems at all. You don't *need* it, but xmms will lock the sound-device while playing and thus hindering kde-apps using it. One solution is to use vchans, but it sound *awfull* with my HW. An arts-plugin to xmms would be really nice, but I never got the plugin working apart from crashing everythin IIRC. You can start every sound application with a preceding artsdsp. So e.g. call xmms with artsdsp xmms This will wrap the xmms sound to the arts daemon, without blocking. Look at: http://docs.kde.org/en/3.1/kdemultimedia/artsbuilder/artsdsp.html Ciao Siegbert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD YP-client, Linux YP-master
Dan Nelson [EMAIL PROTECTED] writes: If you try to run ypmatch YP_LAST_MODIFIED master.passwd.byname as root (on your box and then on the master server), which error do you get? ypmatch: can't match key YP_LAST_MODIFIED in map master.passwd.byname. reason: No such map in server's domain So, is there a way for me to configure my box so that it still runs NIS but without asking for master.passwd? I have tried googleing on the issue but haven't found anything appropriate... Commenting out the lookup in src/lib/libc/gen/getpwent.c:mis_map() and rebuilding world should do it. I forgot mentioning that I'm running 4.9-PRERELEASE (doh), and I couldn't locate such a function but adding return(YP_HAVE_NONE); in top of _have_master(char *_yp_domain) solved the problem for me. Thanks a lot for pointing me into the right direction!! (After getting rid of tje master.pass.byname-errors I also noticed a bunch of similar warnings for networks.byaddr, but that was easier to get rid of =)) Best regards, Linus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nwfs problems
Hi guys, Let me reformulate the problem. In order to mount volumes from Novell NetWare 5 using FreeBSD 4.8-RELEASE, I've performed these steps: 1. Modified and compiled the kernel adding only this line: options IPX 2. Added the following two lines to /boot/loader.conf: if_ef_load=YES nwfs_load=YES although probably this is similar with compiling them into kernel. 3. Added the following two lines to /etc/rc.conf: ipxrouted_enable=YES ifconfig_rl0f2_ipx=ipx 12345678 Well, it works, but... When the network is loaded and also a lot of activity to and from the novell server, everyhing is ok. When there is no activity netstat -r show only the rl0f2 route and the novell server is inaccesible. Restarting IPXrouted is solving the problem for the moment. I think that some tunnable options should solve the problem. Any ideas? Regards, Cristian Salan --- Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus. Xnet automatically scans all messages for viruses using RAV AntiVirus. Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat de virusi. Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants. Please be aware that there is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible for any damages caused by viruses. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSD5
What is all this extra processes running in BSD5 ?? PID TT STAT TIME COMMAND 0 ?? DLs0:00.06 (swapper) 1 ?? ILs0:00.33 /sbin/init -- 2 ?? DL 0:01.49 (g_event) 3 ?? DL 1:02.38 (g_up) 4 ?? DL 1:06.49 (g_down) 5 ?? DL 0:00.00 (taskqueue) 6 ?? DL 0:00.65 (pagedaemon) 7 ?? DL 0:00.00 (vmdaemon) 8 ?? DL 0:04.02 (pagezero) 9 ?? DL 0:10.90 (bufdaemon) 10 ?? DL 0:00.00 (ktrace) 11 ?? RL25:50.64 (idle) 12 ?? RL 0:20.17 (swi8: tty:sio clock) 14 ?? WL 0:05.40 (swi1: net) 15 ?? DL 0:04.59 (random) 16 ?? WL 0:40.02 (swi7: task queue) 22 ?? WL 0:13.45 (irq14: ata0) 25 ?? DL 0:00.00 (usb0) 26 ?? DL 0:00.00 (usbtask) 27 ?? WL 0:06.79 (irq11: dc0) 28 ?? WL 0:00.03 (irq1: atkbd0) 29 ?? WL 0:00.00 (irq6: fdc0) 31 ?? WL 0:00.00 (swi0: tty:sio) 35 ?? DL 0:16.37 (vnlru) 36 ?? DL 0:04.40 (syncer) 37 ?? IL 0:00.00 (nfsiod 0) 38 ?? IL 0:00.00 (nfsiod 1) 39 ?? IL 0:00.00 (nfsiod 2) 40 ?? IL 0:00.00 (nfsiod 3) Any docs about this? /P _ Hitta rätt köpare på MSN Köp Sälj http://www.msn.se/koposalj ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling doscmd
Hello all. I am trying to set up doscmd, following the man and Marc Fonvieille's article (http://soupnazi.org/freebsdzine/200103/doscmd.php). As X11 support is not compiled into doscmd in the 4.8-RELEASE system I am using, I installed the usr/src/usr.bin sources. Then: # cd /usr/src/usr.bin/doscmd # setenv X11BASE /usr/X11R6 # make Warning: Object directory not changed from original /usr/src/usr.bin/doscmd uudecode /usr/src/usr.bin/doscmd/cp437-8x8.pcf.gz.uu uudecode /usr/src/usr.bin/doscmd/cp437-8x14.pcf.gz.uu uudecode /usr/src/usr.bin/doscmd/cp437-8x16.pcf.gz.uu make: don't know how to make /usr/src/usr.bin/doscmd/../../share/syscons/fonts/cp437-8x8.fnt. Stop Not a big surprise, because man doscmd says: If doscmd emits the message X11 support not compiled in when supplied the -x switch, this support can be added by defining an environment variable X11BASE which points to the installed X Window System (normally /usr/X11R6) and then typing make install in the source directory (nor- mally /usr/src/usr.bin/doscmd). For this to work, the X programmer's kit must have been installed. Can anyone tell me what exactly X programmer's kit? refers to? Is the dependency on one particular library or package or do I have to resort to installing the entire X development distribution? (I know the latter course of action works, at least from one previous effort on a 5.1 machine, but I don't really want to install all this stuff just for the sake of doscmd, do I ?) Can't shed much light on this by Googling and I am afraid I am pretty clueless when it comes to rooting through Makefiles. Thanks in advance for your help. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD5
On Thu, Sep 11, 2003 at 10:56:17AM +0200, Ms Carlsson wrote: What is all this extra processes running in BSD5 ?? Kernel threads (processes running inside the kernel). Kris pgp0.pgp Description: PGP signature
Re: wardriving question
[ On Sun, 07 Sep, 2003 at 16:43, Jeremy R Brinkley wrote: ] I'm looking to do some wardriving. Look Kismet and WifiScanner : tools to auditing and analyze Wireless traffic. I have a cisco aironet 350 pcmcia card and was wondering if I can capture raw packets in ethereal or ettercap. I'm also looking for a good netstumbler type program that will work with this card. I haven't found any decent ones. I'm considering buying an 802.11g card. Are there any decent ones which have an external antenna connector that are supported under freebsd? On BSD I'm not sure (I think yes but try it). In the following, I give you some sites and references about Wifi on Linux. I don't check links since few months, but It should still exists... Again, it should be work on Linux... I hope for you ;-) Linux WLAN-NG driver project : Good WiFi driver project with a very good mailing list. Mozilla Public License www.linux-wlan.org Chipset Prism/Intersil HostAP : How to make a Wifi gateway with few money ;-) License GPL http://hostap.epitest.fi Kismet : License GPL http://www.kismetwireless.net Works with any kinds of Chipset Allow you to realize a stealth listening ;-) WifiScanner : Tools to audit and analyze 802.11b network License GPL. Chipset Prism with driver Wlan-NG. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] [ End of original mail from Jeremy R Brinkley ] -- No guts No glory =] PASSELAC Armand [= ( @ @ ) Ingenieur Systemes-Reseaux Securite ORBYTES INGENIERIE ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I need in cool audio drive......
Hi All!!! I have a problem. I have Creative SBLive! sound card. I built kernel with pcm 0... But sound is not well... in WinXP sound more bette, more crystal cleaner Do you know what i can do for better sound in FreeBSD? Maybe some drivers or ??? -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmms-arts plugin
On Thursday 11 September 2003 03:11 am, Bjarne Wichmann Petersen wrote: You don't *need* it, but xmms will lock the sound-device while playing and thus hindering kde-apps using it. One solution is to use vchans, but it sound *awfull* with my HW. An arts-plugin to xmms would be really nice, but I never got the plugin working apart from crashing everythin IIRC. I'm not sure. I have KMail set to give a ring when I get new mail, and it works fine while I am using XMMS to listen to an audio cd. Granted, the ring is a bit louder than I normally like, but only because I have the volume turned way up to hear the cd better. -- Todd Stephens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmms-arts plugin
Todd Stephens wrote: On Thursday 11 September 2003 03:11 am, Bjarne Wichmann Petersen wrote: You don't *need* it, but xmms will lock the sound-device while playing and thus hindering kde-apps using it. One solution is to use vchans, but it sound *awfull* with my HW. An arts-plugin to xmms would be really nice, but I never got the plugin working apart from crashing everythin IIRC. I'm not sure. I have KMail set to give a ring when I get new mail, and it works fine while I am using XMMS to listen to an audio cd. Granted, the ring is a bit louder than I normally like, but only because I have the volume turned way up to hear the cd better. Probably because KMial's ring is a beep with the internal speaker, not via the soundcard device. And even with artsdsp , I am unable to play sound simultaneously from a different source than xmms, while xmms is playing via the wrapper. Alin. smime.p7s Description: S/MIME Cryptographic Signature
Re: I need in cool audio drive......
Denis wrote: Hi All!!! I have a problem. I have Creative SBLive! sound card. I built kernel with pcm 0... But sound is not well... in WinXP sound more bette, more crystal cleaner Do you know what i can do for better sound in FreeBSD? Maybe some drivers or ??? www.opensound.com (freebsd vox sblive driver sounds shitty) Alin. smime.p7s Description: S/MIME Cryptographic Signature
[no subject]
I was mount smb file system with mount_smbfs -c l, but file and folder names are don't convert to lowercase, whats wrong? I dont buid new kernel, but mount_smbfs is work, it's load kernel modules for smb. -- Best regards, anton mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB and serial communication
On Fri, Sep 05, 2003 at 01:40:13PM +0200, Anders Jansson wrote: Hi everyone, I have just installed FreeBSD 5.1 om my PC (my first FreeBSD ever and it looks really nice). However, there is one missing link to connect me to FreeBSD heave. I would like to have a larger number of serial ports than the 2 already aailable in my PC and so I turned my attention to USB. I have a little box that has converts one USB connector to 4 serial ports. When I plug in this box in one of my two USB connections on my PC, I get the following printouts in the /var/log/messages file: You need ucom and uftdi compiled into your kernel. ugen is just a generic fallback driver. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmms-arts plugin
On Thu, 11 Sep 2003 09:11:36 +0200 Bjarne Wichmann Petersen [EMAIL PROTECTED] wrote: On Wednesday 10 September 2003 01:49, Todd Stephens wrote: I am having a lot of pain trying to compile the xmms-arts plugin available from xmms.org, since it is not in the ports anymore. If anyone uses the xmms-arts plugin on freebsd I would really appreciate any help. I am running FreeBSD-4.8 STABLE, with the ports cvsuped and upraded today. I do not believe you need it. I am running XMMS under KDE with no arts plugin without any problems at all. You don't *need* it, but xmms will lock the sound-device while playing and thus hindering kde-apps using it. One solution is to use vchans, but it sound *awfull* with my HW. An arts-plugin to xmms would be really nice, but I never got the plugin working apart from crashing everythin IIRC. Bjarne I have 'artsd' set-up to use /dev/dsp0.1 (while xmms uses /dev/dsp) and both co-exist nicely. -- Cogeco ergo sum pgp0.pgp Description: PGP signature
Re: apache13 to apache13-modssl port migration
culley harrelson wrote: I am a little shaky in the knees at this prospect. This is on a production web server getting over 1 million page views per day. I use mod_php4, mod_auth_pgsql, mod_gzip, mailman, and I have some other ports installed like squirrelmail, mnogosearch, a bunch of pear libraries (not even sure if they are dependent on apache13), phpMyAdmin and probably a few other things I haven't even thought of. gulp You have complete backups, right? You probably should have a test server where you can test the software upgrade under non-production conditions... If you have another machine you can do this with much less stress. 1.Build the second machine (aka new server); 2. Rsync the files over (or from a backup). 3. Pull the network plug on the original; 4. Run a script to fire off any extra ip addresses for your new server. 5. Apachectl startssl on the new server. Now it should be running and you can do spot checks to see how your crucial sites are doing... If everything is ok thats great! If not then pull the network plug on the new server and plug the old one back in while you see where the problems are on the new one... HTH, Lewis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can I restore information after FreeBSD fall?
Hi All!!! I wanna know. If my FreeBSD will fall Can I restore my information in: /usr/info/*.* ??? I can't see FreeBSD's HDD (with his 165 format) in WinXP Can I read FreeBSD's hard from other computer Maybe I can see FreeBSD hard under WinXP -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Soundblaster Audigy / Audigy 2
It took me a while to get sound to work on my System as I was unfamiliar with the modular kernel, so I wrote this howto. I hope it helps anyone that may be having some problems getting it to work. If you see something that you beleive I have done wrong, please let me know and I will make the adjustments, or feel free to make the adjustments yourself and forward me a copy. Thanks David Getting sound on FreeBSD 5.1-Release with a Creative Audigy Sound Card. I switched my main workstaion over to FreeBSD and found out that the Audigy card wasnt supported by any of the drivers as specified in the handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html After a bit of searching on Google, I came across some promising finds. Firstly there is the OSS drivers, however there not free, then I also came across this site http://chibis.persons.gfk.ru/audigy/ from where I downloaded the file emu10kx-22-june-2003.tar.gz into my user directory. Then I opened up a terminal and logged in as root. I coppied the archive to my /tmp directory # cp /home/myuseraccount/emu10kx-22-june-2003.tar.gz /tmp and unzipped the archive # tar -xvzf emu10kx-22-june-2003.tar.gz then I changed into the directory that had just been unzipped # cd /tmp/emu10kx I then had to compile the driver and install it # make install clean This finished with no errors, and after reading some of the output I noticed it placed a module in /boot/kernel ( I didnt exactly know that the file was a module, but I found this out by Google ) I rebooted thinking that maybe on reboot it would load the driver. After the reboot I did pciconf -l -v which gives me a list of all my pci devices and what driver there using # pciconf -l -v Amongst other information it gave me this [EMAIL PROTECTED]:10:0: class=0x040100 card=0x00511102 chip=0x00041102 rev=0x03 hdr=0x00 vendor = 'Creative Labs' device = 'EMU10K2 Audio Chipset ( SB Audigy ) class = multimedia subclass = audio the part that Im interested in is [EMAIL PROTECTED]:10:0 because this tells me that there is no driver attached to the card yet. I remembered reading somewhere that the drivers got loaded as modules, so I found out how to load a module, and I found out what the name of the module was by looking through /boot/kernel until I found the right one , in this case the file is snd_emu10kx.ko, so to load the module I did: # kldload -v snd_emu10kx.ko and to see if the card now had a driver attached I did # pciconf -l -v this time it had [EMAIL PROTECTED]:10:0: class=0x040100 card=0x00511102 chip=0x00041102 rev=0x03 hdr=0x00 vendor = 'Creative Labs' device = 'EMU10K2 Audio Chipset (SB Audigy)' class= multimedia subclass = audio see this time we can see that the driver is attached to the card. So I rebooted to see if it loaded up at boot. After I rebooted I did pciconf -l -v again, but to my dissapointment it wasnt loaded. After looking for help, I found out that you need to set up /boot/loader.conf file in order for the module to be loaded at boot. There are to versions of the file, one in /boot/ and one in /boot/defaults. The one in /boot is completely empty, so I removed it. Make sure it is empty before you remove it # edit loader.conf file is empty therefore: # cd /boot # rm loader.conf # cp /boot/defaults/loader.conf /boot/ This gives us a file with most of the possible options commented out. This file is similar to /etc/rc.conf in layout, and in the same way that /etc/rc.conf is read by /etc/rc, loader.conf is read by /boot/loader.4th. However by default /boot/loader.4th points to /boot/defaults/loader.conf , so the copy that you made into /boot/ stays unedited whilst the one in /boot/defaults/ is the one that you modify. This is basically the contents of my /boot/defaults/loader.conf file in order to get the Audigy card working exec=.( Loading /boot/loader.conf ) cr kernel=kernel # /boot sub-directory containing kernel and modules bootfile=kernel # Kernel name (possibly absolute path) kernel_options= userconfig_script_load=NO userconfig_script_name=/boot/kernel.conf userconfig_script_type=userconfig_script loader_conf_files=/boot/device.hints /boot/loader.conf /boot/loader.conf.local /boot/defaults/loader.conf nextboot_conf=/boot/nextboot.conf nextboot_enable=NO verbose_loading=NO# Set to YES for verbose loader output #autoboot_delay=10# Delay in seconds before autobooting #console=vidconsole # Set the current console #currdev=disk1s1a # Set the current device module_path=/boot/kernel;/boot/modules# Set the module search path #prompt=\\${interpret}# Set the command prompt #root_disk_unit=0 # Force the root disk unit number #rootdev=disk1s1a # Set the root filesystem snd_emu10kx_load=YES Note that each has its
Re: freebsd sendmail problem .....
On Thu, Sep 11, 2003 at 10:25:35AM +0530, Shrikant wrote: [EMAIL PROTECTED] Connecting to localhost.mydomain.com. via relay... [EMAIL PROTECTED] Deferred: Connection refused by localhost.mydomain.com. sendmail 8.12.x must be running and listing on localhost to send mail. this is a new feature so the sendmail binary has not to be suid root. check if you have enabled sendmail_submit: sendmail_submit_enable=YES # Start a localhost-only MTA for mail submission sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost in /etc/rc.conf. per default (/etc/defaults/rc.conf) it should be running. hth, toni -- Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at lieber gar nicht, als dass man verurteile. | Toni Schmidbauer -- Rudolf Steiner| pgp0.pgp Description: PGP signature
Re: how to update source tree without cvs?
yew chin [EMAIL PROTECTED] writes: hell all, i have freebsd 4.7 but due to the firewall configuration in my school, i can't be able to cvsup. if i want to upgrade to 4.8 or update all the security patch? what should i need to do? is there anyway to update the src and ports application without using cvsup? thanks for looking and answering. The FreeBSD handbook covers doing it with CTM as well, which should be accessible via FTP and maybe HTTP. Specific file versions can be obtained in a number of ways, according to the FreeBSD web site, and it's possible that you might be able to use cvs through your firewall, even if you can't use cvsup. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPMON Format ???
Hi all! A little help please with understanding the format of ipmon.log. I have entries like this (mind line-wrap): === Sep 11 14:52:46 fox ipmon[47]: 14:52:45.248487 2x ed1 @0:3 P 196.23.158.10,25 - 196.22.178.91,26704 PR tcp len 20 40 -A K-S OUT === I have been able to figure out what it all means by reference to man ipmon, except for the following two things: 1) the 2x before the interface name (ed1). 2) the K-S right near the end of the line, before OUT. What do these two fields mean? Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD's refusal to connect to the internet
I have a small network of three computers in my office here. Two Windows 2000, and one FreeBSD 5.1. It's the BSD box that's giving me problems. My computers are connected to my modem via an ethernet switch. My modem is set up as a DHCP server, and my computers are DHCP enabled. When the input cable is disconnected from the modem (not the power, so it's still assigning IP addresses to my LAN) my BSD box picks up a valid internal IP address and subnet mask, it can ping and be pinged from all other computers on the LAN. However, when the input cable is connected to my modem, so it's connected to the internet, my BSD box receives nothing. When I do an ifconfig, it shows NO IP address and NO subnet mask. I tried dhclient rl0 which didn't work, so I checked /var/log/messages and was told dhcp cannot bind to address; address already in use. I then tried manually assigning an IP and subnet mask, which didn't work either. Getting FreeBSD online has been nothing but an ordeal, and I am about ready to throw in the towel. If anyone has any ideas, I would be very grateful indeed. Many thanks Colin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running /etc/rc.firewall in the background
hmmm... /etc/rc.firewall is not an executable script. You should start with this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html If you have the necessary options in your kernel, you can make it start vi rc.conf or a simple sh script placed in a startup dir. Eitherway, running ipfw rules shouldn't take more than a second or two. I have quite a few firewall rules (FreeBSD 4.7R). This causes the server start-up to take several minutes extra. I wanted to have the rules loaded in the background; like so: firewall_script=/etc/rc.firewall But, alas, that does not work. :( Is there a way to do this at all? Thanks! - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Performance Problems.. Server hardware smoked by $500 box?
Greets! I'm pretty confused right now with trying to determine the nature of a performance problem I'm having on one of my servers. The server is a webserver with a separate db/file server sitting behind it. The issue is that in pulling up websites from the machine, my silly POS development box has nearly double performance although one would think it shouldn't. Serving pages from the production machine over NFS or even the db/file server via local filesystem is slower than pages from the development machine over NFS. By that I mean that if you view the page on the development machine over the LAN, it appears instantly...Do that on the production machines and 1-2 seconds pass as you watch images flow in... With zero load. Now granted the development machine has the most Mhz, but we're talking *visible* differences in speed between a 1.5GhzAMD ~1Ghz Intel Server Class machines. And to top it all off, with the miniscule amount of ram in the AMD box, it's paging around 50MB (with only a few K free of physical ram) by the time apache finshes spawning during the boot. By all rights, to me, this thing should be no better than equivalent to the production machines. They are all plugged in to the same Cisco 3524 switch, and I've tried mulitple cables (even swapping between the fast slow machines to try to hurt the fast one) and the IOS reports no errors on the interfaces, all at 100/FullDuplex. I can reproduce the problem on any # of viewing machines at will. Please tell me that I shouldn't toss these multi-thousand dollar servers and just buy a bunch of these silly do-it-yourself'ers..(*kidding*, but you get the idea) The hardware involved: Production Machine: (Dell PowerEdge 1U server 1G/UWSCSI) FreeBSD 5.1-Current (Was 4.8 Release, upgraded in attempt to find problem) CPU: Intel Pentium III (927.11-MHz 686-class CPU) Origin = GenuineIntel real memory = 1342111744 (1279 MB) fxp0: Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet da0: SEAGATE ST318305LC 2203 Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit) da0: 17366MB (35566478 512 byte sectors: 255H 63S/T 2213C) DB/File Server: (Dell PowerEdge 2U Server 768MB/RAID5) === FreeBSD 4.8 Stable CPU: Intel(R) Pentium(R) III CPU family 1266MHz (1263.45-MHz 686-class CPU) real memory = 805240832 (786368K bytes) fxp0: Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet aac0: Dell PERC 3/Di mem 0xf000-0xf7ff irq 2 at device 2.1 on pci2 aac0: i960RX 100MHz, 118MB cache memory, optional battery present aacd0: RAID 5 on aac0 aacd0: 69425MB (142182912 sectors) Development Machine: (Whitebox machine) FreeBSD 5.0-Release CPU: AMD Athlon(tm) XP 1800+ (1544.67-MHz 686-class CPU) real memory = 234815488 (223 MB) rl0: RealTek 8139 10/100BaseTX ad0: 39205MB Maxtor 6E040L0 [79656/16/63] at ata0-master UDMA133 Ideas? Could the CPU alone be doing that much towards the difference? RAM (DDRvsECC)? I don't have any other AMD machines to use in a control group so I can't persue that route. I have benchmarks attached below... Thanks for any ideas, John Straiton jks@ clickcom.com Clickcom, Inc 704-365-9970x101 The benchmarks that show the most difference are these...my notes in ()'s: #bonnie -s 1(run on NFS share) ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU PROD1 6364 25.0 9121 4.9 166 0.3 2906 13.5 94108 28.6 398.8 3.3 ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU DEV 1 11246 65.3 11259 6.4 6733 4.3 11009 41.9 292571 95.3 5612.2 28.9 #ubench PROD: (ECC SDRAM) Ubench CPU:25713 Ubench MEM:22707 Ubench AVG:24210 DEV: (DDR) Ubench CPU:66048 Ubench MEM:57434 Ubench AVG:61741 #netperf (TO DB MACHINE FROM NOTED MACHINE) TCP STREAM TEST to DB FROM DEV Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 57344 32768 3276810.01 92.74 TCP STREAM TEST to DB FROM PROD Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 57344 32768 3276810.00 87.61 ___ [EMAIL PROTECTED] mailing list
Re: Can I restore information after FreeBSD fall?
Hi All!!! I wanna know. If my FreeBSD will fall Can I restore my information in: /usr/info/*.* ??? I can't see FreeBSD's HDD (with his 165 format) in WinXP Can I read FreeBSD's hard from other computer Maybe I can see FreeBSD hard under WinXP Make backups (to tape, Zip, CD/DVD, another hard disk, whatever). You can restore from backups. Use dump(8) and restore(8) for whole file systems and tar(1) for directory trees that are not whole file systems. If you have another machine running FreeBSD in to which you can physically install the hard drive, you can most likely put it there, create some extra mount points and mount and read the FreeBSD slice/partitions. In general you cannot do that from operating systems other than FreeBSD. But, if the reason that FreeBSD crashed is because the disk failed then your only recourse is to restore from backups. So, make backups!!. jerry -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD's refusal to connect to the internet
On Thursday 11 September 2003 08:32 am, Colin Ryan wrote: I have a small network of three computers in my office here. Two Windows 2000, and one FreeBSD 5.1. It's the BSD box that's giving me problems. My computers are connected to my modem via an ethernet switch. My modem is set up as a DHCP server, and my computers are DHCP enabled. When the input cable is disconnected from the modem (not the power, so it's still assigning IP addresses to my LAN) my BSD box picks up a valid internal IP address and subnet mask, it can ping and be pinged from all other computers on the LAN. However, when the input cable is connected to my modem, so it's connected to the internet, my BSD box receives nothing. When I do an ifconfig, it shows NO IP address and NO subnet mask. I tried dhclient rl0 which didn't work, so I checked /var/log/messages and was told dhcp cannot bind to address; address already in use. I then tried manually assigning an IP and subnet mask, which didn't work either. Getting FreeBSD online has been nothing but an ordeal, and I am about ready to throw in the towel. If anyone has any ideas, I would be very grateful indeed. Many thanks Colin I'm not sure it's a problem on the BSD box. Check the cable modem and switch documentation; and review your hardware setup. Make sure everything is connected properly. For example: I have a Linksys cable modem/router with a 4-port switch and dhcp server abilities. I can attach a switch to this unit to expand its capabilities; but to make it work: 1. the additional switch must be connected to a specific port; and 2. the first port on the Linksys unit must be left unused. Also, what IP range are you assigning via DHCP? I hope this helps, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD's refusal to connect to the internet
Quoting Colin Ryan [EMAIL PROTECTED]: I have a small network of three computers in my office here. Two Windows 2000, and one FreeBSD 5.1. It's the BSD box that's giving me problems. My computers are connected to my modem via an ethernet switch. My modem is set up as a DHCP server, and my computers are DHCP enabled. When the input cable is disconnected from the modem (not the power, so it's still assigning IP addresses to my LAN) my BSD box picks up a valid internal IP address and subnet mask, it can ping and be pinged from all other computers on the LAN. However, when the input cable is connected to my modem, so it's connected to the internet, my BSD box receives nothing. When I do an ifconfig, it shows NO IP address and NO subnet mask. I tried dhclient rl0 which didn't work, so I checked /var/log/messages and was told dhcp cannot bind to address; address already in use. I then tried manually assigning an IP and subnet mask, which didn't work either. Getting FreeBSD online has been nothing but an ordeal, and I am about ready to throw in the towel. If anyone has any ideas, I would be very grateful indeed. It shouldn't be that hard. In rc.conf, ifconfig_rl0=DHCP should be all it takes. I'm assuming you already have that though, so on to the next thing... Could you do this: killall dhclient (wait a few seconds) then dhclient -v rl0 then cut 'n paste the results. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make installworld failure
Please cc me, I am not on either list I tried the RELENG_4_8 as a workaround with the exact same error as before. vm/vnode_pager.h - vm/vnode_pager.ph *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl/utils/h2ph. *** Error code 1 and a bunch of other error code 1's back up the directory tree. [EMAIL PROTECTED] on 9/9/03 6:18 PM, Alex de Kruijff at [EMAIL PROTECTED] wrote: On Tue, Sep 09, 2003 at 04:36:12PM -0400, Elliott Perrin wrote: Good Day, Please cc me ( [EMAIL PROTECTED] ) on responses to this, I am not on either mailing list anymore. I cvsup'ed on the STABLE branch today (September 9th) at around 2:30PM EDT. No problems with buildworld or kernel build, but I am getting failures during installworld You could try the RELENG_4_8 tag instead of STABLE as a work around. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: laptop booting issue
On Wed, Sep 10, 2003 at 07:55:10PM -0700, lists wrote: William O'Higgins wrote: I recently installed FreeBSD 4.8 on a ThinkPad 600X. The install seemed to go fine, but when I reboot and I look at the menu, I have two choices - F1 DOS, F2 FreeBSD. There is nothing on the DOS partition, so I want to press F2. There isn't any response however. If I hit F1 it tries to boot the remnants of the previous OS (Win98), but if I hit F2 I get squat. Does this ring any bells for anyone? Or should I just install Windoze first (I have to dual-boot :-( ) and then try again? Any input would be appreciated. Thanks. Hi William, You should install Win98 first, FreeBSD second. Win98 will overwrite the boot manager installed by BSD and you'll have to reinstall ( provided that you're using the boot manager. ). I have setup a bunch of dual boot systems ( various win versions FreeBSD ) and never ran into the problem you are having. Did you do a custom install or the default one? Can you give any further details of what you did during the install? Thanatos ( [EMAIL PROTECTED] ) If the only problem is with the MBR then it certainly shouldn't be necessary to do a full re-install. You could try to re-run sysinstall by booting from the install floppies and then select Configure-Fdisk and then press 'q' to skip the actual partitioning. You will then be prompted for the type of boot record you want to install. I suppose you would select the Boot Manager. Based on what you said earlier, though, it sounded like you installed FreeBSD second anyway, so things should have worked the first time? Nathan -- gpg --keyserver pgp.mit.edu --recv-keys D8527E49 pgp0.pgp Description: PGP signature
Re: IPMON Format ???
On Thu, 11 Sep 2003 [EMAIL PROTECTED] wrote: === Sep 11 14:52:46 fox ipmon[47]: 14:52:45.248487 2x ed1 @0:3 P 196.23.158.10,25 - 196.22.178.91,26704 PR tcp len 20 40 -A K-S OUT === I have been able to figure out what it all means by reference to man ipmon, except for the following two things: 1) the 2x before the interface name (ed1). It means the number of times that line was repeated. Instead of writing two identical lines, it writes 2x. If there were three, it'd say 3x and so on 2) the K-S right near the end of the line, before OUT. keep state IIRC Fer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD YP-client, Linux YP-master
In the last episode (Sep 11), Linus Sjberg said: Dan Nelson [EMAIL PROTECTED] writes: If you try to run ypmatch YP_LAST_MODIFIED master.passwd.byname as root (on your box and then on the master server), which error do you get? ypmatch: can't match key YP_LAST_MODIFIED in map master.passwd.byname. reason: No such map in server's domain That sounds like a bug in RedHat's ypserv, actually. A missing map shouldn't be logged as refused, and probably shouldn't be logged at all unless debugging is enabled. Commenting out the lookup in src/lib/libc/gen/getpwent.c:mis_map() and rebuilding world should do it. I forgot mentioning that I'm running 4.9-PRERELEASE (doh), and I couldn't locate such a function but adding return(YP_HAVE_NONE); in top of _have_master(char *_yp_domain) solved the problem for me. Yes, that looks like the right change for 4.x. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Setiathome question
Hi, I recently changed my /usr/local/etc/rc.setiathome.conf file. I changed seti_std_args from: -email -graphics To: -email That's the only line that's uncommented. Then I reboot (I know I didn't have to) Now I can't see setiathome in the output of top. Is the problem that seti must download a new work unit before it starts? If that's so, shouldn't I still see something in ps -aux | grep seti ? Thanks, Charles Got a computer with idle CPU time? Join [EMAIL PROTECTED] and help make history! http://setiathome.ssl.berkeley.edu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
System perl version and Ports
Is there a way to convince the Ports system that I've upgraded my system Perl? All perl-related ports try to install into the perl5.00503 lib directory tree instead of into the 5.6.1 tree (which is my current Perl version). I've looked around anywhere I can think of for a config option to change this, but can't seem to track it down. Any RTFM references out there for me? Thx, Matt Pounsett -- ``The large print giveth, and the small print taketh away.'' -- Tom Waits ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System perl version and Ports
Usage: /usr/local/bin/use.perl port - /usr/bin/perl is the perl5 port /usr/local/bin/use.perl system - /usr/bin/perl is the system perl Peter Elsner At 11:34 AM 9/11/2003 -0400, you wrote: Is there a way to convince the Ports system that I've upgraded my system Perl? All perl-related ports try to install into the perl5.00503 lib directory tree instead of into the 5.6.1 tree (which is my current Perl version). I've looked around anywhere I can think of for a config option to change this, but can't seem to track it down. Any RTFM references out there for me? Thx, Matt Pounsett -- ``The large print giveth, and the small print taketh away.'' -- Tom Waits ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System perl version and Ports
On Thu, 11 Sep 2003, Peter Elsner wrote: Usage: /usr/local/bin/use.perl port - /usr/bin/perl is the perl5 port /usr/local/bin/use.perl system - /usr/bin/perl is the system perl I don't have a use.perl .. where does this come from? -- ``If no one out there understands then start your own revolution and cut out the middle man.'' -- Billy Bragg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System perl version and Ports
It's automatically installed when you install Perl 5.6 or 5.8 from ports... At 11:55 AM 9/11/2003 -0400, you wrote: On Thu, 11 Sep 2003, Peter Elsner wrote: Usage: /usr/local/bin/use.perl port - /usr/bin/perl is the perl5 port /usr/local/bin/use.perl system - /usr/bin/perl is the system perl I don't have a use.perl .. where does this come from? -- ``If no one out there understands then start your own revolution and cut out the middle man.'' -- Billy Bragg Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Easy boot between FBSD and WinXP
Hi All!!! I use two hard disk. In first I have FreeBSD. In Second - WinXP. Does anybody know some easy way to boot between FBSD hard and WinXP hard? Now, I change priority of hard disks in my BIOS options it's very uncomfortable: -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to update source tree without cvs?
thanks for answering, i will try to learn how to use ctm. But 1 thing really weird is that, when i use cvsup, i can establish connection to the cvsup server. But it doesn't download the src and ports. here is the output of my cvsup Connecting to cvsup10.freebsd.org Connected to cvsup10.freebsd.org Server software version: SNAP_16_1e Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running as i can tell i have successfully make a connection to the cvsup server, but the screen just froze after the running line, it doesn't show anything after that. i just wonder what have prevent my computer downloading the src and ports. any ideas? thanks for looking and replying. --- Lowell Gilbert [EMAIL PROTECTED] wrote: yew chin [EMAIL PROTECTED] writes: hell all, i have freebsd 4.7 but due to the firewall configuration in my school, i can't be able to cvsup. if i want to upgrade to 4.8 or update all the security patch? what should i need to do? is there anyway to update the src and ports application without using cvsup? thanks for looking and answering. The FreeBSD handbook covers doing it with CTM as well, which should be accessible via FTP and maybe HTTP. Specific file versions can be obtained in a number of ways, according to the FreeBSD web site, and it's possible that you might be able to use cvs through your firewall, even if you can't use cvsup. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I destroy tunx?
Are you still using PPP ? If so, you simply need to either remove the PPP entries from /etc/rc.conf or remove the PPP start up script under /usr/local/etc/rc.d if you have one there. Peter Elsner At 09:02 AM 9/11/2003 -0700, you wrote: I no longer have a need of tun0 or tun1 Script started on Thu Sep 11 08:59:48 2003 hi 08:59:48 [EMAIL PROTECTED]:/home/micheas !500 #ifconfig tun0 tun0: flags=8010POINTOPOINT,MULTICAST mtu 1500 08:59:56 [EMAIL PROTECTED]:/home/micheas !501 #ifconfig tun0 destroy ifconfig: SIOCIFDESTROY: Invalid argument 09:00:06 [EMAIL PROTECTED]:/home/micheas !502 #exit exit Script done on Thu Sep 11 09:00:11 2003 What am I doing wrong? -- Micheas Herman [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
COM ports
Hy folks ! I have FreeBSD 5.0 installed on my computer and I wanted to know how can I enable the COM3 COM4 ports. The ports are disabled by default in 5.0. I tried to modify /boot/device.hints but with no hope . I commented hint.sio.2.disabled=1 and hint.sio.3.disabled=1 out but when I rebooted it said smt like irq 5 not in bitmap of probed irqs 0 ;port may not be enabled; the same goes for sio3(but with 9 instead of 5) .I'm just starting so ... don't know what to do anymore. I already read the handbook and the sio(4) manual page but I haven't found something helpfull yet. I'm asking all this because I have an Aztech UM9800 external modem which's on COM3(at least that's what Windows shows )and I cannot change its COM port to 1 or 2 . It is recognized as ugen0 when the system boots. It is an usb modem but I was told by people on this list that I can use it with FreeBSD. If I can then I would appreciate any help from you on how to set it up. Thanks people ! - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Performance Problems.. Server hardware smoked by $500 box?
I'm pretty confused right now with trying to determine the nature of a performance problem I'm having on one of my servers. The server is a webserver with a separate db/file server sitting behind it. The issue is that in pulling up websites from the machine, my silly POS development box has nearly double performance although one would think it shouldn't. [...] Disclaimer: these are random, uninformed guesses... - Is it possible the server has too much RAM? I'll look into this. - Are you using the same db server as the backend for your development box? Thanks for your suggestions, unfortunately- yes, both scenerios in production (webserver + db server or db server acting as both) are slower than the development box serving off of the db server. There are no local services other than apache on the development machine. John Straiton jks@ clickcom.com Clickcom, Inc 704-365-9970x101 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Palm OS 5 devices.
Has anyone had any success syncing Palm OS 5 devices (like the Tungsten T or Zire 71) with FreeBSD? I know that many Palm OS 4 devices over a serial connection work but last I heard there were some USB connection problems with the OS 4 devices and I haven't heard anything at all about OS 5. So if anyone has a success story (i.e. they have actually done this themselves) then please let me know. Thanks. Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Palm OS 5 devices.
Joe Karthauser(sp?) committed fixes a couple of weeks ago. Try with a CURRENT cvs pull of -CURRENT. LER --On Thursday, September 11, 2003 10:15:50 -0700 Michael [EMAIL PROTECTED] wrote: Has anyone had any success syncing Palm OS 5 devices (like the Tungsten T or Zire 71) with FreeBSD? I know that many Palm OS 4 devices over a serial connection work but last I heard there were some USB connection problems with the OS 4 devices and I haven't heard anything at all about OS 5. So if anyone has a success story (i.e. they have actually done this themselves) then please let me know. Thanks. Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 pgp0.pgp Description: PGP signature
PCMCIA NIC
I have FreeBSD installed on a laptop, but I am having trouble with setting up networking. ifconfig does not show the PCMCIA NIC (3Com 10/100, pretty standard and works under Linux, so I expect it's supported), and after some looking I think that I have the necessary kernel parameters built, but I'm definitely missing something. -- yours, William ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCMCIA NIC
On Thu, Sep 11, 2003 at 01:21:18PM -0400, William O'Higgins wrote: I have FreeBSD installed on a laptop, but I am having trouble with setting up networking. ifconfig does not show the PCMCIA NIC (3Com 10/100, pretty standard and works under Linux, so I expect it's supported), and after some looking I think that I have the necessary kernel parameters built, but I'm definitely missing something. -- yours, William Are you using `ifconfig -a'. If it's not configured then just plain `ifconfig' won't list it. Also, are you simply using a generic kernel? Anything interesting in the output of `dmesg'? Nathan -- gpg --keyserver pgp.mit.edu --recv-keys D8527E49 pgp0.pgp Description: PGP signature
Re: nforce2 (for the zillionth time, I should imagine)
On Wednesday 10 September 2003 06:25 pm, Lewis Thompson wrote: Hi, I've just purchased a new machine (a micro-ATX machine) with an nforce2 board. After a little searching on Google/Groups it looks to still be pretty much unsupported. Can anybody give a run-down of the how each aspect is? The board I have has onboard GeForce4 MX (which I know will work with the new drivers), onboard sound, onboard network card, etc. Any details would be appreciated. Thanks very much, -lewiz. You could read the chapter in the FreeBSD Handbook for X Window System: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Or you could get the driver from nVidia for FreeBSD, which can be found here: http://www.nvidia.com/object/freebsd_1.0-4365.html The list of supported cards is in the Linux README file, here: ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/README.txt Best of luck, Andrew Gould I've been looking for an answer for the nForce2 chipset for months in various arenas, including on this list and on -net. Nobody seems to have an answer; in fact, one person's reply on this list was good luck. The drivers to which Andrew refers above are for Linux, not UNIX/BSD, and Linux emulation does not seem to do the trick. You may be able to get away with something on enabling some peripheral drivers such as audio, but enabling the on-board NIC, which has been my main concern, does not seem likely unless someone at nVidia works with a BSD developer to port over the proper drivers. I'd greatly welcome some updated information on these drivers as well, if any is available. ~John __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I destroy tunx?
As root try: ps aux | grep -i ppp If it shows you a line for a process with PPP (look for /usr/sbin/ppp) then do a : kill PID where PID is the the process id, probably the second column of the ps aux output. When you start to worry what other people think of you, it's time to go fishing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nforce2 (for the zillionth time, I should imagine)
On Thu, Sep 11, 2003 at 11:02:30AM -0700, John DeStefano wrote: I've been looking for an answer for the nForce2 chipset for months in various arenas, including on this list and on -net. Nobody seems to have an answer; in fact, one person's reply on this list was good luck. The drivers to which Andrew refers above are for Linux, not UNIX/BSD, and Linux emulation does not seem to do the trick. There are definitely FreeBSD drivers that exist for the graphics cards (which my motherboard has). You may be able to get away with something on enabling some peripheral drivers such as audio, but enabling the on-board NIC, which has been my main concern, does not seem likely unless someone at nVidia works with a BSD developer to port over the proper drivers. Reading the manual of my board I've found the onboard LAN is a Realtek 8201BL, which I'm hoping does not count as an ``nvnet'' NIC (I'm about to get check up on this). As you suggested the audio is not NVIDIA stuff (Realtek ALC 650), so I'm hoping I can get this going too. I'm in the process of writing a letter directly to NVIDIA, which I plan on posting, praising them for their work on the graphics cards, while also suggesting they get their asses in gear with the nForce2 support. I suggest you might also do the same. Best wishes. -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- pgp0.pgp Description: PGP signature
Re: Performance Problems.. Server hardware smoked by $500 box?
On Thu, 11 Sep 2003, John Straiton wrote: Greets! I'm pretty confused right now with trying to determine the nature of a performance problem I'm having on one of my servers. The server is a webserver with a separate db/file server sitting behind it. The issue is that in pulling up websites from the machine, my silly POS development box has nearly double performance although one would think it shouldn't. you need to quantify the performance differences starting with replicating what you see, and work down from there. Do the differences in the numbers you posted mean anything? No idea. I wouldn't expect them to make any difference for a single user hitting the server, but it is possible they are related to some problem somewhere. The easiest way to tell, however, is to start with the problem you do see (ie. things are slow loading) and work down through the software stack from there. The first step would be to try to quantify the performance difference in serving the actual web pages. Find a single page that you think is slow on the production system and that can be accessed without having to be part of a session, and quantify the performance difference for that page. Remember you don't care about high load, just a single user request. You could use apachebench (ab, comes with apache... something like ab -c 1 -n 20 http://server/path/to/page;) or any simple command line tool that you can time (eg. repeatedly run time GET http://server/path/to/page;). Do this from as near as possible to the box you are running the web browser that sees the slowness loading. Until you can reproduce and quantify a performance difference at this level, don't worry about digging deeper. Once you can, keep taking one step closer. Try requesting a page that doesn't hit the database. Try setting things up so NFS isn't being used. Try making the request from the same machine the web server is running on. etc. Your goal here is to eliminate as many components as possible while still being able to reproduce the high level problem. So, for example, if you can reproduce it on a page that doesn't hit the database... you can eliminate that from further consideration. Unless your application is extremely heavyweight and demanding on hardware, or there is some bug in one of the drivers or configuration, none of the hardware differences would normally have any effect on the symptoms you say you are seeing. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I destroy tunx?
On Thu, 2003-09-11 at 11:03, Mike Remski wrote: As root try: ps aux | grep -i ppp no dice :-( any other suggestions? I can normally track down and kill just about anything. but this has me stumped. could I have a permision problem and need to reboot? I think my security is pretty low. thanks, Micheas If it shows you a line for a process with PPP (look for /usr/sbin/ppp) then do a : kill PID where PID is the the process id, probably the second column of the ps aux output. When you start to worry what other people think of you, it's time to go fishing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Micheas Herman [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCMCIA NIC
At 07:55 AM 9/11/2003, you wrote: On Thu, Sep 11, 2003 at 01:21:18PM -0400, William O'Higgins wrote: I have FreeBSD installed on a laptop, but I am having trouble with setting up networking. ifconfig does not show the PCMCIA NIC (3Com 10/100, pretty standard and works under Linux, so I expect it's supported), and after some looking I think that I have the necessary kernel parameters built, but I'm definitely missing something. -- yours, William FWIW, on my Thinkpad 600X w/ Linksys pcmcia, I had to use OLDCARD to configure a kernel that would use the card. I may be missing the point, but it might be worthy to note it also. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
user-ppp faster then pppd ?
Hi I recently tried to connect to the Internet using kernel ppp (pppd) instead off user ppp. I noticed that the connection was about 0.5 KB slower whith pppd when downloading the same file from the same server. I'm using a 56 K modem and have Release 5.1 installed, I also appended my /etc/ppp/options, ppp.conf files. What could be the reason for the different throughputs? ppp.conf--- # # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by [EMAIL PROTECTED] # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ # default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that device references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set speed 115200 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT set timeout 180# 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) freenet: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone 019231770 set authname USERNAME set authkey PASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR# Add a (sticky) default route options- # $FreeBSD: src/share/examples/pppd/options.sample,v 1.1 2002/01/29 00:23:33 cjc Exp $ # # Example for /etc/ppp/options file. # crtscts # enable hardware flow control 115200 modem # modem control line noipdefault # remote PPP server must supply your IP address. passive # wait for LCP packets defaultroute# put this if you want that PPP server will be your # default router ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Performance Problems.. Server hardware smoked by $500 box?
John Straiton writes: I'm pretty confused right now with trying to determine the nature of a performance problem ... on one of my servers. ... in pulling up websites from the machine, my silly POS development box has nearly double performance ... There's lots of tricky stuff that can be going wrong. I spent some time in my last two jobs (anybody got a new one in NJ?) on speeding up stuff like this and the first thing I try to do is put some kind of steady-state load on the boxen and monitor each box involved with systat 1 -vmstat . There's one hell of a lot of information there, and interactions are sometimes hard to see. If the CPU is fully occupied, it could be the network stack (which will NOT show up at interrupt level) and that can depend on what interface chipset you're using as well. Or it could be ... well, get the data first. If you'd like to send me a few sample screens, I'll try to make suggestions on what to check next. You want to have a series from each of the three configurations you're using. And being able to _watch_ what's happening on systat is worth a whole lot of non-sequenced snapshots. Are you running firewall software on the production machine? I don't know how the FreeBSD version will affect performance, but it can't help. How about the reports from top ? What do they say? What's soaking up the processor? Running on a 1GHz PIII two years ago, I was able to get a web proxy (not squid!) to serve 1500+ requests per second, with about 200 MBit/sec of ethernet traffic (inbound and out). (The product never made it into full-scale production, largely due to financial problems in the large, well-known corporation.) So the problem isn't horsepower, but something not using it well. Can you try running the back end box on a simple disk without the RAID in the way? I don't recall all the properties of RAID 5 right now, but in general RAID trades disk transactions away to get disk throughput. In your application, you probably need transactions more than throughput. Dumb question: have you tried swapping cables/ports on the ethernet connections? Does one link support jumbo frames and the other not? How about network buffers: have you got enough configured, and how many are tied up at a time? Performance is often a negative art: find the worst roadblock and remove it, then the next worst after that, and so forth. Mark Terribile __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install freebsd on rlx 300ex
Hi Rian, the best way to get such advice is to post to the [EMAIL PROTECTED] mailing list or the [EMAIL PROTECTED] mailing list. Then the largest number of people can help. However, here is my short advice: you can install FreeBSD (any 4.x release or -stable snapshot should work) on a RLX blade laptop drive one of two ways: 1) remove the laptop drive from the blade, install it in a laptop and install FreeBSD on it as normal. The GENERIC kernel should work fine. This is my recommended way of doing it if you are just going to try FreeBSD on the RLX blade at first. 2) install on the blade using PXE -- but this is much more complicated to setup. The instructions at http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html should help. if you have any followup please send it to [EMAIL PROTECTED] Thanks, Aditya Halo Aditya Introduce me Rian Adriansah On Tue, Sep 02, 2003 at 06:24:24PM +0700, Rian Adriansah wrote: I would like to ask u for manual installing freebsd on rlx 300 ex (blade server) can u give some advise for it? I have information that the blade rlx server only can install from freebsd 4.3. is that true? what suppose to do for 1st setting up? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Establishing Backup/Restore System
I just installed FreeBSD 5.1 on an i386 system several days ago, and am now in the process of setting up a backup/restore strategy. For backups I am using dump piped thru ssh to my linux box (RH 8.0), and that has worked well, at least for the initial backup. I have not set up incremental backups using cron yet, but I think that should be fairly straight forward. What I need help with is the restore piece. I am trying to build a restore floppy using the script in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html I am having two problems so far. 1. I am getting syntax errors with some of the commands in the script: disklabel: dev/fd0c: no such file or directory ^ what is this 'c' doing here? newfs: illegal option --t mount: /dev/fd0a: no such file or directory ^ what is this 'a' doing here? 2. I do not have a MINI kernel on my system, which is needed on the backup floppy. The script gives a sample configuration file to build this MINI kernel. I have looked at the Handbook on building a custom kernel, but it is a bit confusing for someone new to unix, and I am not sure how the instructions need to be modified for this special case. One last point. I realize for my setup that I will also need to put ssh on this floppy. Has anyone done this, and does the program fit? Thanks, Barry -- Barry Skidmore [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie need help on configuring mouse and X windows
Hi, everyone, I am new to FreeBSD and just trying to learning something. I installed FreeBSD without X system on my computer and it works fine. But when I tried to configure mouse and X windows, I had big problem. As instructed in the handbook, I configured the type and port of the mouse (PS2, so I used the default). But after I enabled it, I would be in one of two situations. In the first situation, the background of the screen turns to blue and I cannot see if the mouse cursor moving. I could not see the dialog any more. Sometimes, if I just pressed enter, I could go back the previous screen, but having a blue background now. More commonly, the system was just stuck there and the keyboard was locked. At this time, I had to turn off the power to shutdown the computer. In the second situation, the background was OK. But the mouse cursor was twinkling on the screen. In addition, the mouse cursor had a strange shape, not rectangular, but just like some unprintable character displayed on a DOS screen. Does anyone know what is wrong here and how to fix the problem? If I skipped this step and tried to configure X windows directly, of course, the system warned me that I hadn't configured the mouse and asked me to go back to configure it. My computer is a Gateway 2000 desktop with 200 Intel Pentium II processor. Very old so I used to run Linux on it. Thank you! P.S., I didn't see the kernel configuration menu. Is it removed from FreeBSD 5.x? Also, when I tried to reboot or shutdown the computer with reboot or shutdown commands, my computer was stuck instead of reboot or shutdown. At that time, the power button on the computer could not work. I had to turn off the power switch on the wall. Does anyone have this problem, too? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCMCIA NIC
William, You can put pccardd_enable=YES in /etc/rc.conf. Or you can start it manually by typing pccardd -f /etc/defaults/pccard.conf SLM I have FreeBSD installed on a laptop, but I am having trouble with setting up networking. ifconfig does not show the PCMCIA NIC (3Com 10/100, pretty standard and works under Linux, so I expect it's supported), and after some looking I think that I have the necessary kernel parameters built, but I'm definitely missing something. -- yours, William ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Performance Problems.. Server hardware smoked by $500 box?
Post your kernel configs, or better yet, do a diff -u between the 5.0-R and the 5.1-C kernel configs. I bet dime to dollar you've got some debugging options enabled in the 5.1-C config. At the very least you haven't remove the debugging options from your malloc options. *frown* The 5.0 development machine is running GENERIC. Being that we never customized the kernel, we don't have a backup copy of it. I can say since I'd have been the one to change it, that the only differences between GENERIC and what we put into service is that we always remove the device listings for things we don't have any use for, like ISA nic's and such. I almost never change any of the other features. If 5.1-C has debugging on by default then , yes, I'd concur that we have those features turned on. However the production machine was 4.8-R when we noticed the problem. From what it sounds, it should have been faster due to that fact. The only thing that's been constant in this situation is that the development machine hasn't changed. Everything I've done has been trying to change variables on the production machine to either match or surpass the development to bring it up to it's speed. Roadmap for the production machine so far: Upgrade apache/php to newest in ports. Add RAM Upgrade OS to 5.1 from 4.8, reinstall every package in pkg_info Update apache to 2.X from 1.3.X reinstall php as is required Swap network interfaces between the two onboard ones Swap ethernet cables with the development machine Swap ethernet ports with the development machine John Straiton jks@ clickcom.com Clickcom, Inc 704-365-9970x101 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Performance Problems.. Server hardware smoked by $500 box?
There's lots of tricky stuff that can be going wrong. I spent some time in my last two jobs (anybody got a new one in NJ?) on speeding up stuff like this and the first thing I try to do is put some kind of steady-state load on the boxen and monitor each box involved with systat 1 -vmstat . There's one hell of a lot of information there, and interactions are sometimes hard to see. If the CPU is fully occupied, it could be the network stack (which will NOT show up at interrupt level) and that can depend on what interface chipset you're using as well. Or it could be ... well, get the data first. If you'd like to send me a few sample screens, I'll try to make suggestions on what to check next. You want to have a series from each of the three configurations you're using. And being able to _watch_ what's happening on systat is worth a whole lot of non-sequenced snapshots. I'll take a look at this. Are you running firewall software on the production machine? Are you trying to hack me? *chuckle* j/k I don't know how the FreeBSD version will affect performance, but it can't help. How about the reports from top ? What do they say? What's soaking up the processor? If you saw the two machines, rc.d/* and rc.conf are nearly identical. There aren't any services that run on one that aren't exactly the same on the other except the differences between the OS versions as best I can tell. In looking at top -qSi (or even normal) the only things that tend to show up at the top are httpd processes. The development machine has the ata irq up there whereas the production doesn't seem to have disk access in the top few entries. Just reinforcing that even with more to do, the development machine smokes this Dell iron. Can you try running the back end box on a simple disk without the RAID in the way? I don't recall all the properties of RAID 5 right now, but in general RAID trades disk transactions away to get disk throughput. In your application, you probably need transactions more than throughput. No, it has no other interfaces configured that I could get into without taking the machine down to hook up some cables. This thing boots of the hardware RAID and has a cage in the front for the drives (hotswap). But being that the RAID is one of the few things that IS the same between production and development (the raid serves files via NFS to both incarnations of the webserver in the same fashion) , I'd have to get an idea why this was something I'd want to delve further into. Dumb quesion: have you tried swapping cables/ports on the ethernet connections? Does one link support jumbo frames and the other not? How about network buffers: have you got enough configured, and how many are tied up at a time? I'm not familiar with those configuration options but if it makes a difference, I basically use completely default setups between the xl0 and fxp0 drivers being used in these scenarios, with GENERIC being the kernel for all intents and purposes between both machines. Unless one driver is set up different than the other or has inheirent speed advantages, they should both be equivalent. Yes, all cabling/ports and even in the case of the production machine, interfaces have been swapped/changed. Another good idea that didn't pan out... Thanks for the help! John Straiton jks@ clickcom.com Clickcom, Inc 704-365-9970x101 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
compiling jdk14 on FreeBSD 5.1 - segmentation fault
Hello when I try to compile jdk14 I stuck: first I copied these files: j2sdk-1_4_1-src-scsl.zip j2sdk-1_4_1_02-linux-i586.bin bsd-jdk14-patches-3.tar.gz into /usr/ports/distfiles/ and started: cd /usr/ports/java/jdk14 make ... ... ... /bin/mkdir -p /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/library/newclasses rm -f /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/.classes.list gmake[6]: *** [optimized] Segmentation fault (core dumped) gmake[6]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/recompile/library' gmake[5]: *** [all] Error 1 gmake[5]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/recompile' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/javac' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. can anybody help? best regards Kang-Ling ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Easy boot between FBSD and WinXP
I use Win NT4/2k/XP's own bootmanager to boot Win 2k, Win XP, FreeBSD and Debian on only one HDD. Just be careful not to overwrite Microsoft's bootsector, their OSs won't like it ;-) See http://www.winimage.com/ on how to add FreeBSD to MS's Bootmanager. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Denis Sent: Thursday, September 11, 2003 6:00 PM To: [EMAIL PROTECTED] Subject: Easy boot between FBSD and WinXP Hi All!!! I use two hard disk. In first I have FreeBSD. In Second - WinXP. Does anybody know some easy way to boot between FBSD hard and WinXP hard? Now, I change priority of hard disks in my BIOS options it's very uncomfortable: -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
`top` process memory usage: SIZE vs RES
Howdy list, I checked the FAQ and the questions archive before I posted this, so hopefully it isn't a frequently asked question: Background: = I am stress testing a FreeBSD 4.7-RELEASE server (it's a pre- production test server) by sending huge email messages to it via SMTP. I'm running qmail-1.03 built from source, with the QMAILQUEUE patch, qmail-qfilter, a custom Python script that runs under qmail-qfilter, and qmail-scanner with ClamAV. I test the server by sending a 59M or a 99M email from a remote machine (connected via fxp0). Please, spare me the gaggle about 59M emails being too large. I am perfectly aware of the silliness associated with sending a 59M file via SMTP. I'm only interested in stress testing this server right now. Thanks! Now please read on: The Situation: == As I watch the email travel down the qmail-smtpd-qmail-qfilter- custom-python-qmail-scanner-clamd-qmail-queue pipeline, I watch the memory usage with `top`. Memory is critical in this type of application, since I run my qmail-smtpd pipeline under DJB's softlimit program. I MUST know how much memory to allocate for the upper limit of each pipeline, otherwise qmail-smtpd will terminate the transfer with a 451 SMTP error. Anyway, as I watch `top`, I never see more than 15M being used by the various pipeline programs at any given point in time, but my Free Memory constantly declines until it reaches about 526k. The Questions: == 1.) Where is my Free memory going? I can't account for it in the SIZE and RES columns of the various processes. These are relatively constant. 2.) What, exactly, is RES? `man top` describes it as this: RES is the current amount of resident memory, but does that mean RES is included in SIZE? Or does that mean that RES should be counted in addition to SIZE? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Performance Problems.. Server hardware smoked by $500 box?
Post your kernel configs, or better yet, do a diff -u between the 5.0-R and the 5.1-C kernel configs. I bet dime to dollar you've got some debugging options enabled in the 5.1-C config. At the very least you haven't remove the debugging options from your malloc options. *frown* The 5.0 development machine is running GENERIC. Being that we never customized the kernel, we don't have a backup copy of it. I can say since I'd have been the one to change it, that the only differences between GENERIC and what we put into service is that we always remove the device listings for things we don't have any use for, like ISA nic's and such. I almost never change any of the other features. Removing unused drivers shouldn't make any difference. If 5.1-C has debugging on by default then , yes, I'd concur that we have those features turned on. However the production machine was 4.8-R when we noticed the problem. From what it sounds, it should have been faster due to that fact. The only thing that's been constant in this situation is that the development machine hasn't changed. Everything I've done has been trying to change variables on the production machine to either match or surpass the development to bring it up to it's speed. hrm... On your development box, do you have any boot time configuration options set, how about differing values in sysctl.conf? Hrm, let me re-read your original post. Apache: Are you sure you have your reverse DNS setup correctly? Are you doing host name resolution in Apache for your logs? If so, turn that off! bonnie: It's very possible that the CPU is making a difference here if bonnie is getting near 100% hit rates for the cache. Given that you're getting good throughput, I'd double check that you're machines are at 100Mbps-TX, full duplex in ifconfig. I bet one of them is half-duplex and that's the difference there. I'm betting there are some sysctl's that are different between these machines, along with possibly Apache and your DNS not being setup correctly. Roadmap for the production machine so far: Upgrade apache/php to newest in ports. I haven't seen anyone claim that Apache2 is faster than Apache 1. If Apache2 is faster, could someone provide some evidence? Add RAM This won't make a difference unless you're swapping our out of RAM. Upgrade OS to 5.1 from 4.8, reinstall every package in pkg_info Downgrade you mean? :) 4.8 is going to be more battle proven than 5.1, so I'd recommend using 4.8 for that reason alone. If you do want to use 5.1 for the sake of helping 5.1 become more mature, very cool. Update apache to 2.X from 1.3.X reinstall php as is required See above comment on Apache. Swap network interfaces between the two onboard ones This could make some difference, but 6MBps is more than plenty throughput for webserving via NFS. Swap ethernet cables with the development machine This would impact network performance, something else is going on. Swap ethernet ports with the development machine Again, this would impact network performance, and at 6MBps, that's well more than enough for you to get reasonable performance out of a 5.1 or 4.8 box. Something basic and simple is going on here. DNS: dig my.test.box.example.com. a dig d.c.b.a.in-addr.arpa. ptr apache: grep Hostname /usr/local/etc/apache/httpd.conf -sc -- Sean Chittenden ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user-ppp faster then pppd ?
On Thu, Sep 11, 2003 at 09:23:31PM +0200, [EMAIL PROTECTED] wrote: Hi I recently tried to connect to the Internet using kernel ppp (pppd) instead off user ppp. I noticed that the connection was about 0.5 KB slower whith pppd when downloading the same file from the same server. I'm using a 56 K modem and have Release 5.1 installed, I also appended my /etc/ppp/options, The difference is too small to be meaningful. I've seen differences of 20KB using the same hardware and software. The change means that the second connection traveled over wires that were slightly noisier, or slightly busier, or one of a hundred other possibilities. The odds that there is a difference in connection speeds caused by a difference between ppp and pppd lie somewhere between zero and null. Bob Hall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Performance Problems.. Server hardware smoked by $500 box?
On Thu, Sep 11, 2003 at 05:30:59PM -0400, John Straiton wrote: If 5.1-C has debugging on by default then , yes, I'd concur that we have those features turned on. 5.1-CURRENT indeed has a number of debugging features enabled by default, which can cause significant performance loss under load. Kris pgp0.pgp Description: PGP signature
cvsup syntax questions... and what's the difference between branch and release tags?
can someone take a look at my cvsupfile and see if it's alright: --- *default host=cvsup10.us.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_5_1 *default delete use-rel-suffix src-all tag=RELENG_5_1_0_RELEASE # added manually... collection will be filtered through the refuse file ports-all tag=RELENG_5_1_0_RELEASE doc-all tag=RELENG_5_1_0_RELEASE - i have a few questions... i'm getting many errors. i'm getting Network tree failure: connection refused is the main error that keeps reoccuring. i've also noticed that my ports/ and doc/ directories have vanished. finally, what are the differences between branch and release tags? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: Can I restore information after FreeBSD fall?
Hi! Thursday, September 11, 2003, 5:49:55 PM, you wrote: Hi All!!! I wanna know. If my FreeBSD will fall Can I restore my information in: /usr/info/*.* ??? I can't see FreeBSD's HDD (with his 165 format) in WinXP Can I read FreeBSD's hard from other computer Maybe I can see FreeBSD hard under WinXP JM Make backups (to tape, Zip, CD/DVD, another hard disk, whatever). JM You can restore from backups. Use dump(8) and restore(8) for JM whole file systems and tar(1) for directory trees that are not JM whole file systems. JM If you have another machine running FreeBSD in to which you can JM physically install the hard drive, you can most likely put it JM there, create some extra mount points and mount and read the JM FreeBSD slice/partitions. In general you cannot do that from JM operating systems other than FreeBSD. JM But, if the reason that FreeBSD crashed is because the disk failed JM then your only recourse is to restore from backups. So, make backups!!. JM jerry Thank you for your answer! Post your questions to the list and not to me personally unless otherwise requested. The slice/partitions mount automatically by boot in FreeBSD? Only if you have them defined in /etc/fstab The FreeBSD sysinstall writes the ones it creates in to the /etc/fstab file, but if you create others you have to put entries there for the ones you create - or always do the mounts by hand. If I have information in /usr/info. And I try to mount it hard disk from other hard disk which running FreeBSD too! Can I mount /usr/ partition from other hard disk (FreeBSD)? I don't understand. Are you trying to mount from one machine to another? For that, study up on NFS mounting. If they are both on the same machine, only one is running. The other would just have stuff sitting on it. You need to study mount(8) and fstab(5) and related things. jerry -- Best Regards, Denis. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easy boot between FBSD and WinXP
On Thursday 11 September 2003 23:49, Ph. Schulz wrote: I use Win NT4/2k/XP's own bootmanager to boot Win 2k, Win XP, FreeBSD and Debian on only one HDD. Just be careful not to overwrite Microsoft's bootsector, their OSs won't like it ;-) See http://www.winimage.com/ on how to add FreeBSD to MS's Bootmanager. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Denis Sent: Thursday, September 11, 2003 6:00 PM To: [EMAIL PROTECTED] Subject: Easy boot between FBSD and WinXP Hi All!!! I use two hard disk. In first I have FreeBSD. In Second - WinXP. Does anybody know some easy way to boot between FBSD hard and WinXP hard? Well, the very easiest way you can find here: http://gag.sourceforge.net/download.html Test it from Floppy/CD, configure it and if you like it, select InstallOnHarddisk. Otherwise you can use WinXp loader if you dump the first 512 byte of your FreeBSD slice and copy it to a locaten where the NT loader can read it and add the appropriate menu. You can also install the FreeBSD bootloader with sysinstall on a existing multi-os disk. -Harry Now, I change priority of hard disks in my BIOS options it's very uncomfortable: -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
RE: Easy boot between FBSD and WinXP
Hi, Denis, This sounds pretty much like my set-up. All I had to do was to let Sysinstall write a BootMgr on *both* disks. In /stand/sysinstall, just go in the Fdisk section, select your first drive, don't do anything else here, and immediately leave with Q. It will ask you if you want to write the BootMgr, a standard MBR or do nothing. Select BootMgr. You'll need to do this for each of the disks. Then leave sysinstall. When you boot, you'll see something like this (assuming XP is on the first disk (disk 0) and you have two NTFS partitions): F1 ??? F2 ??? F5 Disk 1 F1 will boot XP. Hit F5 to boot from the second disk and you'll see: F1 FreeBSD F5 Disk 0 F1 here will boot you into FreeBSD, and F5 get you back to the first selection. Note: I'm a newbie myself, but the above worked for me and doesn't require additional software. The ??? isn't pretty, but it works. Just be careful that you don't slice the disk that has XP on it. M. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Denis Sent: Thursday, September 11, 2003 18:00 To: [EMAIL PROTECTED] Subject: Easy boot between FBSD and WinXP Hi All!!! I use two hard disk. In first I have FreeBSD. In Second - WinXP. Does anybody know some easy way to boot between FBSD hard and WinXP hard? Now, I change priority of hard disks in my BIOS options it's very uncomfortable: -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: `top` process memory usage: SIZE vs RES
In the last episode (Sep 11), Jesse Guardiani said: 1.) Where is my Free memory going? I can't account for it in the SIZE and RES columns of the various processes. These are relatively constant. Disk cache. 2.) What, exactly, is RES? `man top` describes it as this: RES is the current amount of resident memory, but does that mean RES is included in SIZE? Or does that mean that RES should be counted in addition to SIZE? RES the amount of SIZE that it currently in core, and thus should never exceed SIZE (I don't see any processes on my system that do at least). -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: `top` process memory usage: SIZE vs RES
Hello Jesse, Thursday, September 11, 2003, 5:15:31 PM, you wrote: J I am stress testing a FreeBSD 4.7-RELEASE server (it's a pre- J production test server) by sending huge email messages to it J via SMTP. I too am putting together a 4.8 box as we speak for a client. J I'm running qmail-1.03 built from source, with the QMAILQUEUE J patch, qmail-qfilter, a custom Python script that runs under J qmail-qfilter, and qmail-scanner with ClamAV. J I test the server by sending a 59M or a 99M email from a J remote machine (connected via fxp0). J As I watch the email travel down the qmail-smtpd-qmail-qfilter- custom-python-qmail-scanner-clamd-qmail-queue pipeline, J I watch the memory usage with `top`. J Memory is critical in this type of application, since I run my J qmail-smtpd pipeline under DJB's softlimit program. I MUST J know how much memory to allocate for the upper limit of each J pipeline, otherwise qmail-smtpd will terminate the transfer J with a 451 SMTP error. right. J Anyway, as I watch `top`, I never see more than 15M being used J by the various pipeline programs at any given point in time, J but my Free Memory constantly declines until it reaches about J 526k. J The Questions: J == J 1.) Where is my Free memory going? given what you say custom-python-qmail-scanner-clamd-qmail-queue This whole scenario is very memory intensive. First you have each email pythonized and then qmail-scanner is *very* memory intensive, as it has initially a very heavy duty perl script for each email before being passed off to clamd. Multiply this with the default SMTP concurrency limit of 20, and you have a lot of memory usage. Clamd is known to be a memory piggie too. I switched from that to using fprot which uses less memory and is faster processing. J I can't account for it J in the SIZE and RES columns of the various processes. J These are relatively constant. Maybe running vmstat -w 1 would give you a different perspective also. -- Best regards, Gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
user-ppp faster then pppd ?
The difference is too small to be meaningful. when you have 56k modem and ~4.5KB throughput 0.5KB can make a big difference The change means that the second connection traveled over wires that were slightly noisier, or slightly busier, or one of a hundred other possibilities. The odds that there is a difference in connection speeds caused by a difference between ppp and pppd lie somewhere between zero and null. I tried it several times and got the same results, therefore it must be caused by the diffrence between ppp and pppd. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup syntax questions... and what's the difference between branch and release tags?
Why did you add the _0_RELEASE at the end of your src-all, ports-all and doc-all tags? FWIW this is what I use for 5.1 Release and never had any problems except I occasionally change the mirror name if the connection seems bad with one in particular: *default host=cvsup10.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_5_1 *default delete use-rel-suffix src-all *default tag=. ports-all doc-all. Good luck! VS On Thu, 11 Sep 2003 15:28:53 -0700 (PDT) Bsd Neophyte [EMAIL PROTECTED] wrote: can someone take a look at my cvsupfile and see if it's alright: --- *default host=cvsup10.us.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_5_1 *default delete use-rel-suffix src-all tag=RELENG_5_1_0_RELEASE # added manually... collection will be filtered through the refuse file ports-all tag=RELENG_5_1_0_RELEASE doc-all tag=RELENG_5_1_0_RELEASE - i have a few questions... i'm getting many errors. i'm getting Network tree failure: connection refused is the main error that keeps reoccuring. i've also noticed that my ports/ and doc/ directories have vanished. finally, what are the differences between branch and release tags? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Conection sharing
hey people , my name is pedro and I'm from brazil . I'm having problems to find docs that talks about sharinga a ADSL conection between a FreeBSD and a Windows machine in witch the BSD machine is the server so maybe some of you may have a link with a doc or can tell me how to do it please ? Last time I've done it , it was with two win98 machines and I just used a proxy program ... but it sucks =P , to instable. Pedro ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
On 5.1, what is the process named idle?
Greetings, list subsribers... I've installed 5.1 and a variety of apps on a machine, in preparation for a move to 5.1 in the near future, and in the course of playing around on it, I've noticed a process called idle: ~games: top -SU root PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 11 root -16 00K 12K RUN 59:26 94.48% 94.48% idle ~games: more /usr/local/bin/idle #!/usr/local/bin/python from idlelib.PyShell import main main() What is idle? Is it showing the percentage of CPU unused, or some similar thing? I poked around with apropos, and man, and briefly looked around through the file tree, but saw nothing; I also note that there is no apparent equivalent process on my 4.9 machine. Thanks in advance for any answers, fj ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Conection sharing
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:18 PM Subject: Conection sharing hey people , my name is pedro and I'm from brazil . I'm having problems to find docs that talks about sharinga a ADSL conection between a FreeBSD and a Windows machine in witch the BSD machine is the server so maybe some of you may have a link with a doc or can tell me how to do it please ? Last time I've done it , it was with two win98 machines and I just used a proxy program ... but it sucks =P , to instable. Pedro Pedro, check out the documentation on enabling NATD. In short, as long as the DSL is connected to the FreeBSD box, you can configure and enable NATD on that box, install a 2nd nic, connect it to the other system with a crossover cable. -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmms-arts plugin
On Thursday 11 September 2003 03:11 am, Bjarne Wichmann Petersen wrote: You don't *need* it, but xmms will lock the sound-device while playing and thus hindering kde-apps using it. One solution is to use vchans, but it sound *awfull* with my HW. An arts-plugin to xmms would be really nice, but I never got the plugin working apart from crashing everythin IIRC. To do this you need to use sysctl and set hw.snd.pcm.vchan and hw.snd.maxautovchans. I have mine set to four. So I have 4 channels for audio. Then you can use KDE control panel to set Sound I/O to use a custom sound device. Set it to /dev/dsp0.1 and KDE sounds will go through this device, leaving XMMS to have it's own device. -- Rod @ Home So No Cool Signature http://opensourcebeef.bsd.st ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: On 5.1, what is the process named idle?
On Thu, Sep 11, 2003 at 08:04:05PM -0400, Joe Altman wrote: Greetings, list subsribers... I've installed 5.1 and a variety of apps on a machine, in preparation for a move to 5.1 in the near future, and in the course of playing around on it, I've noticed a process called idle: ... What is idle? IDLE - an Integrated DeveLopment Environment for Python (see www.python.org) - Till ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user-ppp faster then pppd ?
On Fri, Sep 12, 2003 at 01:37:59AM +0200, [EMAIL PROTECTED] wrote: The difference is too small to be meaningful. when you have 56k modem and ~4.5KB throughput 0.5KB can make a big difference The change means that the second connection traveled over wires that were slightly noisier, or slightly busier, or one of a hundred other possibilities. The odds that there is a difference in connection speeds caused by a difference between ppp and pppd lie somewhere between zero and null. I tried it several times and got the same results, therefore it must be caused by the diffrence between ppp and pppd. I don't know that there's much to it. Since they're different implementations, they may well perform differently. For example, user ppp has had a lot of work done on it over the years, whereas pppd has essentially been an unmaintained orphan for the last 3-4 years. Just stick with whichever one works best for you. Kris pgp0.pgp Description: PGP signature
Re: On 5.1, what is the process named idle?
On Fri, Sep 12, 2003 at 09:39:51AM +0900, Till Plewe wrote: On Thu, Sep 11, 2003 at 08:04:05PM -0400, Joe Altman wrote: Greetings, list subsribers... I've installed 5.1 and a variety of apps on a machine, in preparation for a move to 5.1 in the near future, and in the course of playing around on it, I've noticed a process called idle: ... What is idle? IDLE - an Integrated DeveLopment Environment for Python (see www.python.org) Heh..no. The idle task is the kernel thread that runs when the kernel is not doing anything else more meaningful like running user processes or servicing I/O. It takes care of running some low-priority tasks like pre-zeroing memory pages in preparation for future demand. Kris pgp0.pgp Description: PGP signature
[no subject]
unsubscribe freebsd-questions [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmms-arts plugin
On Thursday 11 September 2003 07:04 am, Alin-Adrian Anton wrote: Probably because KMial's ring is a beep with the internal speaker, not via the soundcard device. Well, no. I have KMail set to play a system sound when new mail arrives. And even with artsdsp , I am unable to play sound simultaneously from a different source than xmms, while xmms is playing via the wrapper. I don't know what I did differently, but mine seems to work fine in that respect. Now, maybe the mail notification sound is delayed a bit, but I really don't know. -- Todd Stephens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Inquiry Into Japanese-English Translation Opportunities
Good afternoon, I recently visited your website and was wondering if you might have occasional need of assistance. I am a Japanese-English interpreter/translator based in Las Vegas, NV. I am a court experienced interpreter with 30 years legal as well as technical translation experience. Please advise to whom in your firm my credentials should be addressed, and if there is an online application form. Thank you for your time. Sincerely, James Wilson Court Interpreter Wilson Associates Japanese Language Services 2451 No. Rainbow Blvd., #22-2140 Las Vegas, NV 89108 USA (702) 515-0810 Tel. (702) 898-8614 FAX Website: Online Resume and Detailed Linguistic Credentials: www.jameswilson.ontheweb.com Email: [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: On 5.1, what is the process named idle?
On Thu, Sep 11, 2003 at 05:50:01PM -0700, Kris Kennaway wrote: On Fri, Sep 12, 2003 at 09:39:51AM +0900, Till Plewe wrote: On Thu, Sep 11, 2003 at 08:04:05PM -0400, Joe Altman wrote: Greetings, list subsribers... I've installed 5.1 and a variety of apps on a machine, in preparation for a move to 5.1 in the near future, and in the course of playing around on it, I've noticed a process called idle: ... What is idle? IDLE - an Integrated DeveLopment Environment for Python (see www.python.org) Heh..no. The idle task is the kernel thread that runs when the kernel is not doing anything else more meaningful like running user processes or servicing I/O. It takes care of running some low-priority tasks like pre-zeroing memory pages in preparation for future demand. So, should it be in a constant state of RUN, and consume more than 90% of CPU and WCPU for more than twenty four hours? I suspect that I still do not entirely grok the subtle meaning of the fields CPU and WCPU...it's just that when I see this type of thing on a set of userhosts I frequent, it often results in me or someone else yelling over the wall to the SysAdmin: Hey, $USERS older-than-dirt perl process is chewing up CPU and bogging down the host...please kill the process! But I don't notice any stickiness on my machine...so maybe it's no problem. I've taken another look at this, and just noticed that there are tasks with NICE ranging from 52 to -187 in 'top -SU root'...I'm not freaked out by this, but note that I read the man page which indicates that possible values range from 20 to -20. The version runs sweetly, btw; no problems at all. Music, scanning, updates, all that...very smooth. Thanks for the answers, fj ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: On 5.1, what is the process named idle?
On Thu, Sep 11, 2003 at 10:05:38PM -0400, Joe Altman wrote: The idle task is the kernel thread that runs when the kernel is not doing anything else more meaningful like running user processes or servicing I/O. It takes care of running some low-priority tasks like pre-zeroing memory pages in preparation for future demand. So, should it be in a constant state of RUN, and consume more than 90% of CPU and WCPU for more than twenty four hours? If your machine is more than 90% idle, yes. I've taken another look at this, and just noticed that there are tasks with NICE ranging from 52 to -187 in 'top -SU root'...I'm not freaked out by this, but note that I read the man page which indicates that possible values range from 20 to -20. Yes, read what the -S option to top does. Kris pgp0.pgp Description: PGP signature
freeBSD 4.8
I am a very-very new LINUX/UNIX user. After being convinced by friends that it is far better and stablethan windows architechture. So I bought the LINUX Format magazine because it offered a full OS called FREEBSD 4.8 I tried to install it and after a few a attempts I managed to install it atlast but when it started up it asked for a login and password. I must have missed something along the way because for the life of me I had no clue what was happening on install. I searched the mag and the disc and unfortunately I can't find any login or password detail. I tried typing different stuff but to know avail... PLEASE tell me what I'm doing wrong and what I should do... CLUELESS JOHN - Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD 4.8
John Mascardo wrote: I am a very-very new LINUX/UNIX user. After being convinced by friends that it is far better and stablethan windows architechture. So I bought the LINUX Format magazine because it offered a full OS called FREEBSD 4.8 I tried to install it and after a few a attempts I managed to install it atlast but when it started up it asked for a login and password. I must have missed something along the way because for the life of me I had no clue what was happening on install. I searched the mag and the disc and unfortunately I can't find any login or password detail. I tried typing different stuff but to know avail... PLEASE tell me what I'm doing wrong and what I should do... CLUELESS JOHN - Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello John, When I have installed BSD I use root as the username without a password ( just hit enter when prompted for the password ). If that works for you, run passwd on the command line and give yourself a password you can remember :). Hope this helps, Thanatos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD 4.8
- Original Message - From: John Mascardo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:50 PM Subject: freeBSD 4.8 I am a very-very new LINUX/UNIX user. After being convinced by friends that it is far better and stablethan windows architechture. So I bought the LINUX Format magazine because it offered a full OS called FREEBSD 4.8 I tried to install it and after a few a attempts I managed to install it atlast but when it started up it asked for a login and password. I must have missed something along the way because for the life of me I had no clue what was happening on install. I searched the mag and the disc and unfortunately I can't find any login or password detail. I tried typing different stuff but to know avail... PLEASE tell me what I'm doing wrong and what I should do... CLUELESS JOHN First, welcome to a whole new world. :) When you were installing the OS, at one point, it asked you for an administrative or Super User password. This password will be the root account password. So, the login will be root with the password that you provided. Keep in mind, that you can only use this account from the system keyboard. -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD 4.8
On Thursday 11 September 2003 10:50 pm, John Mascardo wrote: I am a very-very new LINUX/UNIX user. After being convinced by friends that it is far better and stablethan windows architechture. So I bought the LINUX Format magazine because it offered a full OS called FREEBSD 4.8 I tried to install it and after a few a attempts I managed to install it atlast but when it started up it asked for a login and password. If it is a full install on a CD included with a magazine, it probably has no passwords set. Just type in a user name (probably root) and hit enter when prompted for a password. BTW, FreeBSD is not Linux. Go to www.freebsd.org to find out more. -- Todd Stephens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Connection refused when setting up cyrus-imapd
I've been trying to set up cyrus-imapd-2.1.14 for a while now, and though I'm sure I'd got farther than this before, now I keep getting stuck. I'm using FreeBSD 5.1. The port downloaded, compiled, and installed just fine, I customised imapd.conf and copied one of the sample files to cyrus.conf, made the appropriate directories, ran mkimap, put the appropriate entries in /etc/services, and followed the including directions for generating an OpenSSL certificate and key. For good measure, I sent a HUP signal to the inetd process, and then I ran /usr/local/cyrus/bin/master However, when I run imtest and point it to my localhost, it immediately gives me the following response: connect: Connection refused failure: Network initialization Now, I know I'm a relative newbie to this business, and this particular situation has me completely mystified. At one point, I was able to connect but was having trouble with authentication. Now it seems like the imap(s) port just isn't there or something like that. I haven't yet installed any firewall software that I'm aware of - I was afraid to do so until I got the rest up and running. Is there something I'm likely to have missed here? On a related note, I noticed some discussion in the cyrus-imapd docs and config files about mbox versus Mailbox format. The latter seemed to be preferable, being able to rearrange with less worry; is there any way I can make it be the storage format? -Brian Bobowski ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Establishing Backup/Restore System
On Thu, 11 Sep 2003, Barry Skidmore wrote: I am trying to build a restore floppy using the script in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html I am having two problems so far. 1. I am getting syntax errors with some of the commands in the script: disklabel: dev/fd0c: no such file or directory ^ what is this 'c' doing here? You're pointing at a d, but c means the whole drive. See the Disks chapter in the Handbook. It looks like the error is from not specifying an absolute path, which should be /dev/fd0c (note the leading slash). newfs: illegal option --t Just one dash on -t. mount: /dev/fd0a: no such file or directory ^ what is this 'a' doing here? a means the root partition. Again, see the Disks chapter. 2. I do not have a MINI kernel on my system, which is needed on the backup floppy. The script gives a sample configuration file to build this MINI kernel. I have looked at the Handbook on building a custom kernel, but it is a bit confusing for someone new to unix, and I am not sure how the instructions need to be modified for this special case. I tried this myself a couple of days ago, and there are a couple of problems. The kernel config file given uses obsolete terms, and things have changed since whenever that was written. The second problem I had is that commenting out everything possible from a GENERIC kernel still resulted in a kernel file that was well over 1M in size, and there was only about 270K of space left on the floppy. (Other than the erroneous MINI config given, the floppy creation script does work.) One last point. I realize for my setup that I will also need to put ssh on this floppy. Has anyone done this, and does the program fit? I haven't yet, but haven't had time to do much more. A place to start looking is 'man picobsd'. You may find more of what you need with either the ISO of the second CD of the FreeBSD set, or at the http://www.freesbie.org web site. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Long-running connections stop working through a FreeBSD 5.1R firewall/NAT box...
System: FreeBSD 5.1-RELEASE running as a firewall (ipfw) and NAT for 192.168.1.0/24 Interfaces: xl0 (internal interface, 192.168.1.1) sis0 (cable modem interface) (address assigned by DHCP) HTTP connections across the firewall work fine (ie. web browsing) and I can maintain a connection to a streaming radio station just fine from my PowerBook inside the firewall, but AIM, ICQ, and Yahoo Messenger seem to stay up for a while and then just unexpectedly disconnect (the client has to reconnect). What could be the problem? (Sometimes, after a while, message traffic doesn't come in and I have to restart the clients on my end to be able to use the 'messengers' in question.) Also, start an SSH session and it will randomly 'lock up.' (But you can initiate other stuff after it's locked up.) I looked in my /var/log/security and I see nothing being denied that should be allowed. Also, conventional FTP doesn't work from my PowerBook inside the firewall, even with '-use_sockets' enabled in natd. Any ideas? Thanks. Here's my /etc/firewall/fwrules: #!/bin/sh # Define the firewall command (as in /etc/rc.firewall) for easy # reference. Helps to make it easier to read. fwcmd=/sbin/ipfw inside_if=xl0 outside_if=sis0 # Force a flushing of the current rules before we reload. $fwcmd -f flush # Divert all packets through the outside interface. $fwcmd add divert natd all from any to any via $outside_if # Allow all connections that have dynamic rules built for them, # but deny established connections that don't have a dynamic rule. # See ipfw(8) for details. $fwcmd add check-state $fwcmd add deny tcp from any to any established # Allow all localhost connections $fwcmd add allow tcp from me to any out via lo0 setup keep-state $fwcmd add deny tcp from me to any out via lo0 $fwcmd add allow ip from me to any out via lo0 keep-state # Allow all connections from my network card that I initiate $fwcmd add allow tcp from me to any out xmit any setup keep-state $fwcmd add deny tcp from me to any $fwcmd add allow ip from me to any out xmit any keep-state # Everyone on the Internet is allowed to connect to the following # services on the machine. $fwcmd add allow tcp from any to me dst-port 2100 in recv any setup keep-state # This sends a RESET to all ident packets. $fwcmd add reset log tcp from any to me 113 in recv any # Enable DHCP $fwcmd add allow udp from any 68 to any 67 out xmit $outside_if $fwcmd add allow udp from any 67 to any 68 in recv $outside_if # Enable ICMP: remove type 8 if you don't want your host to be pingable $fwcmd add allow icmp from any to any icmptypes 0,3,8,11,12,13,14 # Enable IP from our internal network to reach us $fwcmd add allow ip from 192.168.1.0:255.255.255.0 to any in via $inside_if keep-state # (Note: without this rule, _no_ traffic can reach 192.168.1.1 from the internal network) # Deny all the rest. $fwcmd add deny log ip from any to any Here's my /etc/rc.conf: # -- sysinstall generated deltas -- # Thu Sep 11 11:52:46 2003 # Created: Thu Sep 11 11:52:46 2003 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. gateway_enable=YES hostname=bsdserver.carmichael.lan ifconfig_xl0=inet 192.168.1.1 netmask 255.255.255.0 media 100BaseTX ifconfig_sis0=DHCP inetd_enable=YES inetd_flags=-wW -l -a 192.168.1.1 firewall_enable=YES firewall_script=/etc/firewall/fwrules natd_enable=YES natd_interface=sis0 natd_flags=-dynamic -use_sockets isc_dhcpd_enable=YES isc_dhcpd_program=/usr/local/sbin/dhcpd isc_dhcpd_flags=-q xl0 moused_enable=NO named_enable=YES icmp_drop_redirect=YES icmp_log_redirect=YES syslogd_flags=-s -s kern_securelevel_enable=NO sendmail_enable=NONE sshd_enable=YES usbd_enable=NO ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
I was mount smb file system with mount_smbfs -c l, but file and folder names are don't convert to lowercase, whats wrong? I was build kernel with options: options NETSMB options NETSMBCRYPTO options LIBMCHAIN options LIBICONV options SMBFS And I was install pakage libiconv-1.8_2 I was mount smbfs: #mount_smbfs -I server.mydomain -E koi8-r:cp866 -c l //[EMAIL PROTECTED]/fold ~/smbfs -- Best regards, anton mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is there cool download manager in FreeBSD?
Hi people! Is there cool download manager in FreeBSD? Like Reget, or Flashget in WIN, Don't disturb me about KGet (he can't to continue download, when connection has broken) Best regards, Alex Zivenko http://www.netgen.com.ua ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
another newbie struggling with ppp/modem issues
I'm having some trouble getting my modem up and running on FreeBSD 4.8. A search through the mailing list archives shows that many of the problems I've been wrestling with seem to have cropped up before, yet I haven't been able to follow any of the discussion to a workable answer. My modem is sitting on cuaa2 and I needed to re-compile my kernel to recognize that port. I did this and everything went fine, although I am getting the dreaded sio5: configured irq 2 not in bitmap of probed irqs 0 error which I haven't found a solution for in any documentation or discussion. Just for laughs, I went ahead and tried to contact the modem via ppp, but when I enter the term command I get: Warning: deflink: /dev/cuaa2: Bad file descriptor Failed to open /dev/cuaa2 I am now officially stuck and am entering a plea for help. The relevant lines from the kernel config file are pasted below. This looks right to me, but if anyone can think what I'm doing wrong (including RTFM references) I would be forever grateful. Thanks, Alex *** # Serial (COM) ports device sio0at isa? port IO_COM1 flags 0x10 irq 4 device sio1at isa? port IO_COM2 irq 3 device sio2at isa? port IO_COM3 irq 5 device sio3at isa? disable port IO_COM4 irq 9 __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCMCIA NIC
Original problem description: ifconfig does not show the PCMCIA NIC (3Com 10/100, pretty standard and works under Linux, so I expect it's supported), and after some looking I think that I have the necessary kernel parameters built, but I'm definitely missing something. One of several interesting replies: FWIW, on my Thinkpad 600X w/ Linksys pcmcia, I had to use OLDCARD to configure a kernel that would use the card. I may be missing the point, but it might be worthy to note it also. Responses: It was suggested that I try ifconfig -a to see if the card was detected but not configured. It does not appear to be recognized. pccard_enabled=YES was and is in my rc.conf, but that was a good suggestion. The card is found in dmesg, but I find a message that looks ominous: 32-bit cardbus not supported or similar. I get the same message when I hotplug the card in. The card is a 3Com Megahertz 10/100 card, model number 3CCFE575BT I am disappointed to not see this card in /etc/defaults/pccard.conf I am running 4.8, and I suspect that this is obvious to the more knowledgable by this point. I don't quite know what to do with the suggestion that I use OLDCARD to configure a kernel. Could someone point me at some documentation? Request for Advice: If, in fact, I cannot use FreeBSD 4.8 and cardbus cards, am I better to get a 16-bit card (possibly tricky, I did some looking) or move to 5.x (which makes me, perhaps unnecessarily, nervous)? -- thanks to all, William ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]