Nokia 6610 via DKU-5 cable (usb) and fbsd-4.8. any chance?
Hi all, I'd like to use my Nokia 6610 with FreeBSD for eventual PPP tests of our dial-in servers. I've got DKU-5 cable. It's USB and the only thing I can get for this phone; ordering IR port is not an option. I've compiled recompiled kernel (4.8-p13) with: device uhci# UHCI PCI-USB interface device usb # USB Bus (required) device ugen# Generic device ucom device uplcom device uvscom device uvisor device uftdi device umodem device uhid# Human Interface Devices When I run 'usbd -d -v' I can see the system detects connected phone as: usbd: device-attach event at 1067328676.392127000, Nokia Connectivity Cable DKU-5, vendor 0x0421: vndr=0x0421 prdct=0x0800 rlse=0x030a clss=0x00ff subclss=0x prtcl=0x00ff device names: ugen0 I guess I should'n expect this to be good enough as: # cu -l /dev/ugen0 Connected. cu: Got hangup signal Disconnected. Basically the only thing I'm interested at the moment is to be able to say 'AT' to the modem. Is there any way to achieve this? Kind regards, Ilya Varlashkin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PostgreSQL on FreeBSD
On Mon, Oct 27, 2003 at 04:04:28PM -0500, Lowell Gilbert wrote: Why does setting them in /etc/sysctl.conf or /etc/loader.conf not work ? You're doing something wrong. That's all I can say when the description of the failure is just not work. Allow me to expand on that then... I put the options in /etc/sysctl.conf as follows: kern.ipc.somaxconn=512 kern.ipc.shmmax=268435456 kern.ipc.shmall=65536 kern.ipc.shmmni=128 kern.ipc.semmns=256 When I reboot, sysctl -a | grep kern.ipc.semmns returns kern.ipc.semmns: 60 -- Wayne Pascoe The time for action is passed. Now is the time for senseless bickering. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No MD5 checksum file for kde
So how would you use portsupgrade then to fetch all required tarballs? I figured portinstall -Fr but that doesn't get the depend ports. On Tue, Oct 28, 2003 at 12:13:48AM +0100, Erik Trulsson wrote: On Mon, Oct 27, 2003 at 07:21:39PM +0100, R.T.G. TAN wrote: I've been cvsupping my portstree several times now over the last past weeks but still don't get the MD5 checksum file, for kde. What's up with this? If you are referring to the x11/kde3 port then the answer is that there is no MD5 checksum for this port, since it has no distfiles to checksum. It is just a metaport to make it convient to build and install all the separate ports that make up KDE without having to install them one at a time by hand. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- rt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK 'make install' - puzzling error message
On Mon, 27 Oct 2003 18:18:25 -0800, Kent Stewart [EMAIL PROTECTED] said: On Monday 27 October 2003 05:52 pm, Richard Shea wrote: Hi - I've just gone to ... http://java.sun.com/webapps/download/Display?BundleId=7479 ... to download the JDK and put it into ports/distfiles. However when I do 'make install' from /usr/ports/java/linux-sun-jdk13 I get ... === linux-sun-jdk-1.3.1.07_1 You must manually fetch the Java 2 Development Kit 1.3.1.07 archive (j2sdk-1_3_1_07-linux-i586.bin) from http://java.sun.com/webapps/download/Display?BundleId=7479, download the Linux GNUZIP Tar shell script into /usr/ports/distfiles and then run make again. ... well I've got two problems arising from that. First following that link mentioned in the error message now gives you j2sdk-1_3_1_08-linux-i586.bin not the 07 version - so does anyone know how I can get the 07 version ?. The other thing is that I'm afraid I have no idea what 'the Linux GNUZIP Tar shell script' might be or where I should get it from - is that another name for what I've downloaded ? Your port system seems to be out of date. The current version is 09 and the *.bin file is the file you are to download into ../distfiles. Thanks for your reply and your advice Kent. I'm looking into how to update my ports now but in the meantime if the current version is 09 can anyone tell me how I can get hold of that ? As I said if I follow the link mentioned ( http://java.sun.com/ webapps/ download/ Display?BundleId=7479 ) in the error message I'm only offered the 08 version. Also sorry to be obtuse but I'm still not clear what the Linux GNUZIP Tar shell script is - is that another name for j2sdk-1_3_1_08-linux-i586.bin (and variants) ? thanks richard shea. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK 'make install' - puzzling error message
On Tuesday 28 October 2003 02:34 am, Richard Shea wrote: On Mon, 27 Oct 2003 18:18:25 -0800, Kent Stewart [EMAIL PROTECTED] said: On Monday 27 October 2003 05:52 pm, Richard Shea wrote: Hi - I've just gone to ... http://java.sun.com/webapps/download/Display?BundleId=7479 ... to download the JDK and put it into ports/distfiles. However when I do 'make install' from /usr/ports/java/linux-sun-jdk13 I get ... === linux-sun-jdk-1.3.1.07_1 You must manually fetch the Java 2 Development Kit 1.3.1.07 archive (j2sdk-1_3_1_07-linux-i586.bin) from http://java.sun.com/webapps/download/Display?BundleId=7479, download the Linux GNUZIP Tar shell script into /usr/ports/distfiles and then run make again. ... well I've got two problems arising from that. First following that link mentioned in the error message now gives you j2sdk-1_3_1_08-linux-i586.bin not the 07 version - so does anyone know how I can get the 07 version ?. The other thing is that I'm afraid I have no idea what 'the Linux GNUZIP Tar shell script' might be or where I should get it from - is that another name for what I've downloaded ? Your port system seems to be out of date. The current version is 09 and the *.bin file is the file you are to download into ../distfiles. Thanks for your reply and your advice Kent. I'm looking into how to update my ports now but in the meantime if the current version is 09 can anyone tell me how I can get hold of that ? As I said if I follow the link mentioned ( http://java.sun.com/ webapps/ download/ Display?BundleId=7479 ) in the error message I'm only offered the 08 version. Also sorry to be obtuse but I'm still not clear what the Linux GNUZIP Tar shell script is - is that another name for j2sdk-1_3_1_08-linux-i586.bin (and variants) ? If you had cvsup'ed ports-all and then did a make index, you would have seen # cd /usr/ports/java/linux-sun-jdk13 # make === linux-sun-jdk-1.3.1.09 You must manually fetch the Java 2 Development Kit 1.3.1.09 archive (j2sdk-1_3_1_09-linux-i586.bin) from http:// java.sun.com/webapps/download/Display?BundleId=8901, download the Linux GNUZIP Tar shell script into /usr/ports/distfiles and then run make again. I downloaded the *.09*.bin into ../distfiles and make worked at that point. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PostgreSQL on FreeBSD
On Tue, 28 Oct 2003, Wayne Pascoe wrote: On Mon, Oct 27, 2003 at 04:04:28PM -0500, Lowell Gilbert wrote: Why does setting them in /etc/sysctl.conf or /etc/loader.conf not work ? You're doing something wrong. That's all I can say when the description of the failure is just not work. Allow me to expand on that then... I put the options in /etc/sysctl.conf as follows: kern.ipc.somaxconn=512 kern.ipc.shmmax=268435456 kern.ipc.shmall=65536 kern.ipc.shmmni=128 kern.ipc.semmns=256 When I reboot, sysctl -a | grep kern.ipc.semmns returns kern.ipc.semmns: 60 I believe -current now has code to pull values for these out of the kernel environment; that's missing in -stable (IIRC; not checked, but I have a vague recollection of trying to figure out how the hell the values were supposed to get into the sysctl value until I looked at the -current tree). -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ I like oranges more than apples!? - that's like comparing apples and oranges! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 0 After the install?
On Mon, 27 Oct 2003 22:57:35 -0900, Joe Pokupec [EMAIL PROTECTED] wrote: Hey All, I'd like to use RAID 0 one ATA in my FreeBSD box (it's 4.7 right now, but I plan to upgrade to 5.1 this week). I have some basic questions, if they've been answered already, maybe someone could point me to a link: - If I use a hardware ATA RAID card, are there certain system settings required for FreeBSD to recognize this, or is the RAID format done at a platform-independent level (BIOS or other boot utilities)? FreeBSD has always automagically recognized my RAID0 array (Promise onboard 20265 and 20276). If you set up the RAID array before installing 5.1 you should be fine. There are also FreeBSD HD management utilities that can be used to create and manage RAID arrays (e.g., atacontrol), but I haven't used them. - If one of the 2 hard drives fail, the data will still be visible and accessible on the remaining drive correct? How easy is it to replace the failed drive? Will the data from the good drive automatically copy over to the newly replaced drive or are there a lot of shenanigans involved? You are describing RAID1, not RAID0. Some reading about RAID before you do this is recommended, I think. :) Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No MD5 checksum file for kde
On Tue, Oct 28, 2003 at 11:19:47AM +0100, R.T.G. TAN wrote: So how would you use portsupgrade then to fetch all required tarballs? I figured portinstall -Fr but that doesn't get the depend ports. I wouldn't (and don't) use portupgrade. I would do a 'make checksum-recursive' in x11/kde3 to fetch all the distfiles for all the dependencies and check that they transferred correctly. On Tue, Oct 28, 2003 at 12:13:48AM +0100, Erik Trulsson wrote: On Mon, Oct 27, 2003 at 07:21:39PM +0100, R.T.G. TAN wrote: I've been cvsupping my portstree several times now over the last past weeks but still don't get the MD5 checksum file, for kde. What's up with this? If you are referring to the x11/kde3 port then the answer is that there is no MD5 checksum for this port, since it has no distfiles to checksum. It is just a metaport to make it convient to build and install all the separate ports that make up KDE without having to install them one at a time by hand. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.x Works, 4.x Fails ..
Hi, I'm trying to install FreeBSD 4.9-RC4 on a amd k6/2 333mhz with a seagate 10gb hdd and 64M ram. When I partition my hdd and it 'should' start formatting the disk, I get these errors: Unable to swap to /dev/ad0s1b: invalid arg Unable to make new root fs on /dev/ad0s1a! Couldn't make fs properly. Aborting while i get this in my debug screen : ad0s1: cannot find label (disk label corrupted) DEBUG: Scanning disk ad0 for rootfs DEBUG: found rootdev at ad0s1a! DEBUG: found vardev at ad0s1e! DEBUG: found tmpdev at ad0s1f! DEBUG: found usrdev at ad0s1g! DEBUG: Scanning ad0 for swap partition DEBUG: Found swapdev at ad0s1b! ad0s4: slice extends beyond end of disk, truncating. ... ad0: cannot find label disk label corrupted) ad0s1: cannot find label disk label corrupted) DEBUG: Notify: Making a new root fs on /dev/ad0s1a DEBUG: Execute command 'newfs -b 16384 -f 2048 /dev/ad0s1a' ... newfs: /dev/ad0s1a invalid argument DEBUG: Command 'newfs -b 16384 -f 2048 /dev/ad0s1a' returned status of 1 I get the same with FreeBSD 4.6-R and 4.8-R, but in OpenBSD 3.3 and FreeBSD 5.1 it works flawless... I don't understand, isn't there a way for me to install FreeBSD 4.x ??? Thanks Greetings, Wouter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD security ....
Dear All , Is it possible that i give a Normal (without wheel rights) user to access my server using ftp ,and he can only browse thru his home directory not above that .If it is possbile pls reply me . Shrikant ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD security ....
On Tue, 28 Oct 2003, Shrikant wrote: Dear All , Is it possible that i give a Normal (without wheel rights) user to access my server using ftp ,and he can only browse thru his home directory not above that .If it is possbile pls reply me . This is more to do with the FTP server than normal access. If you install proftpd you can lock the person in their HomeDirectory using DefaultRoot ~ Also some software will lock someone in if you change their home directory from /home/user to /home/./user HTH Rus -- w: http://www.jvps.com | Linux + FreeBSD Servers from $15/mo e: [EMAIL PROTECTED]| Dedicated Servers from $119/mo t: +44 7919 373537 | email: [EMAIL PROTECTED] t: 1-888-327-6330 | email: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD security ....
On October 28, 2003 4:34 am, Shrikant wrote: Dear All , Is it possible that i give a Normal (without wheel rights) user to access my server using ftp ,and he can only browse thru his home directory not above that .If it is possbile pls reply me . If you create the file /etc/ftpchroot and put the name of the user in that file (one name per line), the ftp daemon in the base install will chroot the user to their home directory. For exact details and more options, read the ftpchroot manual page by typing man ftpchroot at a shell prompt. Regards, Ed -- There are people who cheat on their spouse but not at cards, and vice versa, and both and neither. Reputation is not necessarily portable from one situation to another, and it's not easily expressed. --Clay Shirkey. (http://www.shirky.com/writings/group_enemy.html) It has been said that man is a rational animal. All my life I have been searching for evidence which could support this. --Bertrand Russell. The American empire is ideological, not territorial. We are the most ideological people in the world, and we are so united in our view that we don't understand there can be other views. --Lt. Gen. William Odom, ret. (Former Director of NSA). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
User authentication not working in Apache2
Hi, I'd like to restrict access to 1 of several cgi scripts on my website to authorized users only. Problem is, after configuring httpd.conf, .htaccess, .passwd, anyone can still run the script. I created the .passwd file with htpasswd -c myfilename myusername. Of course, I restarted apache after all changes to httpd.conf with apachectl restart. No errors. I've poured over the Apache documentation on their website, and Googled all day yesterday, no joy. The error log shows *nothing* related to execution of this script. The access log shows nothing other than the GET line for this script. Any help would be appreciated. Here are some relevant sections from httpd.conf (I'll post the entire 38k file if allowed.) # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule access_module libexec/apache2/mod_access.so LoadModule auth_module libexec/apache2/mod_auth.so [snip] # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot /usr/local/www/data # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the default to be a very restrictive set of # features. # Directory / Options FollowSymLinks AllowOverride None /Directory Directory /usr/local/www/cgi-bin AllowOverride AuthConfig /Directory Here is the .htaccess file which resides in /usr/local/www/cgi-bin: Files myscript.cgi Options ExecCGI AuthType Basic AuthName Password Required AuthUserFile /usr/local/www/.passwd # Not the best location for this file, I know. Require valid-user /Files 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]
5.x Works, 4.x Fails ..
Hi, I'm trying to install FreeBSD 4.9-RC4 on a amd k6/2 333mhz with a seagate 10gb hdd and 64M ram. When I partition my hdd and it 'should' start formatting the disk, I get these errors: Unable to swap to /dev/ad0s1b: invalid arg Unable to make new root fs on /dev/ad0s1a! Couldn't make fs properly. Aborting while i get this in my debug screen : ad0s1: cannot find label (disk label corrupted) DEBUG: Scanning disk ad0 for rootfs DEBUG: found rootdev at ad0s1a! DEBUG: found vardev at ad0s1e! DEBUG: found tmpdev at ad0s1f! DEBUG: found usrdev at ad0s1g! DEBUG: Scanning ad0 for swap partition DEBUG: Found swapdev at ad0s1b! ad0s4: slice extends beyond end of disk, truncating. ... ad0: cannot find label disk label corrupted) ad0s1: cannot find label disk label corrupted) DEBUG: Notify: Making a new root fs on /dev/ad0s1a DEBUG: Execute command 'newfs -b 16384 -f 2048 /dev/ad0s1a' ... newfs: /dev/ad0s1a invalid argument DEBUG: Command 'newfs -b 16384 -f 2048 /dev/ad0s1a' returned status of 1 I get the same with FreeBSD 4.6-R and 4.8-R, but in OpenBSD 3.3 and FreeBSD 5.1 it works flawless... I don't understand, isn't there a way for me to install FreeBSD 4.x ??? Thanks Greetings, Wouter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
installing freebsd on another disk
I'd like to install freebsd on another disk from source. Can I do something like?: cd /usr/src make buildworld make PREFIX=/mnt installworld make PREFIX=/mnt kernel If not $PREFIX, what's the right answer? I'd try it and see...but I only have my one live box. Thanks Michael Grant ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
chmod after installworld
New to FreeBSD. Version 4.8 stable. Fresh install. Why am I allowed to chmod 000 a file after installation (ex: /usr/bin/rsh, or /usr/bin/yppasswd), but cannot following a cvsup and installworld? I get an Operation not allowed message after updating. A listing of the file shows -r-sr-xr-x root wheel as the permissions and ownership. The s is common to all the files I cannot change (I believe this indicates the suid bit (which is why I'm trying to chmod this in the first place)), but chmod produces the same results (not allowed). I am logged in as root on the console, am not running ACL, yellow pages, or anything else for authentication beyond master.passwd at this stage (fresh install). I have looked at the man page for chmod, and searched google, with no results. Please help. ___ This message was scanned and certified Virus Free by Alexssa | HNet. www.alexssa.net www.hnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod after installworld
On Tue, Oct 28, 2003 at 07:56:43AM -0600, Jim wrote: New to FreeBSD. Version 4.8 stable. Fresh install. Why am I allowed to chmod 000 a file after installation (ex: /usr/bin/rsh, or /usr/bin/yppasswd), but cannot following a cvsup and installworld? I get an Operation not allowed message after updating. A listing of the file shows -r-sr-xr-x root wheel as the permissions and ownership. The s is common to all the files I cannot change (I believe this indicates the suid bit (which is why I'm trying to chmod this in the first place)), but chmod produces the same results (not allowed). I am logged in as root on the console, am not running ACL, yellow pages, or anything else for authentication beyond master.passwd at this stage (fresh install). I have looked at the man page for chmod, and searched google, with no results. Please help. ___ This message was scanned and certified Virus Free by Alexssa | HNet. www.alexssa.net www.hnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] First use chflags noschg /usr/bin/rsh. Btw you can check flags via ls -alo /usr/bin/rsh. RP ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-4.8 -- Strange behavior using dump(8) --
On Tue, Oct 28, 2003 at 07:12:46AM -0500, nw1 wrote: This problem can be viewed @ http://69.3.136.141/freebsd/dump8/dump8_issue-1 Hmmm... I don't see why you couldn't just send that to the list. In summary, you're trying to run dump(8) to a remote file, and it's just hanging: dump 0af [EMAIL PROTECTED]:testfile / DUMP: -- We receive that as a result --and it just sits there. This smells to me that the rcmd(3)/rshd(8) facility that remote dumping uses hasn't been enabled. Let me say two things about this: i) One way of making this work is to enable rshd(8) by uncommenting the appropriate line(s) in /etc/inetd.conf on box1.domain.net -- ie: shell stream tcp nowait root/usr/libexec/rshd rshd shell stream tcp6nowait root/usr/libexec/rshd rshd Then you will need to set up /etc/hosts.equiv and/or .rhosts (see hosts.equiv(5)) in order to permit passwordless access to box1.domain.com from the machine you want to backup. Then your remote dump should proceed as desired. However, preferably, don't do this but use the following instead. ii) Although the man page for rcmd(3) or rcmdsh(3) don't mention it, you can actually substitute for rsh(1) by setting the RSH environment variable to the name of the alternate command. See: http://www.freebsd.org/cgi/query-pr.cgi?pr=15830 or look at /usr/src/lib/libc/net/rcmd.c around line 113. I've ranted elsewhere in this mailing list about the general desirability of secure protocols like SSH and their superiority over rsh quite recently, so I'll spare you a repeat of that. Suffice it to say that instead of (i) above I would most strongly suggest that you: # setenv RSH /usr/bin/ssh # dump 0af ... and you should read the ssh FAQ entry about unattended login at: http://www.snailbook.com/faq/no-passphrase.auto.html and also make maximum use of the facilities of the ~/.ssh/authorized_keys file as described in the section AUTHORIZED_KEYS FILE FORMAT in the sshd(8) man page -- particularly 'from=...', 'command=...', 'no-port-forwarding' and 'no-X11-forwarding', 'no-agent-forwarding'. [The command you'll be running in this remote dump case is /usr/sbin/rmt] Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
FreeBSD Mirror
FreeBSD Team: First please let me thank for providing an excellent distribution. I wanted to inform you of a new project I have started and that will be available within the next couple of days. I am setting up a central repository for BitTorrent links relating only to Open Source projects. I would like to including FreeBSD's .torrent links, in our future home page when your torrents are available. I am letting you know in case this is unacceptable, if it is please let me know. If this is acceptable please let me know as well. I sincerely hope that this will help take some load off of yours and your mirrors servers. I like the faster downloads and I am certain others do as well. The future sites location is at [1]http://www.opentorrent.org Thank you very much for your time, James P. Carter [EMAIL PROTECTED] Mind-Ops [3]http://www.mind-ops.com Small Office Home Office (SOHO) Networking and Design 480.250.7823 References 1. http://www.opentorrent.org/ 2. mailto:[EMAIL PROTECTED] 3. http://www.mind-ops.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
watchdog timeout ???
Hi! Our Samba server (on a 4.8 -RELEASE machine) frequently freezes with these error-messages: rl0: watchdog timeout ahc0: Timeout SCB already complete. Interrupts may not be functioning What does this mean? Thanks for all answers, this is quite important. Regards, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod after installworld
On October 28, 2003 5:56 am, Jim wrote: New to FreeBSD. Version 4.8 stable. Fresh install. Why am I allowed to chmod 000 a file after installation (ex: /usr/bin/rsh, or /usr/bin/yppasswd), but cannot following a cvsup and installworld? I get an Operation not allowed message after updating. On my system, those files have the immutable bit set. man chflags will tell you how to get rid of that flag so you can chmod the file. It's probably a good idea to set the flag back once you're done. I don't know why the behaviour is different between a fresh install and an installworld, though. Now I'm interested to find out. Hopefully someone will explain. Hopefully this is your problem. -Ed A listing of the file shows -r-sr-xr-x root wheel as the permissions and ownership. The s is common to all the files I cannot change (I believe this indicates the suid bit (which is why I'm trying to chmod this in the first place)), but chmod produces the same results (not allowed). I am logged in as root on the console, am not running ACL, yellow pages, or anything else for authentication beyond master.passwd at this stage (fresh install). I have looked at the man page for chmod, and searched google, with no results. Please help. ___ This message was scanned and certified Virus Free by Alexssa | HNet. www.alexssa.net www.hnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There are people who cheat on their spouse but not at cards, and vice versa, and both and neither. Reputation is not necessarily portable from one situation to another, and it's not easily expressed. --Clay Shirkey. (http://www.shirky.com/writings/group_enemy.html) It has been said that man is a rational animal. All my life I have been searching for evidence which could support this. --Bertrand Russell. The American empire is ideological, not territorial. We are the most ideological people in the world, and we are so united in our view that we don't understand there can be other views. --Lt. Gen. William Odom, ret. (Former Director of NSA). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: watchdog timeout ???
It means that your network card (rl0) is going (or has gone) bad. Replace it, and it should go away. Peter Elsner At 08:23 AM 10/28/2003, you wrote: Hi! Our Samba server (on a 4.8 -RELEASE machine) frequently freezes with these error-messages: rl0: watchdog timeout ahc0: Timeout SCB already complete. Interrupts may not be functioning What does this mean? Thanks for all answers, this is quite important. Regards, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.529 / Virus Database: 324 - Release Date: 10/16/2003 Peter Elsner - President [EMAIL PROTECTED] SRI Software 726 Dalworth Suite 1007 Grand Prairie, TX. 75050 972-266-8870 - Voice 817-887-1609 - Fax www.sri-software.com Service Plus(tm) Public Warehouse Management Software --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.529 / Virus Database: 324 - Release Date: 10/16/2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Complicated ipfw/ipf forwarding.
Hi, I have a public IP address and a couple of machines sitting behind a FreeBSD router doing NAT. I'm using ipnat and ipf right now (although I used to use natd/ipfw so I don't mind switching -- I started using ipf/ipnat because of an odd problem with 5.1-RELEASE but I'm switching back to 4.9 now) and wondered if it was possible to do forwarding based on DNS. For example Apache is clever enough to support virtual hosts based on the address requested. Is there any way at all to do this for forwarding on the router? For example if I had three CNAMES for the same IP red, pink and blue. Could I have red.foo.bar forwarded to 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar go to the local machine (i.e. the router)? Thanks very much, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: Complicated ipfw/ipf forwarding.
On Tue, Oct 28, 2003 at 09:39:23AM -0500, Jason Lavigne wrote: Could I have red.foo.bar forwarded to 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar go to the local machine wouldn't you use DNS (bind) for this? How? I only have one external IP address (say 1.2.3.4) but behind the NAT machine I have many. However, I have a.foo.com, b.foo.com and c.foo.com. I want some IP forwarding software to rewrite the destination address from 1.2.3.4 based on the CNAME entry (in the same way Apache can do). Does that make any more sense? Or am I missing the point? Thanks a lot, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
RE: Complicated ipfw/ipf forwarding.
Well you got me there, sorry as I am still a newbie and just trying to help. Maybe some of the nice folks here can help you more. Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 'Lewis Thompson' Sent: Tuesday, October 28, 2003 9:45 AM To: Jason Lavigne Cc: 'FreeBSD-questions' Subject: Re: Complicated ipfw/ipf forwarding. On Tue, Oct 28, 2003 at 09:39:23AM -0500, Jason Lavigne wrote: Could I have red.foo.bar forwarded to 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar go to the local machine wouldn't you use DNS (bind) for this? How? I only have one external IP address (say 1.2.3.4) but behind the NAT machine I have many. However, I have a.foo.com, b.foo.com and c.foo.com. I want some IP forwarding software to rewrite the destination address from 1.2.3.4 based on the CNAME entry (in the same way Apache can do). Does that make any more sense? Or am I missing the point? Thanks a lot, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Complicated ipfw/ipf forwarding.
On Tue, Oct 28, 2003 at 02:35:31PM +, Lewis Thompson wrote: I have a public IP address and a couple of machines sitting behind a FreeBSD router doing NAT. I'm using ipnat and ipf right now (although I used to use natd/ipfw so I don't mind switching -- I started using ipf/ipnat because of an odd problem with 5.1-RELEASE but I'm switching back to 4.9 now) and wondered if it was possible to do forwarding based on DNS. For example Apache is clever enough to support virtual hosts based on the address requested. Is there any way at all to do this for forwarding on the router? For example if I had three CNAMES for the same IP red, pink and blue. Could I have red.foo.bar forwarded to 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar go to the local machine (i.e. the router)? I don't think that will be possible for an arbitrary protocol. The only way that apache can do this is because the HTTP/1.1 protocol explicitly includes the name of the required virtual host in the GET / POST / HEAD packets. (Hence you can't use name virtual hosts with HTTPS, because of the catch 22: you can't read the name of the virtual host until you can decode the packet stream, and you can't decode the stream until you know which virtual host to send it to...) Most protocols don't have anything like this concept of virtual hosts built into them, so the only data they have to work with is the IP and port number in the packet headers. This works with NAT on outgoing connections because the natd(8) will ensure that the source IP+port on any outgoing packets is unique to each connection. Unfortunately there's no way it can work like that for inbound connections. Now, if you're talking about having 3 web servers (red, pink, blue) then you can use an apache instance on your NAT gateway as an inverse proxy: see http://httpd.apache.org/docs-2.0/mod/mod_proxy.html Other application specific proxies are available for various protocols, for instance ssh(1) has the '-D', '-L' and '-R' command line flags which should be enough to let you ssh into your private network. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
RE: chmod after installworld
-Original Message- From: Edward Epstein [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 8:23 AM To: Jim; [EMAIL PROTECTED] Subject: Re: chmod after installworld On October 28, 2003 5:56 am, Jim wrote: New to FreeBSD. Version 4.8 stable. Fresh install. Why am I allowed to chmod 000 a file after installation (ex: /usr/bin/rsh, or /usr/bin/yppasswd), but cannot following a cvsup and installworld? I get an Operation not allowed message after updating. On my system, those files have the immutable bit set. man chflags will tell you how to get rid of that flag so you can chmod the file. It's probably a good idea to set the flag back once you're done. I don't know why the behaviour is different between a fresh install and an installworld, though. Now I'm interested to find out. Hopefully someone will explain. Hopefully this is your problem. -Ed chflags noschg did the trick - many thanks to rp and edward for their assistance. A listing of the file shows -r-sr-xr-x root wheel as the permissions and ownership. The s is common to all the files I cannot change (I believe this indicates the suid bit (which is why I'm trying to chmod this in the first place)), but chmod produces the same results (not allowed). I am logged in as root on the console, am not running ACL, yellow pages, or anything else for authentication beyond master.passwd at this stage (fresh install). I have looked at the man page for chmod, and searched google, with no results. Please help. ___ This message was scanned and certified Virus Free by Alexssa | HNet. www.alexssa.net www.hnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There are people who cheat on their spouse but not at cards, and vice versa, and both and neither. Reputation is not necessarily portable from one situation to another, and it's not easily expressed. --Clay Shirkey. (http://www.shirky.com/writings/group_enemy.html) It has been said that man is a rational animal. All my life I have been searching for evidence which could support this. --Bertrand Russell. The American empire is ideological, not territorial. We are the most ideological people in the world, and we are so united in our view that we don't understand there can be other views. --Lt. Gen. William Odom, ret. (Former Director of NSA). ___ This message was scanned and certified Virus Free by Alexssa | HNet. www.alexssa.net www.hnet.net ___ This message was scanned and certified Virus Free by Alexssa | HNet. www.alexssa.net www.hnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PostgreSQL on FreeBSD
Wayne Pascoe [EMAIL PROTECTED] writes: On Mon, Oct 27, 2003 at 04:04:28PM -0500, Lowell Gilbert wrote: Why does setting them in /etc/sysctl.conf or /etc/loader.conf not work ? You're doing something wrong. That's all I can say when the description of the failure is just not work. Allow me to expand on that then... I put the options in /etc/sysctl.conf as follows: kern.ipc.somaxconn=512 kern.ipc.shmmax=268435456 kern.ipc.shmall=65536 kern.ipc.shmmni=128 kern.ipc.semmns=256 When I reboot, sysctl -a | grep kern.ipc.semmns returns kern.ipc.semmns: 60 Hmm. I just checked, and it's working fine for me under yesterday's -STABLE. Are you getting any error messages at boot when sysctl.conf is evaluated? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: watchdog timeout ???
Peter Ulrich Kruppa [EMAIL PROTECTED] writes: Our Samba server (on a 4.8 -RELEASE machine) frequently freezes with these error-messages: rl0: watchdog timeout ahc0: Timeout SCB already complete. Interrupts may not be functioning What does this mean? Thanks for all answers, this is quite important. The log messages both mean that interrupts aren't being detected properly. Try replacing the Ethernet card with one of better quality; the RealTek cards have known problems with keeping track of interrupt status. They are not advisable for server use in any case. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Complicated ipfw/ipf forwarding.
'Lewis Thompson' [EMAIL PROTECTED] writes: On Tue, Oct 28, 2003 at 09:39:23AM -0500, Jason Lavigne wrote: Could I have red.foo.bar forwarded to 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar go to the local machine wouldn't you use DNS (bind) for this? How? I only have one external IP address (say 1.2.3.4) but behind the NAT machine I have many. However, I have a.foo.com, b.foo.com and c.foo.com. I want some IP forwarding software to rewrite the destination address from 1.2.3.4 based on the CNAME entry (in the same way Apache can do). How would the IP forwarding software *know* about the CNAME entry? In Apache's case, the HTTP request tells it, but other protocols don't necessarily include the domain name that the client is using. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 0 After the install?
On Tuesday, October 28, 2003, at 02:57 AM, Joe Pokupec wrote: - If I use a hardware ATA RAID card, are there certain system settings required for FreeBSD to recognize this, or is the RAID format done at a platform-independent level (BIOS or other boot utilities)? It depends. Some have a OS-level driver or utility (perhaps one that runs under Linux emulation), others work via the BIOS. - If one of the 2 hard drives fail, the data will still be visible and accessible on the remaining drive correct? No. RAID-0 provides no redundancy; use RAID-1 mirroring instead. How easy is it to replace the failed drive? Will the data from the good drive automatically copy over to the newly replaced drive or are there a lot of shenanigans involved? This also depends. Generally, you have to kick of a mirror rebuild via the BIOS, but some hardware is smarter about this than other hardware. - Is it possible to stripe only 1 drive as RAID 0 with the intention of dropping in another drive later? Yes, but doing so isn't useful: the end result is a concatenation rather than a true RAID-0 stripe, and you don't gain any performance advantages. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Load Average more than 400
Hi gurus, can you please hint as what parameters I have monitor to find the cause of sudden splashes of load of a FreeBSD 4.6.2-RELEASE server? This box is acting as a database/mysql server and periodically goes up to 400 of load average values and then gradually returns to a normal 4-5 value. The server is a dual Xeon with 4G phisical memory, mysql 4.0.7/linuxthreads. During the highest load, the amount of Inact memory remains of about 2G, and swap is used only minimally, so this cannot be the case. There are no messages in a system log or mysql log. Any help is greatly appreciated, thanks is advance Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need help getting NIS authentication working w/5.1
I'm having some problems getting NIS working with 5.1. Historically, I'd set up ypbind, add +: to the user database, and I was off and running. Not so, it appears, in 5.1. My understanding is that the servers are NIS+, although I do not have all of the details. I'm able to get ypbind to bind to the domain using -m -S domain,server1,server2 syntax. I can use ypwhich, ypcat, and ypmatch to pull database records, so this side of it seems to work. However, if I add the +: to the user database, I can not log in as a NIS user. Using trafshow, I can see traffic to and from the server, so I'm guessing its a local authentication thing, so I pressed on. After reading the man page, it tickled my memory about using DES passwords, so I went in to /etc/login.conf and changed the passwd_format entry to des. Still no joy. So, more reading. Based on what the defaults are supposed to be, this should now be working. However, in believing that the docs might be wrong, I removed the +:, and created the following nsswitch.conf file, which I stuck in /etc. hosts:files dns passwd:nis [success=return] files group:nis files networks:files Still no joy, and playing with the file doesn't seem to help out a lot. The only log messages I'm getting is the stock login failed... messages. Can anyone give me a pointer as to what I'm missing? I can't believe that it would be totally broken, so I'm assuming its OE. If you could email me directly, I'd appreciate it, as I don't always get a chance to review the list digests. -Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load Average more than 400
On Tuesday, October 28, 2003, at 12:05 PM, Varshavchick Alexander wrote: can you please hint as what parameters I have monitor to find the cause of sudden splashes of load of a FreeBSD 4.6.2-RELEASE server? This box is acting as a database/mysql server and periodically goes up to 400 of load average values and then gradually returns to a normal 4-5 value. What does ps auxw look like when you have this load spike? -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Clarification on CVS Tags
Good morning everyone. I was hoping to get some verification regarding CVS Tags. I'm pretty sure I understand, but just wanted to have my thoughts validated for me. In reading the CVS Tag page in the handbook, I understand the basics of what is going on. If I specify this in my cvsup file: RELENG_4_8 I will follow the Release Branch of 4.8, plus security patches. This would be a good choice for production servers. RELENG_4 For this, you are following the entire 4.x stable branch. In theory, if I install 4.5 and set this up in my cvsup file and run it, I will have the source tree going all the way to 4.9rc# correct? From here, you could build world? Finally: RELENG_4_8_0_RELEASE This would follow just the source, ports and docs tree up to 4.8, the frozen section, correct? Why would someone want to use this particular setup? What are the benefits? Drawbacks? Would it work in a sense that if I installed 4.4 on a server, set this up in my cvsup file to RELENG_4_8_0_RELEASE, ran the update to update sources, ports and docs, then make world: That then would make my box 4.8 ? I appreciate everyones help and insight. Just want to make sure I understand this correctly. Thanks. Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: User authentication not working in Apache2
Hi, I'd like to restrict access to 1 of several cgi scripts on my website to authorized users only. Problem is, after configuring httpd.conf, .htaccess, .passwd, anyone can still run the script. I created the .passwd file with htpasswd -c myfilename myusername. Of course, I restarted apache after all changes to httpd.conf with apachectl restart. No errors. I've poured over the Apache documentation on their website, and Googled all day yesterday, no joy. The error log shows *nothing* related to execution of this script. The access log shows nothing other than the GET line for this script. Any help would be appreciated. Here are some relevant sections from httpd.conf (I'll post the entire 38k file if allowed.) # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule access_module libexec/apache2/mod_access.so LoadModule auth_module libexec/apache2/mod_auth.so [snip] # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot /usr/local/www/data # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the default to be a very restrictive set of # features. # Directory / Options FollowSymLinks AllowOverride None /Directory Directory /usr/local/www/cgi-bin AllowOverride AuthConfig /Directory Here is the .htaccess file which resides in /usr/local/www/cgi-bin: Files myscript.cgi Options ExecCGI AuthType Basic AuthName Password Required AuthUserFile /usr/local/www/.passwd # Not the best location for this file, I know. Require valid-user /Files Well, I got it working. :-) I'm not perfectly satisfied yet, but I'm much better off than I was. I deleted the .htaccess file and put the directives in httpd.conf. # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the default to be a very restrictive set of # features. # Directory / Options FollowSymLinks AllowOverride None /Directory Directory /usr/local/www/cgi-bin AllowOverride AuthConfig Files status.cgi AuthType Basic AuthName Restricted File AuthUserFile /home/charles/.htpasswd Require user charles /Files /Directory I still would like to protect an additional script. I tried: Files status.cgi another.file.pl That's unsupported. I just tried Files ~ \(file1.cgi|file2.pl)$ Trying to match 2 specific filenames...no joy. The Apache documentation for the Files directive says, The directives given within this section will be applied to any object with a basename (last component of filename) matching the specified filename. I wonder if that means that I can only match files based on the extension? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clarification on CVS Tags
On Tue, Oct 28, 2003 at 09:43:20AM -0800, Jason Williams wrote: Good morning everyone. I was hoping to get some verification regarding CVS Tags. I'm pretty sure I understand, but just wanted to have my thoughts validated for me. In reading the CVS Tag page in the handbook, I understand the basics of what is going on. If I specify this in my cvsup file: RELENG_4_8 I will follow the Release Branch of 4.8, plus security patches. This would be a good choice for production servers. Correct. RELENG_4 For this, you are following the entire 4.x stable branch. In theory, if I install 4.5 and set this up in my cvsup file and run it, I will have the source tree going all the way to 4.9rc# correct? From here, you could build world? Correct. At the moment, RELENG_4 will get you 4.9-RC4, which will shortly become 4.9-RELEASE for a few minutes while the RELENG_4_9 branch is created, and then 4.9-STABLE. If you're willing to wait for a few days RELENG_4_9 would also be a good choice for a production server. Finally: RELENG_4_8_0_RELEASE This would follow just the source, ports and docs tree up to 4.8, the frozen section, correct? Why would someone want to use this particular setup? What are the benefits? Drawbacks? Would it work in a sense that if I installed 4.4 on a server, set this up in my cvsup file to RELENG_4_8_0_RELEASE, ran the update to update sources, ports and docs, then make world: That then would make my box 4.8 ? Not so correct. RELENG_4_8_0_RELEASE marks the state of the system sources at the point that the RELENG_4_8 branch was created, and what went onto the release CDs. Yes, you can use this tag to download sources and building world from there will get you 4.8-RELEASE. However, it's not generally useful to put this tag into a cvsup sup-file -- principally because it marks a point in time, and once you've downloaded it, there won't be any updates. So: no security patches etc. If you're tempted to use this tag, then you probably really want to use RELENG_4_8 or RELENG_4_9 instead. Note that the RELENG_4_x and RELENG_5_x tags apply only to the system sources. The one important tag you've not mentionned is '.', also known as the HEAD in cvs terms. When applied to the system sources, this gets you 5-CURRENT, but unless you're a high powered system hacker type, you don't want that. Ports and docs however, are a different matter. For those collections '.' is the only game in town. The RELENG_x_y tags simply don't exist, and if you accidentally try and cvsup ports using one of them, you'll end up deleting your whole ports tree. [The RELENG_x_y_0_RELEASE tags do exist, but exactly like the system sources they just serve to mark what goes onto the CD Roms.] Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: JDK 'make install' - puzzling error message
On Tue, 28 Oct 2003 02:45:08 -0800, Kent Stewart [EMAIL PROTECTED] said: On Tuesday 28 October 2003 02:34 am, Richard Shea wrote: On Mon, 27 Oct 2003 18:18:25 -0800, Kent Stewart [EMAIL PROTECTED] said: On Monday 27 October 2003 05:52 pm, Richard Shea wrote: Hi - I've just gone to ... http://java.sun.com/webapps/download/Display?BundleId=7479 ... to download the JDK and put it into ports/distfiles. However when I do 'make install' from /usr/ports/java/linux-sun-jdk13 I get ... === linux-sun-jdk-1.3.1.07_1 You must manually fetch the Java 2 Development Kit 1.3.1.07 archive (j2sdk-1_3_1_07-linux-i586.bin) from http://java.sun.com/webapps/download/Display?BundleId=7479, download the Linux GNUZIP Tar shell script into /usr/ports/distfiles and then run make again. ... well I've got two problems arising from that. First following that link mentioned in the error message now gives you j2sdk-1_3_1_08-linux-i586.bin not the 07 version - so does anyone know how I can get the 07 version ?. The other thing is that I'm afraid I have no idea what 'the Linux GNUZIP Tar shell script' might be or where I should get it from - is that another name for what I've downloaded ? Your port system seems to be out of date. The current version is 09 and the *.bin file is the file you are to download into ../distfiles. Thanks for your reply and your advice Kent. I'm looking into how to update my ports now but in the meantime if the current version is 09 can anyone tell me how I can get hold of that ? As I said if I follow the link mentioned ( http://java.sun.com/ webapps/ download/ Display?BundleId=7479 ) in the error message I'm only offered the 08 version. Also sorry to be obtuse but I'm still not clear what the Linux GNUZIP Tar shell script is - is that another name for j2sdk-1_3_1_08-linux-i586.bin (and variants) ? If you had cvsup'ed ports-all and then did a make index, you would have seen # cd /usr/ports/java/linux-sun-jdk13 # make === linux-sun-jdk-1.3.1.09 You must manually fetch the Java 2 Development Kit 1.3.1.09 archive (j2sdk-1_3_1_09-linux-i586.bin) from http:// java.sun.com/webapps/download/Display?BundleId=8901, download the Linux GNUZIP Tar shell script into /usr/ports/distfiles and then run make again. I downloaded the *.09*.bin into ../distfiles and make worked at that point. OK great. I haven't yet done the CVSUPing but it's good to know the 09 is out there, I will grab it once I've done the Ports update. Thanks again for your help. regards richard shea. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Via EPIA 800Mhz
Hi! Does anyone know if the Via EPIA 800MHz is supported in any version of freebsd. I tried it with 4.6.2 and it reboots as soon as kernel loads. Or do I need to enable any specific options in the kernel config. It has the following CPU- VIA C3 800 E-Series processor, 800 MHz I would appreciate any kind of help. Thanks *** Pranav A. Desai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load Average more than 400
On Tue, Oct 28, 2003 at 08:05:15PM +0300, Varshavchick Alexander wrote: Hi gurus, can you please hint as what parameters I have monitor to find the cause of sudden splashes of load of a FreeBSD 4.6.2-RELEASE server? This box is acting as a database/mysql server and periodically goes up to 400 of load average values and then gradually returns to a normal 4-5 value. The server is a dual Xeon with 4G phisical memory, mysql 4.0.7/linuxthreads. During the highest load, the amount of Inact memory remains of about 2G, and swap is used only minimally, so this cannot be the case. There are no messages in a system log or mysql log. Any help is greatly appreciated, thanks is advance MySQL has done this to me after an unclean shutdown. Try stopping mysqld and running myisamchk -r on all tables. mf -- What do you care what other people think? pgp0.pgp Description: PGP signature
Problems using mysql-4.0 under 5.1-RELEASE
Heya all, I have big problems using mysql. I really tried so many different combinations of software and configurations, but it's always the same: mysqld crashes. My preferred setup: FreeBSD 5.1-RELEASE-p10 /usr/ports cvsupped daily perl-5.8.0_8 (will try 5.8.1 soon) mysql-server-4.0.16 mysql-client-4.0.16 I get the following error message in /var/db/mysql/hostname.err: ---snip--- 031028 18:35:16 mysqld restarted 031028 18:35:17 InnoDB: Started /usr/local/libexec/mysqld: ready for connections. Version: '4.0.16' socket: '/tmp/mysql.sock' port: 3306 mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=8388600 read_buffer_size=131072 max_used_connections=0 max_connections=100 threads_connected=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 225791 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Number of processes running now: 0 031028 18:35:17 mysqld restarted 031028 18:35:17 InnoDB: Started [...] ---snap--- I really do not understand the error message. I don't know the value of sort_buffer_size and I do not understand how 8388600 + something-positive can be just 225791. I have 1 GB swap, so this cannot be the problem? This error happens every time when someone is trying to connect to the database using IP (not socket). Because all the mysql-clients in my network try to connect to the database all the time, the server starts and crashes, starts and crashes and so on... I build mysql using portinstall databases/mysql40-server, my make.conf says just CPUTYPE?=p3, sometimes just ?=i586 depending on the machine I used and the things needed for perl-5.8.0. I do not use any of the mysql build options. I've tested this with the default database and with my own database (which worked fine for years with FreeBSD 4.x and mysql-3.23.x). I think the dilemma began after upgrading from FreeBSD 4.8 to 5.1 and after upgrading mysql-3.23.57 (still the binary built with 4.8) to mysql-3.23.58 for the first time. Then I decided to upgrade to mysql-4.0 which did not cure the problem. Oh, maybe this is not really interesting, but I use LANG=C and LC_CTYPE=de_DE.ISO8859-15. I also got the message: Oct 24 16:01:24 otherhost kernel: Oct 24 16:01:24 otherhost mysqld[13083]: warning: can't get client address: Bad file descriptor Oct 24 16:01:55 otherhost kernel: Oct 24 16:01:29 otherhost mysqld[13083]: warning: can't get client address: Bad file descriptor This problem was solved by editing /etc/hosts.allow this way: ---snip--- mysqld : 192.168.0.0/255.255.255.224 : allow # THESE LINES CRASH mysqld!!! # ALL : PARANOID : RFC931 20 : deny # ALL : [EMAIL PROTECTED] : allow # ALL : ALL : allow ---snap--- While having this problem, I tried WITH_LINUXTHREADS and SKIP_DNS_CHECK and related options in the my.cnf like --skip-name-resolve and --skip-networking (which also solved the problem). I really don't know how many times I've recompiled the mysql software in the last weeks... I hope someone of you can help me. Bye, Knarf pgp0.pgp Description: PGP signature
Re: Samba: very strange truncation error
On Tue, 28 Oct 2003 12:53:03 -0500 Brandon Lodriguss [EMAIL PROTECTED] wrote: Hi Anthony, Hi Brandon. I'm following up to my post to freebsd-questions with your response. I was searching the net for some help with a problem it appears you've had before (saw an email of yours on the freebsd-questions mailing list)...A bunch of Samba error messages that say can't connect to service _. I'm not having much luck, I have 4 samba fileservers running, all configured virtually identically except for different share names...Two of which are having this problem, and two of which aren't. Define configured virutally identically. In what ways do they differ, exactly? Assuming they're all FreeBSD boxen, were they each built from the same source tree? Did you ever have any success in finding out why this was happening? Any pointers in the right direction would be much appreciated. I received no response from freebsd-questions, so I posted to the samba mailing list (http://lists.samba.org/pipermail/samba/), but received no response from that list, either. I have been ignoring the problem (well, that's not entirely accurate---I purchased a Powerbook to replace my dying Win2k notebook) since I posted, but AFAIK, it hasn't been resolved. Based on the description of your configuration, you probably have the better chance of determining root cause. I currently have many other priorities, so I will be unable to look into this any deeper until further notice. One possible solution would be to upgrade to 3.0.0 (net/samba-devel). I have yet to do so myself, but I'm hoping that by doing so, cosmic rays will shine down from the distribution servers and send the issue hurtling off to /dev/null, at least for the time being. :-) Best of luck! -- Anthony Chavez http://www.anthonychavez.org/ mailto:[EMAIL PROTECTED]jabber:[EMAIL PROTECTED] On Wed, 27 Aug 2003 10:25:23 -0600 [EMAIL PROTECTED] wrote: Fellow Samba- and FreeBSD-lovers: I'm encountering a very peculiar error. I first encountered it when doing an upgrade to Samba 2.2.8a (from a fairly recent version---I don't recally exactly which, but it couldn't have been older than 2.2.7) on FreeBSD 4.8-STABLE. The error I'm encountering is twofold. In the first example, I try to connect to the shared service, which results in the following: [2003/08/26 18:21:17, 0] smbd/service.c:make_connection(252) aphrodite (192.168.1.4) couldn't find service share Second, when trying to connect to service acc I get: [2003/08/18 13:36:22, 0] smbd/service.c:make_connection(252) aphrodite (192.168.1.4) couldn't find service accproject.ede [2003/08/18 13:36:22, 0] smbd/service.c:make_connection(252) aphrodite (192.168.1.4) couldn't find service accmakefile.am The former example doesn't seem to phase Win2k SP4 at all, but certain apps (such as Emacs 21.3.1) freeze up when the latter is encountered. However, when I try to access the acc service again, it works fine (i.e., it alternates from functional to non-functional, ad nauseum). I've tried rebuilding a couple of times, which doesn't fix the problem at all. The make variables (which should be obvious to any FreeBSD user experienced with portupgrade and fairly straightforward to everyone else) I pass to the build process are: -DWITH_AUDIT -DWITH_RECYCLE -DWITH_SSL -DWITH_UTMP -DWITH_MSDFS -DWITHOUT_CUPS -DWITH_WINBIND_AUTH_CHALLENGE I would very much appreciate any insight that you could lend. This is only a slight nuisance, but one that is starting become slightly more irritating as time goes on. I've included my (very minimal) smb.conf below. Thanks! -- Anthony Chavez http://www.anthonychavez.org/ mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED] # Samba config file created using SWAT # from aphrodite.anthonychavez.org (192.168.1.4) # Date: 2003/07/17 02:56:37 # Global parameters [global] workgroup = ATHENS server string = Samba %v interfaces = rl0 127.0.0.1 bind interfaces only = Yes encrypt passwords = Yes passwd chat = *password* %n\n *password* %n\n *done* username map = /usr/local/etc/smb.usermap unix password sync = Yes log level = 1 log file = /var/log/samba.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_THROUGHPUT load printers = No domain admin group = @staff add user script = /root/bin/addmachine.pl %u delete user script = /root/bin/rmmachine.pl %u logon path = \\%N\profiles\%u domain logons = Yes os level = 65 preferred master = Yes domain master = Yes hosts allow = 192.168.1. 127. [netlogon] path = /usr/local/samba/netlogon write list = root browseable = No [profiles] path = /usr/local/samba/profiles read only = No create mask = 0600
Re: Clarification on CVS Tags
Thanks Matthew for your explanation. You answered a lot of my questions. Makes sense now really. Just out of curiosity, why would someone want to use: RELENG_4_8_0_RELEASE? Is there some type of benefit? One would think that the best option for production servers is: RELENG_4_8 THanks for your insight. Jason At 06:37 PM 10/28/2003 +, you wrote: On Tue, Oct 28, 2003 at 09:43:20AM -0800, Jason Williams wrote: Good morning everyone. I was hoping to get some verification regarding CVS Tags. I'm pretty sure I understand, but just wanted to have my thoughts validated for me. In reading the CVS Tag page in the handbook, I understand the basics of what is going on. If I specify this in my cvsup file: RELENG_4_8 I will follow the Release Branch of 4.8, plus security patches. This would be a good choice for production servers. Correct. RELENG_4 For this, you are following the entire 4.x stable branch. In theory, if I install 4.5 and set this up in my cvsup file and run it, I will have the source tree going all the way to 4.9rc# correct? From here, you could build world? Correct. At the moment, RELENG_4 will get you 4.9-RC4, which will shortly become 4.9-RELEASE for a few minutes while the RELENG_4_9 branch is created, and then 4.9-STABLE. If you're willing to wait for a few days RELENG_4_9 would also be a good choice for a production server. Finally: RELENG_4_8_0_RELEASE This would follow just the source, ports and docs tree up to 4.8, the frozen section, correct? Why would someone want to use this particular setup? What are the benefits? Drawbacks? Would it work in a sense that if I installed 4.4 on a server, set this up in my cvsup file to RELENG_4_8_0_RELEASE, ran the update to update sources, ports and docs, then make world: That then would make my box 4.8 ? Not so correct. RELENG_4_8_0_RELEASE marks the state of the system sources at the point that the RELENG_4_8 branch was created, and what went onto the release CDs. Yes, you can use this tag to download sources and building world from there will get you 4.8-RELEASE. However, it's not generally useful to put this tag into a cvsup sup-file -- principally because it marks a point in time, and once you've downloaded it, there won't be any updates. So: no security patches etc. If you're tempted to use this tag, then you probably really want to use RELENG_4_8 or RELENG_4_9 instead. Note that the RELENG_4_x and RELENG_5_x tags apply only to the system sources. The one important tag you've not mentionned is '.', also known as the HEAD in cvs terms. When applied to the system sources, this gets you 5-CURRENT, but unless you're a high powered system hacker type, you don't want that. Ports and docs however, are a different matter. For those collections '.' is the only game in town. The RELENG_x_y tags simply don't exist, and if you accidentally try and cvsup ports using one of them, you'll end up deleting your whole ports tree. [The RELENG_x_y_0_RELEASE tags do exist, but exactly like the system sources they just serve to mark what goes onto the CD Roms.] Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Via EPIA 800Mhz
On Tue, Oct 28, 2003 at 12:52:28PM -0600, Pranav A. Desai wrote: Hi! Does anyone know if the Via EPIA 800MHz is supported in any version of freebsd. I tried it with 4.6.2 and it reboots as soon as kernel loads. Or do I need to enable any specific options in the kernel config. It has the following CPU- VIA C3 800 E-Series processor, 800 MHz I would appreciate any kind of help. Working fine here, for about 9 months: [EMAIL PROTECTED] $ grep CPU /var/run/dmesg.boot CPU: VIA C3 Samuel 2 (800.03-MHz 686-class CPU) I'm using cpu I686_CPU in my kernel config file, and no CPU specific make flags in /etc/make.conf. Ceri -- pgp0.pgp Description: PGP signature
Re: Via EPIA 800Mhz
Hi! How did you load the machine. Mine is one of those mini-boxes (no CDROM) and I loaded the HD on a intel machine and put the HD in the mini-box. First time I tried it the loader halted on BTX Halted. Dont know why. After redoing it the loader boots fine but as soon as the kernel loads it reboots. Let me try it again I might have screwed up something. I do have cpu I686_CPU in the kernel config. Thanks -Pranav *** Pranav A. Desai On Tue, 28 Oct 2003, Ceri Davies wrote: On Tue, Oct 28, 2003 at 12:52:28PM -0600, Pranav A. Desai wrote: Hi! Does anyone know if the Via EPIA 800MHz is supported in any version of freebsd. I tried it with 4.6.2 and it reboots as soon as kernel loads. Or do I need to enable any specific options in the kernel config. It has the following CPU- VIA C3 800 E-Series processor, 800 MHz I would appreciate any kind of help. Working fine here, for about 9 months: [EMAIL PROTECTED] $ grep CPU /var/run/dmesg.boot CPU: VIA C3 Samuel 2 (800.03-MHz 686-class CPU) I'm using cpu I686_CPU in my kernel config file, and no CPU specific make flags in /etc/make.conf. Ceri -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to kernel debug
[Please CC] I have a growing collection of core dumps so I guess it's time to learn how to do this. Are there any docs I can read? I already found CH10 of the developers handbook and read the man pages for gdb and ddb. While I'm here, the handbook suggests that call boot(0) is a suitable method of leaving ddb. I just get a page fault. Is this normal? Thanks -- ian j hart http://ars.userfriendly.org/cartoons/?id=20031016 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clarification on CVS Tags
On Tue, 28 Oct 2003 11:00:32 -0800, Jason Williams [EMAIL PROTECTED] said: Thanks Matthew for your explanation. You answered a lot of my questions. Makes sense now really. Just out of curiosity, why would someone want to use: RELENG_4_8_0_RELEASE? Is there some type of benefit? One would think that the best option for production servers is: RELENG_4_8 THanks for your insight. Releases are thoroughly tested through multiple release candidate stages, but bugs occasionally slip through even there. The security/bugfix branch is not as widely tested, but is reliable to the extent that a few isolated fixes shouldn't break anything and can undergo fairly thorough testing by relatively fewer people. There are those who will trust the thorough testing theory more than the few-isolated-fixes theory. Also, particular production servers may not be running the piece of the base system in which a security hole is found, e.g., sendmail. Both are legitimate reasons to stick with the release rather than the security branch. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a quesions
Im one of the FreeBSD user and am so happy with with ur OS ,, but i have a quesuion ,, i heard that there is an OS of FreeBSD has 56 CDs ,, i mean a FreeBSD for Server consists of 56 CDs ,,, is that right ?? I'm not an ultimate authority on this of course, but I've been FreeBSD user since 1999 and never heard of such a thing. Sounds like someone was pulling your leg. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I`m not as think as you drunk I am... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
2 different versions of libtool installed
Hi, Is anyone able to offer any advice as to how it's best to deal with the below. I am currently running 5.1 Release and somehow have managed to install libtool twice (possibly because I had to stop portupgrade when it was running once!). Would it best to just remove the older version, or perhaps both versions if possible and install the latest one again? Or is there a much better alternative? # pkg_info | grep libtool libtool-1.3.5_1 Generic shared library support script libtool-1.4.3_2 Generic shared library support script Many thanks, David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Via EPIA 800Mhz
On Tue, Oct 28, 2003 at 01:20:57PM -0600, Pranav A. Desai wrote: Hi! How did you load the machine. Mine is one of those mini-boxes (no CDROM) and I loaded the HD on a intel machine and put the HD in the mini-box. I didn't have a floppy drive spare, so I put in a CDR drive for the duration of the install (although once it had booted I did a network install as the second IDE controller didn't seem very stable). First time I tried it the loader halted on BTX Halted. Dont know why. After redoing it the loader boots fine but as soon as the kernel loads it reboots. Hmm, I haven't seen anything like that with mine. I'm pretty sure there is a non-neglible userbase for these now though, so hang in there and maybe someone will come up with something. Let me try it again I might have screwed up something. I do have cpu I686_CPU in the kernel config. OK, good luck ;-) Ceri -- pgp0.pgp Description: PGP signature
PostFix error
For some reason I get these errors on occasion. Mail is flowing, but I want to make sure this error goes away... Oct 28 03:01:00 ns1 postfix/sendmail[1523]: fatal: unsupported: -bh Oct 28 03:01:01 ns1 postfix/sendmail[1524]: fatal: unsupported: -bH Currently I am running FreeBSD 5.1, Postfix, Courier-Imap, SquirrelMail 1.4.2 They have all been install from the Ports, upgraded with PortUprage and CVSup. rc.conf has: sendmail_enable=NONE ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clarification on CVS Tags
Jason Williams [EMAIL PROTECTED] writes: Just out of curiosity, why would someone want to use: RELENG_4_8_0_RELEASE? Is there some type of benefit? One would think that the best option for production servers is: RELENG_4_8 Basically, yes. Tags are used for a number of reasons besides indicating what end-users should cvsup. It is very important to be able to reproduce exactly what was in a given release, even if you're not recommending that any new installations of that release. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 2 different versions of libtool installed
On Tue, Oct 28, 2003 at 08:00:23PM -, David Jenkins wrote: Hi, Is anyone able to offer any advice as to how it's best to deal with the below. I am currently running 5.1 Release and somehow have managed to install libtool twice (possibly because I had to stop portupgrade when it was running once!). Would it best to just remove the older version, or perhaps both versions if possible and install the latest one again? Or is there a much better alternative? # pkg_info | grep libtool libtool-1.3.5_1 Generic shared library support script libtool-1.4.3_2 Generic shared library support script Keep both. You see, these are actually two separate ports (devel/libtool13 and devel/libtool14) and can coexist peacefully with each other. (There is actually a devel/libtool15 as well.) The reason for this is that some ports require libtool13 to work correctly, while other need libtool14. Thus both versions are available at the same time, and some ports depend on one, while some depend on the other. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi list...
I'm running TACACS+ on a FreeBSD server to aaa and I was wondering if I can restrict the entrance to peoples until a time, I mean, I don't want to be able the connection to some address pools from 6:00 pm until 6am, for example...any clue ??? Do I need a script before authentication or what ??? Thanks...if someone knows if it can do it on the NAS ??? perfect...thanx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 2 different versions of libtool installed
OK, Many thanks for that :) David -Original Message- From: Erik Trulsson [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 20:12 To: David Jenkins Cc: [EMAIL PROTECTED] Subject: Re: 2 different versions of libtool installed On Tue, Oct 28, 2003 at 08:00:23PM -, David Jenkins wrote: Hi, Is anyone able to offer any advice as to how it's best to deal with the below. I am currently running 5.1 Release and somehow have managed to install libtool twice (possibly because I had to stop portupgrade when it was running once!). Would it best to just remove the older version, or perhaps both versions if possible and install the latest one again? Or is there a much better alternative? # pkg_info | grep libtool libtool-1.3.5_1 Generic shared library support script libtool-1.4.3_2 Generic shared library support script Keep both. You see, these are actually two separate ports (devel/libtool13 and devel/libtool14) and can coexist peacefully with each other. (There is actually a devel/libtool15 as well.) The reason for this is that some ports require libtool13 to work correctly, while other need libtool14. Thus both versions are available at the same time, and some ports depend on one, while some depend on the other. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PostFix error
[EMAIL PROTECTED] writes: For some reason I get these errors on occasion. Mail is flowing, but I want to make sure this error goes away... Oct 28 03:01:00 ns1 postfix/sendmail[1523]: fatal: unsupported: -bh Oct 28 03:01:01 ns1 postfix/sendmail[1524]: fatal: unsupported: -bH Currently I am running FreeBSD 5.1, Postfix, Courier-Imap, SquirrelMail 1.4.2 They have all been install from the Ports, upgraded with PortUprage and CVSup. rc.conf has: sendmail_enable=NONE You forgot to disable the log generation in the daily periodic(8) script. There are some other daily operations you should probably disable, too. Try: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO [in periodic.conf(5), of course] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clarification on CVS Tags
At 11:00 AM -0800 10/28/03, Jason Williams wrote: Thanks Matthew for your explanation. You answered a lot of my questions. Makes sense now really. Just out of curiosity, why would someone want to use: RELENG_4_8_0_RELEASE? Is there some type of benefit? One would think that the best option for production servers is: RELENG_4_8 Thanks for your insight. The security or safe branches (such as RELENG_4_8) are relatively new. We still have to have tags such as RELENG_4_8_0_RELEASE for the release process, and you can use any tag for cvsup. Before the security branches existed, we used to encourage people to upgrade to those release-tags instead of upgrading to stable. There are still times when you might want to cvsup to a release point. Of course, once you do the buildworld for that point, then you'll never see any new changes until you switch to a different tag for cvsup. For instance, it might be quite reasonable to cvsup to a release tag, and once you know that worked you would then cvsup to some later release tag, or to RELENG_4 (stable). -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 2 different versions of libtool installed
On Tue, Oct 28, 2003 at 08:00:23PM -, David Jenkins wrote: Hi, Is anyone able to offer any advice as to how it's best to deal with the below. I am currently running 5.1 Release and somehow have managed to install libtool twice (possibly because I had to stop portupgrade when it was running once!). Would it best to just remove the older version, or perhaps both versions if possible and install the latest one again? Or is there a much better alternative? # pkg_info | grep libtool libtool-1.3.5_1 Generic shared library support script libtool-1.4.3_2 Generic shared library support script What is the problem? We went to a lot of trouble to ensure that both versions could be installed simultaneously :-) Kris pgp0.pgp Description: PGP signature
Re: PostFix error
You forgot to disable the log generation in the daily periodic(8) script. There are some other daily operations you should probably disable, too. Try: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO [in periodic.conf(5), of course] I see a periodic folder off of /etc but no periodic.conf file. Should I just create one with the above settings? Also it seems that there are only 2 errors, not 4. Ahhh I see the error now In the periodic folder, under daily there is a script called 150.clean-hoststat this file contains the following lines: if [ -z $(sendmail -bh 21) ]; then rc=2 else echo echo Removing stale entries from sendmail host status cache: rc=0 sendmail -bH || rc=1 this is the source of the bh errors. I will disable this command and see if I get any more errors. Thanks for pointing me in the right direction. Is there a way to do this is PostFix or is this done automatically? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Gathering required packages
Hi, I'm taking a class right now on system administration. Being a lover of FreeBSD my server box in the lab runs FreeBSD 5.1 release; alone amongst a sea of linux and Solaris. I need to setup apache, postresql and mod_php4 on the box. This is simple enough usually, however the lab does not yet have any sort of internet access. So I was thinking that I would take in a CD of packages built from my system at home using 'make package'. The problem is that the dependency tree for apache+postgresql+mod_php is huge. Is there any quick way to gather up and package all of the dependencies? Are there any gotchas I should be aware of in taking packages built from my home machine to another machine? They are both 5.1 release on i386. My thanks for your help, Simon This email communication is intended as a private communication for the sole use of the primary addressee and those individuals listed for copies in the original message. The information contained in this email is private and confidential and if you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or distribution of this communication by any means is prohibited. If you are not specifically authorized to receive this email and if you believe that you received it in error please notify the original sender immediately. We honour similar requests relating to the privacy of email communications. Cette communication par courrier électronique est une communication privée à l'usage exclusif du destinataire principal ainsi que des personnes dont les noms figurent en copie. Les renseignements contenus dans ce courriel sont confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé, par les présentes que toute reproduction, tout transfert ou toute autre forme de diffusion de cette communication par quelque moyen que ce soit est interdit. Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur original immédiatement. Nous respectons les demandes similaires qui touchent la confidentialité des communications par courrier électronique. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Via EPIA 800Mhz
Hi! Â Does anyone know if the Via EPIA 800MHz is supported in any version of freebsd. I tried it with 4.6.2 and it reboots as soon as kernel loads. Or do I need to enable any specific options in the kernel config. It has the following CPU- VIA C3 800 E-Series processor, 800 MHz I would appreciate any kind of help. Thanks *** Pranav A. Desai Yes, it does. My ipfilter/NAT machine is running 4.8-REL on a 933MHz EPIA board, and I have an X terminal running 4.8-REL on a 800MHz EPIA board. I use the following kernel configuration (for the X terminal): # Kernel configuration for gearbox (4/25/2003) working copy machine i386 cpu I686_CPU ident gearbox maxusers0 options INET#InterNETworking #optionsINET6 #IPv6 Communications Protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=1000 #Delay (in ms) before probing SCSI options UCONSOLE#Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM#Rate limit bad replies options KBD_INSTALL_CDEV# install a CDEV entry in /dev options QUOTA options SUIDDIR options NO_F00F_HACK options DDB_UNATTENDED device isa device eisa device pci # Floppy drives #device fdc0at isa? port IO_FD1 irq 6 drq 2 #device fd0 at fdc0 drive 0 #device fd1 at fdc0 drive 1 # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers #device ahc # AHA2940 and onboard AIC7xxx devices #device sym # NCR/Symbios Logic device # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) #device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0at atkbdc? irq 12 device vga0at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) #device apm0at nexus? disable flags 0x20 # Advanced Power Management # Serial (COM) ports device sio0at isa? port IO_COM1 irq 4 device sio1at isa? port IO_COM2 flags 0x10 irq 3 # Parallel port device ppc0at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip# TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. device miibus device vr # Intel EtherExpress PRO/100B (82557, 82558) # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop# Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP #pseudo-device ppp 1 # Kernel PPP #pseudo-device
ATA error messages
Hello Since two days I log in /var/log/messages the following errors. What does they mean (I now, somthing with my first harddrive... :-) )? My System: FreeBSD saturn.pcs.ms 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu May 15 08:23:22 CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL48 i386 /var/log/messages: Oct 27 09:36:59 saturn /kernel: ata0: resetting devices .. done Oct 27 09:36:59 saturn /kernel: ad0: READ command timeout tag=0 serv=0 - resetting Oct 27 09:36:59 saturn /kernel: ata0: resetting devices .. done Oct 27 09:44:05 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 97360, size: 57344 Oct 27 09:44:47 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 95680, size: 32768 Oct 27 09:44:50 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 97880, size: 49152 Oct 27 09:44:54 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 97360, size: 57344 Oct 27 09:44:59 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 95680, size: 32768 Oct 27 09:44:59 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 97880, size: 49152 Oct 27 09:45:02 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 97360, size: 57344 Oct 27 09:45:03 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 95680, size: 32768 Oct 27 09:45:03 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 97880, size: 49152 Oct 27 09:46:30 saturn /kernel: swap_pager: indefinite wait buffer: device: #ad/0x30001, blkno: 51216, size: 4096 Oct 28 09:35:45 saturn /kernel: ata0: resetting devices .. done Oct 28 09:35:49 saturn /kernel: ad0: READ command timeout tag=0 serv=0 - resetting Oct 28 09:35:49 saturn /kernel: ata0: resetting devices .. done Here are my file systems: FilesystemSize Used Avail Capacity Mounted on /dev/ad0s2a 194M 145M33M81%/ /dev/ad0s2f31G 5.2G23G18%/usr /dev/ad0s2e 194M29M 149M16%/var /dev/ad2s1e28G 5.7G20G22%/disk2 procfs4.0K 4.0K 0B 100%/proc -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp0.pgp Description: PGP signature
Strange burncd error
I have been using mkisofs and burncd for some time now on 4.7-RELEASE with no problems. I recently upgraded the same hardware to 4.8-RELEASE (complete re-install) and now I notice that a backup script which creates CD's of system tarballs now returns the following error on completion: acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x24 ascq=0x00 error-0x00 only wrote -1 of 16384 bytes err=5 It appears like the file (single 481 MB tarball) is written to CD. What could this error mean? Is there a new feature/bug in burncd? Thanks, -- Scott A. Gerhardt, P.Geo. Gerhardt Information Technologies ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb pendrive problems
Jesse Guardiani wrote: Howdy list, A co-worker of mine has a neat little usb pen drive. I set it up properly in /etc/usbd.conf with this entry: - # The entry below mounts Todd's Pendrive when the Pendrive is plugged in. # It then umount's the Pendrive when the device disappears. # device pendrive devname umass[0-9]+ attach sleep 1 /sbin/mount /home/todd/pendrive detach /sbin/umount -f /dev/da0s1 /home/todd/pendrive - And it's set up in fstab with this entry: - /dev/da0s1 /home/todd/pendrive msdosfs rw,noauto 0 0 - But, the problem with all of the above is that the detach command doesn't work because the device is already removed before it can run umount! Frequently, I've found myself with two pendrives mounted: - /dev/da0s1122M43M79M35%/usr/home/todd/pendrive /dev/da1s1122M43M79M35%/usr/home/todd/pendrive - But the first one is a ghost, and if either are umount'd, my kernel panics and my system reboots! Is there a way to reliably umount an already disconnected umass0 SCSI-2 device? I'm guessing from the silence that this is a negatory. Perhaps this has something to do with the fact that the umass device is created first, and then the da SCSI device is emulated off of that? Still, you'd think the programmer would have built some fool-proofing into the driver, especially once you consider the highly hot-pluggable nature of USB... Drat... Looks like usbd or the umass driver need some work. -- 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: Via EPIA 800Mhz
I have the same options in the kernel config ... it still does the same thing :( ... now I am certain I am doing something wrong ... I think I will the GENERIC kernel config and see if that works ... Thanks for your help -Pranav *** Pranav A. Desai On Tue, 28 Oct 2003, J. Seth Henry wrote: Hi! Â Does anyone know if the Via EPIA 800MHz is supported in any version of freebsd. I tried it with 4.6.2 and it reboots as soon as kernel loads. Or do I need to enable any specific options in the kernel config. It has the following CPU- VIA C3 800 E-Series processor, 800 MHz I would appreciate any kind of help. Thanks *** Pranav A. Desai Yes, it does. My ipfilter/NAT machine is running 4.8-REL on a 933MHz EPIA board, and I have an X terminal running 4.8-REL on a 800MHz EPIA board. I use the following kernel configuration (for the X terminal): # Kernel configuration for gearbox (4/25/2003) working copy machine i386 cpu I686_CPU ident gearbox maxusers 0 options INET#InterNETworking #options INET6 #IPv6 Communications Protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=1000 #Delay (in ms) before probing SCSI options UCONSOLE#Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM#Rate limit bad replies options KBD_INSTALL_CDEV# install a CDEV entry in /dev options QUOTA options SUIDDIR options NO_F00F_HACK options DDB_UNATTENDED deviceisa deviceeisa devicepci # Floppy drives #device fdc0at isa? port IO_FD1 irq 6 drq 2 #device fd0 at fdc0 drive 0 #device fd1 at fdc0 drive 1 # ATA and ATAPI devices deviceata deviceatadisk # ATA disk drives deviceatapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers #device ahc # AHA2940 and onboard AIC7xxx devices #device sym # NCR/Symbios Logic device # SCSI peripherals devicescbus # SCSI bus (required) deviceda # Direct Access (disks) #device sa # Sequential Access (tape etc) devicecd # CD devicepass# Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse deviceatkbdc0 at isa? port IO_KBD deviceatkbd0 at atkbdc? irq 1 flags 0x1 devicepsm0at atkbdc? irq 12 devicevga0at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console devicesc0 at isa? flags 0x100 # Floating point support - do not disable. devicenpx0at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) #device apm0at nexus? disable flags 0x20 # Advanced Power Management # Serial (COM) ports devicesio0at isa? port IO_COM1 irq 4 devicesio1at isa? port IO_COM2 flags 0x10 irq 3 # Parallel port deviceppc0at isa? irq 7 deviceppbus # Parallel port bus (required)
X11 and Xfree86
What is the difference between x11r6 and xfree86 ? I went to xfree site and ended up at x.org and the d/l are not the same. thanks newbie mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with 'make world' stuff
Did you build a new kernel as well as world? did you run mergemaster? On Tue, 2003-10-28 at 16:57, Jason Williams wrote: Hello everyone. Im pretty new to building my own world here, but im excited to learn it. I followed the handbook as suggested on how to make world. I installed FreeBSD 4.8 on my workstation. I installed cvsup and configured my stable-supfile as well as my ports-supfile. I updated my ports no problem. Here are the contents of my stable-supfile: *default host=cvsup12.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix I did a: cvsup -g -L 2 stable-supfile and it did its work. I then proceeded as in the handbook. After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, so I booted correctly). However, im having some problems when I test the kernel: Specifically with 'top' and 'ps' # top kvm_open: proc size mismatch (34048 total, 1060 chunks) top: Out of memory. # ps ps: proc size mismatch (29792 total, 1060 chunks) At this point, I was going to go back and retry doing everything as suggested in the handbook. In the meantime, anyone have any idea what im missing or what is going on? I appreciate it. Cheers, Jason ___ [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]
3D Home CAD
Hello. Does anyone know of an open source program that helps design houses? Thanks in advance. Adrian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11 and Xfree86
X11r6 is the version of xfree86. Payne M.D. DeWar wrote: What is the difference between x11r6 and xfree86 ? I went to xfree site and ended up at x.org and the d/l are not the same. thanks newbie 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]
Re: Problems with 'make world' stuff
Once I had my sources updated, I did the following: I booted into single mode: cd /usr/src make buildworld cd /usr/src make buildkernel make installkernel I rebooted to test the kernel and that is where I ran into trouble. I did not type make installworld as suggested in the handbook. It said to test the kernel first. I was told I did not have to run mergemaster since this was a brand new install of 4.8. Is that incorrect? I appreciate your help. Jason At 05:08 PM 10/28/2003 -0500, you wrote: Did you build a new kernel as well as world? did you run mergemaster? On Tue, 2003-10-28 at 16:57, Jason Williams wrote: Hello everyone. Im pretty new to building my own world here, but im excited to learn it. I followed the handbook as suggested on how to make world. I installed FreeBSD 4.8 on my workstation. I installed cvsup and configured my stable-supfile as well as my ports-supfile. I updated my ports no problem. Here are the contents of my stable-supfile: *default host=cvsup12.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix I did a: cvsup -g -L 2 stable-supfile and it did its work. I then proceeded as in the handbook. After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, so I booted correctly). However, im having some problems when I test the kernel: Specifically with 'top' and 'ps' # top kvm_open: proc size mismatch (34048 total, 1060 chunks) top: Out of memory. # ps ps: proc size mismatch (29792 total, 1060 chunks) At this point, I was going to go back and retry doing everything as suggested in the handbook. In the meantime, anyone have any idea what im missing or what is going on? I appreciate it. Cheers, Jason ___ [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: 3D Home CAD
Qcad is one. Payne Adrian Fisher wrote: Hello. Does anyone know of an open source program that helps design houses? Thanks in advance. Adrian ___ [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: Problems with 'make world' stuff
On Tue, Oct 28, 2003 at 01:57:58PM -0800, Jason Williams wrote: Hello everyone. Im pretty new to building my own world here, but im excited to learn it. I followed the handbook as suggested on how to make world. I installed FreeBSD 4.8 on my workstation. I installed cvsup and configured my stable-supfile as well as my ports-supfile. I updated my ports no problem. Here are the contents of my stable-supfile: *default host=cvsup12.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix I did a: cvsup -g -L 2 stable-supfile and it did its work. I then proceeded as in the handbook. After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, so I booted correctly). However, im having some problems when I test the kernel: Specifically with 'top' and 'ps' # top kvm_open: proc size mismatch (34048 total, 1060 chunks) top: Out of memory. # ps ps: proc size mismatch (29792 total, 1060 chunks) At this point, I was going to go back and retry doing everything as suggested in the handbook. In the meantime, anyone have any idea what im missing or what is going on? It sounds like your world and kernel are out of sync. Have you actually installed the new world yet, or are you testing the new kernel with the old world? If it is the latter, then that is the reason for ps and top not working. Some programs, ps and top in particular, do not work correctly if the world and kernel are not in sync; the error messages you report are typical for such a case. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with 'make world' stuff
So you did not run mergemaster. This is what i usually no. NOTE: I do this on production servers, so i do not do it in single user mode. cd /usr/src make buildkernel KERNCONF=MYCONF make buildworld make installkernel make installworld mergemaster reboot Hope this helps. -Frank On Tue, 2003-10-28 at 17:09, Jason Williams wrote: Once I had my sources updated, I did the following: I booted into single mode: cd /usr/src make buildworld cd /usr/src make buildkernel make installkernel I rebooted to test the kernel and that is where I ran into trouble. I did not type make installworld as suggested in the handbook. It said to test the kernel first. I was told I did not have to run mergemaster since this was a brand new install of 4.8. Is that incorrect? I appreciate your help. Jason At 05:08 PM 10/28/2003 -0500, you wrote: Did you build a new kernel as well as world? did you run mergemaster? On Tue, 2003-10-28 at 16:57, Jason Williams wrote: Hello everyone. Im pretty new to building my own world here, but im excited to learn it. I followed the handbook as suggested on how to make world. I installed FreeBSD 4.8 on my workstation. I installed cvsup and configured my stable-supfile as well as my ports-supfile. I updated my ports no problem. Here are the contents of my stable-supfile: *default host=cvsup12.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix I did a: cvsup -g -L 2 stable-supfile and it did its work. I then proceeded as in the handbook. After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, so I booted correctly). However, im having some problems when I test the kernel: Specifically with 'top' and 'ps' # top kvm_open: proc size mismatch (34048 total, 1060 chunks) top: Out of memory. # ps ps: proc size mismatch (29792 total, 1060 chunks) At this point, I was going to go back and retry doing everything as suggested in the handbook. In the meantime, anyone have any idea what im missing or what is going on? I appreciate it. Cheers, Jason ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with 'make world' stuff
Jason Williams wrote: Once I had my sources updated, I did the following: I booted into single mode: cd /usr/src make buildworld cd /usr/src make buildkernel make installkernel I rebooted to test the kernel and that is where I ran into trouble. I did not type make installworld as suggested in the handbook. It said to test the kernel first. I was told I did not have to run mergemaster since this was a brand new install of 4.8. Is that incorrect? I appreciate your help. Jason I've seen the same problem when building 'world' and the kernel at the same time. I'm not sure if this is the 'correct' way to do it, but the logical (and in both of my cases) sequence is: make buildworld - compiles only make installworld- installs the new system binaries reboot make buildkernel - now building against the 'new' user space libraries, utils, etc make installkernel reboot and you should be OK. What appears make have happened is you missed the 'make installworld' step, so userspace libraries and tools were not up to date. I'd try: cd/ /usr/src make installworld make installkernel reboot and post if any change, but I suspect that will fix it.. HTH, Scott At 05:08 PM 10/28/2003 -0500, you wrote: Did you build a new kernel as well as world? did you run mergemaster? On Tue, 2003-10-28 at 16:57, Jason Williams wrote: Hello everyone. Im pretty new to building my own world here, but im excited to learn it. I followed the handbook as suggested on how to make world. I installed FreeBSD 4.8 on my workstation. I installed cvsup and configured my stable-supfile as well as my ports-supfile. I updated my ports no problem. Here are the contents of my stable-supfile: *default host=cvsup12.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix I did a: cvsup -g -L 2 stable-supfile and it did its work. I then proceeded as in the handbook. After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, so I booted correctly). However, im having some problems when I test the kernel: Specifically with 'top' and 'ps' # top kvm_open: proc size mismatch (34048 total, 1060 chunks) top: Out of memory. # ps ps: proc size mismatch (29792 total, 1060 chunks) At this point, I was going to go back and retry doing everything as suggested in the handbook. In the meantime, anyone have any idea what im missing or what is going on? I appreciate it. Cheers, Jason ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11 and Xfree86
Thanks. Now for a more stupider question. What is the purpose of them exactly. I have read the sites but being alien to the unix world it confuses me. Do they just make unix a windows type enviroment ? Is KDE/GNOME the same or they like themes to X windows. ? So confused. but am trying to get away from microsoft. thanks mark - Original Message - From: Payne [EMAIL PROTECTED] To: M.D. DeWar [EMAIL PROTECTED]; freebsd-questions [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 5:11 PM Subject: Re: X11 and Xfree86 X11r6 is the version of xfree86. Payne M.D. DeWar wrote: What is the difference between x11r6 and xfree86 ? I went to xfree site and ended up at x.org and the d/l are not the same. thanks newbie 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]
RE: Complicated ipfw/ipf forwarding.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lewis Thompson Sent: Tuesday, October 28, 2003 8:36 AM To: FreeBSD-questions Subject: Complicated ipfw/ipf forwarding. Hi, I have a public IP address and a couple of machines sitting behind a FreeBSD router doing NAT. I'm using ipnat and ipf right now (although I used to use natd/ipfw so I don't mind switching -- I started using ipf/ipnat because of an odd problem with 5.1-RELEASE but I'm switching back to 4.9 now) and wondered if it was possible to do forwarding based on DNS. For example Apache is clever enough to support virtual hosts based on the address requested. Is there any way at all to do this for forwarding on the router? For example if I had three CNAMES for the same IP red, pink and blue. Could I have red.foo.bar forwarded to 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar go to the local machine (i.e. the router)? Thanks very much, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- -- Im not 100% sure but: If you want to forward traffic from 1 public ip to multiple internal http servers on the same port to red, pink and blue You could setup name based hosts at apache to do proxy redirect to the inside http servers on the freebsd router firewall machine... Andras Kende http://www.kende.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless networking hardware recomendations?
On Wed, 29 Oct 2003 04:42 am, you wrote: On Mon, Oct 27, 2003 at 09:10:22PM +1000, David Lodeiro wrote: If you want to see my rc.conf reguarding this machine to make it easier to set up, let me know. I just bought one of these and I'd be interested in seeing your rc.conf. Thanks much, Steve gateway_enable=YES kern_securelevel_enable=NO nfs_server_enable=YES rpcbind_enable=YES sendmail_enable=YES sshd_enable=YES usbd_enable=YES firewall_enable=YES firewall_type=open inetd_enable=YES ifconfig_fxp0=inet 192.168.1.251 netmask 255.255.255.0 defaultrouter=192.168.1.254 hostname=davesserver.com natd_enable=YES natd_interface=fxp0 natd_flags= ifconfig_ath0=inet 192.168.0.1 netmask 255.255.255.0 channel 6 ssid daves mode 11g mediaopt hostap lpd_enable=YES There you go, one thing I am having some issues with is getting dhcp to work through it, for some odd reason it is throught the lan interface but not through the wireless one. Thanks David Lodeiro ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Complicated ipfw/ipf forwarding.
I suppose something like this might be possible with squid, Though im not sure how to do it. -Frank On Tue, 2003-10-28 at 17:30, Andras Kende wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lewis Thompson Sent: Tuesday, October 28, 2003 8:36 AM To: FreeBSD-questions Subject: Complicated ipfw/ipf forwarding. Hi, I have a public IP address and a couple of machines sitting behind a FreeBSD router doing NAT. I'm using ipnat and ipf right now (although I used to use natd/ipfw so I don't mind switching -- I started using ipf/ipnat because of an odd problem with 5.1-RELEASE but I'm switching back to 4.9 now) and wondered if it was possible to do forwarding based on DNS. For example Apache is clever enough to support virtual hosts based on the address requested. Is there any way at all to do this for forwarding on the router? For example if I had three CNAMES for the same IP red, pink and blue. Could I have red.foo.bar forwarded to 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar go to the local machine (i.e. the router)? Thanks very much, -lewiz. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11 and Xfree86
M.D. DeWar wrote: What is the difference between x11r6 and xfree86 ? I went to xfree site and ended up at x.org and the d/l are not the same. X11R6 is specification xfree86 is implementation of the specs x.org provideS another implementation, that's what you can download from x.org (I don't know whether these two implementations are (completely) independent) erik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11 and Xfree86
M.D. DeWar wrote: Thanks. Now for a more stupider question. What is the purpose of them exactly. I have read the sites but being alien to the unix world it confuses me. Do they just make unix a windows type enviroment ? Is KDE/GNOME the same or they like themes to X windows. ? So confused. but am trying to get away from microsoft. thanks mark Ok, _trying_ to leave some things out of this, like the fact that X-Windows was available long _before_ Windoze... ;-) Sort of. X/XFree is basically a minimal graphical user interface with built in networking support. It provides the bare essentials and infrastructure to build a 'window manager' on top of. Window Managers like CDE, TWM, WindowMaker, IceWM, and others all 'sit on top of' X, adding their own widget libraries(think icons, dialog boxes, 'styles') and defining behaviors (focus follows mouse, click to focus, hot key/meta key support/keybindings). In an X environment, because of having builtin networking from the start, it's fairly common to be running an application on one system, and displaying it on another. The X Server is required on any system that you want to actually display applications on your screen. These applications can be running on the same system (which is what all non networked systems do), or from another system. One of the nice features of X is the underlying architecture is standard across ALL flavors of *nix- it's not perfect, but on a *bsd or Linux system, you can have Solaris's admintool or smc running from a Sun box alongside OpenOffice running locally. Theres a lot more to X, and arguably a lot of features that X 'may not need' any longer, and others that have become security risks as hacking and script kiddies have become more frequent. A search for 'X Windows FAQ' should turn up something. Back to your question- KDE and GNOME both sit on top of X, like any/all X Window Managers. KDE and GNOME both go a step 'further' and also provide session and desktop management. A 'pure' Window Manager is generally only conccerned with the basics- handling window actions and providing for basic window operations- title bars, window decorations (buttons and menus), and the like. KDE and GNOME actually include Window Managers of their own (KDE and Sawfish respectively), but add on additional functionality as well, including some fairly detailed specifications of what an application should/''must' do to be fully KDE or GNOME compliant. Hope that helps somewhat... Scott - Original Message - From: Payne [EMAIL PROTECTED] To: M.D. DeWar [EMAIL PROTECTED]; freebsd-questions [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 5:11 PM Subject: Re: X11 and Xfree86 X11r6 is the version of xfree86. Payne M.D. DeWar wrote: What is the difference between x11r6 and xfree86 ? I went to xfree site and ended up at x.org and the d/l are not the same. thanks newbie 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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to correct mrtg going berserk?
Mrtg has gone berserk on me; apparently they have never heard of clocks being adjusted because of Daylight Savings: - Rateup ERROR: /usr/local/bin/rateup found that 192.168.0.1_1's log file time of 1067382961 was greater than now (1067380560) ERROR: Let's not do the time warp, again. Logfile unchanged. Rateup ERROR: /usr/local/bin/rateup found that localhost.cpu's log file time of 1067382961 was greater than now (1067380560) ERROR: Let's not do the time warp, again. Logfile unchanged. Rateup ERROR: /usr/local/bin/rateup found that memory's log file time of 1067382963 was greater than now (1067380562) ERROR: Let's not do the time warp, again. Logfile unchanged. Rateup ERROR: /usr/local/bin/rateup found that swap_memory's log file time of 1067382963 was greater than now (1067380562) ERROR: Let's not do the time warp, again. Logfile unchanged. - Manually changing the log-times back does not help either. Does anyone know how to correct it? Thanks, - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gathering required packages
On Tue, Oct 28, 2003 at 01:58:47PM -0700, Timms, Simon wrote: Hi, I'm taking a class right now on system administration. Being a lover of FreeBSD my server box in the lab runs FreeBSD 5.1 release; alone amongst a sea of linux and Solaris. I need to setup apache, postresql and mod_php4 on the box. This is simple enough usually, however the lab does not yet have any sort of internet access. So I was thinking that I would take in a CD of packages built from my system at home using 'make package'. The problem is that the dependency tree for apache+postgresql+mod_php is huge. Is there any quick way to gather up and package all of the dependencies? make package-recursive; this is a FAQ. Kris pgp0.pgp Description: PGP signature
Re: X11 and Xfree86
M.D. DeWar wrote: Thanks. Now for a more stupider question. What is the purpose of them exactly. I have read the sites but being alien to the unix world it confuses me. Do they just make unix a windows type enviroment ? X Windows System is a windowing system, but not complete GUI solution, it provides grpahic services (transparently over the network). Using X a program can display windows, lines, bitmaps ansd other graphical primitives. But there is no way to manipulate windows, no decorations (widnows do not have borders, title etc.), no buttons, combo boxes, menus etc. (called widgets in X world). generally on top of X you have: widget libraries: there is number of them, these are various buttons, menus, combo boxes etc. the common ones are motif (or free implementation lesstif), athena, qt (used by kde), gnome has its own widgets etc... there is a large number of widgets libraries and this is a source of constant criticism (they all look and behave differently and make user experience inconsistent, which might or might not be a problem:-) window manager: makes it possible to manage windows, it is responsible for windows decorations (borders, titlebar, titlebar buttons), it provides ways to move and otherwise manipulate windows, usually has some kind of menu/program launcher etc. Is KDE/GNOME the same or they like themes to X windows. ? kde and gnome are one layer up, they try to provide complete desktop - in addition to what window manager provide they provide - means for apps to communicate, common look (themes), drag and drop, task bar, main menu (kinda like start menu in win), common way to configure desktop etc. They are kinda like window manager on steroids (there are other ones as well, CDE, nextstep/gnustep etc.) So confused. but am trying to get away from microsoft. good luck, fun experiment (to see what X really is:-) - try to run X from text console (just like that, not xdm, not startx) - you should get pretty much empty screen with mouse cursor - that's plain X. Now you can go back to text console (hit ctrl-z, run bg to run X in background, alternatively just go to another free text console) and run xterm -display :1 (or :0, depends on whether you already run X) and go back to your X (alt-ctrl-Fn where Fn is one of the function keys on top of keyboard). You should see xterminal, but plain window - no borders etc. you can write in this terminal but you cannot move it... next step is to run window manager (e.g. twm, it's usually installed by default, or any window manager you like) - you can run it from xterm that you just opened. erik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation FreeBSD 5,1 release
On Tue, 28 Oct 2003 04:38 pm, Gustavo Moreira wrote: Hello! I do not obtain to install FreeBSD 5,1 in my system. I follow the procedure of sysinstall, however, the following message occurs: error mouting/dev/acd0 on/dist: in such file or directory. Valley to detach that this error occurs with any type of device of data already I tried with CD, HD and floppy. It forgives for the very bad english. Necessary of aid. Very obliged! I had the exact same problem, from my experience, if you boot and install directly from the CD it will work. If you boot and install off the floppies, you get the error you mentined. The only way around this (if your computer wont boot directly off the 5.1 ISO) is to use the 'ftp' installation option, because it doesnt need to mount on /dist. I networked two computers and ftp'd between them, otherwise you could get a net connection and ftp it that way. Out of curiosity, did you create your boot disks from the images on the CD or drectly from the freebsd site (I have only had this problem with the disk images off the cd) - jacob __ JacobRhoden -- http://rhoden.id.au/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: IPSEC tunnel issue..
Here's my situation. I've got 2 networks at different facilities that are using public routable IP's. Each end has a fbsd box in bridge mode as their firewall between the lan and the cisco routers at each end. I've been tasked to establish a secure tunnel between these two networks and I'm having some trouble. I've searched google for ipsec information on this but every thing that I have found depicts a private lan behind the public ip's of the tunnel endpoints. Has anyone been able to establish this type of tunnel successfully? If so, can you please direct me to some information on this? So if I understand correctly, you're running the FreeBSD firewall in transparent mode? Hosts behind the firewall use public addresses on the same subnet as the firewall public? I think you may need to switch to NAT mode so you're running a non-net-routeable (private) LAN. You can always stack more public Ips on the firewall and port forward. Or, if you run a routing daemon and have all your hosts point to it as the default gateway, build the tunnel and route anything that isn't through the tunnel at your real gateway. Or, build the tunnel and add routes to all the hosts specifing the FreeBSD box as the gateway for the remote network. This can be a pain to admin long term, but if, for instance, you run a Windows domain, you can run a route add batch file when users log into the network. Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Two questions: WLAN and FBSD Bootloader
Okay, pardon me for doing this folks but rather than have two separate e-mails I figured I might as well place both points in here that I am having trouble with. 1. I run FreeBSD 4.8 on my laptop, very nicely I might add. Its on my home network via 802.11b with the router utilising DHCP. Unfortunately, I have to manually control the wireless device every time I boot up and login so that it comes back onto the network, I assume this is because I am doing something wrong that doesn't allow for DHCP. In my rc.conf I have the line: ifconfig_wi0=ssid WLAN This works fine, on boot it is clearly scanning on that WLAN but it just isn't locking onto channel 11 and associating, as it should. So everytime I login I have to type dhclient wi0. Now, I've tried to add something along these lines into the rc.conf, such as: dhclient=wi0 and dhclient_wi0=YES But to no avail. Can anyone point me to where I am going wrong and perhaps show me the light? 2. My second problem, which isn't really a great problem (more of a vanity thing really), is with the FreeBSD boot loader. On boot the loader looks like this: F1 ??? F2 FreeBSD Default: F2 Now thats all fine and dandy, except the other OS on my hard drive is Windows XP Professional. How do I alter the boot loader to reflect F1 as being WinXP? I've read the man-page for boot0cfg and it doesn't appear to offer what I need, moreover I see no point in fiddling with the existing configuration of the slices. As I said, its mainly vanity. I hope that someone will be able to answer my questions, many thanks in advance, Regards, -- Andrew Humphries [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with 'make world' stuff
On Tue, 28 Oct 2003 14:09:24 -0800, Jason Williams [EMAIL PROTECTED] wrote: Once I had my sources updated, I did the following: I booted into single mode: cd /usr/src make buildworld cd /usr/src make buildkernel make installkernel I rebooted to test the kernel and that is where I ran into trouble. I did not type make installworld as suggested in the handbook. It said to test the kernel first. I was told I did not have to run mergemaster since this was a brand new install of 4.8. Is that incorrect? I appreciate your help. If the new kernel boots, that's fine. Just continue on with the rest of the Handbook procedure. After you have installed the new world, run mergemaster, and rebooted, then you can test your userland (apps/utilities like top and ps). Stick with the Handbook procedure. Customized build procedures *usually* work (otherwise people wouldn't use them), but the folks who build FreeBSD try to ensure that the steps outlined in the Handbook will pretty much *always* work. BTW, there's a prescribed step I don't see above. Before buildworld, you should update any config files necessary for buildworld by running mergemaster -p (mergemaster with the pre-buildworld option). See Section 21.4.3 of the Handbook at URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two questions: WLAN and FBSD Bootloader
On Tue, 28 Oct 2003 23:47:39 +, Andrew Humphries [EMAIL PROTECTED] wrote: [snip] 2. My second problem, which isn't really a great problem (more of a vanity thing really), is with the FreeBSD boot loader. On boot the loader looks like this: F1 ??? F2 FreeBSD Default: F2 Now thats all fine and dandy, except the other OS on my hard drive is Windows XP Professional. How do I alter the boot loader to reflect F1 as being WinXP? I've read the man-page for boot0cfg and it doesn't appear to offer what I need, moreover I see no point in fiddling with the existing configuration of the slices. As I said, its mainly vanity. I hope that someone will be able to answer my questions, many thanks in advance, See URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#CHANGING-BOOTPROMPT. If you would like to have WinXP named in the boot menu, you have several alternatives. Section 9.10 of the same FAQ tells you how to use XP's bootloader to boot both XP and FreeBSD. Or you can install Grub from the FreeBSD ports (Grub is very nice - read the online documentation *thoroughly* beforehand). Or for something more automagic, try GAG. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5 button mouse and MozillaFirebird
Hi John, Step by step for anyone who wants to know how. edit XF86Config put in Option Buttons 7 Option ZAxisMapping 6 7 in ~/.imwheelrc put: .* None, Up, Alt_L|Left None, Down, Alt_L|Right and last of all in .xinitrc, put: imwheel -p -b 67 xmodmap -e pointer = 1 2 3 6 7 4 5 My setup is nearly the same, except for two differences: I call imwheel as: imwheel -p -b 67 1/dev/null 21 and therefore have to write in imwheelrc: Firebird$ None, Thumb1, Alt_L|Left None, Thumb2, Alt_L|Right Konsole$ None, Thumb1, Shift_L|Left None, Thumb2, Shift_L|Right .* ,Thumb1,Thumb6 ,Thumb2,Thumb7 I prefer this, because 6,7 are actually the thumb buttons, so I don't have to mentally fiddle with different terms for the same buttons. Huh, I really can`t remember, where I got the last line. Just re-reading the man page doesn't reveal Thumb6 or Thumb7. Maybe the man page changed, since I fought with imwheel and my thumb buttons. :-) Ciao Siegbert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftp with user root
Hi: I need to transmit some files to the BSD server, one of this files is the /etc/bootptab, which belongs to root, so I need root access How can I enable ftpd to permit the user root? maps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp with user root
On Tue, 28 Oct 2003 17:58:47 -0700, [EMAIL PROTECTED] wrote: Hi: I need to transmit some files to the BSD server, one of this files is the /etc/bootptab, which belongs to root, so I need root access How can I enable ftpd to permit the user root? You shouldn't. It's a -really- bad idea. You should probably upload it somewhere else, and then move it. But if you -must-, take root out of /etc/ftpusers If you do this, be sure to put root back in after you are done. -- Robin Schoonover (aka End) # # Paranoid schizophrenics outnumber their enemies at least two to one. # ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp with user root
Hello, bootptab means you are using your server in a working environment, so consider not using an unsafe method like ftp to get the file from A to B. If your lan is TOTALLY non-public and has no ways for access you can open up ftp for user root by modifying the /etc/ftpusers file and knock out the root entry. You will have to HUP inetd as well as make sure the ftpd line is not remmed in /etc/inetd.conf. If though you have access to edit/change ftpusers then you have enough privilege to ftp up this file to a non-important user and then make a chown root:wheel after you have placed and moved the file. The key to remember is if you leave root as an ftp option and forget to undo the changes you most likely will lose the fear of leaving such a beast as root-ftp access open and continue to use it until one day when someone using a variety of means captures your root password on the clear text ftp protocol. Have you considered: sftp - Allows you to access the system in a secure like method including placing files from a client to server. nfs - Allows you to operate on the files directly with a preplanned who can and who can't access the files. Standard login takes care of the rest. Hope this helps. R. On Tue, 28 Oct 2003 [EMAIL PROTECTED] wrote: Hi: I need to transmit some files to the BSD server, one of this files is the /etc/bootptab, which belongs to root, so I need root access How can I enable ftpd to permit the user root? maps ___ [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: IPSEC tunnel issue..
- Original Message - From: Brent Wiese [EMAIL PROTECTED] To: 'Micheal Patterson' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 5:25 PM Subject: RE: IPSEC tunnel issue.. Here's my situation. I've got 2 networks at different facilities that are using public routable IP's. Each end has a fbsd box in bridge mode as their firewall between the lan and the cisco routers at each end. I've been tasked to establish a secure tunnel between these two networks and I'm having some trouble. I've searched google for ipsec information on this but every thing that I have found depicts a private lan behind the public ip's of the tunnel endpoints. Has anyone been able to establish this type of tunnel successfully? If so, can you please direct me to some information on this? So if I understand correctly, you're running the FreeBSD firewall in transparent mode? Hosts behind the firewall use public addresses on the same subnet as the firewall public? I think you may need to switch to NAT mode so you're running a non-net-routeable (private) LAN. You can always stack more public Ips on the firewall and port forward. Or, if you run a routing daemon and have all your hosts point to it as the default gateway, build the tunnel and route anything that isn't through the tunnel at your real gateway. Or, build the tunnel and add routes to all the hosts specifing the FreeBSD box as the gateway for the remote network. This can be a pain to admin long term, but if, for instance, you run a Windows domain, you can run a route add batch file when users log into the network. Brent Yea, the firewalls are in bridge mode, dual nic'd. What we've decided to do for this is to just subnet out the ip ranges that the circuits have been assigned. That way, we'll have a routable subnet between the router firewall, and a routable subnet behind the firewall with it acting as the lan gateway and take it out of bridge mode. -- 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]
problems with LPD
Hi: I have a printer configured in the BSD, is working fine, now I need to enable that other systems print in this printer, to do this I add 2 lines to the file /etc/hosts.lpd 10.192.2.134 as_nte.intranet.telmex.com. but the remote system can't print, so I run lpd with -c flag to enable all the connections error via syslog. In the file /var/log/lpd-errs I have this message repeated Oct 28 20:25:11 bsdsis lpd[10575]: Host name for remote host (10.192.2.134) not known (8) why doesn't print, if the ip is in the file hosts.lpd? If I run the command host 10.192.2.134, it return me 3 names and one of them is as_nte.intranet.telmex.com Also, I like to enable the printers (all) in this server to be accessible to any one in the net 10. maps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ftp with user root
Hi Robin and Director: The situation is, I have 3 servers, now sun, but planning to change them to FreeBSD, so right now I have a program in FoxPro to administer the database of diskless, with this program I generate the bootptab and download periodically to the servers in case of somebody modify the file in one of the servers and don't notify me (I am not the only administrator). The program in FoxPro and the ftp is run in a windows, so I can't use sftp, nfs, etc.. So I am going to use another user member of wheel and chmod 664 bootptab. thanks By the way, since this file doesn't exist I cp crontab bootptab so the file belongs to root:wheel, can I chenge the groop to other created by me? maps On Tue, 28 Oct 2003 17:58:47 -0700, [EMAIL PROTECTED] wrote: Hi: I need to transmit some files to the BSD server, one of this files is the /etc/bootptab, which belongs to root, so I need root access How can I enable ftpd to permit the user root? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache+mod_ssl-1.3.28+2.8.15_1 - DOES NOT COMPILE on FreeBSD 5.1
I can't seem get apache13-modssl to build. Anyone else have this problem and *hopefully* a solution? Thanks Matt Other References I have found thus far (but no solution) http://lists.freebsd.org/pipermail/freebsd-ports/2003-April/000324.html http://lists.freebsd.org/pipermail/freebsd-ports/2003-August/003877.html RESULT: homeserver# cd /usr/ports/www/apache13-modssl homeserver# ls Makefilefiles pkg-install distinfopkg-descr pkg-plist homeserver# make You may use the following build options: WITH_APACHE_SUEXEC=yesenable the suEXEC feature [default is no] APACHE_SUEXEC_CALLER=user set the suEXEC username of the allowed caller [default is www] APACHE_SUEXEC_DOCROOT=dir set the suEXEC root directory [default is /usr/local/www/data] APACHE_SUEXEC_LOG=fileset the suEXEC logfile [default is /var/log/httpd-suexec.log] APACHE_SUEXEC_USERDIR=dir set the suEXEC user subdirectory [default is public_html] APACHE_SUEXEC_UIDMIN=uid set the suEXEC minimal allowed UID [default is 1000] APACHE_SUEXEC_GIDMIN=gid set the suEXEC minimal allowed GID [default is 1000] APACHE_SUEXEC_SAFE_PATH=path set the suEXEC safe PATH [default is /bin:/usr/bin:/usr/local/bin] APACHE_SUEXEC_UMASK=umask set the umask for the suEXEC'd script [default is inherited from the Apache process] APACHE_HARD_SERVER_LIMIT=nr Maximum number of Apache processes. [default is 512] APACHE_FD_SETSIZE=nr Maximum number of descriptors. [default is 1024] APACHE_BUFFERED_LOGS=yes Log entries are buffered before writing. Writes may not be atomic, entries from multiple children could become mixed together and your web stats may be inaccurate. [default is no] APACHE_PERF_TUNING=yesCFLAGS optimization. This setting may produce broken code and thus is not recommended for production servers. [default is no] === Extracting for apache+mod_ssl-1.3.28+2.8.15_1 Checksum OK for apache_1.3.28.tar.gz. Checksum OK for mod_ssl-2.8.15-1.3.28.tar.gz. === Patching for apache+mod_ssl-1.3.28+2.8.15_1 === apache+mod_ssl-1.3.28+2.8.15_1 depends on file: /usr/local/bin/perl5.6.1 - found === Applying mod_ssl-2.8.15 extension Configuring mod_ssl/2.8.15 for Apache/1.3.28 + Apache location: ../apache_1.3.28 (Version 1.3.28) + Auxiliary patch tool: ./etc/patch/patch (local) + Applying packages to Apache source tree: o Extended API (EAPI) o Distribution Documents o SSL Module Source o SSL Support o SSL Configuration Additions o SSL Module Documentation o Addons Done: source extension and patches successfully applied. === Applying FreeBSD patches for apache+mod_ssl-1.3.28+2.8.15_1 === apache+mod_ssl-1.3.28+2.8.15_1 depends on file: /usr/local/bin/perl5.6.1 - found === apache+mod_ssl-1.3.28+2.8.15_1 depends on shared library: mm.13 - found === apache+mod_ssl-1.3.28+2.8.15_1 depends on shared library: crypto.3 - found === Configuring for apache+mod_ssl-1.3.28+2.8.15_1 Configuring for Apache, Version 1.3.28 + using installation path layout: FreeBSD (config.layout) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for FreeBSD 5.1 platform + setting C pre-processor to cc -E + using tr [a-z] [A-Z] to uppercase + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End enabling DBM support for mod_rewrite o db_auth_module uses ConfigStart/End using Berkeley-DB/1.x for mod_auth_db (-lc) o ssl_module uses ConfigStart/End + SSL interface: mod_ssl/2.8.15 + SSL interface build type: DSO + SSL interface compatibility: enabled + SSL interface experimental code: disabled + SSL interface conservative code: disabled + SSL interface vendor extensions: disabled + SSL interface plugin: Vendor DBM (libc) + SSL library path: /usr/local + SSL library version: OpenSSL 0.9.7c 30 Sep 2003 + SSL library type: installed package (stand-alone) + enabling Extended API (EAPI) using MM library for EAPI: (system-wide) + using builtin Expat + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in
RE: ftp with user root
On Tue, 28 Oct 2003 [EMAIL PROTECTED] wrote: Hi Robin and Director: The situation is, I have 3 servers, now sun, but planning to change them to FreeBSD, so right now I have a program in FoxPro to administer the database of diskless, with this program I generate the bootptab and download periodically to the servers in case of somebody modify the file in one of the servers and don't notify me (I am not the only administrator). The program in FoxPro and the ftp is run in a windows, so I can't use sftp, nfs, etc.. Putty and various other Windows ssh-packages will allow you to use sftp/scp from a Windows workstation to transfer your file, then ssh in to make any further changes necessary. Cheers, Viktor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Clanlib 0.6.5
was wondering if anyone has sucessfully ported clanlib 0.6.5 to freebsd as i have a game that i whant to port but it doesnt use 0.7.5 that is in ports was wondering if anyone could point to a site that has patches or am i stuck doing it myself ? thanks in advance -chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 3D Home CAD
On Tue, 28 Oct 2003 17:12:45 -0500 Payne [EMAIL PROTECTED] wrote: Qcad is one. Qcad only does 2D and has some what limited control. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux port.....
On Mon, 2003-10-27 at 05:08, Andrew Humphries wrote: On Mon, 2003-10-27 at 13:51, C. Ulrich wrote: On Sat, 2003-10-25 at 00:43, andi payn wrote: 4. While running a similar set of services, FreeBSD may be using less background processing time. Or maybe not. I definitely see significantly lower CPU usage (idling under X, FreeBSD shows about 2-10% CPU, linux about 15-35%). However, this may just be an artifact of linux's notoriously bad reporting, or the fact that I'm using the O(1) kernel and preemptible kernel patches, or maybe something stupid some GNOME applet is doing because I configured it wrong under linux; who knows Check with top to see which processes are using the CPU. Keep in mind that top is gathering information from the same proc filesystem as gtop, GNOME's system monitor, etc., so it's no more accurate than they are. And, as I mentioned, there are well-known issues with this reporting. For me, 9 times out of 10, it's the X server itself taking up cycles for doing nothing. But for me, 9 times out of 10, the X server is grabbing lots of idle time but won't steal time away from processes that actually need it. This may prevent a laptop CPU from going into low-power mode, but it doesn't affect anything else--even nice 20'd processes run. With a patched kernel, this can get even more extreme (like the interactive kernel patches, which will throw bonus timeslices at X, nautilus, and some other processes): I've seen X using supposedly over 90% of my CPU--and then started a compile, and X immediately dropped to under 10%--and everything remained responsive throughout. Even without unofficial patches, remember that the linux scheduler has been hacked at and even continually rewritten a few times in recent years, so what you see with one version may not be the same with another. However, you may have a memory leak. When I upgraded a Redhat 6 box to XFree86 3.3, I had exactly that problem (IIRC, it ultimately had to do with a bug in the version of gcc that Redhat was distributing)--after a while, X was using 90% of my CPU for real, and sucking up a few hundred megs of memory to boot, and the system slowed to a crawl. (Even then, I just had to kill X; I didn't need to restart.) This is why I said, FreeBSD may be using less background processing time. Or maybe not. Linux sometimes doesn't give you enough (or accurate enough) information to know whether it's wasting your CPU. So, it certainly appears to be more wasteful than FreeBSD, but it may not actually _be_ more wasteful. As a test, rebuilding mozilla takes about the same amount of time under both systems (FreeBSD 5.1 vs. Mandrake 9.1 with kernel 2.4.21 with the preemptible patch). It won't do it right after a fresh boot, but some program along the way usually triggers the siphoning of the CPU usage. I have found this an awful lot whilst running X under Linux. After a fresh boot, with nothing running, it works nicely. Give it a couple open applications, and even when nothing is running except X itself, it will take up extra CPU time and physical memory space until freshly booted again. If this isn't getting too off-topic, what distro, kernel, and X are you using? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]