[freebsd-questions] ndis setup
Hey folks. I'm setting up FreeBSD 6.0-RELEASE and I'm having a little trouble getting my wireless NIC recognized. The card is a Linksys WMP64G and I'm trying to set things up to run with the FreeBSD NDISulator as described in the FreeBSD handbook (http://www.freebsd.org/doc/handbook/network-wireless.html). Here's what I'm doing (as root): 1) Verifying with 'pciconf -lv' that the PCI card is there. Also, I know the card works, it was running fine on Windows. 2) Building ndis itself: cd /usr/src/sys/modules/ndis make clean make make install 3) Building the if_ndis module: cd /usr/src/sys/modules/if_ndis cp /path_to_drivers_on_cd/Rt61.INF . cp /path_to_drivers_on_cd/rt61.sys . ndiscvt -i Rt61.INF -s rt61.sys -o ndis_driver_data.h make make install 4) Loading the ndis and if_ndis modules: kldload ndis I verify at this point using kldstat that both ndis and if_ndis are in fact loaded. I see nothing in dmesg or in my console during the kldload. Also, it doesn't appear that the driver found the card, there's no signs of life. I've tried using ndisgen, and have had the same results (with much less typing). In either case, I get nothing in dmesg and no usable enabled NIC. I'm sure I'm doing something wrong, let me know if you see it. thanks in advance. Hernan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2006-03-19 - 2006-04-08
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: BEWARE upgrading Horde System
As much as I agree with your sentiments, the issue that is at question is the replacement of existing config files with default ones ... at least in my instance, had those config files *not* been replaced, 'make install' (to upgrade an existing, configured installation), would have left me with a system that would have still worked as originally configured ... Horde is/was designed to make upgrading it fairly simple, as it *explicitly* does not overwrite any config files, because it doesn't install any ... it installs .dist files, and the admin then has to move those into place ... All the port needs to do beyond what it is doing ... and, quite frankly, it requires only one change to do so ... is to not do the: mv config file config file.previous The weird thing is that looking at the Makefile, I can't see where its doing the move to previous in the first place .. and, in fact, the following code should prevent it overwriting my existing config file: .for FILE in ${CONFFILE} @if [ ! -f ${CONFDIR}/${FILE} ]; then \ ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ fi .endfor Wow, okay ... Makefile says don't overwrite existing config file, while files/pkg-install.in is the one that forces the issue: Personally, the following patch would make doing an install safe: diff -c files/pkg-install.in.orig files/pkg-install.in *** files/pkg-install.in.orig Sun Apr 9 07:56:56 2006 --- files/pkg-install.inSun Apr 9 07:57:24 2006 *** *** 101,117 chown -R $hordeusr:$hordegrp $hordedir || exit 1 fi - if [ -z ${PACKAGE_BUILDING} ]; then - # Don't reset the config to default (PR ports/88621) - - for cf in `ls %%HORDEDIR%%/config/*php`; do - if [ -f $cf.previous ]; then - mv $cf $cf.new - echo --- $cf not installed *** - echo --- please copy from $cf.previous *** - echo ---or from $cf.new *** - fi - done - fi ;; esac --- 101,105 If its an initial install, the Makefile copies in the initial config files as it is ... if its an upgrade, Makefile is smart enough to note overwrite existing files ... pkg-install.in shouldn't either ... That is the *only* complaint that I have with the Horde ports ... On Sat, 8 Apr 2006, Ted Mittelstaedt wrote: Horde is too complex and too configurable a program to easily fit in the FreeBSD Ports tree. All you can do is what I think has been done - which is set the port up to do 90% of the heavy lifting, and depend on the person doing the installation to finish off the configuration. I think the horde port met this goal just fine. It may not be politically correct to say this, but being able to install and get Horde and IMP and the modules running either with or without the assistance of the ports directories, is the mark of a real system administrator. It is, I think, a given that this port can never meet what I feel is an unrealistic goal of being able to do a make install, go away and come back and have full-blown Horde/IMP server up and running, ready to use. There's plenty of simpler programs that the amateurs can do that with and have fine results. I would point out that even the FreeBSD Release process doesn't meet this goal. For all the vaunted hype about being able to type make release and build the entire installation CD images, it is really a bunch of bullshit. make release is just the last command in a very long process of getting the environment setup, and figuring out what options your going to set and what they do. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of dick hoogendijk Sent: Saturday, April 08, 2006 1:19 AM To: fbsdq Subject: Re: BEWARE upgrading Horde System On Sat, 8 Apr 2006 09:53:05 +0200 Thierry Thomas [EMAIL PROTECTED] wrote: Le Ven 7 avr 06 ? 16:18:31 +0200, Jeremy Chadwick [EMAIL PROTECTED] ?crivait?: On Fri, Apr 07, 2006 at 10:40:01AM +0100, Spadge wrote: Why not overwrite the .dist and leave the .conf as it was? OK, so it may Many ports work this way (re: keeping the .conf). The port maintainer should address this, as many others have done. OK, I must admit that I don't know how to handle properly installation / configuration / deinstallation / reinstallation of the Horde's ports. Since the very first version of these ports, I have tried several solutions and accepted many patches, but I have never found a widespread agreement. Maintainership is now available. It won't be me (sadly enough I lack the experience and/or knowledge) I *DO* hope however that the horde port will be supported in the future. Personally I *never* had any trouble upgrading horde. I *DID* have to read the documentation though! It is always needed with horde. But, hey, given good docs, that's not too
Re: cdrecord on Thinkpad T43
1) add or enable (uncommenting) the following lines to your kernel: device atapicam # isn't enable in the default kernel #SCSI Controllers device cd (cdrecord needs a SCSI cd emulation) 2) recompile the kernel It works on my thinkpad R51. Ciao Vittorio Alle 19:22, sabato 08 aprile 2006, Erin Sharmahd ha scritto: I've been having some problems getting cdrecord to work on my thinkpad. http://www.mathematik.uni-marburg.de/~schmidtm/ibm/index.php says: To burn CDs with cdrecord don't forget to enable atapicam during kernel configuration. In his kernel config, he used this with device atapicd, so I ran: [amon-re /root] cat /sys/i386/conf/GENERIC | grep atapicd device atapicd # ATAPI CDROM drives In the past (on Linux), I had always used 'cdrecord dev=/dev/cdrom', so I initially tried 'cdrecord dev=/dev/acd0', but I learned from 'cdrecord dev=help' that apparently open via UNIX device is not supported. SCSI Bus scanning is supposed to be supported, but when I run 'cdrecord -scanbus', it gives: [amon-re /root] cdrecord -scanbus Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg Schilling cdrecord: Error 0. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. (it would be nice if cdrecord -scanbus didn't tell me to run it again... but that's a different issue) Here is some (hopefully) relevant information about my system: [amon-re /root] uname -a FreeBSD amon-re 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Sat Feb 11 21:55:30 MST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 [amon-re /root] sysctl -a | grep -i cd kern.cam.cd.changer.min_busy_seconds: 5 kern.cam.cd.changer.max_busy_seconds: 15 allocdirect 4 1K -79793 128 acd_driver 1 2K -1 2048 cdev31 4K - 31 128 debug.sizeof.cdev: 184 debug.sizeof.cdev_priv: 216 dev.acpi_ec.0.%desc: Embedded Controller: GPE 0x1c, ECDT dev.cbb.0.%location: slot=0 function=0 handle=\_SB_.PCI0.PCI1.CDBS dev.acd.0.%desc: MATSHITADVD-RAM UJ-822S/1.61 dev.acd.0.%driver: acd dev.acd.0.%parent: ata1 [amon-re /root] dmesg | grep -i cd acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on acpi0 acd0: DVDR MATSHITADVD-RAM UJ-822S/1.61 at ata1-master UDMA33 I'd appreciate any help that anyone can provide. I'm somewhat stumped, and I'm not seeing much on google regarding this problem. Thanks! ~Erin -- http://www.tuxgirl.com ___ 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: BEWARE upgrading Horde System
I know what your getting at but I would suggest that doing an in-place upgrade of a production server is immensely stupid - no offense intended. What we do with our production servers is once they are built they go into a golden can and are not touched. In the event a security notice comes out that is not very simple to patch, or when the software on the server is getting a bit long in the tooth, we build a complete new server, new software, new applications, then when we are positive it's solid, in the dead of night we swap IP addresses between new and old servers and quickly move the user data from the old to the new server. This of course requires that we fully understand what all areas of the server are used for storing transient user-data, this requires a through understanding of how the app works, as well as careful note-taking when the server is built. We have to do this anyway in order to have a good backup/restore strategy. I have never understood the demand for being able to do an inplace upgrade of applications or of the operating system, and I've seen enormous trouble with servers that people do this with, under Windows as well as FreeBSD. Furthermore, by the time the software on the server is old, the hardware is ready to be retired in favor of shiny new hardware that is a lot faster. This is also very true of Windows servers too. This gets back to what I was saying with professional-vs-amateur approach. A professional approach to a server is to plan for it to live a certain life then you scrap it, or at the least nuke and repave it for something less demanding. The car-rental companies have been doing this with cars for years, and all the used car buyers can never understand why a car rental companies sell perfectly good cars with a lot of years of life left in them. The amateur approach is to build the server then wring every last day of life out of it. Patch and patch it over and over and over and upgrade it over and over and over, until it just won't work anymore. Hell, people were complaining that FreeBSD 6.0 wouldn't run on a 80386 That's a total amateur approach. Horde is built for a professional approach not an amateur approach, but as a nod to the amateurs it does the .dist thing, but that is useless for the professional adminstrator. And it's kind of silly because only someone who is really willing to get in and get their fingers dirty, like a professional, should be running Horde. As I said there's plenty of easier apps out for the install binary rpm and cross your fingers and hope it works crowd. Note that I'm not saying there's never a legitimate reason to do an inplace upgrade, just that in what _I_ and I think most professional adminstrators think is proper operating procedure, what your talking about as a problem would almost never happen. Ted -Original Message- From: Marc G. Fournier [mailto:[EMAIL PROTECTED] Sent: Sunday, April 09, 2006 1:00 AM To: Ted Mittelstaedt Cc: dick hoogendijk; fbsdq; [EMAIL PROTECTED] Subject: RE: BEWARE upgrading Horde System As much as I agree with your sentiments, the issue that is at question is the replacement of existing config files with default ones ... at least in my instance, had those config files *not* been replaced, 'make install' (to upgrade an existing, configured installation), would have left me with a system that would have still worked as originally configured ... Horde is/was designed to make upgrading it fairly simple, as it *explicitly* does not overwrite any config files, because it doesn't install any ... it installs .dist files, and the admin then has to move those into place ... All the port needs to do beyond what it is doing ... and, quite frankly, it requires only one change to do so ... is to not do the: mv config file config file.previous The weird thing is that looking at the Makefile, I can't see where its doing the move to previous in the first place .. and, in fact, the following code should prevent it overwriting my existing config file: .for FILE in ${CONFFILE} @if [ ! -f ${CONFDIR}/${FILE} ]; then \ ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ fi .endfor Wow, okay ... Makefile says don't overwrite existing config file, while files/pkg-install.in is the one that forces the issue: Personally, the following patch would make doing an install safe: diff -c files/pkg-install.in.orig files/pkg-install.in *** files/pkg-install.in.orig Sun Apr 9 07:56:56 2006 --- files/pkg-install.inSun Apr 9 07:57:24 2006 *** *** 101,117 chown -R $hordeusr:$hordegrp $hordedir || exit 1 fi - if [ -z ${PACKAGE_BUILDING} ]; then - # Don't reset the config to default (PR ports/88621) - - for cf in `ls %%HORDEDIR%%/config/*php`; do - if [ -f $cf.previous ]; then - mv $cf $cf.new - echo --- $cf not installed *** -
MPPC compression
FreeBSD dont have MPPC compression support, but why dont add code from this link - http://mppe-mppc.alphacron.de/ ? -- With best regards ZOleg mailto:[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: Partitioning on existing system
Chad, this appears that you want a file backed image file mounted as your / tmp. This should be easy to do. Read the handbook for file-backed md (4) devices. I don't use them for /tmp but I run them with jails... I have about 60 such image files mounted now for example Thanks for the great kick in the right direction. Is it really this easy? I guess so cause it is working. I dropped in a helloworld script, chmoded it and even as root I couldn't run it. Supreme! mdmfs -M -o noexec,nosuid -s 100m md0 /tmp chmod 1777 /tmp Now anybody know of an easy way to search for chroot. Cheers, -- Wil Hatfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Shell scripting question [newby]
I'm trying to follow the instructions at http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/ At point four it offers this shell script. cut -f 1 -d '$' /usr/local/freebsd-update/work/md5all | uniq | while read X; do if [ -f $X ]; then echo $X; fi; done | sort /root/base-old Running this from root shell in konsole (bash) I get while: Expression Syntax. The various hints and clues I get from the shell, the web and man bash haven't helped me. Would someone provide the correct syntax for me? thanks malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DS WiFi fbsd6
On 08 Apr Pgold wrote: I don't know about compatibility with FreeBSD, but the Nintendo DS Wi-Fi Adapter only works with the DS, and costs 50USD. For the same 50USD you can buy a simple Wi-Fi router. If the DS Wi-Fi adapter won't work with FreeBSD, i guess you should go with the Wi-Fi router.(I don't know if USB Wi-Fi dongles will work with the DS, gotta check that!) On 4/8/06, dick hoogendijk [EMAIL PROTECTED] wrote: Does somebody using freebsd-6.1 have Nintendo's WiFi up and running for his/her DS? OK, this sounds like a better solution. I remember someone's advice some time ago to install a wireless networkcard and fiddle with bridge(?) This might be an even better solution(?) ONE question though: what ath0 based wireless network card(s) work flawlessly under fbsd-6.x ? If you guys give me some brands I can check the availability of these cards over here (in the Netherlands). -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 +++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Partitioning on existing system
Thanks for the great kick in the right direction. Is it really this easy? I guess so cause it is working. I dropped in a helloworld script, chmoded it and even as root I couldn't run it. Supreme! mdmfs -M -o noexec,nosuid -s 100m md0 /tmp chmod 1777 /tmp Ahhh crud! I guess it isn't that easy. After a reboot the old /tmp comes back with executable permissions. What do I have to do to keep the device around? -- Wil Hatfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MPPC compression
ZOleg schrieb: FreeBSD dont have MPPC compression support, but why dont add code from this link - http://mppe-mppc.alphacron.de/ ? What wrong with ng_mppc(4)? ;-) Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripting question [newby]
On 4/9/06, Malcolm Fitzgerald [EMAIL PROTECTED] wrote: I'm trying to follow the instructions at http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/ At point four it offers this shell script. cut -f 1 -d '$' /usr/local/freebsd-update/work/md5all | uniq | while read X; do if [ -f $X ]; then echo $X; fi; done | sort /root/base-old Running this from root shell in konsole (bash) I get while: Expression Syntax. The various hints and clues I get from the shell, the web and man bash haven't helped me. Would someone provide the correct syntax for me? thanks malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Are you sure it shouldnt be $X instead of X in the while clause? I dont know, never tried bash scripting before :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] ndis setup
hernan [EMAIL PROTECTED] wrote: Hey folks. I'm setting up FreeBSD 6.0-RELEASE and I'm having a little trouble getting my wireless NIC recognized. The card is a Linksys WMP64G and I'm trying to set things up to run with the FreeBSD NDISulator as described in the FreeBSD handbook (http://www.freebsd.org/doc/handbook/network-wireless.html). This chapter is outdated. Here's what I'm doing (as root): 1) Verifying with 'pciconf -lv' that the PCI card is there. Also, I know the card works, it was running fine on Windows. 2) Building ndis itself: 3) Building the if_ndis module: 4) Loading the ndis and if_ndis modules: kldload ndis I verify at this point using kldstat that both ndis and if_ndis are in fact loaded. I see nothing in dmesg or in my console during the kldload. Also, it doesn't appear that the driver found the card, there's no signs of life. I've tried using ndisgen, and have had the same results (with much less typing). In either case, I get nothing in dmesg and no usable enabled NIC. After you run ndisgen you should have a third kernel module with a name similar to the name of your sys file. If you load this module you should at least get an error message. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: Apache refusing to listen 81
On 4/8/06, Adam McCarthy [EMAIL PROTECTED] wrote: I am trying to tell Apache2 to listen on port 81 with Listen *:81 Even if I comment out Listen:80 it still listens on 80. After starting Apache, telnet 127.0.0.1 81 fails with Connection Refused. My listen is Listen *:80 Listen *:81 I have no firewall on the machine. No errors in httpd-error.log. Thanks in advanced for any inconvience. -- Microsoft sent me an email stating. We have been informed that you have 10 machines, in which only two are running Windows. If this does not change, we will contact your ISP and have you shutdown. Thank you, and we apoligize for any inconvience. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What does sockstat -4l return? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Panic/reboot - a little help.
My desktop box, which has run very stable for a couple years now using which ever version of FreeBSD I've been running at the time, has developed a sudden and alarming need to panic. I have two vmcore files at this point, but I'm unsure how much actual help they'll be in figuring out what's happening because I don't have debugging compiled into the kernel (never needed it before!) nor do I actually know exactly how to gather any information from them if they *can* still be of use. I can tell you this has happened twice now in the past 5 hours. Once I was asleep, and once I was reading my email. I'm going to include what I can here, any suggestions or ideas what's happening will be a great help. [EMAIL PROTECTED](~)$ dmesg Copyright (c) 1992-2005 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 6.0-STABLE #2: Sat Jan 14 12:03:12 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Colossus Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2000+ (1666.74-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x662 Stepping = 2 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow+,3DNow real memory = 536346624 (511 MB) avail memory = 515342336 (491 MB) MPTable: TYAN PAULANER FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 Version 1.1 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard cpu1 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 agp0: AMD 762 host to AGP bridge port 0x1010-0x1013 mem 0xf800-0xfbff,0xf4c0-0xf4c00fff at device 0.0 on pci0 pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 5.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: AMD 768 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 pci0: bridge at device 7.3 (no driver attached) pcib2: MPTable PCI-PCI bridge at device 16.0 on pci0 pci2: PCI bus on pcib2 ohci0: OHCI (generic) USB controller mem 0xf490-0xf4900fff irq 19 at device 0.0 on pci2 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x2000-0x207f mem 0xf4901000-0xf490107f irq 19 at device 8.0 on pci2 miibus0: MII bus on xl0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:e0:81:24:e7:bb pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc87ff,0xe-0xe3fff on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: Parallel port bus on ppc0 ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: HEWLETT-PACKARD DESKJET 810C MLC,PCL,PML plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0303 can't assign resources (port) unknown: PNP0c02 can't assign resources (memory) unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0f13 can't assign resources (irq) unknown: PNP0401 can't assign resources (port) Timecounters tick every 1.000 msec ad0: 43979MB IBM DTLA-307045 TX6OA6AA at ata0-master UDMA100 ad2: 38166MB WDC WD400BB-22CAA0 16.06V16 at ata1-master UDMA100 acd0: DVDR LITE-ON DVDRW SOHW-832S/VS01 at ata1-slave UDMA33 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 216 files 5 WARNING: /usr/ports was not properly dismounted WARNING: /usr/src was not properly dismounted
net-snmpd show sysctl: physmem: Cannot allocate memory in log
I'm using net-snmpd with FreeBSD 6.0 and all is working fine but when I start it up it gives me the following error: sysctl: physmem: Cannot allocate memory snmpd seems to be running fine but why is that error showing when it's started? I looked at the sysctl and it's showing the proper amount of memory in the system hw.physmem: 2139033600 -Troy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DS WiFi fbsd6
dick hoogendijk [EMAIL PROTECTED] wrote: On 08 Apr Pgold wrote: I don't know about compatibility with FreeBSD, but the Nintendo DS Wi-Fi Adapter only works with the DS, and costs 50USD. For the same 50USD you can buy a simple Wi-Fi router. If the DS Wi-Fi adapter won't work with FreeBSD, i guess you should go with the Wi-Fi router.(I don't know if USB Wi-Fi dongles will work with the DS, gotta check that!) On 4/8/06, dick hoogendijk [EMAIL PROTECTED] wrote: Does somebody using freebsd-6.1 have Nintendo's WiFi up and running for his/her DS? OK, this sounds like a better solution. I remember someone's advice some time ago to install a wireless networkcard and fiddle with bridge(?) This might be an even better solution(?) On 6.1 you should use if_bridge instead of bridge. ONE question though: what ath0 based wireless network card(s) work flawlessly under fbsd-6.x ? If you guys give me some brands I can check the availability of these cards over here (in the Netherlands). I have a D-Link AirPlus XtremeG DWL-G650 which works without problems in all supported modes, but you should be aware of the fact that vendors often change chip sets without changing the name of the product. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
RE: Panic/reboot - a little help.
Here is the standard causes. I all most all cases this is a hardware problem. Motherboard is overheating because of years of accumulated dust. Open box and use small paint brush to blow away dust on motherboard chips. Remove heat sink on CPU and clean out chocking dust and reinstall. Power supply's just go bad over time resulting in lower operating voltages to motherboard and hard drive. Hard drive will not spin as fast which causes the r/w heads not to fly above platter with out touching the surface. Hard disk starts going bad because of this and will need replacement along with the power supply. Power supply has cooling fan which can become plugged with dust. Cleaning out dust in power supply may result in output voltage to return to normal. Hard drive central bearing wears out over time and causes the platters to wobble allowing the r/w heads to rub on surface of platters causing surface damage and loss of data. What you may be experiencing is end-of-life of your PC. Back up your user data now or it may be gone for every. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Laurence Sanford Sent: Sunday, April 09, 2006 8:57 AM To: [EMAIL PROTECTED] Subject: Panic/reboot - a little help. My desktop box, which has run very stable for a couple years now using which ever version of FreeBSD I've been running at the time, has developed a sudden and alarming need to panic. I have two vmcore files at this point, but I'm unsure how much actual help they'll be in figuring out what's happening because I don't have debugging compiled into the kernel (never needed it before!) nor do I actually know exactly how to gather any information from them if they *can* still be of use. I can tell you this has happened twice now in the past 5 hours. Once I was asleep, and once I was reading my email. I'm going to include what I can here, any suggestions or ideas what's happening will be a great help. [EMAIL PROTECTED](~)$ dmesg Copyright (c) 1992-2005 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 6.0-STABLE #2: Sat Jan 14 12:03:12 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Colossus Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2000+ (1666.74-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x662 Stepping = 2 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR, PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow+,3DNow real memory = 536346624 (511 MB) avail memory = 515342336 (491 MB) MPTable: TYAN PAULANER FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 Version 1.1 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard cpu1 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 agp0: AMD 762 host to AGP bridge port 0x1010-0x1013 mem 0xf800-0xfbff,0xf4c0-0xf4c00fff at device 0.0 on pci0 pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 5.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: AMD 768 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 pci0: bridge at device 7.3 (no driver attached) pcib2: MPTable PCI-PCI bridge at device 16.0 on pci0 pci2: PCI bus on pcib2 ohci0: OHCI (generic) USB controller mem 0xf490-0xf4900fff irq 19 at device 0.0 on pci2 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x2000-0x207f mem 0xf4901000-0xf490107f irq 19 at device 8.0 on pci2 miibus0: MII bus on xl0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:e0:81:24:e7:bb pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc87ff,0xe-0xe3fff on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: Parallel port bus on ppc0 ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: HEWLETT-PACKARD DESKJET 810C MLC,PCL,PML
RE: Panic/reboot - a little help.
On Sun, 9 Apr 2006, fbsd_user wrote: Here is the standard causes. I all most all cases this is a hardware problem. Yes, this I suspected. Motherboard is overheating because of years of accumulated dust. Open box and use small paint brush to blow away dust on motherboard chips. Remove heat sink on CPU and clean out chocking dust and reinstall. Done this regularly. To all of my systems. Power supply's just go bad over time resulting in lower operating voltages to motherboard and hard drive. Hard drive will not spin as fast which causes the r/w heads not to fly above platter with out touching the surface. Hard disk starts going bad because of this and will need replacement along with the power supply. Power supply has cooling fan which can become plugged with dust. Cleaning out dust in power supply may result in output voltage to return to normal. Hard drive central bearing wears out over time and causes the platters to wobble allowing the r/w heads to rub on surface of platters causing surface damage and loss of data. What you may be experiencing is end-of-life of your PC. Back up your user data now or it may be gone for every. It's possible. I certainly haven't ruled out end of life. Fortunately, I back up all of my data once a week, and if I change something important, I make a backup then as well. You only have to lose everything once :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Laurence Sanford Sent: Sunday, April 09, 2006 8:57 AM To: [EMAIL PROTECTED] Subject: Panic/reboot - a little help. My desktop box, which has run very stable for a couple years now using which ever version of FreeBSD I've been running at the time, has developed a sudden and alarming need to panic. I have two vmcore files at this point, but I'm unsure how much actual help they'll be in figuring out what's happening because I don't have debugging compiled into the kernel (never needed it before!) nor do I actually know exactly how to gather any information from them if they *can* still be of use. I can tell you this has happened twice now in the past 5 hours. Once I was asleep, and once I was reading my email. I'm going to include what I can here, any suggestions or ideas what's happening will be a great help. [EMAIL PROTECTED](~)$ dmesg Copyright (c) 1992-2005 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 6.0-STABLE #2: Sat Jan 14 12:03:12 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Colossus Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2000+ (1666.74-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x662 Stepping = 2 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR, PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow+,3DNow real memory = 536346624 (511 MB) avail memory = 515342336 (491 MB) MPTable: TYAN PAULANER FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 Version 1.1 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard cpu1 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 agp0: AMD 762 host to AGP bridge port 0x1010-0x1013 mem 0xf800-0xfbff,0xf4c0-0xf4c00fff at device 0.0 on pci0 pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 5.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: AMD 768 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 pci0: bridge at device 7.3 (no driver attached) pcib2: MPTable PCI-PCI bridge at device 16.0 on pci0 pci2: PCI bus on pcib2 ohci0: OHCI (generic) USB controller mem 0xf490-0xf4900fff irq 19 at device 0.0 on pci2 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x2000-0x207f mem 0xf4901000-0xf490107f irq 19 at device 8.0 on pci2 miibus0: MII bus on xl0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:e0:81:24:e7:bb pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc87ff,0xe-0xe3fff on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse
Re: swapping out mb and cpu
Chad Leigh -- Shire.Net LLC wrote: On Apr 8, 2006, at 9:51 PM, John Cruz wrote: As far as I know, as long as your drive configuration is the the same (/root on ide0 disk 1 would be ide0 disk 1 on the new machine as well) then it should work without a hitch. I'll be upgrading my machine in the near future as well, so any insight on this is much apprecaited. Should be ok (both above and below) as long as you move all the SCSI cards or map your ide/sata drives the same. I have done this before without issue I'm no expert, but I would think its worth mentioning that a GENERIC kernel, or one relatively uncustomized would be necessary. If you have removed options/devices from your kernel config file that a necessary for the new mb/cpu... then you might hit a bump. Chad -John je killen wrote: Hello; I have a machine running with FreeBSD 6.0 running on AMD64 socket 754 and Elite Group motherboard. It has been up and running without problem continuously for about 5 weeks now (although I am the only one connecting to it at present). I have purchased a new mother board and cpu. The new mb is Gigabyte GA-K8N-SLI and the new cpu is Athlon 64 socket 939. It has extended PCI slots and I am planning on swapping the FreeBSD installation to the new motherboard and processor. If I just move the hard drives and SCSI adapter to the new machine will it run on the different motherboard and processor? Or do I have to install FreeBSD specifically on the new machine? The reason I'm considering this is because the AMD64 754 machine has a SCSI adapter made for an extended PCI slot. The mb has only standard PCI slots so the adapter isn't being used optimally. So I would be swapping the main drive (ata) and two SCSI drives (assigned usr and var partitions, respectively), as well as the adapter. Is this possible? Thanks in advance; JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fxp: promiscuous mode enabled
Hi, I have a problem with my ethernet adapter (fxp)... When a run 'dmesg', look: fxp: promiscuous mode enabled fxp: promiscuous mode disabled fxp: promiscuous mode enabled fxp: promiscuous mode disabled I didn't find it in fxp's manual... What's it ... -- Thiago Esteves de Oliveira ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripting question [newby]
On Sun, 9 Apr 2006, Malcolm Fitzgerald wrote: I'm trying to follow the instructions at http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/ At point four it offers this shell script. cut -f 1 -d '$' /usr/local/freebsd-update/work/md5all | uniq | while read X; do if [ -f $X ]; then echo $X; fi; done | sort /root/base-old Running this from root shell in konsole (bash) I get while: Expression Syntax. The various hints and clues I get from the shell, the web and man bash haven't helped me. Would someone provide the correct syntax for me? That syntax is correct for sh and bash; you're not running it, however. Double-check that after you su to root, you're really running bash. That error is what csh will tell you. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Whenever I see a dog salivate I get an insatiable urge to ring a bell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT - Scalable email server solution needed
Marc G. Fournier [EMAIL PROTECTED] wrote: On Sat, 8 Apr 2006, Bill Moran wrote: One advantage of Maildir over mbox and the Cyrus db (that, for some reason, I seldom see touted) is that you can make a safe backup of a Maildir without shutting down the SMTP, POP, or IMAP server. With both mbox and the Cyrus mail system, you have to shut the mail system down to back up the mail boxes. Why with Cyrus IMAPd? I just had a major hardware failure, had to restore 30 mail spools from backup, all of which were 'backed up live', and the only thing I had to do once restored was run the 'reconstruct' command to make sure the various databases were sync'd up ... and the reconstruct command can be run while the system is live too ... I have only a small amount of experience with Cyrus. However: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/Backup Based on that document, it appears as if you're dodging the bullet with backups. My interpretation is that Cyrus keeps mailboxes in some sort of db file. If a db file is being modified while you're backing it up, the backed up version will be inconsistent, thus the entire mailbox unusable. Compare this to Maildir, where each message is a seperate file. If you're backing up during access to a mailbox, a single message could end up corrupt, but this will not affect the rest of the mailbox. I set up backup for a Cyrus server for a client. We've yet to have to restore however, so all of my knowledge is based on that and other documents on the web regarding Cyrus' operation. It might be one of those things where _theoretically_ the backups could be useless, but it almost never happens in practice? -- Bill Moran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp: promiscuous mode enabled
Thiago Esteves de Oliveira [EMAIL PROTECTED] wrote: Hi, I have a problem with my ethernet adapter (fxp)... When a run 'dmesg', look: fxp: promiscuous mode enabled fxp: promiscuous mode disabled fxp: promiscuous mode enabled fxp: promiscuous mode disabled I didn't find it in fxp's manual... What's it ... http://foldoc.org/foldoc.cgi?query=promiscuousaction=Search Programs such as tcpdump and snort will put the interface in promiscuous mode. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BEWARE upgrading Horde System
On 4/9/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: [snipped] I have never understood the demand for being able to do an inplace upgrade of applications or of the operating system, and I've seen enormous trouble with servers that people do this with, under Windows as well as FreeBSD. Furthermore, by the time the software on the server is old, the hardware is ready to be retired in favor of shiny new hardware that is a lot faster. This is also very true of Windows servers too. This gets back to what I was saying with professional-vs-amateur approach. A professional approach to a server is to plan for it to live a certain life then you scrap it, or at the least nuke and repave it for something less demanding. The car-rental companies have been doing this with cars for years, and all the used car buyers can never understand why a car rental companies sell perfectly good cars with a lot of years of life left in them. The amateur approach is to build the server then wring every last day of life out of it. Patch and patch it over and over and over and upgrade it over and over and over, until it just won't work anymore. Hell, people were complaining that FreeBSD 6.0 wouldn't run on a 80386 That's a total amateur approach. I think your mixing up the professional approach with the I'm not paying the bills approach, that shiny new hardware that is a lot faster comes with a price tag attached to it and the price attached to that tag in relation to other factors determines the route to be taken. You do have, at the very least, a basic fiduciary responsibility to your employer, and in the context of business it's money. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp: promiscuous mode enabled
promiscuous mode means the ethernet NIC grabs ALL packets, not just the ones addressed to it. This is typically done by packet sniffers. -Derek At 09:35 AM 4/9/2006, Thiago Esteves de Oliveira wrote: Hi, I have a problem with my ethernet adapter (fxp)... When a run 'dmesg', look: fxp: promiscuous mode enabled fxp: promiscuous mode disabled fxp: promiscuous mode enabled fxp: promiscuous mode disabled I didn't find it in fxp's manual... What's it ... -- Thiago Esteves de Oliveira ___ 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]
newfs fails on 300GB HDD
Greetings, I'm having a slight problem with a 300GB IDE (Maxtor) HDD. Basically, I've run the drive on the system through a complete low-level format and test with the PowerMAX tools, which passed fine. The BIOS recognizes and auto-detects the drive okay as well. However, in trying to install FreeBSD 6.0, it goes through the partition section okay, and then the slice section okay (trying to use a full slice on the drive as /dumpdata), the mount fails, and on the alternate screen it shows newfs failing. Is there a special way to get this drive to work? Does someone have experience with a similar setup that may shed some light my way? I feel like a beginner all over again. : P Regards, Justin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp: promiscuous mode enabled
On Sunday 09 April 2006 10:06, Derek Ragona wrote: promiscuous mode means the ethernet NIC grabs ALL packets, not just the ones addressed to it. This is typically done by packet sniffers. -Derek At 09:35 AM 4/9/2006, Thiago Esteves de Oliveira wrote: Hi, I have a problem with my ethernet adapter (fxp)... When a run 'dmesg', look: fxp: promiscuous mode enabled fxp: promiscuous mode disabled fxp: promiscuous mode enabled fxp: promiscuous mode disabled I didn't find it in fxp's manual... What's it ... -- Thiago Esteves de Oliveira Typical Intel ethernet nic behavior of every one ive ever had. they do that in linux too. i think its just part of its initialization routines or something. it ends up in the disabled mode anyway, i dont think its worth worrying over. :) cheers, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp: promiscuous mode enabled
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To add, most kinds of network statistic programs will put the card into catch all mode... i would try to watch the system messages, and in case it happens run a ps to see whats happening... that in case, you have not started any kind of program that does statistical network analysis or content grabbing... Derek Ragona schrieb: promiscuous mode means the ethernet NIC grabs ALL packets, not just the ones addressed to it. This is typically done by packet sniffers. -Derek At 09:35 AM 4/9/2006, Thiago Esteves de Oliveira wrote: Hi, I have a problem with my ethernet adapter (fxp)... When a run 'dmesg', look: fxp: promiscuous mode enabled fxp: promiscuous mode disabled fxp: promiscuous mode enabled fxp: promiscuous mode disabled I didn't find it in fxp's manual... What's it ... -- Thiago Esteves de Oliveira ___ 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] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD4DBQFEOSa1WvEVE8MtwbgRAsenAKCT7G06l6rWkVinWyD9p3U+QqZQBgCXYQZ+ PUmeop5qHNdZj5MLjH3L8Q== =z3fE -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp: promiscuous mode enabled
If you run TCPDUMP on the NIC, you'll get the same message on the console -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To add, most kinds of network statistic programs will put the card into catch all mode... i would try to watch the system messages, and in case it happens run a ps to see whats happening... that in case, you have not started any kind of program that does statistical network analysis or content grabbing... Derek Ragona schrieb: promiscuous mode means the ethernet NIC grabs ALL packets, not just the ones addressed to it. This is typically done by packet sniffers. -Derek At 09:35 AM 4/9/2006, Thiago Esteves de Oliveira wrote: Hi, I have a problem with my ethernet adapter (fxp)... When a run 'dmesg', look: fxp: promiscuous mode enabled fxp: promiscuous mode disabled fxp: promiscuous mode enabled fxp: promiscuous mode disabled I didn't find it in fxp's manual... What's it ... -- Thiago Esteves de Oliveira ___ 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] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD4DBQFEOSa1WvEVE8MtwbgRAsenAKCT7G06l6rWkVinWyD9p3U+QqZQBgCXYQZ+ PUmeop5qHNdZj5MLjH3L8Q== =z3fE -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ 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: promiscuous mode enabled
If you run tcpdump it turns on promiscuous mode when it starts and turns it off when you stop it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Thiago Esteves de Oliveira Sent: Sunday, April 09, 2006 10:35 AM To: freebsd-questions@freebsd.org Subject: fxp: promiscuous mode enabled Hi, I have a problem with my ethernet adapter (fxp)... When a run 'dmesg', look: fxp: promiscuous mode enabled fxp: promiscuous mode disabled fxp: promiscuous mode enabled fxp: promiscuous mode disabled I didn't find it in fxp's manual... What's it ... -- Thiago Esteves de Oliveira ___ 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: web server attack (solution warning)
I received this reply from another list. Going back to the very beginning of your first post - those web requests you listed as seeing are a bit troublesome. They all seem to be probes against your web server to verify if you can be used as an open proxy server. The first two requests are from SOCKS proxy checkers, the 3rd is an HTTP CONNECT check to see if your server will connect to an SMTP host (for use by SPAMMERS) and the last is a request to a normal website. The probes themselves are not what worries me, as these happen all the time. What worries me are the status codes returned by your web server - 200 OK. This normally means that your server processed these requests successfully. Are you using mod_security to return bogus HTTP Response Codes??? I sure hope so, otherwise you need to disable the mod_proxy module ASAP. I checked my Apache httpd.conf file. The FreeBSD port of the Apache13 activates a lot of standard dso modules and one of then is the proxy module. I had thought those dso modules had to have a directive coded for it before it became active. I see now that is not true. I commented out the load for the proxy module in my httpd.conf file. Since many people install the apache port for apache 13 and 2 all these people have servers that are open for abuse and do not know it. The proxy dso module should not be included in the apache port. Apache port user be ware. Make sure you don't have mod_proxy enabled in Apache ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT - Scalable email server solution needed
On Sun, 9 Apr 2006, Bill Moran wrote: I have only a small amount of experience with Cyrus. However: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/Backup Based on that document, it appears as if you're dodging the bullet with backups. My interpretation is that Cyrus keeps mailboxes in some sort of db file. If a db file is being modified while you're backing it up, the backed up version will be inconsistent, thus the entire mailbox unusable. Not quite. Cyrus maps the imap hierarchy onto directories, with one (written once only) file per message. As flat-file as you can get. On top of this are per-folder index files (which can be recreated using reconstruct) holding stuff like preformatted IMAP responses, header indexes etc. That's where cyrus gets its speed from. Additionally there's a per-server mailboxes DB holding folder information (including ACLs), per-user seen/subscription databases and a deliverdb for duplicate suppression. The latter can all be stored in multiple formats, including bdb; hot backups for these work much the same way as for anything other bdb. It's not perfect, but there's minimal bullet-dodging. jan -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ ioctl(2): probably the coolest Unix system call in the world ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
chkrootkit
Ні, questions! I badly know english, beforehand I apologize for the illiteracy. I ask the help you in the decision of my problem. I have loaded program stock-takings rootkit from a site http://www.chkrootkit.org/. Has started, and has received below resulted result. I am disturbed with a line Checking `date'... INFECTED # ./chkrootkit ROOTDIR is `/' Checking `amd'... not infected Checking `basename'... not infected Checking `biff'... not infected Checking `chfn'... not infected Checking `chsh'... not infected Checking `cron'... not infected Checking `date'... INFECTED Checking `du'... not infected Checking `dirname'... not infected Checking `echo'... not infected Checking `egrep'... not infected Checking `env'... not infected Checking `find'... not infected Checking `fingerd'... not infected Checking `gpm'... not found Checking `grep'... not infected Checking `hdparm'... not found Checking `su'... not infected Checking `ifconfig'... not infected Checking `inetd'... not infected Checking `inetdconf'... not infected Checking `identd'... not found Checking `init'... not infected Checking `killall'... not infected Checking `ldsopreload'... not tested Checking `login'... not infected Checking `ls'... not infected Checking `lsof'... not found Checking `mail'... not infected Checking `mingetty'... not found Checking `netstat'... not infected Checking `named'... not infected Checking `passwd'... not infected Checking `pidof'... not found Checking `pop2'... not found Checking `pop3'... not found Checking `ps'... not infected Checking `pstree'... not found Checking `rpcinfo'... not infected Checking `rlogind'... not infected Checking `rshd'... not infected Checking `slogin'... not infected Checking `sendmail'... not infected Checking `sshd'... not infected Checking `syslogd'... not infected Checking `tar'... not infected Checking `tcpd'... not infected Checking `tcpdump'... not infected Checking `top'... not infected Checking `telnetd'... not infected Checking `timed'... not infected Checking `traceroute'... not infected Checking `vdir'... not found Checking `w'... not infected Checking `write'... not infected Checking `aliens'... no suspect files Searching for sniffer's logs, it may take a while... nothing found Searching for HiDrootkit's default dir... nothing found Searching for t0rn's default files and dirs... nothing found Searching for t0rn's v8 defaults... nothing found Searching for Lion Worm default files and dirs... nothing found Searching for RSHA's default files and dir... nothing found Searching for RH-Sharpe's default files... nothing found Searching for Ambient's rootkit (ark) default files and dirs... nothing found Searching for suspicious files and dirs, it may take a while... nothing found Searching for LPD Worm files and dirs... nothing found Searching for Ramen Worm files and dirs... nothing found Searching for Maniac files and dirs... nothing found Searching for RK17 files and dirs... nothing found Searching for Ducoci rootkit... nothing found Searching for Adore Worm... nothing found Searching for ShitC Worm... nothing found Searching for Omega Worm... nothing found Searching for Sadmind/IIS Worm... nothing found Searching for MonKit... nothing found Searching for Showtee... nothing found Searching for OpticKit... nothing found Searching for T.R.K... nothing found Searching for Mithra... nothing found Searching for OBSD rk v1... nothing found Searching for LOC rootkit ... nothing found Searching for Romanian rootkit ... nothing found Searching for Suckit rootkit ... nothing found Searching for Volc rootkit ... nothing found Searching for Gold2 rootkit ... nothing found Searching for TC2 Worm default files and dirs... nothing found Searching for Anonoying rootkit default files and dirs... nothing found Searching for ZK rootkit default files and dirs... nothing found Searching for ShKit rootkit default files and dirs... nothing found Searching for AjaKit rootkit default files and dirs... nothing found Searching for zaRwT rootkit default files and dirs... nothing found Searching for anomalies in shell history files... nothing found Checking `asp'... not infected Checking `bindshell'... not infected Checking `lkm'... nothing detected Checking `rexedcs'... not found Checking `sniffer'... rl0 is not promisc plip0 is not promisc Checking `w55808'... not infected Checking `wted'... nothing deleted Checking `scalper'... not infected Checking `slapper'... not infected Checking `z2'... nothing deleted Mine FreeBSD: FreeBSD server.alf-ua.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Wed Jan1112:41:53GMT2006 root@:/usr/src/sys/i386/compile/kernel_11.01.06 i386 Has come home, has put same FreeBSD on a domestic computer, the same report, Checking `date'... INFECTED How to me to be? It is a mistake of developers of the program or yours? With impatience I wait for your answer. Beforehand thanks. __
Re: Partitioning on existing system
Wil Hatfield [EMAIL PROTECTED] writes: Thanks for the great kick in the right direction. Is it really this easy? I guess so cause it is working. I dropped in a helloworld script, chmoded it and even as root I couldn't run it. Supreme! mdmfs -M -o noexec,nosuid -s 100m md0 /tmp chmod 1777 /tmp Ahhh crud! I guess it isn't that easy. After a reboot the old /tmp comes back with executable permissions. What do I have to do to keep the device around? tmpmfs and related variables in rc.conf(5). By default it does a memory-backed disk instead of file-backed, but that can be adjusted. Personally, I find memory-backed /tmp to be more useful anyway. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chkrootkit
On Sun, Apr 09, 2006 at 08:39:51PM +0300, Vitaliy K wrote: ??, questions! I badly know english, beforehand I apologize for the illiteracy. I ask the help you in the decision of my problem. I have loaded program stock-takings rootkit from a site http://www.chkrootkit.org/. Has started, and has received below resulted result. I am disturbed with a line Checking `date'... INFECTED # ./chkrootkit ROOTDIR is `/' Checking `amd'... not infected Checking `basename'... not infected Checking `biff'... not infected Checking `chfn'... not infected Checking `chsh'... not infected Checking `cron'... not infected Checking `date'... INFECTED How to me to be? It is a mistake of developers of the program or yours? Most likely the program is wrong, this kind of utility really only makes wild guesses. But you never know, so if you have other reason to believe your system was compromised you should still consider taking action. Kris pgp17h4V9gD1F.pgp Description: PGP signature
Re: Apache refusing to listen 81
On 4/9/06, Daniel A. [EMAIL PROTECTED] wrote: On 4/8/06, Adam McCarthy [EMAIL PROTECTED] wrote: I am trying to tell Apache2 to listen on port 81 with Listen *:81 Even if I comment out Listen:80 it still listens on 80. After starting Apache, telnet 127.0.0.1 81 fails with Connection Refused. My listen is Listen *:80 Listen *:81 I have no firewall on the machine. No errors in httpd-error.log. Thanks in advanced for any inconvience. -- Microsoft sent me an email stating. We have been informed that you have 10 machines, in which only two are running Windows. If this does not change, we will contact your ISP and have you shutdown. Thank you, and we apoligize for any inconvience. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What does sockstat -4l return? -- Microsoft sent me an email stating. We have been informed that you have 10 machines, in which only two are running Windows. If this does not change, we will contact your ISP and have you shutdown. Thank you, and we apoligize for any inconvience. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Apache refusing to listen 81
I don't know where you got Listen *:80 Listen *:81 from. My working system uses Listen 8080 just fine. In the FreeBSD port of apache the http.conf file has the Listen statement in a few different places. You want the one closes to the beginning of the file. On 4/9/06, Daniel A. [EMAIL PROTECTED] wrote: On 4/8/06, Adam McCarthy [EMAIL PROTECTED] wrote: I am trying to tell Apache2 to listen on port 81 with Listen *:81 Even if I comment out Listen:80 it still listens on 80. After starting Apache, telnet 127.0.0.1 81 fails with Connection Refused. My listen is Listen *:80 Listen *:81 I have no firewall on the machine. No errors in httpd-error.log. Thanks in advanced for any inconvience. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: promiscuous mode enabled
On 4/9/06, fbsd_user [EMAIL PROTECTED] wrote: If you run tcpdump it turns on promiscuous mode when it starts and turns it off when you stop it. Yes, using the -p switch should be a good habit in most cases. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Numerous ftp timeouts - why?
New to FreeBSD not new to *nix. Have the docs/handbook/faq, etc. Using freebsd 6.0 RELEASE on Compaq Proliant 2500R. Why when trying to install various apps from ports do the ftp sessions frequently timeout? If I manually fetch packages from sites the download goes ok, but this means I have to copy files to /usr/ports/distfiles manually. did 'man fetch' but still no clue as to why this happens. Thank You, Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Numerous ftp timeouts - why?
I had this same problem when I was on dial up line. Once I got cable ISP internet connection the problem never happened again. Those ftp sites are busy and dial up connections degrade performance for the other concurrent users logged onto the ftp site and so dial up users get timed out and dropped. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael D. Norwick Sent: Sunday, April 09, 2006 2:59 PM To: freebsd-questions@freebsd.org Subject: Numerous ftp timeouts - why? New to FreeBSD not new to *nix. Have the docs/handbook/faq, etc. Using freebsd 6.0 RELEASE on Compaq Proliant 2500R. Why when trying to install various apps from ports do the ftp sessions frequently timeout? If I manually fetch packages from sites the download goes ok, but this means I have to copy files to /usr/ports/distfiles manually. did 'man fetch' but still no clue as to why this happens. Thank You, Michael ___ 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 refusing to listen 81
Oh crap, it is supposed to be set like that, I must have been thinking of squid. On 4/9/06, fbsd_user [EMAIL PROTECTED] wrote: I don't know where you got Listen *:80 Listen *:81 from. My working system uses Listen 8080 just fine. In the FreeBSD port of apache the http.conf file has the Listen statement in a few different places. You want the one closes to the beginning of the file. On 4/9/06, Daniel A. [EMAIL PROTECTED] wrote: On 4/8/06, Adam McCarthy [EMAIL PROTECTED] wrote: I am trying to tell Apache2 to listen on port 81 with Listen *:81 Even if I comment out Listen:80 it still listens on 80. After starting Apache, telnet 127.0.0.1 81 fails with Connection Refused. My listen is Listen *:80 Listen *:81 I have no firewall on the machine. No errors in httpd-error.log. Thanks in advanced for any inconvience. -- -- Microsoft sent me an email stating. We have been informed that you have 10 machines, in which only two are running Windows. If this does not change, we will contact your ISP and have you shutdown. Thank you, and we apoligize for any inconvience. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache refusing to listen 81
That was the problem. It's not *:81, it's just 81. Thanks again. I know it was going to be something really stupid. On 4/9/06, Adam McCarthy [EMAIL PROTECTED] wrote: Oh crap, it is supposed to be set like that, I must have been thinking of squid. On 4/9/06, fbsd_user [EMAIL PROTECTED] wrote: I don't know where you got Listen *:80 Listen *:81 from. My working system uses Listen 8080 just fine. In the FreeBSD port of apache the http.conf file has the Listen statement in a few different places. You want the one closes to the beginning of the file. On 4/9/06, Daniel A. [EMAIL PROTECTED] wrote: On 4/8/06, Adam McCarthy [EMAIL PROTECTED] wrote: I am trying to tell Apache2 to listen on port 81 with Listen *:81 Even if I comment out Listen:80 it still listens on 80. After starting Apache, telnet 127.0.0.1 81 fails with Connection Refused. My listen is Listen *:80 Listen *:81 I have no firewall on the machine. No errors in httpd-error.log. Thanks in advanced for any inconvience. -- -- Microsoft sent me an email stating. We have been informed that you have 10 machines, in which only two are running Windows. If this does not change, we will contact your ISP and have you shutdown. Thank you, and we apoligize for any inconvience. -- Microsoft sent me an email stating. We have been informed that you have 10 machines, in which only two are running Windows. If this does not change, we will contact your ISP and have you shutdown. Thank you, and we apoligize for any inconvience. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie help!
Sorry for bothering this mailing list, but I realy need some help.. I find awsome screenshots from FreeBSD on various sites on the net, but on my comp, the only thing I see is a black screen with some white text on it, and: $| - I just tested some commands on random, and found that info show some kind of list with information on each something.. How do I enter some kind of interface, or desktop, like on the screenshots? Is there a web-site or enything with tutorials explaining how to do all this.. I was thinking about setting up a FTP and Apache server +mail maybe.. But now when I see this black screen and don't have a clue on what to do, or how to do enything.. I feel the hope is dripping into the sink! Please help me somehow, with tutorials and important information for starters.. Thanks a lot.. Ivan S. - Norway ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie help!
infernus - Bluelight wrote: Sorry for bothering this mailing list, but I realy need some help.. I find awsome screenshots from FreeBSD on various sites on the net, but on my comp, the only thing I see is a black screen with some white text on it, and: $| - I just tested some commands on random, and found that info show some kind of list with information on each something.. How do I enter some kind of interface, or desktop, like on the screenshots? Is there a web-site or enything with tutorials explaining how to do all this.. I was thinking about setting up a FTP and Apache server +mail maybe.. But now when I see this black screen and don't have a clue on what to do, or how to do enything.. I feel the hope is dripping into the sink! Please help me somehow, with tutorials and important information for starters.. Thanks a lot.. Ivan S. - Norway Hello Ivan, What you need is the X Window environment running a window manager (KDE, Gnome, etc..). Take a look at the FreeBSD Handbox, Chatper 5. Come back with any questions. Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Handbook (Chatper 5): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Demian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chkrootkit
Hi you can use also this port /usr/ports/security/rkhunter after the instalation update the database rkhunter --update rkhunter -c Best regards Michal Kapalka Ні, questions! I badly know english, beforehand I apologize for the illiteracy. I ask the help you in the decision of my problem. I have loaded program stock-takings rootkit from a site http://www.chkrootkit.org/. Has started, and has received below resulted result. I am disturbed with a line Checking `date'... INFECTED # ./chkrootkit ROOTDIR is `/' Checking `amd'... not infected Checking `basename'... not infected Checking `biff'... not infected Checking `chfn'... not infected Checking `chsh'... not infected Checking `cron'... not infected Checking `date'... INFECTED Checking `du'... not infected Checking `dirname'... not infected Checking `echo'... not infected Checking `egrep'... not infected Checking `env'... not infected Checking `find'... not infected Checking `fingerd'... not infected Checking `gpm'... not found Checking `grep'... not infected Checking `hdparm'... not found Checking `su'... not infected Checking `ifconfig'... not infected Checking `inetd'... not infected Checking `inetdconf'... not infected Checking `identd'... not found Checking `init'... not infected Checking `killall'... not infected Checking `ldsopreload'... not tested Checking `login'... not infected Checking `ls'... not infected Checking `lsof'... not found Checking `mail'... not infected Checking `mingetty'... not found Checking `netstat'... not infected Checking `named'... not infected Checking `passwd'... not infected Checking `pidof'... not found Checking `pop2'... not found Checking `pop3'... not found Checking `ps'... not infected Checking `pstree'... not found Checking `rpcinfo'... not infected Checking `rlogind'... not infected Checking `rshd'... not infected Checking `slogin'... not infected Checking `sendmail'... not infected Checking `sshd'... not infected Checking `syslogd'... not infected Checking `tar'... not infected Checking `tcpd'... not infected Checking `tcpdump'... not infected Checking `top'... not infected Checking `telnetd'... not infected Checking `timed'... not infected Checking `traceroute'... not infected Checking `vdir'... not found Checking `w'... not infected Checking `write'... not infected Checking `aliens'... no suspect files Searching for sniffer's logs, it may take a while... nothing found Searching for HiDrootkit's default dir... nothing found Searching for t0rn's default files and dirs... nothing found Searching for t0rn's v8 defaults... nothing found Searching for Lion Worm default files and dirs... nothing found Searching for RSHA's default files and dir... nothing found Searching for RH-Sharpe's default files... nothing found Searching for Ambient's rootkit (ark) default files and dirs... nothing found Searching for suspicious files and dirs, it may take a while... nothing found Searching for LPD Worm files and dirs... nothing found Searching for Ramen Worm files and dirs... nothing found Searching for Maniac files and dirs... nothing found Searching for RK17 files and dirs... nothing found Searching for Ducoci rootkit... nothing found Searching for Adore Worm... nothing found Searching for ShitC Worm... nothing found Searching for Omega Worm... nothing found Searching for Sadmind/IIS Worm... nothing found Searching for MonKit... nothing found Searching for Showtee... nothing found Searching for OpticKit... nothing found Searching for T.R.K... nothing found Searching for Mithra... nothing found Searching for OBSD rk v1... nothing found Searching for LOC rootkit ... nothing found Searching for Romanian rootkit ... nothing found Searching for Suckit rootkit ... nothing found Searching for Volc rootkit ... nothing found Searching for Gold2 rootkit ... nothing found Searching for TC2 Worm default files and dirs... nothing found Searching for Anonoying rootkit default files and dirs... nothing found Searching for ZK rootkit default files and dirs... nothing found Searching for ShKit rootkit default files and dirs... nothing found Searching for AjaKit rootkit default files and dirs... nothing found Searching for zaRwT rootkit default files and dirs... nothing found Searching for anomalies in shell history files... nothing found Checking `asp'... not infected Checking `bindshell'... not infected Checking `lkm'... nothing detected Checking `rexedcs'... not found Checking `sniffer'... rl0 is not promisc plip0 is not promisc Checking `w55808'... not infected Checking `wted'... nothing deleted Checking `scalper'... not infected Checking `slapper'... not infected Checking `z2'... nothing deleted Mine FreeBSD: FreeBSD server.alf-ua.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Wed Jan1112:41:53GMT2006 root@:/usr/src/sys/i386/compile/kernel_11.01.06 i386 Has come home, has put same FreeBSD on a domestic computer, the same report, Checking `date'... INFECTED How to me to
what's wrong with portsnap?!!!
that's on clean directory. [EMAIL PROTECTED] /usr/sbin/portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org. Fetching public key... done. Fetching snapshot tag... done. Fetching snapshot metadata... done. Fetching snapshot generated at ndz 9 kwi 02:33:58 2006 CEST: 622100fb0a3c8f0e52402c120619a80720a722c8f285d4100% of 39 MB 92 kBps 00m00s Extracting snapshot... done. Verifying snapshot integrity... done. Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from ndz 9 kwi 02:33:58 2006 CEST to ndz 9 kwi 22:00:36 2006 CEST. Fetching 4 metadata patches. done. Applying metadata patches... done. Fetching 4 metadata files... /usr/sbin/portsnap: cannot open 4c0d29ee1e19f46aa172300d2cb55599eb13fc029b6dfe543cd0b58657dc58d0.gz: No such file or directory metadata is corrupt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Google Earth on Wine on FBSD6.0
Hello All, i just want to share my experiences with Google Earth, and i am curious about other solutions to get it working properly. i compiled wine from the ports tree: $ pkg_info | grep wine wine-0.9.7,1Microsoft Windows compatibility layer for Unix-like systems i installed Google Earth on an u machine, and hooked the harddrive onto my FBSD6.0 machine ( looking back, this could have been done with winzip or any archiver ). i experimented a little, read the winehq db info. what i found was, it can work, but your .wine dir has to be very very fresh. i could not directly find out why this is. anybody? so it ended up with this: #!/usr/local/bin/bash rm -rf .wine wine cp Arial.TTF .wine/drive_c/windows/fonts cd .wine/drive_c/Program Files ; tar xzf ~/ge.tgz WINEDLLOVERRIDES=usp10,msvcrt=n wine c:\Program Files\Google\Google Earth\GoogleEarth.exe this script assumes: -Arial.TTF in your home dir -ge.tgz in your home dir ( containing Google/Google Earth/* ) -you have editted the default_lt.kvw as suggested on winehq changes i am not sure about: my tgz might contains a downloaded copy of msvcrt.dll. i don't think it matters. the result is pretty impressive: text is not spaced properly, but for the rest it works! ( with some quirks ) i am eager to hear about other (cleaner ) solutions. i also tested winword.exe from the other HD btw: worked out of the box. the other office apps did not however. anyway, it was a while since i tried to use wine, and the progress they made impressed me. regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripting question [newby]
On 10/04/2006, at 12:39 AM, Jan Grant wrote: On Sun, 9 Apr 2006, Malcolm Fitzgerald wrote: I'm trying to follow the instructions at http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/ At point four it offers this shell script. cut -f 1 -d '$' /usr/local/freebsd-update/work/md5all | uniq | while read X; do if [ -f $X ]; then echo $X; fi; done | sort /root/base-old Running this from root shell in konsole (bash) I get while: Expression Syntax. The various hints and clues I get from the shell, the web and man bash haven't helped me. Would someone provide the correct syntax for me? That syntax is correct for sh and bash; you're not running it, however. Double-check that after you su to root, you're really running bash. That error is what csh will tell you. You are right. My user konsole is bash and I presumed that root console was too but asking $0 returned su, so I was guessing. Thanks for the help malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie help!
infernus - Bluelight wrote: How do I enter some kind of interface, or desktop, like on the screenshots? Is there a web-site or enything with tutorials explaining how to do all this.. 1) Install xorg. If you chose an x installation, such as x-user, then you can skip this step. To see what's already installed, use pkg_info. The command to install xorg is probably pkg_add -r xorg. 2) Configure xorg. Command is Xorg -configure (note the capital X, very important). You'll then have to copy the configuration to the correct location, /etc/X11/xorg.conf. Details in the handbook. 3) Install a window manager. Here's the command to install xfce4: pkg_add -r xfce4. 4) Start the window manager. In the case of xfce4, the command is startxfce4. 5) Install a web browser and such. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
UFS extended attributes
Hi, Started doing a little reading on the UFS and UFS2 file systems. I'm just wondering if all types of files have extended attribute blocks available including named pipes, sockets, and device files? Is it still the case that there are three unused extended attribute blocks available? Sincerely, Duane Whitty -- [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: Newbie help!
Ivan, Yes, you are a newbie as many of us are (including myself ;). You have already gotten some pretty good responses pointing you in the right direction to correctly set up a graphical desktop, such as the ones you saw in the screenshots. However, what the responses have not mentioned, and I think this is extremely important for newbies to understand, is that FreeBSD is mainly a command line (CLI) driven operating system. Although, many people ause it as a desktop (graphical) system, you will need to do a good deal of researching and reading before a lot of the concepts and capabilites to set this up become entirely clear to you. I guess what really caught my eye in your post was I feel the hope is dripping into the sink!. This is OKAY! I can't imagine anyone on this list not having the same exact feeling when they first installed FreeBSD for the first time...I know I did! Just remember that it will all come in time - you just have to be willing to spare it. As most people on this list will reply with (I notice some already have), the FreeBSD handbookhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.htmlis the best place to start. Although the FreeBSD operating system isn't covered inside and out, its really a fantastic overall peice of documentation, especially considering the lack of good documentation found in many Open Source projects. Anyway, good luck and don't get discouraged! And please, whatever you do, stay away from the penguin! ;) -David On 4/9/06, infernus - Bluelight [EMAIL PROTECTED] wrote: Sorry for bothering this mailing list, but I realy need some help.. I find awsome screenshots from FreeBSD on various sites on the net, but on my comp, the only thing I see is a black screen with some white text on it, and: $| - I just tested some commands on random, and found that info show some kind of list with information on each something.. How do I enter some kind of interface, or desktop, like on the screenshots? Is there a web-site or enything with tutorials explaining how to do all this.. I was thinking about setting up a FTP and Apache server +mail maybe.. But now when I see this black screen and don't have a clue on what to do, or how to do enything.. I feel the hope is dripping into the sink! Please help me somehow, with tutorials and important information for starters.. Thanks a lot.. Ivan S. - Norway ___ 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: OT - Scalable email server solution needed
On Sun, 9 Apr 2006, Bill Moran wrote: Marc G. Fournier [EMAIL PROTECTED] wrote: On Sat, 8 Apr 2006, Bill Moran wrote: One advantage of Maildir over mbox and the Cyrus db (that, for some reason, I seldom see touted) is that you can make a safe backup of a Maildir without shutting down the SMTP, POP, or IMAP server. With both mbox and the Cyrus mail system, you have to shut the mail system down to back up the mail boxes. Why with Cyrus IMAPd? I just had a major hardware failure, had to restore 30 mail spools from backup, all of which were 'backed up live', and the only thing I had to do once restored was run the 'reconstruct' command to make sure the various databases were sync'd up ... and the reconstruct command can be run while the system is live too ... I have only a small amount of experience with Cyrus. However: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/Backup Based on that document, it appears as if you're dodging the bullet with backups. My interpretation is that Cyrus keeps mailboxes in some sort of db file. If a db file is being modified while you're backing it up, the backed up version will be inconsistent, thus the entire mailbox unusable. Agreed, but this db file is stored within the maibox itself, and which is what Cyrus has a 'reconstruct' command to rebuild ... so, after a restore, the first thing you run in 'reconstruct' to make sure you database(s) match the mailbox ... Compare this to Maildir, where each message is a seperate file. If you're backing up during access to a mailbox, a single message could end up corrupt, but this will not affect the rest of the mailbox. Oh, wait, I misunderstood your first paragraph ... Cyrus IMAP stores its individual mail messages in a seperate file (old 'mh' kinda thing), but there is a db file that maintains the 'state' informatin for the folder (what messages have been read, marked deleted but not purged, etc) ... 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]
Re: Newbie help!
infernus - Bluelight wrote: Sorry for bothering this mailing list, but I realy need some help.. I find awsome screenshots from FreeBSD on various sites on the net, but on my comp, the only thing I see is a black screen with some white text on it, and: $| - I just tested some commands on random, and found that info show some kind of list with information on each something.. How do I enter some kind of interface, or desktop, like on the screenshots? Is there a web-site or enything with tutorials explaining how to do all this.. I was thinking about setting up a FTP and Apache server +mail maybe.. But now when I see this black screen and don't have a clue on what to do, or how to do enything.. I feel the hope is dripping into the sink! Please help me somehow, with tutorials and important information for starters.. Thanks a lot.. Ivan S. - Norway ___ Hello, Do you have access to a web browser to view the handbook? If not you can install a good text based one until you install your graphical user interface. /usr/local/bin/lynx file:///usr/share/doc/en/books/handbook/index.html If this does not work then do the following su - root cd /usr/ports/www/lynx make install clean exit /usr/local/bin/lynx file:///usr/share/doc/en/books/handbook/index.html This should let you view the English version of the hanbook Sincerely, Duane Whitty -- [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: Shell scripting question [newby]
On 10/04/2006, at 12:39 AM, Jan Grant wrote: On Sun, 9 Apr 2006, Malcolm Fitzgerald wrote: I'm trying to follow the instructions at http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/ At point four it offers this shell script. cut -f 1 -d '$' /usr/local/freebsd-update/work/md5all | uniq | while read X; do if [ -f $X ]; then echo $X; fi; done | sort /root/base-old Running this from root shell in konsole (bash) I get while: Expression Syntax. The various hints and clues I get from the shell, the web and man bash haven't helped me. Would someone provide the correct syntax for me? That syntax is correct for sh and bash; you're not running it, however. Double-check that after you su to root, you're really running bash. That error is what csh will tell you. Thanks Jan, Your advice got me to step 7 where the need to pass a control structure to the loop stopped me again. I got a bash shell and I write: for dist in base dict doc games info manpages ports; do cat /mnt/6.0-RELEASE/${dist}/${dist}.?? /usr/${dist}.tgz done I put it onto three lines by typing \ at the end of each line to achieve the layout and I get the prompt . When I get to the end, ie, done I press Enter and get another prompt. How can I get the multi-line command executed? Malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT - Scalable email server solution needed
Marc G. Fournier [EMAIL PROTECTED] wrote: On Sun, 9 Apr 2006, Bill Moran wrote: [snip] I have only a small amount of experience with Cyrus. However: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/Backup Based on that document, it appears as if you're dodging the bullet with backups. My interpretation is that Cyrus keeps mailboxes in some sort of db file. If a db file is being modified while you're backing it up, the backed up version will be inconsistent, thus the entire mailbox unusable. Agreed, but this db file is stored within the maibox itself, and which is what Cyrus has a 'reconstruct' command to rebuild ... so, after a restore, the first thing you run in 'reconstruct' to make sure you database(s) match the mailbox ... Compare this to Maildir, where each message is a seperate file. If you're backing up during access to a mailbox, a single message could end up corrupt, but this will not affect the rest of the mailbox. Oh, wait, I misunderstood your first paragraph ... Cyrus IMAP stores its individual mail messages in a seperate file (old 'mh' kinda thing), but there is a db file that maintains the 'state' informatin for the folder (what messages have been read, marked deleted but not purged, etc) ... Hmm ... I apologize for the misinformation then. It seems like the link listed above could use some updating. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to open /dev/agpgart
FreeBSD gurus, I need your advice. I have a Dell computer with a on-board video card that I suppose is Intel 82945G, running FreeBSD 6.0-RELEASEp6. My kernel has: device agp nevertheless, I don't get /dev/agpgart. I found references to PR80396 in google, but I cannot see this report. Obviously, X does not work. What can I do? Could you help me? Thanks in advance. Eduardo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: BEWARE upgrading Horde System
-Original Message- From: Nikolas Britton [mailto:[EMAIL PROTECTED] Sent: Sunday, April 09, 2006 7:57 AM To: Ted Mittelstaedt Cc: Marc G. Fournier; [EMAIL PROTECTED]; fbsdq Subject: Re: BEWARE upgrading Horde System On 4/9/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: [snipped] I have never understood the demand for being able to do an inplace upgrade of applications or of the operating system, and I've seen enormous trouble with servers that people do this with, under Windows as well as FreeBSD. Furthermore, by the time the software on the server is old, the hardware is ready to be retired in favor of shiny new hardware that is a lot faster. This is also very true of Windows servers too. This gets back to what I was saying with professional-vs-amateur approach. A professional approach to a server is to plan for it to live a certain life then you scrap it, or at the least nuke and repave it for something less demanding. The car-rental companies have been doing this with cars for years, and all the used car buyers can never understand why a car rental companies sell perfectly good cars with a lot of years of life left in them. The amateur approach is to build the server then wring every last day of life out of it. Patch and patch it over and over and over and upgrade it over and over and over, until it just won't work anymore. Hell, people were complaining that FreeBSD 6.0 wouldn't run on a 80386 That's a total amateur approach. I think your mixing up the professional approach with the I'm not paying the bills approach, that shiny new hardware that is a lot faster comes with a price tag attached to it and the price attached to that tag in relation to other factors determines the route to be taken. You do have, at the very least, a basic fiduciary responsibility to your employer, and in the context of business it's money. No, it's not. In the context of business it's competition. While your wringing the last drabs out of your older hardware, your customers are looking at your competitors products that are fielded on NEW hardware they bought last week, not 3 year old hardware they bought 3 years ago. You need to get some sales education, big time. For the total cost of getting 3 new customers you could pay for that new server. If you elect to not get that new server, assuming that by doing so your savng your employer money, it is as they say penny-wise and pound-foolish. It is common thinking that system admins who pay the bills have, they often lose sight of the forest for the trees. Rather than thinking how can I use FreeBSD to save my employer money your employer would be far better off with you thinking How can I use FreeBSD to provide even more features to my customers than the competition, so that our competitor's customers come over to us And let's say even if that server your looking at upgrading is only a year old, and still within acceptable speed, well then what are you doing about sparing? If your running a datacenter and selling access to apps you are fielding on your servers, your customers are paying you to be available either 24x7 or during business hours. If your server motherboard takes a dump at 11:00am in the morning, you should be able to move the disk pack to your spare box and get going within 20 minutes. You can only do that if you maintain a hardware spare. And so for mid-term upgrades, you build it on the spare server then swap the spare with the production server in the dead of night. I'll tell you what - you seem to be promoting the amateur approach of no sparing, and doing inplace upgrades until the server hardware dies - so why not give some specific examples of how this saves money over the professional approach of maintaining sparing and a set hardware lifespan that I'm advocating. I think I've spent a lot of paragraphs outlining the approach I'm advocating and why it saves money for the organization, while you've only done some hand-waving about fiduciary responsibility and some vague assumptions about how doing it the amateur way is better. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Partitioning on existing system
tmpmfs and related variables in rc.conf(5). By default it does a memory-backed disk instead of file-backed, but that can be adjusted. Personally, I find memory-backed /tmp to be more useful anyway. tmpmfs=YES tmpsize=100m tmpmfs_flags=-S -M -o noexec,nosuid Is there something wrong with this because it isn't creating a /tmp at all. Copyright (c) 1992-2006 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 6.1-PRERELEASE #4: Mon Apr 3 22:25:51 PDT 2006 -- Wil Hatfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BST instead of GMT
On Friday, 7 April 2006 at 11:34:29 +0100, Philip Radford wrote: On Friday, April 07, 2006 12:52 AM, Greg 'groggy' Lehey wrote: [text omitted] Thanks for your comments. Both /etc/localtime and /usr/share/zoneinfo/Europe/London are the same. I have since created /etc/localtime as a symbolic link to /usr/share/zoneinfo/Europe/London but still only shows GMT when I enter date. Yes, that won't make any difference. The only thing I haven't mentioned to date is that I use bash as my shell if that is an issue. No, I use bash too. Also there was a lot of talk while researching on google about a TZ environment variable. Should I have this set as I do not have one at the moment. You shouldn't set one. But what happens with these commands? $ date $ TZ=Europe/London date It could be that your clock is just set incorrectly. 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 Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgp0RamVuOi2z.pgp Description: PGP signature
RE: Partitioning on existing system
tmpmfs=YES tmpsize=100m tmpmfs_flags=-S -M -o noexec,nosuid Is there something wrong with this because it isn't creating a /tmp at all. Copyright (c) 1992-2006 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 6.1-PRERELEASE #4: Mon Apr 3 22:25:51 PDT 2006 Ok, I am going to solve my own problem just for search engine food. Aside from adding the rc.conf variables there has to also be a /tmp folder in the first place. I don't know why. I would figure that if needed that that would be part of the boot scripts. But it isn't, so for us tmpmfs newbies: Create an empty /tmp folder Add the following to rc.conf: tmpmfs=YES tmpsize=50m tmpmfs_flags=-S -M -o noexec,nosuid clear_tmp_enable=YES reboot -- Wil Hatfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newsyslog.conf question
I have developed a boot image for a CD to be used on servers througout the organization I work for. Everything is working great, except for one small problem. When I boot from the CD I created, I receive a message stating newsyslog: malformed 'at' value. /var/log/wtmp 640 5 * @01T05 B If I change the time specification to $M1D05 and start newsyslog, no error messages are generated. And, if I boot from the server's hard drive (from which the image was created), newsyslog does not generate any error messages. I have created a symlink from /etc to /usr/local/etc in case I should ever need to modify the file. I am running FreeBSD 6.0. Any insight into why this is happening would be greatly appreciated. Thanks in advance for your assistance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Numerous ftp timeouts - why?
fbsd_user wrote: I had this same problem when I was on dial up line. Once I got cable ISP internet connection the problem never happened again. Those ftp sites are busy and dial up connections degrade performance for the other concurrent users logged onto the ftp site and so dial up users get timed out and dropped. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael D. Norwick Sent: Sunday, April 09, 2006 2:59 PM To: freebsd-questions@freebsd.org Subject: Numerous ftp timeouts - why? New to FreeBSD not new to *nix. Have the docs/handbook/faq, etc. Using freebsd 6.0 RELEASE on Compaq Proliant 2500R. Why when trying to install various apps from ports do the ftp sessions frequently timeout? If I manually fetch packages from sites the download goes ok, but this means I have to copy files to /usr/ports/distfiles manually. did 'man fetch' but still no clue as to why this happens. Thank You, Michael ___ 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] I'm on DSL. The client wants to switch to EXTENDED PASSIVE MODE the first time I want to change directories when connecting manually. I end up selecting passive 'off' to change directories without the connection locking up. I tried allowing bi-directional FTP requests through my firewall. Still no joy. Just finishing up building KDE, it's been on and off for three days! Thank You for the reply. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Partitioning on existing system
On Apr 9, 2006, at 3:05 AM, Wil Hatfield wrote: Thanks for the great kick in the right direction. Is it really this easy? I guess so cause it is working. I dropped in a helloworld script, chmoded it and even as root I couldn't run it. Supreme! mdmfs -M -o noexec,nosuid -s 100m md0 /tmp chmod 1777 /tmp Ahhh crud! I guess it isn't that easy. After a reboot the old /tmp comes back with executable permissions. What do I have to do to keep the device around? you have to have a startup script that will mount it for you. Chad -- Wil Hatfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hard crash on 6.x -- reproducible, multiple people affected
--- Kris Kennaway [EMAIL PROTECTED] wrote: On Sun, Apr 02, 2006 at 04:09:30PM -0400, Anish Mistry wrote: It's not clear what he means by hard crash, but he also says power off, which is the part that is most confusing to me. Hmmm...I missed that part. Yeah, if it powers off then I'm not sure what you can do to debug it. By hard crash I mean the box just instantly powers off. No shutdown syncs, no error, panic's, or dump generated, nothing logged in syslog, and I have a serial cable hooked up to another another dumb terminal hoping to maybe catch a panic or some debug message dumped out over serial as it goes down but nothing there also. It just stops. Also note that this didn't happen on 5.x. And when not running those particular ports the box stays up just fine for weeks on end. Just tried again with 6.1 PRERELEASE and same issue. About all I can think of is to try to reproduce the problem with enough logging enabled (e.g. running the binary under ktrace), with sync-mounted filesystem, and hope that the last few entries give the software developer enough of a clue what the process was doing at the time of shutdown (the operation itself probably will not be logged) that he can focus the investigation further. Want to walk me through this and will do. As I said, reproducible. NOTE: I doubt it a linux syscall issue as i2p / freenet / and tor are all build on FBSD, not linux binaries. Freenet and I2P do use linux-java (as the new diablo ones aren't avaiable for amd64) BUT tor does not. Its all C. Also as noted, other people (using i386, not just amd64) have emailed me (as the tor maintainer) with the exact same problem on entirely different hardware (different nics, motherboards, proc's etc etc). Somebody suggested maybe a ACPI issue but I just don't see how that could me it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/etc/fstab FS-specific parameters
Hi there! How do you use FS-specific parameters in /etc/fstab (like -E for mount_msdosfs, or -I for mount_smbfs, etc...) ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
seeking help on adding a disk
Hi everyone. I am having trouble adding a IDE 300 GB Maxtor to my 6.0 system. It is recognized as ad2. Here is dmesg: ad0: 39205MB Maxtor 6K040L0 NAR61HA0 at ata0-master UDMA133 ad1: 190782MB Seagate ST3200826A 3.03 at ata0-slave UDMA100 ad2: 286188MB Maxtor 6L300R0 BAJ41G20 at ata1-master UDMA133 I want to devote the entire disk to FreeBSD and use a single slice and partition and mount it on directory /images. This is what happened: # dd if=/dev/zero of=/dev/ad2 bs=1k count=64 64+0 records in 64+0 records out 65536 bytes transferred in 0.005377 secs (12188086 bytes/sec) # fdisk -B -I /dev/ad2 *** Working on device /dev/ad2 *** fdisk: invalid fdisk partition table found fdisk: Geom not found # bsdlabel -w -B /dev/ad2s1 # fdisk ad2 *** Working on device /dev/ad2 *** parameters extracted from in-core disklabel are: cylinders=581463 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=581463 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 586114641 (286188 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 854/ head 15/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED # bsdlabel ad2s1 # /dev/ad2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 586114625 16unused0 0 c: 5861146410unused0 0 # raw part, don't edit Now shouldn't I have some values in the first (a:) row? Anyway, when I try to create a filesystem with newfs I get an error: # newfs /dev/ad2s1a ..., 450493504, 450869856, 451246208,newfs: wtfs: 65536 bytes at sector 451622560: Input/output error Now please let me know if my method is sound. I feel the drive size is not being properly recognized and that the last command is trying to write past the edge of the disk. I would also like to not be using s1a but s1e instead. Furthermore, the docs [1] for this drive say that an 80-wire cable is required. I didn't have one handy so I had to use a 40-wire cable. Could this be causing the trouble? Thanks for any insights (I have a hell of a time working with disks on FreeBSD). -- Peter [1] http://www.maxtor.com/portal/site/Maxtor/menuitem.5d2b41d3cef51dfe29dd10a191346068/?channelpath=/en_us/Support/Product%20Support/Desktop%20Storage/DiamondMax%20Family/DiamondMax%2010 __ 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: seeking help on adding a disk
On 4/9/06, Peter [EMAIL PROTECTED] wrote: # fdisk -B -I /dev/ad2 I don't believe you need this step if you are going to do: # bsdlabel -w -B /dev/ad2s1 Though I think you want to merely do #bsdlabel -Bw /dev/ad2 . . . (I was and still am under the impression that fdisk is not needed on dedicated freebsd disks, as I have numerous times added disks without it) Now shouldn't I have some values in the first (a:) row? Not if you don't have a filesystem in there, which should lead you to newfs, as, Anyway, when I try to create a filesystem with newfs I get an error: # newfs /dev/ad2s1a ..., 450493504, 450869856, 451246208,newfs: wtfs: 65536 bytes at sector 451622560: Input/output error #newfs -U /dev/ad2a is what I would try first. or depending on how large of files I was planning on having futzing with -b -i -f as well. Furthermore, the docs [1] for this drive say that an 80-wire cable is required. I didn't have one handy so I had to use a 40-wire cable. Could this be causing the trouble? It shouldn't be able to run at better than udma66 (I think) with a 40 conductor cable, though it should autodetect that and default to the slower speed. If it's not, I could see problems. Good luck. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hard crash on 6.x -- reproducible, multiple people affected
Peter Thoenen wrote: --- Kris Kennaway [EMAIL PROTECTED] wrote: On Sun, Apr 02, 2006 at 04:09:30PM -0400, Anish Mistry wrote: It's not clear what he means by hard crash, but he also says power off, which is the part that is most confusing to me. Hmmm...I missed that part. Yeah, if it powers off then I'm not sure what you can do to debug it. By hard crash I mean the box just instantly powers off. No shutdown syncs, no error, panic's, or dump generated, nothing logged in syslog, and I have a serial cable hooked up to another another dumb terminal hoping to maybe catch a panic or some debug message dumped out over serial as it goes down but nothing there also. It just stops. Also note that this didn't happen on 5.x. And when not running those particular ports the box stays up just fine for weeks on end. Just tried again with 6.1 PRERELEASE and same issue. About all I can think of is to try to reproduce the problem with enough logging enabled (e.g. running the binary under ktrace), with sync-mounted filesystem, and hope that the last few entries give the software developer enough of a clue what the process was doing at the time of shutdown (the operation itself probably will not be logged) that he can focus the investigation further. Want to walk me through this and will do. As I said, reproducible. NOTE: I doubt it a linux syscall issue as i2p / freenet / and tor are all build on FBSD, not linux binaries. Freenet and I2P do use linux-java (as the new diablo ones aren't avaiable for amd64) BUT tor does not. Its all C. Also as noted, other people (using i386, not just amd64) have emailed me (as the tor maintainer) with the exact same problem on entirely different hardware (different nics, motherboards, proc's etc etc). Somebody suggested maybe a ACPI issue but I just don't see how that could me it. ___ Anyone got a hardware debugger (breakout box) they know how to use? I don't hear much about them anymore but I think this is the kind of problem they were useful for helping with. Maybe I'm thinking of something else, its been a long time. Duane -- [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: Setting max interrupts per second (WAS printing on firefox)
On Saturday 08 April 2006 04:22, Fabian Keil wrote: Oliver Iberien [EMAIL PROTECTED] wrote: [snip] The printer (Xerox N17, local, parallel port) started cycling through waiting-processing-waiting messages. Rebooting, I saw a message about an IRQ storm on the printer port being throttled. Killing the job took care of this. [snip] The default value of hw.intr_storm_threshold is easily reached by a printer connected through the parallel port. Have a look at: http://www.lemis.com/grog/diary-dec2005.html#8. Fabian Thanks for this. Here's the relevent text from that weblog: As a result, once more harnessed my veteran HP LaserJet 6MP to echunga. Printing went at a snail's pace. Finally I discovered the message: Interrupt storm detected on irq7: lpt0; throttling interrupt source It proved to be a new interrupt throttling feature in the system: the sysctl variable hw.intr_storm_threshold sets the maximum number of interrupts per second on any interrupt level. The default value is 500, woefully inadequate for a PostScript printer on a parallel port, which can generate over 100,000 interrupts a second. Fixed that: === [EMAIL PROTECTED] (/dev/ttyp1) ~ 130 - sysctl hw.intr_storm_threshold hw.intr_storm_threshold: 500 === [EMAIL PROTECTED] (/dev/ttyp1) ~ 131 - sysctl hw.intr_storm_threshold=20 hw.intr_storm_threshold: 500 - 20 Unfortunately, this effectively disables the interrupt storm detection system-wide. The values should be per interrupt. Does anyone have any idea what an optimum number would be? Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]