Re: Cleaning Out Ports?
* Matt LaPlante <[EMAIL PROTECTED]> [2005-02-01 02:36 +0100]: > I know the ports system is designed to install dependencies > automatically, but how does one go about removing them? Say one large > package installs several dependencies, but then later on that package > is removed...and now we're left with several orphaned packages. Is > there a way to either detect, or even automatically clean out orphaned > packages? I'm particularly concerned because I'm dealing with a few > systems which are rather well aged, and have gone through several > upgrade cycles. I know the Linux version of the ports system found in > Gentoo (portage) offers extensive functionality for finding and > removing orphaned dependencies, so I'm hoping FreeBSD has some such > feature as well. Thanks. You might want to try the attached script, it's what I've been using for a while. Run with any arguments to print output to terminal. Run with no arguments to create a file called 'remove_leaf_ports.sh'. After reviewing the generated script, run it thusly: sudo sh < remove_leaf_ports.sh You can list the prefixes of the ports that you don't want removed in /usr/local/etc/rm_leaf.conf. One prefix per line, no leading/trailing whitespace. The script will not remove any port that is required by any other port. I usually have to run it two or three times after a batch of upgrades/installs. I just got tired of installing ports to manage ports. ;] Attached is my script, and my conf file. Regards, -- dave [ please don't CC me ] ctorrent daemontools getmail gnupg ifgraph isoqlog mathopd mess822 mutt-devel mysql-server p5-Mail-SpamAssassin php4-mysql php4-pcre portaudit portmanager qlogtools qmailanalog safecat samba screen sudo ucspi-ssl ucspi-tcp unrar unzip vim vmailmgr w3m ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: realplay-10
On Tue, 1 Feb 2005 10:16, Gary Kline wrote: > Folks, > > I never got any responses over the weekend; maybe people > who knew were of skiing or whatever. > > Does realplay-10 work on FBSD-4.10? I have it successfully > installed, almost push-button, on my two 5.3 platforms. > But here on "tao", no-joy. I get a strange error message > about fontconfig. No more. > > Anybody?? > > gary I had that problem last week - all you need to do is run fc-cache as root. Cheers, -- Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgpHdUSFr07Rt.pgp Description: PGP signature
Re: Proliant 5000
[Format recovered--see http://www.lemis.com/email/email-format.html] Quote indentation corrected. Trimmed. On Monday, 31 January 2005 at 21:16:03 -0800, Ted Mittelstaedt wrote: > On Monday, January 31, 2005 5:30 PM, Brad wrote: > On January 31, 2005 8:13 AM, Lowell Gilbert wrote: >> "Brad" <[EMAIL PROTECTED]> writes: >> >>> Hi, I have recently acquired a Proliant 800 and a Proliant 5000 >>> server. The 800 installed quite cleanly and is currently running >>> FreeBSD 5.3 The 800 is a dual processor machine. When I try to >>> install >> >>> FreeBSD 5.3 on the 5000 (it's a quad processor machine ) it >>> panic's saying, >>> >>> panic: pmtimer_indentify >>> >>> Has anyone seen this before. As near as I can tell it involves the >>> power management of the computer. Only there isn't any in the >>> bios. Doing a verbose logging on the system I noticed that it has >>> just finished scanning the ISA bus and found nothing. Then it >>> panic's. I would appreciate any thoughts that the community might >>> have. >> >> Have you tried turning off ACPI in the install? >> >> Ok, when I boot the menu has default and then the second choice is to >> install with ACPI turned on... >> >> Tried that one and it progresses just a tad further. It reports: >> >> Orm0: at iomem >> 0xe8000-0xedfff,0xc8000-0xcbfff,0xc-0xc7fff on isa0 >> Pmtimer0 on isa0 >> >> Then the computer freezes at that point. >> >> What else could I tell you about this machine? >> >> 4 X 200MHz processors. >> 512Mb RAM >> Scsi hardware raid controller. > > That may be your problem. Depends on the RAID controller. Both my machines have RAID controllers (2DH). See http://www.lemis.com/grog/diary-dec2004.html#10: it seems that 5.1 panicked. I'm pretty sure I had no trouble with 5.3, though. > If the system has an EISA raid array card you cannot install FreeBSD > on it. There is a bug in the compaq raid driver it won't work on > eisa. I don't think these machines are *that* old. Greg -- When replying to this message, please take care not to mutilate the original text. For more information, see http://www.lemis.com/email.html See complete headers for address and phone numbers. pgpfDd6wZSe2S.pgp Description: PGP signature
Re: realplay-10
On Monday 31 January 2005 09:35 pm, Gary Kline wrote: > On Mon, Jan 31, 2005 at 06:01:33PM -0800, Kent Stewart wrote: > > On Monday 31 January 2005 03:46 pm, Gary Kline wrote: > > > Folks, > > > > > > I never got any responses over the weekend; maybe people > > > who knew were of skiing or whatever. > > > > > > Does realplay-10 work on FBSD-4.10? I have it > > > successfully installed, almost push-button, on my two 5.3 > > > platforms. But here on "tao", no-joy. I get a strange error > > > message about fontconfig. No more. > > > > > > Anybody?? > > > > I have it working on 4.11-stable and 4.10 shouldn't be any > > different. I can't get it to click and play with Mozilla but it > > works just fine with Konqueror. > > > > When I get messages like that, I frequently do a portupgrade -fR of > > the port with the problem. Something is missing and a reverse > > upgrade seems to take care of it. > > Sound advice ... at least from what I'm seeing, thank you. > Somehw, I was minus /usr/local binaries like automake14. (?) > Doing a make reinstall, my system saw them as installed. > Lots of stuff breaking. It might be time to fo a > portupgrade -fRa. Gulp! I do that every so often but it takes most of a day on the AMD 2400+. In between, I only fix what is broken. That doesn't take as long :). You could probably start with the packages that were built for 4.11-R. A portupgrade -Pfa wouldn't take as long but would build anything that has been updated. Kent > > > gary -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting FreeBSD-5.3 from NTLDR
On Mon, 31 Jan 2005 17:22:48 +, Joe Kraft <[EMAIL PROTECTED]> wrote: > This should have said boot1, for all the reasons mentioned in the rest > of the thread and in the handbook. Sorry, Nah! boot1 does not work either! I've tried ... I guess it might work if FreeBSD is on the first disk, but it doesn't work if its on the second. The only way I know as of now to boot into FreeBSD -- if its on the second disk -- and you want to use NTLDR, is to use something like BootPart to extract the bootsectors into C:\BOOTSECT.BSD and use that in BOOT.INI to boot. Now why are things that way, is still a mystery to me. :)) -- -- Rakhesh [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting FreeBSD-5.3 from NTLDR
On Mon, 31 Jan 2005 16:06:39 +, Mark Ovens <[EMAIL PROTECTED]> wrote: > Hehe! I did it the hard way; I manually recreated the partition table - > 3 partitions! In fact.[roots around in drawer]..yes, still got > the printout of the spreadsheet I used to calculated the start and end > CHS values - don't know why, the disk was replaced ages ago :-) Hehe! How did u manually recreate the partition table? U had the sizes and sectors etc stored somewhere? On my previous machine, I used to have fdisk listings of all my disks as a printout -- coz I've done this kind of goofups many a times, and so usually have been careful to keep a listing of the sector values etc. But this time, I was on my parents' machine, and since I hadn't really started using it big time, I was careless enough not to take a precaution like this. (But I guess I was not thaaat careless enough to not take backups either, hehe!) I was lucky to find this demo program called Active Partition UnEraser or something. Being demo, it would only show me the starting and ending sectors of all the partitions -- but that was fine with me coz once I got those values, it was just a matter of noting them down and then booting into Linux (coz that's what I had apart from FreeBSD) and recreating the tables using its fdisk program. :)) > IRCC, boot0 is the MBR and boot1 is the boot sector (of the FreeBSD > partition (slice)) and they only ontain info about the local disk, i.e. > _relative_ info in effect, so if FreeBSD is on your second disk and you > copy boot1 to C:\BOOTSECT.BSD and add an entry for it in BOOT.INI then > NTLDR has know way of knowing that it refers to the second HDD and so > can't boot because the info doesn't match the layout of the first HDD. > Remember boot0 and boot1 are restricted to 512bytes - one sector. That > is the reason as far as remember. Oh yeah ... doh! Silly me! Ofcourse boot1 contains the info relative to the FreeBSD disk, so copying it across to C:\BOOTSECT.BSD wont help! Silly me! :)) So that's why copying boot1 and loader didn't help -- coz they were all relative to the FreeBSD disk. And copying boot0 too didnt help coz of the MBR re-writing thingy. :p What magic does BootPart do, I still wonder! I mean, if its just extracting the bootsectors as the program says, then an alternative way of extracting (like "dd" etc) too should work! But they dont -- meaning, BootPart does more than just extracting, I guess. -- -- Rakhesh [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounted ext2 fs causes bad shutdown
On 2005-02-01 05:16, Oliver Fuchs <[EMAIL PROTECTED]> wrote: >On Mon, 31 Jan 2005, Loren M. Lang wrote: >> On a FreeBSD 5.3 system of mine that is dual boot with linux I have >> my linux home partition which is ext3fs mounted on freebsd. Anytime >> I reboot or halt freebsd while it is mounted, freebsd fails to sync >> all it's buffers. > > You first have to umount the linux partition. I have this uncommented > in my /etc/rc.shutdown (I have it from the list): > > #extfs=`eval mount | grep ext2fs | awk '{print $1 }'` > #for _elem in $extfs; do > # echo -n "Unmounting ext2/ext3 filesystems: " > # umount -a -t ext2fs > # echo -n "$_elem " > #done > # > #echo '.' > #exit 0 What you have is not correct. A more correct approach would be to actually *USE* the _elem iterator in the loop, instead of just echoing it. There is also a bug lurking in there. The script prints the "Unmounting" message once for each unmounted filesystem. One of the many ways to do the same thing without the bugs could be: # extfs=$(mount | grep '^/.*(ext2fs,' | awk '{print $1}') # if [ -n "${extfs}" ]; then # echo -n "Unmounting ext2/ext3 filesystems:" # for _elem in ${extfs} ;do # umount "${_elem}" && echo -n " ${_elem}" # done # echo '.' # fi # unset extfs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SUDO
Out of curiosity, why are you trying to give them root access to k3b? Read/write access to the cd devices in question would do the trick... --Mac On Tue, Feb 01, 2005 at 06:23:41AM +0100, Java Beans wrote: > What do i have to enter in /etc/sudoers in order to give > some user group the permission to start k3b with root > permissions? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Julian "Mac" Mason[EMAIL PROTECTED] Computer Science '06 (909)-607-3129 Harvey Mudd College pgpZsVDlaJbES.pgp Description: PGP signature
Re: realplay-10
On Mon, Jan 31, 2005 at 06:01:33PM -0800, Kent Stewart wrote: > On Monday 31 January 2005 03:46 pm, Gary Kline wrote: > > Folks, > > > > I never got any responses over the weekend; maybe people > > who knew were of skiing or whatever. > > > > Does realplay-10 work on FBSD-4.10? I have it successfully > > installed, almost push-button, on my two 5.3 platforms. > > But here on "tao", no-joy. I get a strange error message > > about fontconfig. No more. > > > > Anybody?? > > I have it working on 4.11-stable and 4.10 shouldn't be any different. I > can't get it to click and play with Mozilla but it works just fine with > Konqueror. > > When I get messages like that, I frequently do a portupgrade -fR of the > port with the problem. Something is missing and a reverse upgrade seems > to take care of it. > Sound advice ... at least from what I'm seeing, thank you. Somehw, I was minus /usr/local binaries like automake14. (?) Doing a make reinstall, my system saw them as installed. Lots of stuff breaking. It might be time to fo a portupgrade -fRa. Gulp! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SUDO
What do i have to enter in /etc/sudoers in order to give some user group the permission to start k3b with root permissions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Proliant 5000
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Brad > Sent: Monday, January 31, 2005 5:30 PM > To: 'Lowell Gilbert' > Cc: freebsd-questions@freebsd.org > Subject: RE: Proliant 5000 > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Lowell Gilbert > Sent: January 31, 2005 8:13 AM > To: Brad > Cc: freebsd-questions@freebsd.org > Subject: Re: Proliant 5000 > > > "Brad" <[EMAIL PROTECTED]> writes: > > > Hi, I have recently acquired a Proliant 800 and a Proliant 5000 > > server. The 800 installed quite cleanly and is currently running > > FreeBSD 5.3 The 800 is a dual processor machine. When I try > to install > > > FreeBSD 5.3 on the 5000 (it's a quad processor machine ) it panic's > > saying, > > > > panic: pmtimer_indentify > > > > Has anyone seen this > > before. As near as I can tell it involves the power > management of the > > computer. Only there isn't any in the bios. Doing a verbose > logging on > > > the system I noticed that it has just finished scanning the ISA bus > > and found nothing. Then it panic's. I would appreciate any thoughts > > that the community might have. > > Have you tried turning off ACPI in the install? > > Ok, when I boot the menu has default and then the second choice is to > install with ACPI turned on... > > Tried that one and it progresses just a tad further. It reports: > > Orm0: at iomem > 0xe8000-0xedfff,0xc8000-0xcbfff,0xc-0xc7fff on isa0 > Pmtimer0 on isa0 > > Then the computer freezes at that point. > > What else could I tell you about this machine? > > 4 X 200MHz processors. > 512Mb RAM > Scsi hardware raid controller. That may be your problem. If the system has an EISA raid array card you cannot install FreeBSD on it. There is a bug in the compaq raid driver it won't work on eisa. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Please advise on triple-head _HIGH_ resolution solution for FreeBSD ...
Hello, To let me say initially, I have the goal of buying three of the new apple 30" cinemadisplays and running them as one large extended desktop in x11 under FreeBSD. The displays are 2560x1600, and I want to utilize them at full resolution. The question: what hardware can perform this _and_ work under FreeBSD ? My guess is I have three choices: - find _one_ PCI-X or AGP card that can drive all three monitors at once ... the matrox p750 can do this, but only at 1280x1024 for three screens. The new matrox APVe can also do this, but only at 1920x1080 or below (not quite clear) ... so these are not valid choices ... are there any single cards that can do 3x (2560x1600) ? - find three normal PCI cards that can each drive 2560x1600 ... not sure if such advanced cards were ever made for plain old PCI, or how well that would work ... at 3x that res, would I be getting close to saturating the PCI bus ? - find a system that has 3 PCI-X slots in it (does that exist ?) and then find 3 PCI-X gfx cards that can each do 2560x1600 ... any thoughts on this line ? And if so, what would be a good FreeBSD supported gfx card to stick three of in a system ? -- Obviously I need help ... so any comments at all are appreciated. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA UDMA ICRC ERROR
On Tue, 1 Feb 2005, cpghost wrote: In the mean time how could I decrease the UDMA setting so it operates at a lower speed? Use atacontrol(8): Thanks. That was easy enough. :-) They are warnings, but a UDMA speed mismatch can bite you when you least expect it :) The drive is UDMA100. Set it to UDMA66 for now. Till I have time to check the cable. How would one set it at boot time, if I needed, to make this permanent? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ASP .NET on FreeBSD?
Hey; I'm fairly new to FreeBSD (Former Linux user), and I have a FreeBSD 5.3 server. Pretty soon I'm going to need ASP .NET on the server, but understand that XSP/mod_mono have some major issues with FreeBSD that need to be worked out. Are there any alternatives I can use in place of/while I'm waiting for the BSD# project to get XSP functional? Theoretically I could substitute GTK# client applications to my clients' Windows machines, but I'd prefer to have the application(s) web based. Thanx, SigmaX -- Registered Linux Freak #: 366,862 "My ISP won't talk to me after lodging a support call for helping gettting ADSL hooked up to a WinXP install running under VMWare under Linux on my XBox." 'Anonymous Coward,' in a post on slashdot.org "For the eyes of the Lord range throughout the earth to strengthen those whose hearts are fully commited to him." 2 Chronicles 16:9a ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounted ext2 fs causes bad shutdown
On Mon, 31 Jan 2005, Loren M. Lang wrote: > On a FreeBSD 5.3 system of mine that is dual boot with linux I have my > linux home partition which is ext3fs mounted on freebsd. Anytime I > reboot or halt freebsd while it is mounted, freebsd fails to sync all > it's buffers. The first message Syncing disks, vnodes remaining, starts > out at around 5 or 10 and descreases to 0, then the message Syncing > disks, buffers remaining... starts at 7 and stays at 7 the whole time > untill freebsd gives up and reboots or halts anyways. Whenever I first > unmount the ext2fs, the vnodes remaining message comes up as usually, > but the buffers remains never does and freebsd just reboots normally. I > could modify the shutdown scripts to unmount the fs manually I suppose, > but I'd like to solve the real problem. You first have to umount the linux partition. I have this uncommented in my /etc/rc.shutdown (I have it from the list): # Insert other shutdown procedures here #extfs=`eval mount | grep ext2fs | awk '{print $1 }'` #for _elem in $extfs; do # echo -n "Unmounting ext2/ext3 filesystems: " # umount -a -t ext2fs # echo -n "$_elem " #done # #echo '.' #exit 0 Oliver -- ... don't touch the bang bang fruit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mozilla and Firefox fail to start
"So", I say to myself, "wouldn't it be nice to have firefox?" So, cd to the right place, make install clean... and then try to run it...and it thinks for two or three seconds, and hands me my prompt back. No core file, no browser, no error message. "Hm..." I think to myself. "...maybe mozilla will work." So, I repeat the same process. And mozilla won't start either; it does the very same thing. FreeBSD 5.3-RELEASE, with the most-recent errata. Any ideas? Thanks! --Mac -- Julian "Mac" Mason[EMAIL PROTECTED] Computer Science '06 (909)-607-3129 Harvey Mudd College pgpiXqchl6JTK.pgp Description: PGP signature
Any experience with KeySpan USA-19W?
Or any other USB-to-Serial adapters? Do they work well in FreeBSD 5.3-RELASE? http://www.keyspan.com/products/usb/USA19W/ We're looking to set up a console server in our colo, and these looked like a good way of doing multiple serial ports fairly cheaply. Thanks in advance! :) Best, --Glenn -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." ~Benjamin Franklin, Historical Review of Pennsylvania, 1759 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA UDMA ICRC ERROR
Francisco Reyes wrote: On Tue, 1 Feb 2005, Santo Natale wrote: check if yours new hd is connected through a 80 pin ide cable ( for UDMA speed >= 66 ). Jan 30 12:52:24 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=52551839 Jan 30 13:08:36 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=88194655 In the mean time how could I decrease the UDMA setting so it operates at a lower speed? Use atacontrol(8): # atacontrol mode 0 Master = UDMA66 Slave = BIOSPIO # atacontrol mode 0 udma33 biospio # atacontrol mode 0 Master = UDMA33 Slave = BIOSPIO It probably will be a few days before I get to stop by the computer store. Most lines are simply warnings, but there area a few errors. This is just a backup drive (ie every X number of hours backup some data from my primary drive) so it's not too much of a problem to slow it down temporarily. They are warnings, but a UDMA speed mismatch can bite you when you least expect it :) Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleaning Out Ports?
On Monday 31 January 2005 06:35 pm, Matt LaPlante wrote: > This looks like what I'm after, thank you! > After you try it, if sysutils/pkg_cutleaves doesn't meet your requirements please let me know. I can add exactly what you asked for to sysutils/portmanager. I don't want to add features that are available elsewhere unless there is a very compelling reason. If sysutils/pkg_cutleaves isn't right, please provide good detail why. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
touchpad not recognized and USB mouse doesn't work ...
Dear FreeBSD users, Once more I am asking your advice with a old Laptop I have. Pressario 1230. Nothing worked as fast as FreeBSD in that thing! It was amazing how quickly it booted when compared with SuSE or Windows. Help me to fix 2 things though so it becomes useful! 1) In FreeBSD 4.10 there are no problems with the time; the clock works fine. Unfortunately in 5.3 Release you see the clock running instead one-by-one second 5-by-5 seconds. I do not know why! Any ideas? 2) Both 4.9, 4.10, 5.0, 5.2.1, 5.3 Releases cannot use the touchpad. The touchpad is invisible to them. Even from the time when installation is perfomed! You remember that you asked to test the mouse daemon if there any non-usb mices during installation don't you? In Linux the touchpad is recognized and works fine and that is with all Fedora and SuSE versions. 3) As an alternative to touchpad I am using a USB mouse. But this only works under 5.3 Release. It can't work with 4.10 or any of the 4.X series. I did: #ls /dev/ and I saw the devices therein! Nowhere isnide /dev/ I could find /dev/psm0. Everything existed except /dev/psm0. Is it possible that for some reason it is assigned a wrong IRQ number and it conflicts with some other device? Undr Linux /dev/psm0 is /dev/psaux and it is assigned an IRQ number 12. I've attached my dmesg and my /etc/rc.conf. # -- sysinstall generated deltas -- # Sun Dec 12 15:06:12 2004 # Created: Sun Dec 12 15:06:12 2004 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. #defaultrouter="195.130.113.200" hostname="nevrologia" fconfig_ed1="inet 192.168.0.1" keyrate="fast" moused_enable="YES" sshd_enable="YES" usbd_enable="YES" font8x16="grfixed-8x16" keymap="keramida.el-iso" Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Cyrix GXm (26.23-MHz 586-class CPU) Origin = "CyrixInstead" Id = 0x540 DIR=0x3544 Stepping=3 Revision=5 real memory = 100663296 (96 MB) avail memory = 88834048 (84 MB) pnpbios: Bad PnP BIOS data checksum npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 cbb0: at device 17.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 17.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 isab0: port 0x5000-0x500f,0x4000-0x401f,0x3000-0x307f mem 0x4001-0x40010fff at device 18.0 on pci0 isa0: on isab0 ohci0: mem 0xfedfe000-0xfedfefff irq 9 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Atmel product 0x3311, class 9/0, rev 1.00/3.00, addr 2 uhub1: 4 ports with 4 removable, self powered pci0: at device 20.0 (no driver attached) cpu0 on motherboard orm0: at iomem 0xc-0xc9fff on isa0 pmtimer0 on isa0 ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0 ata1 at port 0x376,0x170-0x177 irq 15 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 26233012 Hz quality 800 Timecounters tick every 10.000 msec ad0: 3100MB [6300/16/63] at ata0-master PIO4 acd0: CDROM at ata1-master PIO4 ed1: at port 0x300-0x31f irq 9 function 0 config 32 on pccard0 ed1: [GIANT-LOCKED] ed1: Ethernet address: 00:a0:0c:12:74:2e ed1: if_start running deferred for Giant type NE2000 (16 bit) Mounting root from ufs:/dev/ad0s1a WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted Any suggestions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA UDMA ICRC ERROR
On Tue, 1 Feb 2005, Santo Natale wrote: check if yours new hd is connected through a 80 pin ide cable ( for UDMA speed >= 66 ). Jan 30 12:52:24 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=52551839 Jan 30 13:08:36 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=88194655 In the mean time how could I decrease the UDMA setting so it operates at a lower speed? It probably will be a few days before I get to stop by the computer store. Most lines are simply warnings, but there area a few errors. This is just a backup drive (ie every X number of hours backup some data from my primary drive) so it's not too much of a problem to slow it down temporarily. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cleaning Out Ports?
This looks like what I'm after, thank you! > -Original Message- > From: Michael C. Shultz [mailto:[EMAIL PROTECTED] > Sent: Monday, January 31, 2005 9:23 PM > To: freebsd-questions@freebsd.org > Cc: Matt LaPlante > Subject: Re: Cleaning Out Ports? > > On Monday 31 January 2005 06:16 pm, Matt LaPlante wrote: > > Well what I'm more concerned with is how would you locate orphaned > > dependencies after the fact. For a parallel example, in gentoo you > > would "emerge --depclean" which searches the tree for any orphaned > > packages and removes them. So say I hadn't used the -r flag when > > removing packages on BSD, how could I find the leftovers later? > > > Look at /usr/ports/sysutils/pkg_cutleaves > > here is a excerpt from its man page: > > "pkg_cutleaves finds installed 'leaf' packages, i.e. packages that are > not referenced by any other installed package, and lets you decide for > each one if you want to keep or deinstall it (via pkg_deinstall(1)). > Once the packages marked for removal have been flushed/deinstalled, > you'll be asked if you want to do another run (to see packages that > have become 'leaves' now because you've deinstalled the package(s) that > depended on them). In every run you will be shown only packages that > you haven't marked for keeping, yet." > > > -- > > Matt LaPlante > > System Administrator > > Center for Automation Technologies > > RPI/CAT, CII 8015 > > 110 8th Street > > Troy, NY 12180 > > Phone: (518) 276-2275 > > [EMAIL PROTECTED] > > www.cat.rpi.edu > > > > > -Original Message- > > > From: Pat Maddox [mailto:[EMAIL PROTECTED] > > > Sent: Monday, January 31, 2005 8:55 PM > > > To: Matt LaPlante > > > Cc: freebsd-questions@freebsd.org > > > Subject: Re: Cleaning Out Ports? > > > > > > If you try to remove a package that has child dependencies, then > > > it'll let you know. You'll have to use the -f flag to force it to > > > delete the package, despite there being any dependencies. If you > > > want to delete a package along with all its dependencies, you can > > > use the -r flag. > > > > > > Use pkgdb -F to fix any dependencies that might be broken. > > > > > > I think that's about right. I'm a FreeBSD newbie :) > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleaning Out Ports?
I think portsclean does that. I can't remember how though. Its in the portupgrade package. Nathan - Original Message - From: "Matt LaPlante" <[EMAIL PROTECTED]> To: "'Pat Maddox'" <[EMAIL PROTECTED]> Cc: Sent: Monday, January 31, 2005 7:16 PM Subject: RE: Cleaning Out Ports? Well what I'm more concerned with is how would you locate orphaned dependencies after the fact. For a parallel example, in gentoo you would "emerge --depclean" which searches the tree for any orphaned packages and removes them. So say I hadn't used the -r flag when removing packages on BSD, how could I find the leftovers later? -- Matt LaPlante System Administrator Center for Automation Technologies RPI/CAT, CII 8015 110 8th Street Troy, NY 12180 Phone: (518) 276-2275 [EMAIL PROTECTED] www.cat.rpi.edu -Original Message- From: Pat Maddox [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleaning Out Ports?
On Monday 31 January 2005 06:16 pm, Matt LaPlante wrote: > Well what I'm more concerned with is how would you locate orphaned > dependencies after the fact. For a parallel example, in gentoo you > would "emerge --depclean" which searches the tree for any orphaned > packages and removes them. So say I hadn't used the -r flag when > removing packages on BSD, how could I find the leftovers later? > Look at /usr/ports/sysutils/pkg_cutleaves here is a excerpt from its man page: "pkg_cutleaves finds installed 'leaf' packages, i.e. packages that are not referenced by any other installed package, and lets you decide for each one if you want to keep or deinstall it (via pkg_deinstall(1)). Once the packages marked for removal have been flushed/deinstalled, you'll be asked if you want to do another run (to see packages that have become 'leaves' now because you've deinstalled the package(s) that depended on them). In every run you will be shown only packages that you haven't marked for keeping, yet." > -- > Matt LaPlante > System Administrator > Center for Automation Technologies > RPI/CAT, CII 8015 > 110 8th Street > Troy, NY 12180 > Phone: (518) 276-2275 > [EMAIL PROTECTED] > www.cat.rpi.edu > > > -Original Message- > > From: Pat Maddox [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 31, 2005 8:55 PM > > To: Matt LaPlante > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Cleaning Out Ports? > > > > If you try to remove a package that has child dependencies, then > > it'll let you know. You'll have to use the -f flag to force it to > > delete the package, despite there being any dependencies. If you > > want to delete a package along with all its dependencies, you can > > use the -r flag. > > > > Use pkgdb -F to fix any dependencies that might be broken. > > > > I think that's about right. I'm a FreeBSD newbie :) > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounted ext2 fs causes bad shutdown
On Mon, 31 Jan 2005 03:04:32 -0800, Loren M. Lang <[EMAIL PROTECTED]> wrote: > On a FreeBSD 5.3 system of mine that is dual boot with linux I have my > linux home partition which is ext3fs mounted on freebsd. Anytime I > reboot or halt freebsd while it is mounted, freebsd fails to sync all > it's buffers. The first message Syncing disks, vnodes remaining, starts > out at around 5 or 10 and descreases to 0, then the message Syncing > disks, buffers remaining... starts at 7 and stays at 7 the whole time > untill freebsd gives up and reboots or halts anyways. Whenever I first > unmount the ext2fs, the vnodes remaining message comes up as usually, > but the buffers remains never does and freebsd just reboots normally. I > could modify the shutdown scripts to unmount the fs manually I suppose, > but I'd like to solve the real problem. > > P.S. I'd love to debug this myself, but I'm not very familiar with the > freebsd source code yet, and I'm not sure how to use a debugger on it > yet. Any pointers would be appreciated. Well, there is a PR on this (I don't remember which, but I found it via a google search for the same problem with ext2fs. For lack of a better solution at the time, I put a umount in rc.shutdown. -- If I write a signature, my emails will appear more personalised. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleaning Out Ports?
pkgdb -F will tell you of any packages that have broken dependencies, and allow you to fix them if you choose. On Mon, 31 Jan 2005 21:16:56 -0500, Matt LaPlante <[EMAIL PROTECTED]> wrote: > Well what I'm more concerned with is how would you locate orphaned > dependencies after the fact. For a parallel example, in gentoo you would > "emerge --depclean" which searches the tree for any orphaned packages and > removes them. So say I hadn't used the -r flag when removing packages on > BSD, how could I find the leftovers later? > > -- > Matt LaPlante > System Administrator > Center for Automation Technologies > RPI/CAT, CII 8015 > 110 8th Street > Troy, NY 12180 > Phone: (518) 276-2275 > [EMAIL PROTECTED] > www.cat.rpi.edu > > > -Original Message- > > From: Pat Maddox [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 31, 2005 8:55 PM > > To: Matt LaPlante > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Cleaning Out Ports? > > > > If you try to remove a package that has child dependencies, then it'll > > let you know. You'll have to use the -f flag to force it to delete > > the package, despite there being any dependencies. If you want to > > delete a package along with all its dependencies, you can use the -r > > flag. > > > > Use pkgdb -F to fix any dependencies that might be broken. > > > > I think that's about right. I'm a FreeBSD newbie :) > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cleaning Out Ports?
Well what I'm more concerned with is how would you locate orphaned dependencies after the fact. For a parallel example, in gentoo you would "emerge --depclean" which searches the tree for any orphaned packages and removes them. So say I hadn't used the -r flag when removing packages on BSD, how could I find the leftovers later? -- Matt LaPlante System Administrator Center for Automation Technologies RPI/CAT, CII 8015 110 8th Street Troy, NY 12180 Phone: (518) 276-2275 [EMAIL PROTECTED] www.cat.rpi.edu > -Original Message- > From: Pat Maddox [mailto:[EMAIL PROTECTED] > Sent: Monday, January 31, 2005 8:55 PM > To: Matt LaPlante > Cc: freebsd-questions@freebsd.org > Subject: Re: Cleaning Out Ports? > > If you try to remove a package that has child dependencies, then it'll > let you know. You'll have to use the -f flag to force it to delete > the package, despite there being any dependencies. If you want to > delete a package along with all its dependencies, you can use the -r > flag. > > Use pkgdb -F to fix any dependencies that might be broken. > > I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sound echo
That was it, thanks. On Monday 31 January 2005 10:13 am, Roland Smith wrote: > On Mon, Jan 31, 2005 at 02:11:38AM -0600, Justin L. Boss wrote: > > I'm running FreeBSD 5.3 using the via8233 sound driver. And on some of > > my games I get echo like sound. If you have had this problem and know > > how to fix it. I would be greatly appreciate it. > > While I haven't noticed echos, I did have lags and clicks with the same > driver, until I enlarged the soundcards DMA buffer size, by adding > > hint.pcm.0.buffersize="16384" > > to /boot/device.hints > > Roland ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: realplay-10
On Monday 31 January 2005 03:46 pm, Gary Kline wrote: > Folks, > > I never got any responses over the weekend; maybe people > who knew were of skiing or whatever. > > Does realplay-10 work on FBSD-4.10? I have it successfully > installed, almost push-button, on my two 5.3 platforms. > But here on "tao", no-joy. I get a strange error message > about fontconfig. No more. > > Anybody?? I have it working on 4.11-stable and 4.10 shouldn't be any different. I can't get it to click and play with Mozilla but it works just fine with Konqueror. When I get messages like that, I frequently do a portupgrade -fR of the port with the problem. Something is missing and a reverse upgrade seems to take care of it. Kent > > gary -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA UDMA ICRC ERROR
On Tue, 1 Feb 2005, Santo Natale wrote: check if yours new hd is connected through a 80 pin ide cable ( for UDMA speed >= 66 ). I had the same troble and it disappeared as soon as i replaced the cable. hope this will help, regards (retrying request) LBA=106009983 Jan 30 13:12:05 zoraida kernel: ad2: FAILURE - WRITE_DMA status=51 error=84 LBA=106009983 Jan 30 13:12:21 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=106009983 Thanks. Will check the cable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Do I need to make /var bigger?
Pat Maddox writes: > I just got a new dedicated server setup with FreeBSD, and noticed that > the /var partition is only 260MB. That seems like it could be a big > problem, considering all the logs will go in there, as well as mail. > What should I do about this? Do I need to do an OS reload and have a > bigger /var partition made up? I've got an 80 gig hard drive, so > space isn't really an issue. Doesn't make sense to me that I've got a > 77 gig /usr partition, and only 260MB allocated to /var. It depends - very much - on what you're using the machine for. Help us out here. For comparison, on the current machine which is half server half workstation: huff@> df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a484M337M109M76%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1d989M 69M841M 8%/var /dev/da1s1d 44G 31G9.2G77%/usr Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleaning Out Ports?
If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re[2]: remote login & default gateway problem
I changed this setting, also disabled reverse DNS lookup, since my DNS does not work, because of bad router (how to fix this?) On ssh I get "connection refused" however `netstat -an | grep 22` shows that smbd listens to port 22 and sshd process is running. ftp displayes prompt but then tells me that "User unknown" Thanks, Ilia --- Hexren <[EMAIL PROTECTED]> wrote: > The default seeting for Password Based > authentification changed in 5.3 > from yes to no. > Look in /etc/ssh/sshd_conf for the setting > "PasswordAuthentication" if > you try to look in using interactive (e.g. password) > then that seeting > needs to be "Yes". > That maybe the source of some of your remote login > troubles. > > Hexren > > IR> Just tested with a user who is not a member of > wheel > IR> group. > IR> Nothing works :( > IR> I cannot connect to the box neither by ssh, nor > by > IR> telnet, nor by ftp, nor scp. > > IR> How can I fix this connectivity problem and > router as > IR> well? > > IR> Thanks in advance! > IR> Ilia > IR> --- Subhro <[EMAIL PROTECTED]> wrote: > > >> Are you trying to log in as root or as a member > of > >> wheel via ftp or ssh? If > >> yes then don't do that. Alternatively check > >> hosts.deny in /etc. > >> > >> Regards, > >> S. > >> > >> Indian Institute of Information Technology > >> Subhro Sankha Kar > >> Block AQ-13/1, Sector V > >> Salt Lake City > >> PIN 700091 > >> India > >> > >> > -Original Message- > >> > From: [EMAIL PROTECTED] > >> [mailto:owner-freebsd- > >> > [EMAIL PROTECTED] On Behalf Of Ilia > Rassadzin > >> > Sent: Saturday, January 29, 2005 9:22 > >> > To: freebsd-questions@freebsd.org > >> > Subject: remote login & default gateway problem > >> > > >> > Hello list, > >> > > >> > I've recently installed FBSD 5.3-Release at my > >> amd64 > >> > laptop. > >> > I faced with the following problems: > >> > > >> > 1) ftpd works only locally. When I trying to > login > >> > from remote hosts, it asks for username > >> > and then displays "530 Unknown user" > >> > under the very same user name I can login > locally. > >> > 2)sshd works only locally and refuses remote > >> > connections > >> > 3) I cannot ping my default gateway obtained > >> through > >> > DHCP - it returns "Host is down" > >> > > >> > I guess that for the problem #3 I have to blame > a > >> > router misbehavior, but how can I fix #1 & #2? > >> > > >> > No firewalls installed. > >> > > >> > Any ideas? > >> > > >> > Thanks, > >> > Ilia > >> > > >> > PS > >> > I am not a list member, so could you please cc > me. > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > __ > >> > Do you Yahoo!? > >> > All your favorites on one personal page Try > My > >> Yahoo! > >> > http://my.yahoo.com > >> > ___ > >> > freebsd-questions@freebsd.org mailing list > >> > > >> > IR> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> > To unsubscribe, send any mail to > >> "freebsd-questions- > >> > [EMAIL PROTECTED]" > >> > > >> ATTACHMENT part 2 application/x-pkcs7-signature > IR> name=smime.p7s > > > > > > IR> __ > IR> Do you Yahoo!? > IR> The all-new My Yahoo! - Get yours free! > IR> http://my.yahoo.com > > > IR> ___ > IR> freebsd-questions@freebsd.org mailing list > IR> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > IR> To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > - > > __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA UDMA ICRC ERROR
check if yours new hd is connected through a 80 pin ide cable ( for UDMA speed >= 66 ). I had the same troble and it disappeared as soon as i replaced the cable. hope this will help, regards On Mon, Jan 31, 2005 at 08:18:33PM -0500, Francisco Reyes wrote: > A few days ago I started to get some errors which seemed like a HD was > about to fail. Changed the drive and put a brand new drive. Since changing > the drive I am getting even more errors. > > > Jan 30 12:52:24 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error > (retrying request) LBA=52551839 > Jan 30 13:08:36 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error > (retrying request) LBA=88194655 > Jan 30 13:12:01 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error > (retrying request) LBA=106009983 > Jan 30 13:12:01 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error > (retrying request) LBA=106009983 > Jan 30 13:12:01 zoraida kernel: ad2: FAILURE - WRITE_DMA > status=51 error=84 LBA=106009983 > Jan 30 13:12:04 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error > (retrying request) LBA=106009983 > Jan 30 13:12:04 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error > (retrying request) LBA=106009983 > Jan 30 13:12:05 zoraida kernel: ad2: FAILURE - WRITE_DMA > status=51 error=84 LBA=106009983 > Jan 30 13:12:21 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error > (retrying request) LBA=106009983 > Jan 30 13:12:21 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error > (retrying request) LBA=106009983 > Jan 30 13:12:22 zoraida kernel: ad2: FAILURE - WRITE_DMA > status=51 error=84 LBA=106009983 > > Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cleaning Out Ports?
I know the ports system is designed to install dependencies automatically, but how does one go about removing them? Say one large package installs several dependencies, but then later on that package is removed...and now we're left with several orphaned packages. Is there a way to either detect, or even automatically clean out orphaned packages? I'm particularly concerned because I'm dealing with a few systems which are rather well aged, and have gone through several upgrade cycles. I know the Linux version of the ports system found in Gentoo (portage) offers extensive functionality for finding and removing orphaned dependencies, so I'm hoping FreeBSD has some such feature as well. Thanks. - Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Proliant 5000
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: January 31, 2005 8:13 AM To: Brad Cc: freebsd-questions@freebsd.org Subject: Re: Proliant 5000 "Brad" <[EMAIL PROTECTED]> writes: > Hi, I have recently acquired a Proliant 800 and a Proliant 5000 > server. The 800 installed quite cleanly and is currently running > FreeBSD 5.3 The 800 is a dual processor machine. When I try to install > FreeBSD 5.3 on the 5000 (it's a quad processor machine ) it panic's > saying, > > panic: pmtimer_indentify > > Has anyone seen this > before. As near as I can tell it involves the power management of the > computer. Only there isn't any in the bios. Doing a verbose logging on > the system I noticed that it has just finished scanning the ISA bus > and found nothing. Then it panic's. I would appreciate any thoughts > that the community might have. Have you tried turning off ACPI in the install? Ok, when I boot the menu has default and then the second choice is to install with ACPI turned on... Tried that one and it progresses just a tad further. It reports: Orm0: at iomem 0xe8000-0xedfff,0xc8000-0xcbfff,0xc-0xc7fff on isa0 Pmtimer0 on isa0 Then the computer freezes at that point. What else could I tell you about this machine? 4 X 200MHz processors. 512Mb RAM Scsi hardware raid controller. 4 drives 2 x 9Gb and 2 X 4 Gb Safe mode just hung on the orm0: line. Starting to wonder if I have MB issues. The 4th menu item is to boot single user mode. This one hangs just as the default one does. Other interesting things I just noticed. Eisab0: at device 15.0 on pci0 Eisa0: on eisab0 Isa0: on eisab0 Pci0:> at device 20.0 (no driver attached) Guess I am back to requesting thoughts again. Thank you to the people that have responded so far. Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
WRITE_DMA UDMA ICRC ERROR
A few days ago I started to get some errors which seemed like a HD was about to fail. Changed the drive and put a brand new drive. Since changing the drive I am getting even more errors. Jan 30 12:52:24 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=52551839 Jan 30 13:08:36 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=88194655 Jan 30 13:12:01 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=106009983 Jan 30 13:12:01 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=106009983 Jan 30 13:12:01 zoraida kernel: ad2: FAILURE - WRITE_DMA status=51 error=84 LBA=106009983 Jan 30 13:12:04 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=106009983 Jan 30 13:12:04 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=106009983 Jan 30 13:12:05 zoraida kernel: ad2: FAILURE - WRITE_DMA status=51 error=84 LBA=106009983 Jan 30 13:12:21 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=106009983 Jan 30 13:12:21 zoraida kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=106009983 Jan 30 13:12:22 zoraida kernel: ad2: FAILURE - WRITE_DMA status=51 error=84 LBA=106009983 Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: spamassassin
> "pass out quick on rl0 proto tcp from any to any port = 2703 flags S > keep state" Yes, here I have: pass in log first quick proto tcp from x.x.x.x to any port = 2703 flags S keep state group 200 Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: remote login & default gateway problem
The default seeting for Password Based authentification changed in 5.3 from yes to no. Look in /etc/ssh/sshd_conf for the setting "PasswordAuthentication" if you try to look in using interactive (e.g. password) then that seeting needs to be "Yes". That maybe the source of some of your remote login troubles. Hexren IR> Just tested with a user who is not a member of wheel IR> group. IR> Nothing works :( IR> I cannot connect to the box neither by ssh, nor by IR> telnet, nor by ftp, nor scp. IR> How can I fix this connectivity problem and router as IR> well? IR> Thanks in advance! IR> Ilia IR> --- Subhro <[EMAIL PROTECTED]> wrote: >> Are you trying to log in as root or as a member of >> wheel via ftp or ssh? If >> yes then don't do that. Alternatively check >> hosts.deny in /etc. >> >> Regards, >> S. >> >> Indian Institute of Information Technology >> Subhro Sankha Kar >> Block AQ-13/1, Sector V >> Salt Lake City >> PIN 700091 >> India >> >> > -Original Message- >> > From: [EMAIL PROTECTED] >> [mailto:owner-freebsd- >> > [EMAIL PROTECTED] On Behalf Of Ilia Rassadzin >> > Sent: Saturday, January 29, 2005 9:22 >> > To: freebsd-questions@freebsd.org >> > Subject: remote login & default gateway problem >> > >> > Hello list, >> > >> > I've recently installed FBSD 5.3-Release at my >> amd64 >> > laptop. >> > I faced with the following problems: >> > >> > 1) ftpd works only locally. When I trying to login >> > from remote hosts, it asks for username >> > and then displays "530 Unknown user" >> > under the very same user name I can login locally. >> > 2)sshd works only locally and refuses remote >> > connections >> > 3) I cannot ping my default gateway obtained >> through >> > DHCP - it returns "Host is down" >> > >> > I guess that for the problem #3 I have to blame a >> > router misbehavior, but how can I fix #1 & #2? >> > >> > No firewalls installed. >> > >> > Any ideas? >> > >> > Thanks, >> > Ilia >> > >> > PS >> > I am not a list member, so could you please cc me. >> > >> > >> > >> > >> > >> > >> > >> > __ >> > Do you Yahoo!? >> > All your favorites on one personal page Try My >> Yahoo! >> > http://my.yahoo.com >> > ___ >> > freebsd-questions@freebsd.org mailing list >> > >> IR> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> "freebsd-questions- >> > [EMAIL PROTECTED]" >> >> ATTACHMENT part 2 application/x-pkcs7-signature IR> name=smime.p7s IR> __ IR> Do you Yahoo!? IR> The all-new My Yahoo! - Get yours free! IR> http://my.yahoo.com IR> ___ IR> freebsd-questions@freebsd.org mailing list IR> http://lists.freebsd.org/mailman/listinfo/freebsd-questions IR> To unsubscribe, send any mail to "[EMAIL PROTECTED]" - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Question
I'm not sure which address this should be directed to so I'm trying both. Sorry 'bout that... My system is all SCSI with two SCSI controllers and hard drives on both. I have an older version of freeBSD on a disk on one of the controllers and an unused disk on the other. What I want to do is to install a more recent version of freeBSD on the unused drive on the second controller, keeping the older version where it is. However, I'd also like to interchange the two controllers on the the m'board's expansion slots (i.e. swap PCI bus position). It occurs to me, however, that that will change the numbering of the drives and, so, make /etc/fstab on the original system incorrect. Is that correct? If so, what is the best way to accomplish what I've described above? What other "gotchas" must I consider? Kindest regards, Charlie -- Charlie Sorsby [EMAIL PROTECTED] P. O. Box 1225 Edgewood, NM 87015 USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: remote login & default gateway problem
Just tested with a user who is not a member of wheel group. Nothing works :( I cannot connect to the box neither by ssh, nor by telnet, nor by ftp, nor scp. How can I fix this connectivity problem and router as well? Thanks in advance! Ilia --- Subhro <[EMAIL PROTECTED]> wrote: > Are you trying to log in as root or as a member of > wheel via ftp or ssh? If > yes then don't do that. Alternatively check > hosts.deny in /etc. > > Regards, > S. > > Indian Institute of Information Technology > Subhro Sankha Kar > Block AQ-13/1, Sector V > Salt Lake City > PIN 700091 > India > > > -Original Message- > > From: [EMAIL PROTECTED] > [mailto:owner-freebsd- > > [EMAIL PROTECTED] On Behalf Of Ilia Rassadzin > > Sent: Saturday, January 29, 2005 9:22 > > To: freebsd-questions@freebsd.org > > Subject: remote login & default gateway problem > > > > Hello list, > > > > I've recently installed FBSD 5.3-Release at my > amd64 > > laptop. > > I faced with the following problems: > > > > 1) ftpd works only locally. When I trying to login > > from remote hosts, it asks for username > > and then displays "530 Unknown user" > > under the very same user name I can login locally. > > 2)sshd works only locally and refuses remote > > connections > > 3) I cannot ping my default gateway obtained > through > > DHCP - it returns "Host is down" > > > > I guess that for the problem #3 I have to blame a > > router misbehavior, but how can I fix #1 & #2? > > > > No firewalls installed. > > > > Any ideas? > > > > Thanks, > > Ilia > > > > PS > > I am not a list member, so could you please cc me. > > > > > > > > > > > > > > > > __ > > Do you Yahoo!? > > All your favorites on one personal page Try My > Yahoo! > > http://my.yahoo.com > > ___ > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions- > > [EMAIL PROTECTED]" > > ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Do I need to make /var bigger?
Actually, it turns out it was just a mistake on the DC's part. I submitted a ticket for an OS reload, saying I needed bigger partitions, because the layout they installed it with didn't make any sense. Got an email back in two minutes saying they messed up, and that they'd install it with real partitions right away, free of charge. Apparently they just used the defaults when they installed it. Despite the fact that the initial install was messed up, I really like how they're handling it. Lovin my host so far. On Mon, 31 Jan 2005 18:24:25 -0500 (EST), Jerry McAllister <[EMAIL PROTECTED]> wrote: > > > > I just got a new dedicated server setup with FreeBSD, and noticed that > > the /var partition is only 260MB. That seems like it could be a big > > problem, considering all the logs will go in there, as well as mail. > > What should I do about this? Do I need to do an OS reload and have a > > bigger /var partition made up? I've got an 80 gig hard drive, so > > space isn't really an issue. Doesn't make sense to me that I've got a > > 77 gig /usr partition, and only 260MB allocated to /var. > > Probably it would be best. > > Another or additional thing to do is to have a large 'rest of the disk' > partition where you move such things as /var/log and /var/spool and > other things that grow in a less than planned pattern and make links > to them. > > I think someone needs to rethink the default sizes that FreeBSD > install makes the / (root), /tmp, /usr and /var partitions. > The world has moved on. On the other hand, I have never taken > the default sizes from the first install I tried, so... > > jerry > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: removing phpMyAdmin
On Monday 31 January 2005 04:00 pm, Curtis Vaughan wrote: > Well, I wanted to remove phpMyAdmin from my 5.3 server. Usually I > would just go to the port location under /usr/ports/ and type make > deinstall. However, phpMyAdmin apparently isn't here anymore. I don't > even know exactly where it should be be but judging by freebsd's > website, it should be under /usr/ports/www/ but it's not. In fact a > locate and find for phpMyAdmin turns up nothing in the /usr/ports/ > directory, except under /usr/ports/distfiles which is, of course, not > what I need. > > Has phpMyAdmin been removed or has an update of ports gone astray? > > Curtis > Look at the bottom of /usr/ports/MOVED. To remove a port after it's directory has disappeared just ls /var/db/pkg, look for a directory with the name of the port you want to remove then run: pkg_delete -f /var/db/pkg/{portNameToBeRemoved} -Mike > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PHP Installed (Was: No Subject)
Hello, Do pkg_version -v You should get an output telling you what is installed on your system. Like this.. php4-mysql-4.3.10_2 which tells you that mysql is installed. Afaik you have to instal mysql support into apache manually. I say afaik as it was a long time since I installed mysql and php onto my machine. Go to: /usr/ports/databases/php4-mysql do a make install and all should be well. Alternativly look at /usr/ports/lang/php4-extensions/ Bit of a bad answer but the best I can do this late at night. Cheers Richard On Mon, 31 Jan 2005 13:58:46 -0500 Ken Hawkins <[EMAIL PROTECTED]> wrote: > I have installed pear5-php which installed php and mod_php for apache13. > > however when calling mysql_pconnect within a php page i get: > > [Mon Jan 31 10:40:21 2005] [error] PHP Fatal error: Call to undefined > function: mysql_pconnect() in /.../phpPollUI6.php on line 77 > > I have a couple of questions. > > how can I verify that mysql support (possibly ? php-mysql ?) is > installed? > > what steps do I need to take to ensure that this gets installed as part > of my installation of apache13, php, mod_php, phpmyadmin, and phpbb? > > thanks in advance! > ken; > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Richard Collyer <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
save-entropy problem...
Hi, whenever the shell script save-entropy runs (through a cron job and on the command line) It gives me the error message: This: not found Also on my newly upgraded system 5.3-stable, sysinstall cannot get the package directory because it claims that the directory does not exist through the FreeBSD ftp servers or mirrors... Is there a setting buried somewhere in sysinstall to change the directory it looks for? Thanks, Josh __ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 4.x, vinum and vrlock ...
What exactly does this mean? /proc/43414/status:rsync 43414 42774 23799 14838 5,1 ctty 1107214940,71735 3,779921 33,791868 vrlock 0 0 0,0,0,2,3,4,5,20,31 - /proc/43479/status:postgres 43479 144 144 144 -1,-1 noflags 1107214989,263828 0,0 1,63591 vrlock 70 70 70,70,70 - /proc/7/status:bufdaemon 7 0 0 0 -1,-1 noflags 1107140099,155 0,0 61,876619 vrlock 0 0 0,0 - /proc/9/status:syncer 9 0 0 0 -1,-1 noflags 1107140099,192 0,0 259,373334 vrlock 0 0 0,0 - I seem to get it a fair amount when I'm starting up a jail, where the 'umount' in the start scripts just hangs there seemingly indefinitely ... I'm running 4.10-STABLE #1: Fri Oct 22 15:06:55 ADT 2004 on that machine right now, just rebuilt the vinum file system ... doing a search through the system source code, the only reference to vrlock is in: # grep -r vrlock . ./dev/vinum/vinumlock.c:tsleep(lock, PRIBIO, "vrlock", 0); Even after several minutes, that postgres one still has the vrlock: /proc/43479/status:postgres 43479 144 144 144 -1,-1 noflags 1107214989,263828 0,0 1,665602 vrlock 70 70 70,70,70 - /proc/44486/status:ctl_cyrusdb 44486 91122 91122 91122 -1,-1 noflags 1107215933,997483 0,44974 0,84574 vrlock 60 60 60,60,60 nsnet.org /proc/7/status:bufdaemon 7 0 0 0 -1,-1 noflags 1107140099,155 0,0 62,801120 vrlock 0 0 0,0 - /proc/9/status:syncer 9 0 0 0 -1,-1 noflags 1107140099,192 0,0 259,994279 vrlock 0 0 0,0 - the funny thing is that if vrlock *is* related to vinum, why is postgres in that state, since postgres on this server isn't running on the vinum drive ... --- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
removing phpMyAdmin
Well, I wanted to remove phpMyAdmin from my 5.3 server. Usually I would just go to the port location under /usr/ports/ and type make deinstall. However, phpMyAdmin apparently isn't here anymore. I don't even know exactly where it should be be but judging by freebsd's website, it should be under /usr/ports/www/ but it's not. In fact a locate and find for phpMyAdmin turns up nothing in the /usr/ports/ directory, except under /usr/ports/distfiles which is, of course, not what I need. Has phpMyAdmin been removed or has an update of ports gone astray? Curtis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Maximum code size and heep
On Jan 31, 2005, at 6:41 PM, Ed Alley wrote: Is there a system limit on the size of the heep, or something that disallows running with more than 500MB total size? even though I have 2GB RAM. Indeed so. Please consider the output of the limit command, and the maxdsize parameter to the kernel's config file. (This is becoming a FAQ, as the same question was discussed only a few days ago. See the list archives for more detail.) -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
realplay-10
Folks, I never got any responses over the weekend; maybe people who knew were of skiing or whatever. Does realplay-10 work on FBSD-4.10? I have it successfully installed, almost push-button, on my two 5.3 platforms. But here on "tao", no-joy. I get a strange error message about fontconfig. No more. Anybody?? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftp behind firewall/nat
Hi, My setup work wells with Active ftp but not with passive ftp. Your setup doestnt work with passive ftp. From ipfilter faq: # I have an FTP server behind an IPF firewall, and I'm having problems serving passive FTP. The IPF How-To gives a good explanation of this. The client will try to connect to the server's internal IP address because that's the way passive FTP works: the server tells the client its IP address in the payload and the client connects to it. The solution is to explicitly tell your FTP server what to report as its IP address, and give it a range of ports to give out as well. You will then need to redirect traffic from those ports on your IPF box to the FTP server. Each FTP server is different, and you'll need to read the manual for your specific software, but to give an example, you can specificy this information in WU-FTPd's configuration file as follows: passive ports 0.0.0.0/0 32768 49151 passive address your.pub.IP.addr 0.0.0.0/0 At the time of writing, it's been reported that Microsoft IIS's FTP server is not capable of being configured this way. However, most Unix FTP servers should have an option for this somewhere. --- so, my problem exactly this: the client try to connect to 10.1.1.6 and not my external IP address. guess what? Im using IIS ftp server (I cant use anything else), so does there is a way to resolve this problem on doing something on the routeur (ipnat)? Thanks Eric From: Erik Norgaard <[EMAIL PROTECTED]> To: Andras Kende <[EMAIL PROTECTED]> CC: 'eric wyzerski' <[EMAIL PROTECTED]>,freebsd-questions@freebsd.org Subject: Re: Ftp behind firewall/nat Date: Tue, 01 Feb 2005 00:07:15 +0100 Andras Kende wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric wyzerski Sent: Monday, January 31, 2005 2:11 PM To: freebsd-questions@freebsd.org Subject: Ftp behind firewall/nat Hi, For a whole day I tried to make an ftp who is behind the firewall to work but Im not able. My ipf rules are: pass in quick from any to any pass out quick from any to any So it is not a ipf problem. My ipnat rules are: map rl0 10.0.0.0/8 -> 0/32 rdr rl0 X.X.X.X/32 port 21 -> 10.1.1.6 port 21 tcp where X.X.X.X is my external IP, rl0 my external interface and 10.1.1.6 the ftp server. I am able to login and when I do the dir command its freeze. I have do tcpdump and I see the SYN packet goes but its never get answer. I really need help/advise First, ipnat is _first match_ unlike ipfilter which is _last match_, so in the above, you last rule would never apply. Your problem is well covered in the ipf-howto, do this: map rl0 10.0.0.0/8 -> 0/32 proxy port ftp ftp/tcp map rl0 10.0.0.0/8 -> 0/32 portmap tcp/udp auto map rl0 10.0.0.0/8 -> 0/32 This gives you ftp not just for one client but for all of them. Read the ipf-howto for more, read why you shouldn't try to reverse these rules if you are trying to setup an ftp-server! Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 _ Take charge with a pop-up guard built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Maximum code size and heep
I am running i386 FreeBSD-4.9. My hardware has 2GB of memory and 3GB swap. However, I have noticed that I cannot make a running code larger than about 500MB. If the code grows from the heep by mallocs larger than this I get coredumps. The coredumps are no larger than about 500MB. Is there a system limit on the size of the heep, or something that disallows running with more than 500MB total size? even though I have 2GB RAM. Ed Alley [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Do I need to make /var bigger?
> > I just got a new dedicated server setup with FreeBSD, and noticed that > the /var partition is only 260MB. That seems like it could be a big > problem, considering all the logs will go in there, as well as mail. > What should I do about this? Do I need to do an OS reload and have a > bigger /var partition made up? I've got an 80 gig hard drive, so > space isn't really an issue. Doesn't make sense to me that I've got a > 77 gig /usr partition, and only 260MB allocated to /var. Probably it would be best. Another or additional thing to do is to have a large 'rest of the disk' partition where you move such things as /var/log and /var/spool and other things that grow in a less than planned pattern and make links to them. I think someone needs to rethink the default sizes that FreeBSD install makes the / (root), /tmp, /usr and /var partitions. The world has moved on. On the other hand, I have never taken the default sizes from the first install I tried, so... jerry > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Compiling/installing ports via NFS - any gotcha's? (while building linux_base-8-8.0_6, "/usr/bin/build-locale-archive: cannot lock new archive: Operation not supported")
I don't have enough storage on my laptop for the entire ports tree (surprise, surprise), so I'm trying to "make install" acroread and jdk14 via NFS mounts from a bigger server. I'm down to trying to get the specific version of linux_base that it wants(and I already have the linux kld loaded and linprocfs mounted). I have rpc.statd and rpc.lockd running on both systems. It keeps erroring out with the message in my Subject line: ===> Patching for linux_base-8-8.0_6 ===> linux_base-8-8.0_6 depends on executable: rpm - found ===> Configuring for linux_base-8-8.0_6 ===> Installing for linux_base-8-8.0_6 kern.fallback_elf_brand: 3 -> 3 redhat-release-8.0-8.noarch.rpm glibc-common-2.3.2-4.80.8.i386.rpm /usr/sbin/build-locale-archive: cannot lock new archive: Operation not supported execution of glibc-common-2.3.2-4.80.8 script failed, exit status 1 *** Error code 1 Stop in /usr/ports/emulators/linux_base-8. Any clues for me? -- John Lind [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Do I need to make /var bigger?
I just got a new dedicated server setup with FreeBSD, and noticed that the /var partition is only 260MB. That seems like it could be a big problem, considering all the logs will go in there, as well as mail. What should I do about this? Do I need to do an OS reload and have a bigger /var partition made up? I've got an 80 gig hard drive, so space isn't really an issue. Doesn't make sense to me that I've got a 77 gig /usr partition, and only 260MB allocated to /var. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Proliant 5000
[Format recovered--see http://www.lemis.com/email/email-format.html] Gratuitous line breaks removed. On Sunday, 30 January 2005 at 19:36:32 -0600, Brad wrote: > Hi, I have recently acquired a Proliant 800 and a Proliant 5000 > server. The 800 installed quite cleanly and is currently running > FreeBSD 5.3 The 800 is a dual processor machine. When I try to > install FreeBSD 5.3 on the 5000 (it's a quad processor machine ) it > panic's saying, > > panic: pmtimer_indentify > > Has anyone seen this before. No. I've installed on a ProLiant 850 (dual processor) and 6500 (quad processor) with spectacular lack of problems. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgphRqRhZlpQF.pgp Description: PGP signature
Re: Ftp behind firewall/nat
Andras Kende wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric wyzerski Sent: Monday, January 31, 2005 2:11 PM To: freebsd-questions@freebsd.org Subject: Ftp behind firewall/nat Hi, For a whole day I tried to make an ftp who is behind the firewall to work but Im not able. My ipf rules are: pass in quick from any to any pass out quick from any to any So it is not a ipf problem. My ipnat rules are: map rl0 10.0.0.0/8 -> 0/32 rdr rl0 X.X.X.X/32 port 21 -> 10.1.1.6 port 21 tcp where X.X.X.X is my external IP, rl0 my external interface and 10.1.1.6 the ftp server. I am able to login and when I do the dir command its freeze. I have do tcpdump and I see the SYN packet goes but its never get answer. I really need help/advise First, ipnat is _first match_ unlike ipfilter which is _last match_, so in the above, you last rule would never apply. Your problem is well covered in the ipf-howto, do this: map rl0 10.0.0.0/8 -> 0/32 proxy port ftp ftp/tcp map rl0 10.0.0.0/8 -> 0/32 portmap tcp/udp auto map rl0 10.0.0.0/8 -> 0/32 This gives you ftp not just for one client but for all of them. Read the ipf-howto for more, read why you shouldn't try to reverse these rules if you are trying to setup an ftp-server! Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I do a COLD Reboot on FreeBSD?
According to Bart Silverstrim: > Warm boots basically just cycle the computer to restart the OS. It's > just restarting it, and power to the components has been maintained the > whole time so as far as the computer hardware is concerned nothing > really happened, just a chunk of memory access and the processor mode > getting kicked around a bit. It's been a long time, but it seems to me the byte at absolute address 0x412 (labelled MFG_TST in the old ibm bios listing) determines whether the bios does a full POST or not. If that value is nulled out before the reboot, I think it will do a full POST. Rich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: apache+SSL, which port?
> -Original Message- > From: Andrew L. Gould [mailto:[EMAIL PROTECTED] > Sent: Monday, January 31, 2005 1:07 PM > To: freebsd-questions@freebsd.org > Cc: Mark Ovens > Subject: Re: apache+SSL, which port? > > > On Monday 31 January 2005 12:39 pm, Mark Ovens wrote: > > Charles Swiger wrote: > > > On Jan 31, 2005, at 1:22 PM, albi wrote: > > >> Mark Ovens wrote: > > >>> I want to install apache with SSL but there are two ports, > > >>> www/apache13-modssl and www/apache13-ssl > > >>> What is the difference, and which is the best to install? > > >> > > >> i think the apache13-ssl has SSL build in, the other > uses a module > > >> for SSL > > > > > > Apache-1.3 does not have SSL built-in. The port www/apache13-ssl > > > is using "Ben Laurie's SSL", whereas mod_ssl is by Ralf > > > Engelschall. See: > > > > > > http://www.apache-ssl.org/#Credits > > > http://www.modssl.org/ > > > > > >>> It is just for use on my home LAN but I want to run squirrelmail > > >>> to access my mail from remote machines. > > >> > > >> there's also apache2 which, afaik, builds with SSL by default > > > > > > Yes, apache2 has support for SSL built-in, and will enable SSL if > > > the system it is built on has it available (which is true for all > > > recent FreeBSD versions). > > > > So apache2 is the way to go then? > > > > Mark > > > > Not necessarily. I've heard lots of complaints about PHP and Apache2 > not "playing nice". (Does anyone have any updates on this situation?) > > If you plan on using PHP, you may want to stick with Apache 1.3. I use Apache2 with PHP and SSL without problems. Have been for a very long time. We probably run 15 or so sites that fall under this. CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftp behind firewall/nat
Hi, Thanks for the hint but it does'nt work :/. However, now im using passive ftp and the problem is that when I try to login with the client and do the "dir" command, when the ftp server send his IP, it send 10.1.1.6 and the client try to connect to 10.1.1.6! How can I change this Ip for the ip of me routeur via ipnat command? Thanks! Eric From: "Thomas Foster" <[EMAIL PROTECTED]> To: "eric wyzerski" <[EMAIL PROTECTED]>, Subject: Re: Ftp behind firewall/nat Date: Mon, 31 Jan 2005 14:24:15 -0800 You also might want to pass and redirect tcp port 20 (ftp data).. this seems to work very well for me.. also.. what FTP client are you using? You might want to use PASV FTP options T - Original Message - From: "eric wyzerski" <[EMAIL PROTECTED]> To: Sent: Monday, January 31, 2005 12:11 PM Subject: Ftp behind firewall/nat Hi, For a whole day I tried to make an ftp who is behind the firewall to work but Im not able. My ipf rules are: pass in quick from any to any pass out quick from any to any So it is not a ipf problem. My ipnat rules are: map rl0 10.0.0.0/8 -> 0/32 rdr rl0 X.X.X.X/32 port 21 -> 10.1.1.6 port 21 tcp where X.X.X.X is my external IP, rl0 my external interface and 10.1.1.6 the ftp server. I am able to login and when I do the dir command its freeze. I have do tcpdump and I see the SYN packet goes but its never get answer. I really need help/advise Thank you and please CC me the answer because im not in the list Eric _ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _ Powerful Parental Controls Let your child discover the best the Internet has to offer. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NOT_IMPLEMENTED F(831):712
Ever since upgrading fbsd-4.10p5 to 4.11R I get these errors in wmware's win98.log file I cannot shut down the program nor suspend it anymore. Is it something that has changed in 4.11R? Jan 31 23:27:15: ide0:0|Checking for ambiguous errors. Jan 31 23:27:15: ide0:0| Jan 31 23:27:15: ide0:0|NOT_IMPLEMENTED F(831):712 Jan 31 23:27:15: ide0:0|AIO: ide0:0, Process 754 panic. Jan 31 23:27:15: ide0:0|AIOSlave: Exit after panic. Jan 31 23:27:15: VMX|AIO: NOT_IMPLEMENTED F(831):712 Jan 31 23:27:15: VMX|Panic loop Jan 31 23:27:15: MKS|MKS IPC closed the connection with thread VMX (0x080e9884) Jan 31 23:27:15: MKS|MKS: Thread VMX exited unexpectedly. Jan 31 23:27:15: UI|UI IPC closed the connection with thread MKS (0x081ff74c) Jan 31 23:27:15: UI|UI: Thread MKS exited unexpectedly. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Load Balanceing Recommendations
On Jan 31, 2005, at 5:11 PM, Nick Pavlica wrote: All, I have been searching for a load balancing tool/method for managing the traffic going to my web servers(http(s)). I have found a number of tools/methods out there, but haven't found any that stand out as the "Common Solution" to this task on FreeBSD (I may be overlooking the obvious :)). I'm currently testing on FreeBSD 4.11 and 5.3 on x86. - What method/tool do you use or recommend based on your production experience? I've used two methods that have worked well. One is to use a FreeBSD or OpenBSD as a router and use PF to do the load balancing. The downside with this method is that it doesn't sense when a server is down and remove it from the pool of servers. I also haven't done weighted load balancing with this method so I can't evaluate it. The second method I've used is using a Foundry switch with a load balancer built in to it. This is nice when 1) you don't want to use a FreeBSD or OpenBSD system as a router and 2) you want it to do health checks to remove a down system from the pool automatically. It works really well, the downside being the cost. -- Michael Conlen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftp behind firewall/nat
You also might want to pass and redirect tcp port 20 (ftp data).. this seems to work very well for me.. also.. what FTP client are you using? You might want to use PASV FTP options T - Original Message - From: "eric wyzerski" <[EMAIL PROTECTED]> To: Sent: Monday, January 31, 2005 12:11 PM Subject: Ftp behind firewall/nat Hi, For a whole day I tried to make an ftp who is behind the firewall to work but Im not able. My ipf rules are: pass in quick from any to any pass out quick from any to any So it is not a ipf problem. My ipnat rules are: map rl0 10.0.0.0/8 -> 0/32 rdr rl0 X.X.X.X/32 port 21 -> 10.1.1.6 port 21 tcp where X.X.X.X is my external IP, rl0 my external interface and 10.1.1.6 the ftp server. I am able to login and when I do the dir command its freeze. I have do tcpdump and I see the SYN packet goes but its never get answer. I really need help/advise Thank you and please CC me the answer because im not in the list Eric _ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .html problems
> > where is the (httpd.conf) file? > it is not in /etc No ports config files should go directly in to /etc. You could have a really hard to read and manage mess then. the httpd.conf file will be wherever you told the apache install to put it. A likely place would be /usr/local/etc/apache/which seems to be the current thinking on how to install ports/third party software. I think the ports install now puts it there by default. But I have machines with it in /usr/local/web/conf as well. They are from an earlier era. Note that there may be a couple of other .conf files srm.conf and access.conf in particular. Those are vestigial and all of their function has been rolled in to httpd.conf so don't put anything in them, just the httpd.conf file. jerry > > > On Mon, 2005-01-31 at 15:45 -0500, Jerry McAllister wrote: > > > > > > we can transfer files to a freebsd server from XP. > > > > > > Everythime we try to upload index.html it goes from 850kb to 828kb > > > > > > and it always displays the same text index directory??? > > > > > > is that o the XP side or free bsd side... > > > > They probably treat trailing whitespace on lines differently. > > That could account for some difference. Also, if you used ftp to > > transfer the file in ASCII mode, then it would have chopped off a CR > > character from each line because UNIX uses just LF to terminate a line > > whereas MessyDOS uses CR-LF to terminate a line. > > > > Try looking at the file with a text editor such as vi. > > First of all, did it get put in the correct directory for your > > configuration? > > If it looks like html, eg starts with and ends with > > or other recognizable stuff, then it probably got transferred OK. > > > > The next thing to check is is the ownership and permissions are OK. > > The file should be readable by the web server (Apache probably) > > > > Finally, you should look at the name of the file and what is configured > > in the web server (httpd.conf).Mostly, Apache's httpd.conf starts > > out configured to recognize .html names files, but not .htm > > or other variations including .HTML or .HTM which you often > > get when moving a file from MustyDOS.Remember that UNIX is case > > sensitive. > > > > If the case or .html vs .htm is the problem you can either just > > rename the file on the FreeBSD system to a lower case only name > > or go in to the httpd.conf file and add those variations to it. > > I think I remember it is the > >DirectoryIndex index.html index.htm index.HTML etc etc etc > > directive that does it. > > > > Those are the first things I would check. After that, well, I don't know. > > > > > > > > I see the new file on the BSD server, but the same crappy index of/ page > > > keeps coming up... > > > > That will happen when it doesn't see a readable file with one > > of the acceptable names in the DirectoryIndex directive. > > > > You can turn off indexing and then you would see an error message instead > > of the directory listing. To do that remove the work "Indexes" from > > the Options directive that applies to your directory where the > > web page lives. Looks something like: > > > > > > Options Indexes FollowSymLinks MultiViews > > AllowOverride All > > Order allow,deny > > Allow from all > > > > > > jerry > > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vmnet1 vmneet2 etc
On Monday 31 January 2005 22:25:22, dick hoogendijk wrote: > I lost all mail in transferring my system to another harddisk. > > I had the answer stored somewhere. Now it's gone. ;-( > I want to run three virtual vmware machines on one host. It was > something with different vmnet and the option custom, but I can't figure > out how exactly.. Any link or info? For vmware3 take a look into /usr/local/share/doc/vmware/MultipleInstaces.FreeBSD. In the virtual machines interface config dialog select type "Custom" and allocate your interfaces (/dev/vmnet1, /dev/vmnet2, etc.) to your vmware instances. Some config and routing issues were discussed in the emulation list: http://lists.freebsd.org/pipermail/freebsd-emulation/2004-July/thread.html#482 Cheers, ch -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu pgpQScR7FwTiY.pgp Description: PGP signature
Re: de-installing kde & Xfree86 from 5.2.1
On Jan 31 at 21:35, Dick Davies launched this into the bitstream: > * bsd @ todoo. biz <[EMAIL PROTECTED]> [0129 21:29]: >> Hello, >> >> I am looking for a fast and secure way to remove all kde* things from >> my system. >> >> We are using this machine as a headless server and do not need this >> "kind of things at all". > > then why did you install them ? :) It's quite possible that the machine was retasked to another role. Or, equally possibly, the OP inherited this machine if he moved into another position/new job. Alternatively another admin could have installed the kde stuff. I've seen this stuff happen many times before. Hell I've been bitten by it myself. If you didn't do it yourself it's an unenviable position to be in. Running FreeBSD here (yet again) clearly has advantages. Let's just hope - for the OP's sake that this stuff *was* originally installed from ports since, as you rightly pointed out, it's not a daunting proposition to remove uneeded apps. Regards, -Colin -- Colin J. Raven FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One Mon Jan 31 23:11:00 CET 2005 11:11PM up 11 days, 12:01, 9 users, load averages: 0.00, 0.00, 0.00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Load Balanceing Recommendations
All, I have been searching for a load balancing tool/method for managing the traffic going to my web servers(http(s)). I have found a number of tools/methods out there, but haven't found any that stand out as the "Common Solution" to this task on FreeBSD (I may be overlooking the obvious :)). I'm currently testing on FreeBSD 4.11 and 5.3 on x86. - What method/tool do you use or recommend based on your production experience? Thanks for the feedback. --Nick Pavlica ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Ftp behind firewall/nat
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric wyzerski Sent: Monday, January 31, 2005 2:11 PM To: freebsd-questions@freebsd.org Subject: Ftp behind firewall/nat Hi, For a whole day I tried to make an ftp who is behind the firewall to work but Im not able. My ipf rules are: pass in quick from any to any pass out quick from any to any So it is not a ipf problem. My ipnat rules are: map rl0 10.0.0.0/8 -> 0/32 rdr rl0 X.X.X.X/32 port 21 -> 10.1.1.6 port 21 tcp where X.X.X.X is my external IP, rl0 my external interface and 10.1.1.6 the ftp server. I am able to login and when I do the dir command its freeze. I have do tcpdump and I see the SYN packet goes but its never get answer. I really need help/advise Thank you and please CC me the answer because im not in the list Eric _ Take advantage of powerful junk e-mail filters built on patented MicrosoftR SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt p://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSNR Premium right now and get the first two months FREE*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Hello, This setup is only working with active ftp connections.. It's freezing at dir command because it's trying to do a passive connection You would need to setup the ftp server for serve passive connections and ipnat to redirect in a range of ports something like: PassivePortRange 5000 5010- ftpd config rdr rl0 X.X.X.X/32 port 5000 -> 10.1.1.6 port 5000 tcp rdr rl0 X.X.X.X/32 port 5001 -> 10.1.1.6 port 5001 tcp rdr rl0 X.X.X.X/32 port 500x -> 10.1.1.6 port 500x tcp Or use only active ftp connections.. Andras Kende http://www.kende.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: de-installing kde & Xfree86 from 5.2.1
* bsd @ todoo. biz <[EMAIL PROTECTED]> [0129 21:29]: > Hello, > > I am looking for a fast and secure way to remove all kde* things from > my system. > > We are using this machine as a headless server and do not need this > "kind of things at all". then why did you install them ? :) > This is bothering me when I update de port tree and do my cvsup things. > > ON THE OTHER HAND we absolutely need the deinstall not to compromise > our server !! ssh. pkg_delete will check before deinstalling stuff. pkg_delete `pkg_info |grep -i kde | awk '{print $1}'` > Libraries used by other program must not be touched by the deinstall > process as this is a quite busy mail server. Don't see how mail is going to need kde. -- 'Everybody I know who is right always agrees with ME.' -- Rev Lady Mal Rasputin :: Jack of All Trades - Master of Nuns ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
de-installing kde & Xfree86 from 5.2.1
Hello, I am looking for a fast and secure way to remove all kde* things from my system. We are using this machine as a headless server and do not need this "kind of things at all". This is bothering me when I update de port tree and do my cvsup things. ON THE OTHER HAND we absolutely need the deinstall not to compromise our server !! Libraries used by other program must not be touched by the deinstall process as this is a quite busy mail server. I was thinking about going into each directory in /usr/ports/... and making a "make deinstall" Any other clue will be welcome ! __ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯ Grégory Bernard 11, rue de la Tour Directeur 75116 Paris France www.ToDoo.biz __ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯ PGP ID --> 0x1BA3C2FD "All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use hammer." -- IBM maintenance manual, 1975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vmnet1 vmneet2 etc
I lost all mail in transferring my system to another harddisk. I had the answer stored somewhere. Now it's gone. ;-( I want to run three virtual vmware machines on one host. It was something with different vmnet and the option custom, but I can't figure out how exactly.. Any link or info? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: How do I do a COLD Reboot on FreeBSD?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Silverstrim Sent: Monday, January 31, 2005 3:30 PM To: Billy Newsom Cc: freebsd-questions@freebsd.org Subject: Re: How do I do a COLD Reboot on FreeBSD? On Jan 31, 2005, at 1:53 PM, Billy Newsom wrote: > Jerry McAllister wrote: >> Well, I guess I completely do not understand what you are asking. >>> From anything I can get from what you write here, its behavior is >> normal and expected. What is the problem and what are you trying to >> fix or to get it to do? >> A cold boot - which is what you ask about in your original post - is >> a boot all the way up from a powered off machine as far as I know. >> So, all I did was explain how to get what you asked for in the post. > > No, I said a cold reboot. That's the term for a reboot which runs the > entire POST, counts memory, etc. The screen looks identical to a cold > start or cold boot. We all know what the warm reboot means -- that's > when many parts of the POST are skipped. Windows uses a cold reboot, > for example, when you click "Restart" on the Shutdown menu. FreeBSD > does a warm reboot using the reboot command. The warm reboot may save > thirty to sixty seconds over the cold reboot. A warm reboot typically > skips the memory check and does a cursory check of hard drive > parameters, etc. to save time. > > If you use a PC DOCTOR disk and tell it to reboot, it will do a cold > reboot. When you flash your BIOS from DOS, it will usually do a cold > reboot when it exits. When you save changes and reboot from the BIOS > setup screen, it will do a cold reboot. Many other examples are > possible. > > What I tried to explain is that this PC crashes on the subsequent boot > if a warm reboot is performed by FreeBSD. But if I could perform a > cold reboot every time, this would solve the issue. A cold reboot is > not the act of "shutting the power off and turning it back on." That > is called a power cycle and it is obviously manual. A cold reboot is > done by a special software command. > >I was always told a cold reboot comes from powering down the system; minimal power to the logic board and wiping any and all traces >possible (short of unplugging it) of random crap in the capacitors and memory. >Literally cold boot because usually it happened after powering it down and it would cool off until the user came back to work on their >computer for awhile. > >Warm boots basically just cycle the computer to restart the OS. It's just restarting it, and power to the components has been >maintained the whole time so as far as the computer hardware is concerned nothing really happened, just a chunk of memory access and the >processor mode getting kicked around a bit. > >___ >freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "[EMAIL PROTECTED]" Okay, you're all mostly correct. For more info, see this page: http://ironbark.bendigo.latrobe.edu.au/subjects/int11ct/2004/L17/lecture.htm l Now, as for how to get FreeBSD to set this area in memory (:0472h) set with the something other than 1234h, I'd imagine a simple assembler job could do it. Seems right up assemblers alley. It's been a while since I've done anything outside of C, but I'll see what I can whip up. - Niy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What is "popt" and why is it giving me grief in "ports"?
On Monday 31 January 2005 12:41 pm, John wrote: > I'm trying to install acroread and jdk14 on my system, and I keep > running into problems. > > I first tried it with ports up-to-date as of about a week ago, and > then I stopped with a dependency of devel/popt on gettext0.13, and > gettext0.12 was the latest and greatest in the ports tree. > > I ran cvsup Saturday, hoping that I just grabbed stuff in the middle > of a non-atomic commit or something, and tried again. Now it is > is complaining that /usr/local/bin/libtool15 isn't present. > > Is this something I should report to someone? Is this just another > transient error? How can I move forward to build acroread and jdk > for my 5.3-STABLE system? > > Here is the "make" "backtrace": > > Returning to build of rpm-3.0.6_9 > ===> rpm-3.0.6_9 depends on file: /usr/local/bin/autoconf213 - not > found ===>Verifying install for /usr/local/bin/autoconf213 in > /usr/ports/devel/autoconf213 ===> Returning to build of rpm-3.0.6_9 > ===> rpm-3.0.6_9 depends on file: /usr/local/bin/libtool13 - found > ===> rpm-3.0.6_9 depends on shared library: popt.0 - not found > ===>Verifying install for popt.0 in /usr/ports/devel/popt > ===> Building for popt-1.7 > make all-recursive > Making all in po > source='popt.c' object='popt.lo' libtool=yes > depfile='.deps/popt.Plo' tmpdepfile='.deps/popt.TPlo' depmode=gcc3 > /bin/sh ./depcomp /bin/sh /usr/local/bin/libtool15 --mode=compile cc > -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O -pipe > -c -o popt.lo `test -f 'popt.c' || echo './'`popt.c > /usr/local/bin/libtool15: Can't open /usr/local/bin/libtool15: No > such file or directory *** Error code 2 > > Stop in /usr/ports/devel/popt/work/popt-1.7. > *** Error code 1 > > Stop in /usr/ports/devel/popt/work/popt-1.7. > *** Error code 1 > > Stop in /usr/ports/devel/popt/work/popt-1.7. > *** Error code 1 > > Stop in /usr/ports/devel/popt. > *** Error code 1 > > Stop in /usr/ports/archivers/rpm. > *** Error code 1 > > Stop in /usr/ports/emulators/linux_base-8. > *** Error code 1 > > Stop in /usr/ports/java/linux-sun-jdk14. > *** Error code 1 > > Stop in /usr/ports/java/jdk14. > > Where do I go from here? You almost have to install linux_base-8 and linux-sun-jdk14 manually. There are manual steps that you have to do before they install is finished. Once you have linux-sun installed, you can install jdk14 and not worry about linux-sun. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB-compatible ISO's for 4.1[01]-RELEASE?
Hi, Does anyone know if there are 4.1x ISO's that will install on a system that only has a USB (no PS/2) keyboard? Thanks, Rich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .html problems
> > we can transfer files to a freebsd server from XP. > > Everythime we try to upload index.html it goes from 850kb to 828kb > > and it always displays the same text index directory??? > > is that o the XP side or free bsd side... They probably treat trailing whitespace on lines differently. That could account for some difference. Also, if you used ftp to transfer the file in ASCII mode, then it would have chopped off a CR character from each line because UNIX uses just LF to terminate a line whereas MessyDOS uses CR-LF to terminate a line. Try looking at the file with a text editor such as vi. First of all, did it get put in the correct directory for your configuration? If it looks like html, eg starts with and ends with or other recognizable stuff, then it probably got transferred OK. The next thing to check is is the ownership and permissions are OK. The file should be readable by the web server (Apache probably) Finally, you should look at the name of the file and what is configured in the web server (httpd.conf).Mostly, Apache's httpd.conf starts out configured to recognize .html names files, but not .htm or other variations including .HTML or .HTM which you often get when moving a file from MustyDOS.Remember that UNIX is case sensitive. If the case or .html vs .htm is the problem you can either just rename the file on the FreeBSD system to a lower case only name or go in to the httpd.conf file and add those variations to it. I think I remember it is the DirectoryIndex index.html index.htm index.HTML etc etc etc directive that does it. Those are the first things I would check. After that, well, I don't know. > > I see the new file on the BSD server, but the same crappy index of/ page > keeps coming up... That will happen when it doesn't see a readable file with one of the acceptable names in the DirectoryIndex directive. You can turn off indexing and then you would see an error message instead of the directory listing. To do that remove the work "Indexes" from the Options directive that applies to your directory where the web page lives. Looks something like: Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
What is "popt" and why is it giving me grief in "ports"?
I'm trying to install acroread and jdk14 on my system, and I keep running into problems. I first tried it with ports up-to-date as of about a week ago, and then I stopped with a dependency of devel/popt on gettext0.13, and gettext0.12 was the latest and greatest in the ports tree. I ran cvsup Saturday, hoping that I just grabbed stuff in the middle of a non-atomic commit or something, and tried again. Now it is is complaining that /usr/local/bin/libtool15 isn't present. Is this something I should report to someone? Is this just another transient error? How can I move forward to build acroread and jdk for my 5.3-STABLE system? Here is the "make" "backtrace": Returning to build of rpm-3.0.6_9 ===> rpm-3.0.6_9 depends on file: /usr/local/bin/autoconf213 - not found ===>Verifying install for /usr/local/bin/autoconf213 in /usr/ports/devel/autoconf213 ===> Returning to build of rpm-3.0.6_9 ===> rpm-3.0.6_9 depends on file: /usr/local/bin/libtool13 - found ===> rpm-3.0.6_9 depends on shared library: popt.0 - not found ===>Verifying install for popt.0 in /usr/ports/devel/popt ===> Building for popt-1.7 make all-recursive Making all in po source='popt.c' object='popt.lo' libtool=yes depfile='.deps/popt.Plo' tmpdepfile='.deps/popt.TPlo' depmode=gcc3 /bin/sh ./depcomp /bin/sh /usr/local/bin/libtool15 --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O -pipe -c -o popt.lo `test -f 'popt.c' || echo './'`popt.c /usr/local/bin/libtool15: Can't open /usr/local/bin/libtool15: No such file or directory *** Error code 2 Stop in /usr/ports/devel/popt/work/popt-1.7. *** Error code 1 Stop in /usr/ports/devel/popt/work/popt-1.7. *** Error code 1 Stop in /usr/ports/devel/popt/work/popt-1.7. *** Error code 1 Stop in /usr/ports/devel/popt. *** Error code 1 Stop in /usr/ports/archivers/rpm. *** Error code 1 Stop in /usr/ports/emulators/linux_base-8. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk14. Where do I go from here? -- John Lind [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I do a COLD Reboot on FreeBSD?
On Jan 31, 2005, at 1:53 PM, Billy Newsom wrote: Jerry McAllister wrote: Well, I guess I completely do not understand what you are asking. From anything I can get from what you write here, its behavior is normal and expected. What is the problem and what are you trying to fix or to get it to do? A cold boot - which is what you ask about in your original post - is a boot all the way up from a powered off machine as far as I know. So, all I did was explain how to get what you asked for in the post. No, I said a cold reboot. That's the term for a reboot which runs the entire POST, counts memory, etc. The screen looks identical to a cold start or cold boot. We all know what the warm reboot means -- that's when many parts of the POST are skipped. Windows uses a cold reboot, for example, when you click "Restart" on the Shutdown menu. FreeBSD does a warm reboot using the reboot command. The warm reboot may save thirty to sixty seconds over the cold reboot. A warm reboot typically skips the memory check and does a cursory check of hard drive parameters, etc. to save time. If you use a PC DOCTOR disk and tell it to reboot, it will do a cold reboot. When you flash your BIOS from DOS, it will usually do a cold reboot when it exits. When you save changes and reboot from the BIOS setup screen, it will do a cold reboot. Many other examples are possible. What I tried to explain is that this PC crashes on the subsequent boot if a warm reboot is performed by FreeBSD. But if I could perform a cold reboot every time, this would solve the issue. A cold reboot is not the act of "shutting the power off and turning it back on." That is called a power cycle and it is obviously manual. A cold reboot is done by a special software command. I was always told a cold reboot comes from powering down the system; minimal power to the logic board and wiping any and all traces possible (short of unplugging it) of random crap in the capacitors and memory. Literally cold boot because usually it happened after powering it down and it would cool off until the user came back to work on their computer for awhile. Warm boots basically just cycle the computer to restart the OS. It's just restarting it, and power to the components has been maintained the whole time so as far as the computer hardware is concerned nothing really happened, just a chunk of memory access and the processor mode getting kicked around a bit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache+SSL, which port?
Andrew L. Gould wrote: Not necessarily. I've heard lots of complaints about PHP and Apache2 not "playing nice". (Does anyone have any updates on this situation?) I've been running apache2 with squirrelmail for a while. The biggest problems were performance issues. Squirrelmail was very slow pulling mail from the disk. Not sure that apache13 would help there. --Tim Erlin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vnc server install fails on Xorg code
Hi all! I wonder if anyone wants to weigh in on this one. I am trying to get a skeleton X up on a headless 5.3 box. To this end I installed tinywm (/usr/ports/x11-wm/tinywm) then went on to install vnc server, and the build failed - rather spectacularly- as follows: [screenfuls of stuff, then...] NARROWPROTO-DMITSHM -DXFT -DXFREE86_FT2 -DXRENDER -c do_traps.c do_traps.c:113: error: syntax error before '*' token do_traps.c:113: warning: type defaults to `int' in declaration of `traps' do_traps.c:113: error: ISO C forbids data definition with no type or storage class do_traps.c: In function `InitFixedTraps': do_traps.c:129: error: `XTrap' undeclared (first use in this function) do_traps.c:129: error: (Each undeclared identifier is reported only once do_traps.c:129: error: for each function it appears in.) do_traps.c:129: error: `curTrap' undeclared (first use in this function) do_traps.c:130: warning: ISO C90 forbids mixed declarations and code do_traps.c:144: error: syntax error before ')' token do_traps.c:207: warning: value computed is not used do_traps.c: In function `DoFixedTraps': do_traps.c:248: warning: implicit declaration of function `XRenderAddTraps' *** Error code 1 Stop in /usr/ports/x11/xorg-clients/work/xc/programs/x11perf. *** Error code 1 Stop in /usr/ports/x11/xorg-clients/work/xc/programs. *** Error code 1 Stop in /usr/ports/x11/xorg-clients. *** Error code 1 Stop in /usr/ports/net/vnc. Any ideas how I can workaround this? Regards to all, -Colin -- Colin J. Raven FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One Mon Jan 31 21:20:00 CET 2005 9:20PM up 11 days, 10:10, 9 users, load averages: 0.00, 0.00, 0.03 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
spamassassin
Hello, Never knew that spamassassin made connections to razor servers from cloudmark.com After installing ipf my logs overflew with blocked packages to machine.cloudmark.com. At first I didn't know what they were, found out it had something to do with spamblocking and after that I knew SpamAssassin had something to do with it. OK, right, then is't fine. But I still have a question: is is enough to have an outgoing rule like: "pass out quick on rl0 proto tcp from any to any port = 2703 flags S keep state" for SpamAssassin / Razor to function properly? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ftp behind firewall/nat
Hi, For a whole day I tried to make an ftp who is behind the firewall to work but Im not able. My ipf rules are: pass in quick from any to any pass out quick from any to any So it is not a ipf problem. My ipnat rules are: map rl0 10.0.0.0/8 -> 0/32 rdr rl0 X.X.X.X/32 port 21 -> 10.1.1.6 port 21 tcp where X.X.X.X is my external IP, rl0 my external interface and 10.1.1.6 the ftp server. I am able to login and when I do the dir command its freeze. I have do tcpdump and I see the SYN packet goes but its never get answer. I really need help/advise Thank you and please CC me the answer because im not in the list Eric _ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re:php install with mysql confirmation?
sorry didn't put a subject in there and I'm sure it would get lost ken; On Jan 31, 2005, at 1:58 PM, Ken Hawkins wrote: I have installed pear5-php which installed php and mod_php for apache13. however when calling mysql_pconnect within a php page i get: [Mon Jan 31 10:40:21 2005] [error] PHP Fatal error: Call to undefined function: mysql_pconnect() in /.../phpPollUI6.php on line 77 I have a couple of questions. how can I verify that mysql support (possibly ? php-mysql ?) is installed? what steps do I need to take to ensure that this gets installed as part of my installation of apache13, php, mod_php, phpmyadmin, and phpbb? thanks in advance! ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I do a COLD Reboot on FreeBSD?
Xian wrote: On Monday 31 January 2005 18:53, Billy Newsom wrote: When you flash your BIOS from DOS, it will usually do a cold reboot when it exits. Does the dos reboot command work? If it does, I'm sure I could dig up a copy of it from one of my disks. I don't know if it is possible to hack the code out that actually does the reboot No, because "reboot" is basically the same as shutdown -r now. I've done both to no avail. Technically, the shutdown command calls either the reboot or halt commands. Billy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ISDN connection problems
Ted Mittelstaedt wrote: > If it doesen't then your probably going to need to try another ISDN > card. > > By the way, have you by chance priced out ISDN routers lately? For > example: > > http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&category=73321&item=5746457 > 512&rd=1&ssPageName=WDVW > > Cisco 1603's are going for under $20USD. The 1603 is the Euro version > of Cisco's ISDN router and understands the Euro ISDN switches (in > contrast to the 1604 which doesen't have an ST interface and only > understands American ISDN switches) > > At the ISP I work at we still do a lot of dialup ISDN because we are > the only ISP left in town that will guarentee multilinking. During > the last year I've pretty much told all customers that we are only > supporting the Cisco 1604 anymore, simply because the things are so > darn cheap now that it's less of an annoyance factor to me to deal > with more than one kind of router. (Despite the fact that I've > configured more than a dozen different brands of ISDN routers during > the heyday of ISDN) I wanted to avoid buying another box, so I installed a dusty linux distribution with a 2.2 kernel. As far as I can I see after this weekend, the ISDN connection stays up for several hours. In the end, it works. :) Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: running interactive program from shell script
On Sunday 30 January 2005 11:23 pm, Jay Moore wrote: > As for what I'm trying to do: > I have a requirement to administer a number of remotely located embedded > devices; these devices do not support ssh - only telnet. To avoid the > obvious security issues, I am going to co-locate a "real" computer at each > remote location. I will ssh into the "real" computer, and then telnet over > a local network to the embedded device(s). I realize there are many ways of > accomplishing this, but I'm kind of hung up on doing it "my way" :) > > > > #! /bin/sh > > > > > > (sleep 3; > > > echo "password"; > > > sleep 3; > > > echo "ls -la"; > > > sleep 3; > > > ) | telnet -l user 192.168.0.2 > > I think all you need is to enclose it with a forever for loop. I can't remember the syntax right now, but you can probably read man sh and figure it out. If you can't, let us know and I'll work it out... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .html problems
On Monday 31 January 2005 18:50, kip winston wrote: > we can transfer files to a freebsd server from XP. > > Everythime we try to upload index.html it goes from 850kb to 828kb > > and it always displays the same text index directory??? > > is that o the XP side or free bsd side... > > I see the new file on the BSD server, but the same crappy index of/ page > keeps coming up... I'm not quite sure what you are asking here but anyway... I found that uploading in ASCII mode can change the line endings from DOS to UNIX and similar. This may be where your missing bytes are coming from. As for 'index of /' page, sometimes it will only accept index.htm not index.html. This can be changed in the config file for Apache though. Hope I'm answering the right question. -- /Xian "Whoever undertakes to set himself up as a judge of Truth and Knowledge is shipwrecked by the laughter of the gods." Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Darwin on FreeBSD
Hi Rib, What exactly do you mean by Darwin? Darwin is an operating system like FreeBSD... I think you mean the Darwin Streaming Server. Here's a URL that might help you: http://www.cs.rochester.edu/~charman/DSS_FreeBSD/ Arno On 30 jan 2005, at 20:34, Technical Director wrote: Hello everyone, I have successfully installed Darwin on freebsd using the ports tree, thank you [EMAIL PROTECTED] My question is in regards of the whole operation, has anyone successfully got this application to operate behind a natd firewall running only through port 80? I believe I followed the installation and setup but have the following if I try to connect through a natd/firewalled port 80: Connection via browser with quicktime plugin brings up the quicktime control (using the tags as described in the manual) and a "Connecting" message. Then after a bit it outputs a "10060: Disconnected" message. Yet when I connect via a browser not through the natd/firewall port 80 it works. Checking sockstat -c on the darwin server shows an active connection on the 554 port from the quicktime client machine... From what I understood of the admin document: Ports used to communicate with client: 554, 7070 TCP -or- 80 TCP Ports used to send media through: 6970-6999 UDP, -or- 80 TCP Ports server will stream through: 554 RTSP 7070 TCP -or- 80 TCP I did use the MakeRefMovie (Win32 & Apple Only) application to create a 'reference' movie to the server. It still doesn't work. Has anyone had success making Darwin use port 80 'only' for streaming media out to the world from machines behind natd/firewall situations? Or is the only option to open up 554 or 7070? Thank you in advance for any and all help. Rob. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache+SSL, which port?
On Monday 31 January 2005 12:39 pm, Mark Ovens wrote: > Charles Swiger wrote: > > On Jan 31, 2005, at 1:22 PM, albi wrote: > >> Mark Ovens wrote: > >>> I want to install apache with SSL but there are two ports, > >>> www/apache13-modssl and www/apache13-ssl > >>> What is the difference, and which is the best to install? > >> > >> i think the apache13-ssl has SSL build in, the other uses a module > >> for SSL > > > > Apache-1.3 does not have SSL built-in. The port www/apache13-ssl > > is using "Ben Laurie's SSL", whereas mod_ssl is by Ralf > > Engelschall. See: > > > > http://www.apache-ssl.org/#Credits > > http://www.modssl.org/ > > > >>> It is just for use on my home LAN but I want to run squirrelmail > >>> to access my mail from remote machines. > >> > >> there's also apache2 which, afaik, builds with SSL by default > > > > Yes, apache2 has support for SSL built-in, and will enable SSL if > > the system it is built on has it available (which is true for all > > recent FreeBSD versions). > > So apache2 is the way to go then? > > Mark > Not necessarily. I've heard lots of complaints about PHP and Apache2 not "playing nice". (Does anyone have any updates on this situation?) If you plan on using PHP, you may want to stick with Apache 1.3. Best of luck, Andrew Gould ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I do a COLD Reboot on FreeBSD?
On Monday 31 January 2005 18:53, Billy Newsom wrote: > When you flash your BIOS from DOS, it will usually do a cold reboot > when it exits. Does the dos reboot command work? If it does, I'm sure I could dig up a copy of it from one of my disks. I don't know if it is possible to hack the code out that actually does the reboot -- /Xian "Artificial Intelligence is no match for Natural Stupidity" unknown author ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[no subject]
I have installed pear5-php which installed php and mod_php for apache13. however when calling mysql_pconnect within a php page i get: [Mon Jan 31 10:40:21 2005] [error] PHP Fatal error: Call to undefined function: mysql_pconnect() in /.../phpPollUI6.php on line 77 I have a couple of questions. how can I verify that mysql support (possibly ? php-mysql ?) is installed? what steps do I need to take to ensure that this gets installed as part of my installation of apache13, php, mod_php, phpmyadmin, and phpbb? thanks in advance! ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I do a COLD Reboot on FreeBSD?
Jerry McAllister wrote: Well, I guess I completely do not understand what you are asking. From anything I can get from what you write here, its behavior is normal and expected. What is the problem and what are you trying to fix or to get it to do? A cold boot - which is what you ask about in your original post - is a boot all the way up from a powered off machine as far as I know. So, all I did was explain how to get what you asked for in the post. No, I said a cold reboot. That's the term for a reboot which runs the entire POST, counts memory, etc. The screen looks identical to a cold start or cold boot. We all know what the warm reboot means -- that's when many parts of the POST are skipped. Windows uses a cold reboot, for example, when you click "Restart" on the Shutdown menu. FreeBSD does a warm reboot using the reboot command. The warm reboot may save thirty to sixty seconds over the cold reboot. A warm reboot typically skips the memory check and does a cursory check of hard drive parameters, etc. to save time. If you use a PC DOCTOR disk and tell it to reboot, it will do a cold reboot. When you flash your BIOS from DOS, it will usually do a cold reboot when it exits. When you save changes and reboot from the BIOS setup screen, it will do a cold reboot. Many other examples are possible. What I tried to explain is that this PC crashes on the subsequent boot if a warm reboot is performed by FreeBSD. But if I could perform a cold reboot every time, this would solve the issue. A cold reboot is not the act of "shutting the power off and turning it back on." That is called a power cycle and it is obviously manual. A cold reboot is done by a special software command. Another small guess - are you looking for 'shutdown -r now' by any chance? No, it fails. If you want something else, you will need to explain that. Who knows if anyone will know what to do about that - at least not until you reveal what it is. The revelation is at hand. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
.html problems
we can transfer files to a freebsd server from XP. Everythime we try to upload index.html it goes from 850kb to 828kb and it always displays the same text index directory??? is that o the XP side or free bsd side... I see the new file on the BSD server, but the same crappy index of/ page keeps coming up... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache+SSL, which port?
Charles Swiger wrote: On Jan 31, 2005, at 1:22 PM, albi wrote: Mark Ovens wrote: I want to install apache with SSL but there are two ports, www/apache13-modssl and www/apache13-ssl What is the difference, and which is the best to install? i think the apache13-ssl has SSL build in, the other uses a module for SSL Apache-1.3 does not have SSL built-in. The port www/apache13-ssl is using "Ben Laurie's SSL", whereas mod_ssl is by Ralf Engelschall. See: http://www.apache-ssl.org/#Credits http://www.modssl.org/ It is just for use on my home LAN but I want to run squirrelmail to access my mail from remote machines. there's also apache2 which, afaik, builds with SSL by default Yes, apache2 has support for SSL built-in, and will enable SSL if the system it is built on has it available (which is true for all recent FreeBSD versions). So apache2 is the way to go then? Mark --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0505-0, 31/01/2005 Tested on: 31/01/2005 18:39:35 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache+SSL, which port?
On Jan 31, 2005, at 1:22 PM, albi wrote: Mark Ovens wrote: I want to install apache with SSL but there are two ports, www/apache13-modssl and www/apache13-ssl What is the difference, and which is the best to install? i think the apache13-ssl has SSL build in, the other uses a module for SSL Apache-1.3 does not have SSL built-in. The port www/apache13-ssl is using "Ben Laurie's SSL", whereas mod_ssl is by Ralf Engelschall. See: http://www.apache-ssl.org/#Credits http://www.modssl.org/ It is just for use on my home LAN but I want to run squirrelmail to access my mail from remote machines. there's also apache2 which, afaik, builds with SSL by default Yes, apache2 has support for SSL built-in, and will enable SSL if the system it is built on has it available (which is true for all recent FreeBSD versions). -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MySQL update from 4.1 to 4.7
From: Phillip Hocking <[EMAIL PROTECTED]> Subject: MySQL update from 4.1 to 4.7 To: [EMAIL PROTECTED] Now it will not allow me to login to the database with any of the usernames that I remember here is the error in the log 2:58:29 [Warning] Found 4.1 style password for user '[EMAIL PROTECTED]'. Ignoring user. You should change password for this user. How do I flush the tables to resolve this issue and change all the passwords around? Any help would be much appreciated. I don't know the answer, but I know where to find it, since I encountered that same problem. When mysql starts up, it logs a message in the log file for that server to the effect that the password table needs to be updated, and includes the command to do just this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache+SSL, which port?
Mark Ovens wrote: I want to install apache with SSL but there are two ports, www/apache13-modssl and www/apache13-ssl What is the difference, and which is the best to install? i think the apache13-ssl has SSL build in, the other uses a module for SSL It is just for use on my home LAN but I want to run squirrelmail to access my mail from remote machines. there's also apache2 which, afaik, builds with SSL by default ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
apache+SSL, which port?
I want to install apache with SSL but there are two ports, www/apache13-modssl and www/apache13-ssl What is the difference, and which is the best to install? It is just for use on my home LAN but I want to run squirrelmail to access my mail from remote machines. TIA Regards, Mark --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0505-0, 31/01/2005 Tested on: 31/01/2005 18:14:43 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel Question
On 2005-01-31 09:17, Sean Murphy <[EMAIL PROTECTED]> wrote: > The FreeBSD kernel is monolithic correct? Yes. At least, sort of. > Does it support or does it use kernel loadable modules and if so why? Yes. Because by not having everything loaded at the same time, a lot of memory can be saved. Memory which can be used to do more useful stuff. PS: You could have found hundreds of thousands of references for FreeBSD kernel modules on Google (almost 800,000 hits), without posting here. Use the network, please :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel Question
Sean Murphy wrote: The FreeBSD kernel is monolithic correct? Hmm, how 'bout "modern monolithic module-loading kernel"? Does it support or does it use kernel loadable modules and if so why? The general reason would be to support extension of the kernel's capabilities at runtime, while keeping the amount of code running in kernelspace as low as possible Kevin Kinsey, No kernel expert, but eats corn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mysql port question
Hi, I am planning to install mysql on a FreeBSD 5 system but I am confused a little bit. I had some problem while I had installed mysql on FreeBSD4. I know there were problems on FreeBSD 4 (in fact thread implementation of FreeBSD) with mysql. On FreeBSD mysql40-server port I have seen an option like: WITH_PROC_SCOPE_PTH I want to use kernel threading with system scope. As far as I understand for that I have to enable system scoped threading sysctl knob and compile mysql without WITH_PROC_SCOPE_PTH=1 to take advantage of FreeBSD 5 threading model . Am I right? Best Regards. --- Omer Faruk Sen http://www.EnderUNIX.ORG Software Development Team @ Turkey http://www.Faruk.NET For Public key: http://www.enderunix.org/ofsen/ofsen.asc First Turkish FreeBSD book is out! Go check it. Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti. http://www.acikkod.com/freebsd.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting FreeBSD-5.3 from NTLDR
Joe Kraft wrote: Rakhesh Sasidharan wrote: I'm doing it with Win2k, I haven't tried it yet with XP though. And I'll preface this, with I'm doing this from memory because I can't find the web page they originally came from. Shame on me for taking a stab at this one without confirming what I was saying, and confusing the whole problem with one *little* character. :-) When you've got FBSD running, save a copy of /boot/boot0 somewhere you will be able to get to it from Windows. This should have said boot1, for all the reasons mentioned in the rest of the thread and in the handbook. Sorry, Joe. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"