The FreeBSD Diary: 2005-10-09 - 2005-10-29
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/. These are the articles posted during this period: 18-Oct : FreeBSD 6.0-RC1 This is the desciption http://freebsddiary.org/freebsd-6.0-rc1.php?2 14-Oct : Cross compiling on AMD64 - the teaser Why let a big machine idle? http://freebsddiary.org/index.html?2 -- 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: sound on FreeBSD
On 10/30/05, Jim Pazarena [EMAIL PROTECTED] wrote: does anyone have a link where a web page has been created which explains clearly how to install sound drivers _and_ test them I.E. play a sound? I found on BSDForums.org an explanation which describes first using kldload to try to determine what driver you need, and then it speaks a bit about compiling directly into the kernel, but neither example show how to actually play a sound --any sound-- as a test to see if it works. A CLI example would be very handy. I'll write a guide for you that should work. kldload snd_driver mixer vol 100:100 mixer pcm 100:100 cat /dev/urandom /dev/dsp That should work with all supported soundcards and should produce a sound of some sort. -- If I write a signature, my emails will appear more personalised. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: UNEXPECTED INCONSISTENCY - fsck
There was recently a power outage in the area, which lasted longer than the UPS did. ... ** Phase 4 - Check Reference Counts BAD/DUP FILE I=3219136 OWNER=13273856 MODE=103210 SIZE=57005967061714584 MTIME=Jun 3 16:08 1970 CLEAR? [yn] yes pid 22 (fsck), uid 0: exited on signal 11 Segmentation fault # And what's happend if you reboot and do this again ? This happens every time I reboot, same messages, if I just do a fsck (no -y) and answer no to this Clear? question, I get a second, similar BAD/DUP FILE I= 3219137 ... A yes this time results in the Segmentation fault again, a no tells me the file system is still dirty, and to run fsck again. I suspect that the drive itself is now damaged. It is FreeBSD 3.4, 2 * 17GB HITACHI SCSI Drives and 128MB RAM. Woouuahhthat's old ;-)) I know, but time and resources have prevented an update so far (not to mention my even more out of date knowledge), I resisted the urge to update until I could do things properly. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Sat Oct 29 23:11:05 CEST 2005 Unfortunately, I was not involved with the initial construction and configuration of this system, it just falls to me to get it working again. Looks like it may now be time to do that upgrade. John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Getting my screen to rotate with my monitor
I have a fancy dancy LCD screen that can rotate clockwise. It would be nice to be able to use this functionality but I have no idea where to start. Hopefully somebody can tell me if it's even feasible. My video card is a Voodoo 3 running the tdfx driver. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting my screen to rotate with my monitor
On 10/30/05, ross [EMAIL PROTECTED] wrote: I have a fancy dancy LCD screen that can rotate clockwise. It would be nice to be able to use this functionality but I have no idea where to start. Hopefully somebody can tell me if it's even feasible. My video card is a Voodoo 3 running the tdfx driver. There is a rotate option for the device section in xorg (maybe for all cards, not quite sure...). It is unaccelerated, but indeed rotated. -- If I write a signature, my emails will appear more personalised. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to perform clean shutdown.
Hans Nieser wrote: Hi list, [...] Does anyone know what causes my system not to be able to perform a clean shutdown anymore? and, does anyone know what the deal with fsck_ext2fs being called with a non-existent -F options is? My apologies, I didn't properly google the subject and missed http://hacks.oreilly.com/pub/h/3243 and various mailinglist posts. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting an iPod
Hi James, Thanks for your interest. The page you indicate mentions rebuiding the kernel with HFS/HFS+ support. I found a chapter on rebuilding kernels in The Complete FreeBSD and I suppose the handbook also has something to say about it. I'll sort this out first and will come back to you about the scripts you mentioned. Edward James Seward wrote: On 10/29/05, edward [EMAIL PROTECTED] wrote: The iPod uses an HFS+ file system. It's been loaded from a Mac. I would like to mount it to /mnt/ipod A quick Google suggests you can try http://people.freebsd.org/~yar/hfs/ to add HFS support to FreeBSD, otherwise you're going to have to reformat your iPod for Windows and then mount it as FAT. I then added this line: /dev/da0s2 /ipod msdos rw,noauto 0 0 to my fstab, and wrote myself a little ipod script I can use to mount and umount/eject it. To mount it it just mounts /ipod, and to eject it, i umounts /ipod and then calls camcontrol eject on the right device ID to eject it (so the iPod stops thinking it's connected). I can offer further assistance with the 2nd half but not the 1st half of this :) /JMS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tcp services (ssh,ftp) does not work
dear all, i have put sshd_enable=YES and inetd_enable=YES in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows connection established but the ftp client does not show anything. using ftp/ssh on the same computer also does not show anything --- just blank. what could have gone wrong. Help !!! kamal __ Yahoo! Mail - PC Magazine Editors' Choice 2005 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: tcp services (ssh,ftp) does not work
try to lookup verbose mode and check /var/log/messages/ On 10/30/05, kamal kc [EMAIL PROTECTED] wrote: dear all, i have put sshd_enable=YES and inetd_enable=YES in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows connection established but the ftp client does not show anything. using ftp/ssh on the same computer also does not show anything --- just blank. what could have gone wrong. Help !!! kamal __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED] -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCDR84vcL1obalX08RAoFhAJwNuXW5vKTb5bK6hlIFeFTymMiyPACgo6rI QtLBjucJJH+AtrEem2NBHKI= =bYD1 -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]
Canonical upgrade procedure for 6.0?
Hello, Is there anywhere on the FreeBSD.org site that has any (even if semi-official) procedure for upgrading a FreeBSD-5Stable machine (i386) to 6.0? Thanks. Regards, Stacey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canonical upgrade procedure for 6.0?
On Sun, Oct 30, 2005 at 10:28:35AM +, Stacey Roberts wrote: Hello, Is there anywhere on the FreeBSD.org site that has any (even if semi-official) procedure for upgrading a FreeBSD-5Stable machine (i386) to 6.0? Chapter 20 of the Handbook details how to update your system with cvsup and how to rebuild your kernel+world. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpKdrdX2cEBW.pgp Description: PGP signature
Re: Canonical upgrade procedure for 6.0?
Hello Roland, Thanks for the response. On Sun, 30 Oct 2005, Roland Smith wrote: On Sun, Oct 30, 2005 at 10:28:35AM +, Stacey Roberts wrote: Hello, Is there anywhere on the FreeBSD.org site that has any (even if semi-official) procedure for upgrading a FreeBSD-5Stable machine (i386) to 6.0? Chapter 20 of the Handbook details how to update your system with cvsup and how to rebuild your kernel+world. I know about the procedures details in that chapter, however, I'm recalling the fact that at one point in time, there was a migrating link (http://www.freebsd.org/old/releases/5.4R/migration-guide.html) on the old website that included, if you will, *the way* to migrate from FreeBSD-4 to FreeBSD-5 - that included changes and extra steps as against what is mentioned in chapter 20 in the Handbook. Similarly (to me) in this scenario, in an upgrade from FreeBSD-5 to FreeBSD-6, I wondered if any correspondingly different changes / extra steps are required. My main reason for asking, is the fact that google searches on this matter return differing procedures (with varying sequences and numbers of steps) used by posters. If chapter 20 is the way, then fair enough, but I thought it a simple thing to ask. Thanks again for taking the time. Regards, Stacey Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpovXB7zz9f2.pgp Description: PGP signature
Re: Getting my screen to rotate with my monitor
On 10/30/05, Eric Kjeldergaard [EMAIL PROTECTED] wrote: On 10/30/05, ross [EMAIL PROTECTED] wrote: I have a fancy dancy LCD screen that can rotate clockwise. It would be nice to be able to use this functionality but I have no idea where to start. Hopefully somebody can tell me if it's even feasible. My video card is a Voodoo 3 running the tdfx driver. There is a rotate option for the device section in xorg (maybe for all cards, not quite sure...). It is unaccelerated, but indeed rotated. Sorry, forgot to mention one more thing. xrandr extension allows for rotation (I think that's the second r). In kde there is krandrtray which allows the dynamic rotation of the screen. -- If I write a signature, my emails will appear more personalised. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcp services (ssh,ftp) does not work
At 02:07 AM 10/30/2005 -0800, kamal kc wrote: | dear all, | | i have put sshd_enable=YES | and inetd_enable=YES | in /etc/rc.conf. | | netstat -an also shows that the port numbers | 21 and 22 are in listen state | | ftp is uncommented in /etc/inetd.conf | | but still the ssh/ftp services does not work. | | when i ftp from another computer the netstat | shows connection established but the ftp client | does not show anything. | | using ftp/ssh on the same computer also does not show | anything --- just blank. | | | what could have gone wrong. | | Help !!! | | kamal telnet localhost 21 telnet localhost 22 see if you get connections do you have a firewall running? Such as ipf. If so, make sure you have rules to allow traffic on those ports from outside machines, etc. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help: kinit failed
Dear Sirs, When I tried to add my FreeBSD machine as a domain member to ADS domain (with Windows Server 2003 SP1 as a domain controller), the problem with Kerberos authentication arised. I installed heimdal-0.6_3.2 package for Kerberos authentication. I used the following /etc/krb5.conf file: [appdefaults] encrypt = yes forward = yes forwardable = yes no-addresses = yes proxiable = yes renew_lifetime = 70 years ticket_lifetime = 70 years [libdefaults] default_realm = MY.REALM dns_lookup_kdc = yes dns_lookup_realm = yes forwardable = yes kdc_timesync = yes proxiable = yes renew_lifetime = 70 years ticket_lifetime = 70 years [domain_realm] .my.domain = MY.REALM [realms] MY.REALM = { admin_server = controller.my.domain kdc = controller.my.domain:88 kpasswd_server = controller.my.domain:464 krb524_server = controller.my.domain } (this is an example file, in my real file MY.REALM, controller, and my.domain entries are substituted with the real names). When I tried to kinit [EMAIL PROTECTED], I got the following: [EMAIL PROTECTED] Password: kinit: krb5_get_init_creds: Requested effective lifetime is negative or too short # klist -v klist: No ticket file: /tmp/krb5cc_0 Then I tried to change renew_lifetime and ticket_lifetime entries in my /etc/krb5.conf file to 700 years, and this is what I got: # kinit [EMAIL PROTECTED] [EMAIL PROTECTED] Password: kinit: NOTICE: ticket renewable lifetime is SU ( # klist -v Credentials cache: FILE:/tmp/krb5cc_0 Principal: [EMAIL PROTECTED] Cache version: 4 KDC time offset: -4 seconds Server: krbtgt/[EMAIL PROTECTED] Ticket etype: arcfour-hmac-md5, kvno 2 Auth time: Oct 30 11:01:20 2005 End time: Jan 1 03:00:00 1970 (expired) Renew till: Jan 1 03:00:00 1970 Ticket flags: forwardable, proxiable, renewable, initial, ok-as-delegate Addresses: Now, the questions are: 1) Why should I set so long time period for tickets and for renewable tickets, and 2) Why is the ticket obtained from my domain controller for my FreeBSD client is expired? If You have any ideas, please write me. I tried to figure out why is this so, but I didn't find any sources where this case was described and what should be done to resolve this problem. Thank You in advance, and looking forward hearing from You. Vadym Yepishov, FreeBSD fan:) P.S. I use FreeBSD 5.4 - End forwarded message - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
backup strategies
Hi! We plan to set up a backup server. While the basic backup procedure is clear -- use some archiving utility like dump, tar, or cpio and send data to the backup server via ssh or a network mount -- there are many details which are unclear for me. The two biggest problems are: 1) What parts are to be backed up? If I backup the whole system, the backup disk will get full soon. You could say it's not necessary, and that only the valueable data should be backed up (and not those parts which are easy to re-create by means of a new installation). But, say, someone breaks into the machince. How could I reliably find out the Achilles heel she used to get in if I don't have a complete system backup? Or if she has a backdoor left behind? 2) How to schedule backups? I guess services should stop for the backup period as the backup could be unreliable or inconsistent if disk/file writes were going on during backup. It sounds as if I should drop to single user mode. Or is there a less drastic approach? And if I dropped to single user mode, I would lose control over the box for that period, as the box is accessed via ssh and sshd is also stopped in single user mode -- this sounds scary... TYA. -- Csaba Henk My sense of humour is often too subtle to cope with getting smileyd. Please don't take it personal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4 GB RAM but can only see 3 GB (HP 380)
Hi! Two different customers have bought a HP 380 server each, both with 4 GB RAM, but FreeBSD can only see three of them. BIOS counts to 4 GB. I've tried PAE, but it doesn't help. Any tips how I can make use of the last 1GB? Both are SMP, dual Xeon CPU's. 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 5.4-RELEASE-p6 #2: Thu Aug 25 03:49:30 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HJKERNEL Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3400.14-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf43 Stepping = 3 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 3221172224 (3071 MB) avail memory = 3150819328 (3004 MB) ACPI APIC Table: HP 0083 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic0 Version 2.0 irqs 0-23 on motherboard ioapic1 Version 2.0 irqs 24-47 on motherboard ioapic2 Version 2.0 irqs 48-71 on motherboard ioapic3 Version 2.0 irqs 72-95 on motherboard ioapic4 Version 2.0 irqs 96-119 on motherboard npx0: math processor on motherboard npx0: INT 16 interface acpi0: HP P51 on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x908-0x90b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pci2: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci2 pci3: ACPI PCI bus on pcib2 bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem 0xfdef-0xfdef irq 25 at device 1.0 on pci3 miibus0: MII bus on bge0 brgphy0: BCM5704 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:13:21:6b:77:51 bge1: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem 0xfdee-0xfdee irq 26 at device 1.1 on pci3 miibus1: MII bus on bge1 brgphy1: BCM5704 10/100/1000baseTX PHY on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:13:21:6b:77:50 pcib3: ACPI PCI-PCI bridge at device 0.2 on pci2 pci4: ACPI PCI bus on pcib3 ciss0: HP Smart Array 6i port 0x4000-0x40ff mem 0xfdf8-0xfdfb,0xfdff-0xfdff1fff irq 51 at device 3.0 on pci4 pcib4: ACPI PCI-PCI bridge at device 6.0 on pci0 pci5: ACPI PCI bus on pcib4 pcib5: ACPI PCI-PCI bridge at device 0.0 on pci5 pci6: ACPI PCI bus on pcib5 pcib6: ACPI PCI-PCI bridge at device 0.2 on pci5 pci10: ACPI PCI bus on pcib6 uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0x2000-0x201f irq 16 at device 29.0 on pci0 usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0x2020-0x203f irq 19 at device 29.1 on pci0 usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0x2040-0x205f irq 18 at device 29.2 on pci0 usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0x2060-0x207f irq 16 at device 29.3 on pci0 usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: serial bus, USB at device 29.7 (no driver attached) pcib7: ACPI PCI-PCI bridge at device 30.0 on pci0 pci1: ACPI PCI bus on pcib7 pci1: display, VGA at device 3.0 (no driver attached) pci1: base peripheral at device 4.0 (no driver attached) pci1: base peripheral at device 4.2 (no driver attached) isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH5 UDMA100 controller port 0x500-0x50f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 acpi_tz0: Thermal Zone on acpi0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 sio0: Standard PC COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A fdc0: floppy drive controller (FDE) port 0x3f2-0x3f5 irq
Re: Sed howto
I concur. The 20 pages on sed are probably part of what you want. It doesn't answer your besides... however. Perhaps someone else can help there. Here's a link to O'Reilly: http://www.oreilly.com/openbook/utp/UnixTextProcessing.pdf It is a really such a book, that I should read. Not only the sed part, but the entire book seems interesting and useful. Thanks. Cheers, Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting an iPod
I rebuilt the kernel with HFS/HFS+ support and it boots and loads OK. But no luck mounting the iPod on the firewire port. No luck on the USB port either : # mount -t hfs /dev/da0s1 /mnt hfs: /dev/da0s1: Operation not supported by device Same happens with /dev/da0s2 and /dev/da0s3 Any ideas ? Edward James Seward wrote: On 10/29/05, edward [EMAIL PROTECTED] wrote: The iPod uses an HFS+ file system. It's been loaded from a Mac. I would like to mount it to /mnt/ipod A quick Google suggests you can try http://people.freebsd.org/~yar/hfs/ to add HFS support to FreeBSD, otherwise you're going to have to reformat your iPod for Windows and then mount it as FAT. I then added this line: /dev/da0s2 /ipod msdos rw,noauto 0 0 to my fstab, and wrote myself a little ipod script I can use to mount and umount/eject it. To mount it it just mounts /ipod, and to eject it, i umounts /ipod and then calls camcontrol eject on the right device ID to eject it (so the iPod stops thinking it's connected). I can offer further assistance with the 2nd half but not the 1st half of this :) /JMS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: tcp services (ssh,ftp) does not work
On Sunday, October 30, 2005 8:23:27 AM, [EMAIL PROTECTED] Subject: Re: tcp services (ssh,ftp) does not work Wrote these words of wisdom: At 02:07 AM 10/30/2005 -0800, kamal kc wrote: | dear all, | | i have put sshd_enable=YES | and inetd_enable=YES | in /etc/rc.conf. | | netstat -an also shows that the port numbers | 21 and 22 are in listen state | | ftp is uncommented in /etc/inetd.conf | | but still the ssh/ftp services does not work. | | when i ftp from another computer the netstat | shows connection established but the ftp client | does not show anything. | | using ftp/ssh on the same computer also does not show | anything --- just blank. | | | what could have gone wrong. | | Help !!! | | kamal telnet localhost 21 telnet localhost 22 see if you get connections do you have a firewall running? Such as ipf. If so, make sure you have rules to allow traffic on those ports from outside machines, etc. Ray * REPLY SEPARATOR * On 10/11/2005 5:29:42 PM, Gerard Replied: Do you have an external router connected to the system. I had D-Link that was blocking several ports. I spend hours trying to configure my system until it dawned on me what the problem was. -- .:\:/:. +---+ .:\:\:/:/:. | PLEASE DO NOT |:.:\:\:/:/:.: | FEED THE TROLLS | :=.' - - '.=: | | '=(\ 9 9 /)=' | Thank you, | ( (_) ) | Management | /`-vvv-'\ +---+ / \ | |@@@ / /|,|\ \ | |@@@ /_// /^\ \\_\ @x@@x@| | |/ WW( ( ) )WW \/| |\| __\,,\ /,,/__ \||/ | | | (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcp services (ssh,ftp) does not work
Le 30/10/2005 à 02:07:49-0800, kamal kc a écrit dear all, i have put sshd_enable=YES and inetd_enable=YES in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows connection established but the ftp client does not show anything. using ftp/ssh on the same computer also does not show anything --- just blank. what could have gone wrong. Check your /etc/hosts.allow Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Sun Oct 30 16:15:08 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall messages to syslogd
On Oct 29, 2005, at 10:32 PM, Daniel Molina Wegener wrote: Hello, How can I add firewall log messages to syslogd, I have added the following lines to the syslog.conf: # router +router *.* /var/log/router.log Also, syslogd is running with the flag -a with the ip address of the firewall -- the mask, and service. The computer receive the packets to the 514 port -- I've used tcpdump to log the packets -- but the messages are not logged into the router.log file. Try the following in your /etc/syslog.conf file, assuming you're using ipfw as your firewall: #ipfw logging !ipfw *.*/var/log/router.log Now, perform the following command, assuming your running FreeBSD 5.x+: # touch /var/log/router.log chmod 0600 /var/log/router.log /etc/ rc.d/syslogd restart Let me know what happens - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation failure
I am trying to install a FreeBSD on i386 and it hangs on that line ato0: resetting.. - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting an iPod
On Oct 30, 2005, at 9:03 AM, edward wrote: I rebuilt the kernel with HFS/HFS+ support and it boots and loads OK. But no luck mounting the iPod on the firewire port. No luck on the USB port either : # mount -t hfs /dev/da0s1 /mnt hfs: /dev/da0s1: Operation not supported by device Same happens with /dev/da0s2 and /dev/da0s3 Any ideas ? Edward Are you sure your ipod is on /dev/daX? - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation failure
I am trying to install FreeBsd 5.0 on i386 and it hangs in the middle of installation process with a ata0: resetting devices.. I thought it was a graphic card, i put a diff one, same error I changed alot of stuff in the BIOS setup trying to make it work .. nothing All help would be appreciated - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation failure
On 10/30/05, some one [EMAIL PROTECTED] wrote: I am trying to install FreeBsd 5.0 on i386 and it hangs in the middle of installation process with a ata0: resetting devices.. I thought it was a graphic card, i put a diff one, same error I changed alot of stuff in the BIOS setup trying to make it work .. nothing All help would be appreciated - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 5.0 is unsupported. Please try 5.4 or 6.0RC1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canonical upgrade procedure for 6.0?
On Sun, Oct 30, 2005 at 11:44:24AM +, Stacey Roberts wrote: Hello Roland, Thanks for the response. On Sun, 30 Oct 2005, Roland Smith wrote: On Sun, Oct 30, 2005 at 10:28:35AM +, Stacey Roberts wrote: Hello, Is there anywhere on the FreeBSD.org site that has any (even if semi-official) procedure for upgrading a FreeBSD-5Stable machine (i386) to 6.0? Chapter 20 of the Handbook details how to update your system with cvsup and how to rebuild your kernel+world. I know about the procedures details in that chapter, however, I'm recalling the fact that at one point in time, there was a migrating link (http://www.freebsd.org/old/releases/5.4R/migration-guide.html) on the old website that included, if you will, *the way* to migrate from FreeBSD-4 to FreeBSD-5 - that included changes and extra steps as against what is mentioned in chapter 20 in the Handbook. The migration from 4 to 5 was much more involved, because some subsystems had been radically changed. The changes from 5 to 6 are less so, AFAIK. If chapter 20 is the way, then fair enough, but I thought it a simple thing to ask. Actually, the instructions in /usr/src/UPDATING are considered to be canonical, AFAIK. Chapter 20 refers to it. Look for COMMON ITEMS, especially To upgrade in-place from 5.x-stable to current. That being said, I guess the least troublesome route is to make a backup of your data (including configuration files), wipe the disks and do a re-install of 6.0. That way you can be sure there are no leftovers from 5.x. And then you can port your config files to the new release. Especially, it gives you an opportinity to tune things like slices and their sizes. Personally I like to have /home on a separate slice for easy dumps and backups, since my /usr is to big to fit on DVD with /usr/home in it. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpJwnkfjcvqa.pgp Description: PGP signature
Re: OpenAFS for FreeBSD...
Jack T wrote: RE:Performance, it seems to perform fine enough for me. YMMV. On 10/29/05, Francisco Reyes [EMAIL PROTECTED] wrote: How many machines do you have connected using it? I'm only using Arla as a AFS client to access my company's AFS realm from my desktop BSD machine. As far as I can tell, my company's AFS realm is provided using about a dozen Solaris machines. And we have about 1000 employees (with home directories and almost all software served from AFS ) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
floppy install problems with strange message
hello, i'm trying a floppy install of the 5.4-RELEASE and whatever ftp site i choose i would get the following message: No such directory: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/i386/5.4-RELEASE please check the URL and try again. i know the snapshot directory doesn't exist (if i ftp directly to the server) so how come this would come for the floppy install? -- Take back the web! getfirefox.com Subtle and insubstantial, the expert leaves no trace; divinely mysterious, he is inaudible. Thus he is the master of his enemy's fate. —Sun Tzu Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting an iPod
If you attach the device as the root user, you should get a console message indicating that a new device was found on such-and-such port. Also, I believe it will be listed in either /var/log/messages or /var/log/all.log. On Oct 30, 2005, at 10:11 AM, edward wrote: It should be. How do I check ? Edw. Eric F Crist wrote: On Oct 30, 2005, at 9:03 AM, edward wrote: I rebuilt the kernel with HFS/HFS+ support and it boots and loads OK. But no luck mounting the iPod on the firewire port. No luck on the USB port either : # mount -t hfs /dev/da0s1 /mnt hfs: /dev/da0s1: Operation not supported by device Same happens with /dev/da0s2 and /dev/da0s3 Any ideas ? Edward Are you sure your ipod is on /dev/daX? - Eric F Crist Secure Computing Networks http://www.secure-computing.net - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting an iPod
2005/10/30, edward [EMAIL PROTECTED]: I rebuilt the kernel with HFS/HFS+ support and it boots and loads OK. But no luck mounting the iPod on the firewire port. No luck on the USB port either : # mount -t hfs /dev/da0s1 /mnt hfs: /dev/da0s1: Operation not supported by device Same happens with /dev/da0s2 and /dev/da0s3 Any ideas ? Edward James Seward wrote: On 10/29/05, edward [EMAIL PROTECTED] wrote: The iPod uses an HFS+ file system. It's been loaded from a Mac. I would like to mount it to /mnt/ipod A quick Google suggests you can try http://people.freebsd.org/~yar/hfs/ to add HFS support to FreeBSD, otherwise you're going to have to reformat your iPod for Windows and then mount it as FAT. I then added this line: /dev/da0s2 /ipod msdos rw,noauto 0 0 to my fstab, and wrote myself a little ipod script I can use to mount and umount/eject it. To mount it it just mounts /ipod, and to eject it, i umounts /ipod and then calls camcontrol eject on the right device ID to eject it (so the iPod stops thinking it's connected). I can offer further assistance with the 2nd half but not the 1st half of this :) /JMS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You data must be in /dev/daX is it written at http://people.freebsd.org/~yar/hfs/ : The entire disk of your iPod will be accessible as /dev/daX, where X is a number assigned to this new device upon plugging it. The GEOM_APPLE module will further split the disk into /dev/daXs1, a partition map partition (yes, it's self-contained); /dev/daXs2, a firmware partition; and /dev/daXs3, an HFS Plus volume partition. Obviously, you should mount the latter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can a process be made immune to out-of-swap-space kills?
On 2005-10-30 00:21, Doug Lee [EMAIL PROTECTED] wrote: On Sun, Oct 30, 2005 at 01:59:53AM +0300, Giorgos Keramidas wrote: On 2005-10-29 16:34, Doug Lee [EMAIL PROTECTED] wrote: Sometimes, I accidentally run something that eats up too much memory and causes the pager to run out of swap space and start shooting down processes to rectify the situation. Sometimes, the process chosen for demolition happens to be `screen.' Since this process sorta manages a whole lot of others and, on being zapped out of existence, leaves many of them running but inaccessible, I find this choice decidedly inconvenient. Is there a way for me to force FreeBSD to leave `screen' (or any other process) alone when selecting something to kill to free memory? Hmmm, why are user limits not applied? Wouldn't it be a nicer way to solve the rogue process problems? It turns out that the problem is not actually a memory request but a huge temp file in an MFS filesystem... so maybe I need to figure out how to limit the size of a mount_mfs so it can't blast processes out of existence. Ah! That explains why this wasn't caught by the user limits :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canonical upgrade procedure for 6.0?
Hello Roland, On Sun, 30 Oct 2005, Roland Smith wrote: On Sun, Oct 30, 2005 at 11:44:24AM +, Stacey Roberts wrote: Hello Roland, Thanks for the response. On Sun, 30 Oct 2005, Roland Smith wrote: On Sun, Oct 30, 2005 at 10:28:35AM +, Stacey Roberts wrote: Hello, Is there anywhere on the FreeBSD.org site that has any (even if semi-official) procedure for upgrading a FreeBSD-5Stable machine (i386) to 6.0? Chapter 20 of the Handbook details how to update your system with cvsup and how to rebuild your kernel+world. I know about the procedures details in that chapter, however, I'm recalling the fact that at one point in time, there was a migrating link (http://www.freebsd.org/old/releases/5.4R/migration-guide.html) on the old website that included, if you will, *the way* to migrate from FreeBSD-4 to FreeBSD-5 - that included changes and extra steps as against what is mentioned in chapter 20 in the Handbook. The migration from 4 to 5 was much more involved, because some subsystems had been radically changed. The changes from 5 to 6 are less so, AFAIK. If chapter 20 is the way, then fair enough, but I thought it a simple thing to ask. Actually, the instructions in /usr/src/UPDATING are considered to be canonical, AFAIK. Chapter 20 refers to it. Look for COMMON ITEMS, especially To upgrade in-place from 5.x-stable to current. Okay.., I took the view that following the Handbook was the way to go, changing *default release=cvs tag=RELENG_5 to *default release=cvs tag=RELENG_6. All went fine, that is, I was able to cvsup sources to upgrade a FreeBSD-5-Stable machine to FreeBSD-6.0-RC-1: $ uname -a FreeBSD snipped 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 snipped:/usr/obj/usr/src/sys/GENERIC i386 $ All looks well, whereby I can log in successfully, and load X as before (I know that at some point I need to rebuild all installed ports), however I now need to configure, compile and install a custom kernel. But when I checked the location of where (the default in FreeBSD) I'd expect to see a new GENERIC, I see the following: /usr/src/sys/i386/conf $ ls -tla total 92 drwxr-xr-x 2 root wheel512 Oct 30 18:05 . drwxr-xr-x 14 root wheel512 Oct 29 19:48 .. -rw-r--r-- 1 root wheel 1741 Oct 29 19:48 GENERIC.hints -rw-r--r-- 1 root wheel372 Oct 28 20:21 DEFAULTS -rw-r--r-- 1 root wheel 10211 Oct 28 20:21 GENERIC -rw-r--r-- 1 root wheel 33284 Oct 7 15:00 NOTES -rw-r--r-- 1 root wheel322 Sep 18 04:37 SMP -rw-r--r-- 1 root wheel 1766 Jul 29 17:02 PAE -rw-r--r-- 1 root wheel 13 Jun 20 17:52 .cvsignore -rw-r--r-- 1 root wheel120 Feb 26 2003 Makefile /usr/src/sys/i386/conf $ After copying GENERIC to MYKERNEL, I'd have expected to go through MYKERNEL to add / delete as required, as well as remove the debugging statements that I'd come across from reading various suggestions (like options INVARIANTS, etc), but I've found that the GENERIC on this system doesn't have the entries for any of those debugging statements to remove. Here's a snippet where I'd have expected to see some of those entries: $ more GENERIC # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.4 2005/10/28 19:21:27 jhb Exp $ machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols #optionsSCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories
Re: backup strategies
Hi On 10/30/05, Csaba Henk [EMAIL PROTECTED] wrote: Hi! We plan to set up a backup server. While the basic backup procedure is clear -- use some archiving utility like dump, tar, or cpio and send data to the backup server via ssh or a network mount -- there are many details which are unclear for me. The two biggest problems are: 1) What parts are to be backed up? If I backup the whole system, the backup disk will get full soon. You could say it's not necessary, and that only the valueable data should be backed up (and not those parts which are easy to re-create by means of a new installation). But, say, someone breaks into the machince. How could I reliably find out the Achilles heel she used to get in if I don't have a complete system backup? Or if she has a backdoor left behind? Depends on what the risk you trying to mitigate with backup. Think of the problems and how you would get around them. There are file consistency utils you can run to see if root-kits etc have been installed. 2) How to schedule backups? I guess services should stop for the backup period as the backup could be unreliable or inconsistent if disk/file writes were going on during backup. It sounds as if I should drop to single user mode. Or is there a less drastic approach? And if I dropped to single user mode, I would lose control over the box for that period, as the box is accessed via ssh and sshd is also stopped in single user mode -- this sounds scary... With FreeBSD 5.x and later you can snapshop the filesystem then use a special 'dump' to backup that snapshot to the backup machine. have a look at amanda and bacula for how they handle this and do some research on different backup strategies and their risks and benfits wrt to Unix systems - theres lots out there.. -- Martin TYA. -- Csaba Henk My sense of humour is often too subtle to cope with getting smileyd. Please don't take it personal. ___ 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: Getting my screen to rotate with my monitor
On Sun, 30 Oct 2005 04:10:36 -0800, Eric Kjeldergaard [EMAIL PROTECTED] wrote: On 10/30/05, Eric Kjeldergaard [EMAIL PROTECTED] wrote: On 10/30/05, ross [EMAIL PROTECTED] wrote: I have a fancy dancy LCD screen that can rotate clockwise. It would be nice to be able to use this functionality but I have no idea where to start. Hopefully somebody can tell me if it's even feasible. My video card is a Voodoo 3 running the tdfx driver. There is a rotate option for the device section in xorg (maybe for all cards, not quite sure...). It is unaccelerated, but indeed rotated. I'm going to have to apologize for my newness. I looked in the man files for xorg.conf and tfdx and I didn't find a rotation option. I suspect that my card will not support it. Is rotation video card dependent? Sorry, forgot to mention one more thing. xrandr extension allows for rotation (I think that's the second r). In kde there is krandrtray which allows the dynamic rotation of the screen. I'm going to have to apologize for my newness. I looked in the man files for xorg.conf and tfdx and I didn't find a rotation option. I suspect that my card will not support it. Is rotation video card dependent? I also ran the command 'xrandr -q' which was recomended in the xrandr man file and it's output was: Current rotation - normal Current reflection - none Rotations possible - normal Reflections possible - none This again makes me think that rotation is not possible, but perhaps that is because the rotation option is not enabled. Thanks for your quick advice -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mozilla firefox-1.0.7 on 5.4-STABLE
Has anyone managed to go all the way to install firefox-1.0.7? I get stuck at this error: or -Wno-long-long -O2 -fno-strict-aliasing -pipe -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/include -I/usr/local/include -I/usr/X1 1R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h nsDNSService2.cpp In file included from nsDNSService2.h:40, from nsDNSService2.cpp:38: nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' with no type nsHostResolver.h:95: error: expected `;' before '*' token nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() const': nsHostResolver.h:99: error: `addr_info' undeclared (first use this function) nsHostResolver.h:99: error: (Each undeclared identifier is reported only once for each function it appears in.) nsHostResolver.h: At global scope: nsHostResolver.h:209: error: `PRAddrInfo' has not been declared nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' with no type nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetCanonicalName(nsACString)': nsDNSService2.cpp:95: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:96: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)': nsDNSService2.cpp:112: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:113: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `PRUint16 nsDNSService::GetAFForLookup(const nsACString)': nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use this function) gmake[4]: *** [nsDNSService2.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Tax reform means Don't tax you, don't tax me, tax that fellow behind the tree. -- Russell Long ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mozilla firefox-1.0.7 on 5.4-STABLE
Odhiambo Washington wrote: Has anyone managed to go all the way to install firefox-1.0.7? I get stuck at this error: or -Wno-long-long -O2 -fno-strict-aliasing -pipe -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/include -I/usr/local/include -I/usr/X1 1R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h nsDNSService2.cpp In file included from nsDNSService2.h:40, from nsDNSService2.cpp:38: nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' with no type nsHostResolver.h:95: error: expected `;' before '*' token nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() const': nsHostResolver.h:99: error: `addr_info' undeclared (first use this function) nsHostResolver.h:99: error: (Each undeclared identifier is reported only once for each function it appears in.) nsHostResolver.h: At global scope: nsHostResolver.h:209: error: `PRAddrInfo' has not been declared nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' with no type nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetCanonicalName(nsACString)': nsDNSService2.cpp:95: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:96: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)': nsDNSService2.cpp:112: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:113: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `PRUint16 nsDNSService::GetAFForLookup(const nsACString)': nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use this function) gmake[4]: *** [nsDNSService2.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox. Sure: http://lists.freebsd.org/pipermail/freebsd-ports/2005-October/026395.html or: http://www.google.com/search?q=nsDNSService2.cpp+PR_AF_UNSPEC+site%3Alists.freebsd.org ;) Regards, Karol -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Tax reform means Don't tax you, don't tax me, tax that fellow behind the tree. -- Russell Long -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org signature.asc Description: OpenPGP digital signature
Problems with snortreport when trying to look at summary for an alert(s).
Hi, all Im running snort (ver 2.4 ), snortreport (ver 1.2) with postgresql (postgresql ver 8.0.4), php5 (ver 5.0.5). My webserver is apache version 2.0.55, lates from ports with ssl support, and last on 5.4-RELEASE-p8 machine. I having problem with the webinterface to snort (snortreport). It works well when i type in the url for my localwebserver, where it lists all alerts in a given timeframe. But when I press the summary link for an alert I get this error: Warning: pg_exec() [function.pg-exec]: Query failed: ERROR: syntax error at or near ) at character 134 in /usr/local/www/snortreport/DB_pgsql.php on line 41 ERROR: syntax error at or near ) at character 134 I have uncommented print $query in DB_pgsql.php in /usr/local/www/snortreport so I can see the query, its here below: SELECT event.cid, event.sid, iphdr.ip_src, iphdr.ip_dst, EXTRACT(EPOCH FROM event.timestamp) AS timestamp FROM event, iphdr WHERE event.cid = iphdr.cid AND event.sid = iphdr.sid AND event.signature = '14' AND (event.timestamp 1130611696 AND event.timestamp 1130698096) SELECT ip_src, COUNT(*) AS src_count FROM event INNER JOIN iphdr ON event.cid = iphdr.cid AND event.sid = iphdr.sid WHERE ip_src IN () AND (event.timestamp 1130611696 AND event.timestamp 1130698096) GROUP BY iphdr.ip_src Im no SQL expert but I guess the problem is/or has something to do with that its trying to run two SQL queries without ; or am I wrong? I have googled around for some time no, but I can't find something that looks like the problem. Im guesing that this is not a fault generated by me. But have not given up, but I don't know where to go from here. So I hope that somebody could help me or point in the right direction. Best Regards Mattias Björk ps: Should I use the freebsd-database mailinglist for this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: backup strategies
Martin Hepworth wrote: Hi On 10/30/05, Csaba Henk [EMAIL PROTECTED] wrote: Hi! We plan to set up a backup server. While the basic backup procedure is clear -- use some archiving utility like dump, tar, or cpio and send data to the backup server via ssh or a network mount -- there are many details which are unclear for me. The two biggest problems are: 1) What parts are to be backed up? If I backup the whole system, the backup disk will get full soon. You could say it's not necessary, and that only the valueable data should be backed up (and not those parts which are easy to re-create by means of a new installation). But, say, someone breaks into the machince. How could I reliably find out the Achilles heel she used to get in if I don't have a complete system backup? Or if she has a backdoor left behind? Depends on what the risk you trying to mitigate with backup. Think of the problems and how you would get around them. There are file consistency utils you can run to see if root-kits etc have been installed. 2) How to schedule backups? I guess services should stop for the backup period as the backup could be unreliable or inconsistent if disk/file writes were going on during backup. It sounds as if I should drop to single user mode. Or is there a less drastic approach? And if I dropped to single user mode, I would lose control over the box for that period, as the box is accessed via ssh and sshd is also stopped in single user mode -- this sounds scary... With FreeBSD 5.x and later you can snapshop the filesystem then use a special 'dump' to backup that snapshot to the backup machine. dump(8) will create a snapshot of a live filesystem, dump the snapshot and then remove the snapshot, if given the correct flags ('-L'). have a look at amanda and bacula for how they handle this and do some research on different backup strategies and their risks and benfits wrt to Unix systems - theres lots out there.. -- Martin TYA. -- Csaba Henk My sense of humour is often too subtle to cope with getting smileyd. Please don't take it personal. ___ 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] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: backup strategies
On Sun, 30 Oct 2005 14:49:02 +0100 Csaba Henk [EMAIL PROTECTED] wrote: We plan to set up a backup server. -- cut -- 1) What parts are to be backed up? If I backup the whole system, the backup disk will get full soon. incremental backups via a script called from cron sounds good, you might consider trying rdiff-backup http://www.nongnu.org/rdiff-backup/ http://www.nongnu.org/rdiff-backup/examples.html -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canonical upgrade procedure for 6.0?
On Sun, Oct 30, 2005 at 05:55:09PM +, Stacey Roberts wrote: Okay.., I took the view that following the Handbook was the way to go, changing *default release=cvs tag=RELENG_5 to *default release=cvs tag=RELENG_6. All went fine, that is, I was able to cvsup sources to upgrade a FreeBSD-5-Stable machine to FreeBSD-6.0-RC-1: $ uname -a FreeBSD snipped 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 snipped:/usr/obj/usr/src/sys/GENERIC i386 $ All looks well, whereby I can log in successfully, and load X as before (I know that at some point I need to rebuild all installed ports), however I now need to configure, compile and install a custom kernel. But when I checked the location of where (the default in FreeBSD) I'd expect to see a new GENERIC, I see the following: /usr/src/sys/i386/conf $ ls -tla total 92 drwxr-xr-x 2 root wheel512 Oct 30 18:05 . drwxr-xr-x 14 root wheel512 Oct 29 19:48 .. -rw-r--r-- 1 root wheel 1741 Oct 29 19:48 GENERIC.hints -rw-r--r-- 1 root wheel372 Oct 28 20:21 DEFAULTS -rw-r--r-- 1 root wheel 10211 Oct 28 20:21 GENERIC -rw-r--r-- 1 root wheel 33284 Oct 7 15:00 NOTES -rw-r--r-- 1 root wheel322 Sep 18 04:37 SMP -rw-r--r-- 1 root wheel 1766 Jul 29 17:02 PAE -rw-r--r-- 1 root wheel 13 Jun 20 17:52 .cvsignore -rw-r--r-- 1 root wheel120 Feb 26 2003 Makefile /usr/src/sys/i386/conf $ After copying GENERIC to MYKERNEL, I'd have expected to go through MYKERNEL to add / delete as required, as well as remove the debugging statements that I'd come across from reading various suggestions (like options INVARIANTS, etc), but I've found that the GENERIC on this system doesn't have the entries for any of those debugging statements to remove. Here's a snippet where I'd have expected to see some of those entries: snip Any information, would be appreciated, please. There were some messages about this on the mailing lists recently. Apparently some options and devices were moved into DEFAULTS (which is combined with the chosen kernel configuration by config(8).), so that people wouldn't leave them out by accident, such as 'mem' and 'io' (important for running X). My system (recently installed from 6.0-RC1 CD's) doesn't have the changes yet. They must have been implemented after RC1 was released. It does look somewhat like a kludge to me. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp7ZDeIvNyaL.pgp Description: PGP signature
Re: Canonical upgrade procedure for 6.0?
Hi Roland! On Sun, 30 Oct 2005, Roland Smith wrote: On Sun, Oct 30, 2005 at 05:55:09PM +, Stacey Roberts wrote: Okay.., I took the view that following the Handbook was the way to go, changing *default release=cvs tag=RELENG_5 to *default release=cvs tag=RELENG_6. All went fine, that is, I was able to cvsup sources to upgrade a FreeBSD-5-Stable machine to FreeBSD-6.0-RC-1: $ uname -a FreeBSD snipped 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 snipped:/usr/obj/usr/src/sys/GENERIC i386 $ All looks well, whereby I can log in successfully, and load X as before (I know that at some point I need to rebuild all installed ports), however I now need to configure, compile and install a custom kernel. But when I checked the location of where (the default in FreeBSD) I'd expect to see a new GENERIC, I see the following: /usr/src/sys/i386/conf $ ls -tla total 92 drwxr-xr-x 2 root wheel512 Oct 30 18:05 . drwxr-xr-x 14 root wheel512 Oct 29 19:48 .. -rw-r--r-- 1 root wheel 1741 Oct 29 19:48 GENERIC.hints -rw-r--r-- 1 root wheel372 Oct 28 20:21 DEFAULTS -rw-r--r-- 1 root wheel 10211 Oct 28 20:21 GENERIC -rw-r--r-- 1 root wheel 33284 Oct 7 15:00 NOTES -rw-r--r-- 1 root wheel322 Sep 18 04:37 SMP -rw-r--r-- 1 root wheel 1766 Jul 29 17:02 PAE -rw-r--r-- 1 root wheel 13 Jun 20 17:52 .cvsignore -rw-r--r-- 1 root wheel120 Feb 26 2003 Makefile /usr/src/sys/i386/conf $ After copying GENERIC to MYKERNEL, I'd have expected to go through MYKERNEL to add / delete as required, as well as remove the debugging statements that I'd come across from reading various suggestions (like options INVARIANTS, etc), but I've found that the GENERIC on this system doesn't have the entries for any of those debugging statements to remove. Here's a snippet where I'd have expected to see some of those entries: snip Any information, would be appreciated, please. There were some messages about this on the mailing lists recently. Apparently some options and devices were moved into DEFAULTS (which is combined with the chosen kernel configuration by config(8).), so that people wouldn't leave them out by accident, such as 'mem' and 'io' (important for running X). I saw those posts today, but DEFAULTS don't appear to have the regular WITNESS / INVARIANTS entries either.., Moot at this point, though, as the host is now unable to do much more than sit there - keeps panicking whenever I try to build a custom kernel, or even cvsup a fresh source (using either standard-supfile, or stable-supfile) :-( My system (recently installed from 6.0-RC1 CD's) doesn't have the changes yet. They must have been implemented after RC1 was released. It does look somewhat like a kludge to me. Hrmph.., Looks like this machine (previously running 5-Stable since 5.3) is completely hosed now. I have a think about what I can do here.., I've attached info.0 from the crash dir, if anyone cares to look at it, please. Regards, Stacey Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 200867840B (191 MB) Blocksize: 512 Dumptime: Sun Oct 30 19:32:34 2005 Hostname: omni.vickiandstacey.com Magic: FreeBSD Kernel Dump Version String: FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Panic String: ffs_valloc: dup alloc Dump Parity: 3441161844 Bounds: 0 Dump Status: good pgpz00EIc6TVI.pgp Description: PGP signature
Re: firewall messages to syslogd
On Sun, Oct 30, 2005 at 09:22:39AM -0600, Eric F Crist wrote: On Oct 29, 2005, at 10:32 PM, Daniel Molina Wegener wrote: Hello, How can I add firewall log messages to syslogd, I have added the following lines to the syslog.conf: # router +router *.* /var/log/router.log Also, syslogd is running with the flag -a with the ip address of the firewall -- the mask, and service. The computer receive the packets to the 514 port -- I've used tcpdump to log the packets -- but the messages are not logged into the router.log file. Try the following in your /etc/syslog.conf file, assuming you're using ipfw as your firewall: No, the problem was while I trying to retreive syslog messages from a firewall. #ipfw logging !ipfw *.*/var/log/router.log That's OK, and works well, the problem was with an external firewall/router sending messages to syslogd, port 514. This needs the use of +host_name to log messages from the host_name machine. Well, now it works... Now, perform the following command, assuming your running FreeBSD 5.x+: # touch /var/log/router.log chmod 0600 /var/log/router.log /etc/ rc.d/syslogd restart Let me know what happens Now syslogd is receiving messages from the firewall :) Thanks... - Eric F Crist Secure Computing Networks http://www.secure-computing.net [SNIP] Regards -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeBSD Power User ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4 GB RAM but can only see 3 GB (HP 380)
On Sun, Oct 30, 2005 at 03:21:00PM +0100, Palle Girgensohn wrote: Hi! Two different customers have bought a HP 380 server each, both with 4 GB RAM, but FreeBSD can only see three of them. BIOS counts to 4 GB. I've tried PAE, but it doesn't help. Any tips how I can make use of the last 1GB? This sounds like a FAQ..please search the archives (keyword: memory hole). Kris pgpHC4BnFlnpE.pgp Description: PGP signature
Re: compiling chrooted kernel makes drive unbootable
On 10/30/05, Dave [EMAIL PROTECTED] wrote: Hi, Thanks for your reply. I've not lost any data yet doing a reinstall would not be possible at this point. It's a matter of time which i don't have a lot of. As i said i've not lost data, on the drive, just the motherboard died, i think it overheated. The board that went was a pentium i think 2 or 3 600 mhz, the new system is a p4 2.4 ghz, both intel not one being amd they're both the same processor make. I thought i could just put the new board in, plug everything in, and go, i got an error that the processor type wasn't supported, What was that error? P4's features are a strict superset to those of P2 or P3. This error might have to do with something completely different like faulty hardware or damaged data. It was unnecessary to chroot, I think. Try the DESTDIR option: cd /usr/src make world DESTDIR=/path/to/mnt cd /usr/src make kernel DESTDIR=/path/to/mnt mergemaster -D /path/to/mnt You'll also need to set the disk active. Try something like fdisk -a /dev/ad1, but I'm not experienced in this wizardry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canonical upgrade procedure for 6.0?
On Sun, Oct 30, 2005 at 08:23:20PM +, Stacey Roberts wrote: There were some messages about this on the mailing lists recently. Apparently some options and devices were moved into DEFAULTS (which is combined with the chosen kernel configuration by config(8).), so that people wouldn't leave them out by accident, such as 'mem' and 'io' (important for running X). I saw those posts today, but DEFAULTS don't appear to have the regular WITNESS / INVARIANTS entries either.., Moot at this point, though, as the host is now unable to do much more than sit there - keeps panicking whenever I try to build a custom kernel, or even cvsup a fresh source (using either standard-supfile, or stable-supfile) :-( Does it work with the backup kernel in /boot/kernel.old? BTW, one of the first things I do after install is to copy /boot/kernel to /boot/kernel.generic, so I have a working kernel at hand in case something is FUBAR. My system (recently installed from 6.0-RC1 CD's) doesn't have the changes yet. They must have been implemented after RC1 was released. It does look somewhat like a kludge to me. Hrmph.., Looks like this machine (previously running 5-Stable since 5.3) is completely hosed now. I have a think about what I can do here.., Reinstall the base system from CD, I guess. If you have /usr on a separate slice, you won't lose the ports you've installed, I think. I've attached info.0 from the crash dir, if anyone cares to look at it, please. Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 200867840B (191 MB) Blocksize: 512 Dumptime: Sun Oct 30 19:32:34 2005 Hostname: omni.vickiandstacey.com Magic: FreeBSD Kernel Dump Version String: FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Panic String: ffs_valloc: dup alloc Looks like the panic occurred in the filesystem code, and it has to do with memory allocation. If you really want to know what caused it, read the chapter on kernel debugging in the developers handbook. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpIS9f984Gyy.pgp Description: PGP signature
Buildworld and Security advisories.
Hello, list. I am new to FreeBSD source upgrading/patching source tree system. After reading the following chapters from the handbook: 14.14 FreeBSD Security Advisories 20 The Cutting Edge (about rebuilding world) I have some questions. 1) If I install a FreeBSD RELEASE on a machine what do I have to do to patch all those bugs listed in FreeBSD Security Advisories? Is it enough to synchronize my source tree with the STABLE branch or do I have to get all patches and apply them manualy? And if I must patch the source tree manualy do I have to do this after synchronizing the source tree with STABLE or before? Or it doesn't matter? In two words what are the relations between patching the bugs listed in Advisories and the process of synchronizing the source tree of the RELEASE with the STABLE? 2) How often should I synchronize sources with the STABLE? Currently I am working with 4.11 RELEASE. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: An installation on SCSI Drives
Hello, everyone. Im about to install FreeBSD, and I have two questions. Some background information about this project. I have 25gigs of SCSI HDDs unformatted to use. My first question is: Other then /root, /swap, /user, and /var, what other partitions are needed for a first go at FreeBSD, in Linux /home is often used, but what is a good lineup for FreeBSD other then the ones named so far? The books Ive read so far really dont relate a whole lot in this regard. My second question is: If I need to span a partition over more than one hard drive how is this done? If I were to make a large /user partition over small drives, how are these partition extensions set up? Again the books dont relate how this is done during an installation. I have not seen these subjects pointed out, nor have I come across them so far. The book (s) I have, take one into a step by step method, but do not point out these subjects at the appropriate time during the installation. Thanks, Ron:) - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
acd0 Hardware error
Hi Friends. Every time i use my DVD player unit, i get on the kernel messages console, repeated many times, this: acd0: FAILURE - READ_CD HARDWARE ERROR asc=0x08 ascq=0x03 error=0 What is the mean of this line?. With others Operating Systems, in the same machine, i don't have nothing like this... This is the line about the DVD player unit in dmesg: acd0: DVDROM Pioneer DVD-ROM ATAPIModel DVD-116 0122/E1.22 at ata1-master UDMA66 Any help is very apreciated. Thanks you very much, in advance. Regards. Jose. -- http://www.lordofunix.org Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories. You are talking about memories. Rick Deckard. Blade Runner. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
laptop firewall rules
Does anyone have a good example of a firewall ruleset for a wireless interface in a laptop, or a pointer to documentation? I want to use IPFilter on 6.0 rc1. I want to let all connections out and keep state, but block all incoming from the outside. TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Debugging options in GENERIC RELENG_6 (was: Re: Canonical upgrade procedure for 6.0?)
Stacey Roberts wrote: Hi Roland! On Sun, 30 Oct 2005, Roland Smith wrote: On Sun, Oct 30, 2005 at 05:55:09PM +, Stacey Roberts wrote: Okay.., I took the view that following the Handbook was the way to go, changing *default release=cvs tag=RELENG_5 to *default release=cvs tag=RELENG_6. All went fine, that is, I was able to cvsup sources to upgrade a FreeBSD-5-Stable machine to FreeBSD-6.0-RC-1: $ uname -a FreeBSD snipped 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 snipped:/usr/obj/usr/src/sys/GENERIC i386 $ All looks well, whereby I can log in successfully, and load X as before (I know that at some point I need to rebuild all installed ports), however I now need to configure, compile and install a custom kernel. But when I checked the location of where (the default in FreeBSD) I'd expect to see a new GENERIC, I see the following: /usr/src/sys/i386/conf $ ls -tla total 92 drwxr-xr-x 2 root wheel512 Oct 30 18:05 . drwxr-xr-x 14 root wheel512 Oct 29 19:48 .. -rw-r--r-- 1 root wheel 1741 Oct 29 19:48 GENERIC.hints -rw-r--r-- 1 root wheel372 Oct 28 20:21 DEFAULTS -rw-r--r-- 1 root wheel 10211 Oct 28 20:21 GENERIC -rw-r--r-- 1 root wheel 33284 Oct 7 15:00 NOTES -rw-r--r-- 1 root wheel322 Sep 18 04:37 SMP -rw-r--r-- 1 root wheel 1766 Jul 29 17:02 PAE -rw-r--r-- 1 root wheel 13 Jun 20 17:52 .cvsignore -rw-r--r-- 1 root wheel120 Feb 26 2003 Makefile /usr/src/sys/i386/conf $ After copying GENERIC to MYKERNEL, I'd have expected to go through MYKERNEL to add / delete as required, as well as remove the debugging statements that I'd come across from reading various suggestions (like options INVARIANTS, etc), but I've found that the GENERIC on this system doesn't have the entries for any of those debugging statements to remove. Here's a snippet where I'd have expected to see some of those entries: snip Any information, would be appreciated, please. There were some messages about this on the mailing lists recently. Apparently some options and devices were moved into DEFAULTS (which is combined with the chosen kernel configuration by config(8).), so that people wouldn't leave them out by accident, such as 'mem' and 'io' (important for running X). I saw those posts today, but DEFAULTS don't appear to have the regular WITNESS / INVARIANTS entries either.., Debugging options were removed from GENERIC, Scott Long wrote about that on @stable: http://lists.freebsd.org/pipermail/freebsd-stable/2005-September/018349.html Regards, Karol -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org signature.asc Description: OpenPGP digital signature
Re: tcp services (ssh,ftp) does not work
For future reference, you should not cross post to FreeBSD lists. If you are unsure what the best list will be, start with freebsd-questions. Good luck, Doug -- This .signature sanitized for your protection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: laptop firewall rules
On Oct 30, 2005, at 4:41 PM, [EMAIL PROTECTED] wrote: Does anyone have a good example of a firewall ruleset for a wireless interface in a laptop, or a pointer to documentation? I want to use IPFilter on 6.0 rc1. I want to let all connections out and keep state, but block all incoming from the outside. TIA That ruleset is easy: ipfw add check-state ipfw add allow tcp from me to any setup keep-state ipfw add allow tcp from any to any established ipfw add deny from any to me in This should do the trick. - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ghostscript headaches
Hi all, I'm running FBSD 5.4-release-p7. I've had gs-gnu 7.07 installed from when I installed FBSD 5.3. I just installed scribus and it needs a newer gs. I set WITH_GHOSTSCRIPT_AFPL=yes, deinstalled gs-gnu, installed gs-afpl, and did a pkgdb -F. Scribus now worked right but cups didn't. I tried portupgrade -f cups\* but it failed in cups-pstoraster (see below). I thought I'd try gs-gpl, but I can't find a WITH_GHOSTSCRIPT_GPL flag. A few messages on freebsd.org seems to indicate that gs-gpl is the default, but then why am I stuck with gs-gnu? Anyone have any words of advice on how to get an 8.x gs running on my machine with cups? Thanks, Micah trisha# pwd /usr/ports/print/cups-pstoraster trisha# make build === Vulnerability check disabled, database not found === Extracting for cups-pstoraster-8.15 = Checksum OK for ghostscript/espgs-8.15rc3-source.tar.bz2. === Patching for cups-pstoraster-8.15 === cups-pstoraster-8.15 depends on file: /nonexistent - not found ===Verifying patch for /nonexistent in /usr/ports/print/ghostscript-afpl === Returning to build of cups-pstoraster-8.15 === Applying FreeBSD patches for cups-pstoraster-8.15 /bin/ln -sf /usr/ports/print/cups-pstoraster/work/espgs-8.15rc3/pstoraster/gdevcups.c $(/bin/realpath /usr/ports)/print/ghostscript-afpl/work/ghostscript/src ln: /usr/ports/print/ghostscript-afpl/work/ghostscript/src: No such file or directory *** Error code 1 Stop in /usr/ports/print/cups-pstoraster. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: backup strategies
BackupPC http://www.google.com/search?hl=enlr=newwindow=1q=backuppc+freebsd On 10/31/05, albi [EMAIL PROTECTED] wrote: On Sun, 30 Oct 2005 14:49:02 +0100 Csaba Henk [EMAIL PROTECTED] wrote: We plan to set up a backup server. -- cut -- 1) What parts are to be backed up? If I backup the whole system, the backup disk will get full soon. incremental backups via a script called from cron sounds good, you might consider trying rdiff-backup http://www.nongnu.org/rdiff-backup/ http://www.nongnu.org/rdiff-backup/examples.html -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Seek ye first the kingdom of God and all these things shall be added unto you. Winelfred G. Pasamba Adventist University of the Philippines Computer Science Department, AUP Online Information System ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Buildworld and Security advisories.
On 10/31/05, Grigory O. Ptashko [EMAIL PROTECTED] wrote: Hello, list. I am new to FreeBSD source upgrading/patching source tree system. After reading the following chapters from the handbook: 14.14 FreeBSD Security Advisories 20 The Cutting Edge (about rebuilding world) I have some questions. 1) If I install a FreeBSD RELEASE on a machine what do I have to do to patch all those bugs listed in FreeBSD Security Advisories? Is it enough to synchronize my source tree with the STABLE branch or do I have to get all patches and apply them manualy? And if I must patch the source tree manualy do I have to do this after synchronizing the source tree with STABLE or before? Or it doesn't matter? In two words what are the relations between patching the bugs listed in Advisories and the process of synchronizing the source tree of the RELEASE with the STABLE? 2) How often should I synchronize sources with the STABLE? Currently I am working with 4.11 RELEASE. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] To get all security fixes for your OS, you should do _one_ of the following: * patch manually and recompile - as stated in the SA * syncronize to the security branch, i.e. RELENG_4_11 or RELENG_5_4, and rebuild world/kernel * syncronize to the stable branch, i.e. RELENG_4, RELENG_5 or RELENG_6, and rebuild world/kernel * perform a binary upgrade You can use either way each time a SA is published, no matter what way you have used last time. For example you can perform a binary upgrade from RELEASE to 5.4-p1, then patch manually and recompile to 5.4-p2 then sync to stable, then sync to security branch and so on. Sometimes binary and manual upgrades leave uname output old, but they always fix a security hole. Often, users manually patch systems where a reboot is very undesirable, sync to security branch on all mission-critical servers, where a reboot is possible, sync to stable on all other servers and use binary upgrades on systems that are very slow, or limited in other ways. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote: Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? cvsup or portsnap, then portsdb -uUF. Work under any circumstances, leave you with updated ports tree and indexes. If I were to continue to use portsnap, which arguments can I safely add to /etc/crontab? I know portsnap cron should be safe, but if I want to completely automate the update process (not for installing packages, but for keeping the ports tree, database, and indexes current), should I also add an entry for portsnap update and portsdb -uUF? You can also try portupgrade -aF (prefetches needed files to speed up manual upgrade at a later time) and portsclean -DP (removes sources and packages which become outdated due to ports tree updates). Would you also recommend cron entries for these two commands? I used to use a cron job to run cvsup, and I'd like to implement a better, more complete automated solution, so I don't tangle up my system's packages and dependencies again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acd0 Hardware error
On 10/31/05, Jose Luis Alarcon Sanchez [EMAIL PROTECTED] wrote: Hi Friends. Every time i use my DVD player unit, i get on the kernel messages console, repeated many times, this: acd0: FAILURE - READ_CD HARDWARE ERROR asc=0x08 ascq=0x03 error=0 What is the mean of this line?. With others Operating Systems, in the same machine, i don't have nothing like this... This is the line about the DVD player unit in dmesg: acd0: DVDROM Pioneer DVD-ROM ATAPIModel DVD-116 0122/E1.22 at ata1-master UDMA66 Any help is very apreciated. Thanks you very much, in advance. Regards. Jose. -- http://www.lordofunix.org Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories. You are talking about memories. Rick Deckard. Blade Runner. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It might be some copy protection and it might be not. Please, read ata(4) and atacontrol(8) manpages to learn how to tweak different options of ata driver. If that doesn't help at all, try compiling a custom kernel with device atapicam (make sure SCSI support is also present). This will give you an alternative interface to your drive. 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: portupgrade stale dependencies
On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote: On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote: Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? cvsup or portsnap, then portsdb -uUF. Work under any circumstances, leave you with updated ports tree and indexes. If I were to continue to use portsnap, which arguments can I safely add to /etc/crontab? I know portsnap cron should be safe, but if I want to completely automate the update process (not for installing packages, but for keeping the ports tree, database, and indexes current), should I also add an entry for portsnap update and portsdb -uUF? You can also try portupgrade -aF (prefetches needed files to speed up manual upgrade at a later time) and portsclean -DP (removes sources and packages which become outdated due to ports tree updates). Would you also recommend cron entries for these two commands? I used to use a cron job to run cvsup, and I'd like to implement a better, more complete automated solution, so I don't tangle up my system's packages and dependencies again. I think the best way is to create a shell script, like this: #!/bin/sh /usr/local/sbin/portsnap cron \ /usr/local/sbin/portsnap update \ /usr/local/sbin/portsdb -uUF \ /usr/local/sbin/portupgrade -aF \ /usr/local/sbin/portsclean -DP and run it at an hour, when you're most unlikely to perform any kind of port upgrading. As portsnap manpage warns, if both portsnap (in the process of update) and portupgrade ever happen to access the same directory at once, it might ruin your ports tree. You'll have to do portsnap extract after that. You can leave out portsclean and run it manually, because it can create some load (which is not desirable on a production server). I run this script daily at 8-9 in the morning (I usually start messing with servers after 11). It never failed, and it always keeps everything up-to-date. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ghostscript headaches
Micah wrote: Hi all, I'm running FBSD 5.4-release-p7. I've had gs-gnu 7.07 installed from when I installed FBSD 5.3. I just installed scribus and it needs a newer gs. I set WITH_GHOSTSCRIPT_AFPL=yes, deinstalled gs-gnu, installed gs-afpl, and did a pkgdb -F. Scribus now worked right but cups didn't. I tried portupgrade -f cups\* but it failed in cups-pstoraster (see below). I thought I'd try gs-gpl, but I can't find a WITH_GHOSTSCRIPT_GPL flag. A few messages on freebsd.org seems to indicate that gs-gpl is the default, but then why am I stuck with gs-gnu? Anyone have any words of advice on how to get an 8.x gs running on my machine with cups? Thanks, Micah trisha# pwd /usr/ports/print/cups-pstoraster trisha# make build === Vulnerability check disabled, database not found === Extracting for cups-pstoraster-8.15 = Checksum OK for ghostscript/espgs-8.15rc3-source.tar.bz2. === Patching for cups-pstoraster-8.15 === cups-pstoraster-8.15 depends on file: /nonexistent - not found ===Verifying patch for /nonexistent in /usr/ports/print/ghostscript-afpl === Returning to build of cups-pstoraster-8.15 === Applying FreeBSD patches for cups-pstoraster-8.15 /bin/ln -sf /usr/ports/print/cups-pstoraster/work/espgs-8.15rc3/pstoraster/gdevcups.c $(/bin/realpath /usr/ports)/print/ghostscript-afpl/work/ghostscript/src ln: /usr/ports/print/ghostscript-afpl/work/ghostscript/src: No such file or directory *** Error code 1 Stop in /usr/ports/print/cups-pstoraster. After digging through patches and problem reports, I was able to piece together something. cups-pstoraster seems partially broken. It works with gs-gpl only if GHOSTSCRIPT_PORT=print/ghostscript-gpl. I don't know if it will work with gs-afpl. I just don't want to recompile everything again just to see if it works. I now have a working cups /and/ a working scribus and GHOSTSCRIPT_PORT set in my make.conf. Later, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: non-English character support
Alex Teslik wrote: I was also wondering why there is no en_US.UTF8 in /usr/share/locale? Any guidence is much appreciated. I am using FreeBSD 4.10-RELEASE-p5. In FreeBSD 4.x, the UTF-8 locale support files have to be installed from the ports collection. cd /usr/ports/misc/utf8locale make install You'll need to do this after each OS upgrade (unless you go to 5.x, under which you should remove the port entirely). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On 10/30/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote: On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote: Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? cvsup or portsnap, then portsdb -uUF. Work under any circumstances, leave you with updated ports tree and indexes. If I were to continue to use portsnap, which arguments can I safely add to /etc/crontab? I know portsnap cron should be safe, but if I want to completely automate the update process (not for installing packages, but for keeping the ports tree, database, and indexes current), should I also add an entry for portsnap update and portsdb -uUF? You can also try portupgrade -aF (prefetches needed files to speed up manual upgrade at a later time) and portsclean -DP (removes sources and packages which become outdated due to ports tree updates). Would you also recommend cron entries for these two commands? I used to use a cron job to run cvsup, and I'd like to implement a better, more complete automated solution, so I don't tangle up my system's packages and dependencies again. I think the best way is to create a shell script, like this: #!/bin/sh /usr/local/sbin/portsnap cron \ /usr/local/sbin/portsnap update \ /usr/local/sbin/portsdb -uUF \ /usr/local/sbin/portupgrade -aF \ /usr/local/sbin/portsclean -DP Perfect... I had everything but the conditionals... thanks! and run it at an hour, when you're most unlikely to perform any kind of port upgrading. As portsnap manpage warns, if both portsnap (in the process of update) and portupgrade ever happen to access the same directory at once, it might ruin your ports tree. You'll have to do portsnap extract after that. You can leave out portsclean and run it manually, because it can create some load (which is not desirable on a production server). I run this script daily at 8-9 in the morning (I usually start messing with servers after 11). It never failed, and it always keeps everything up-to-date. My server is not production, as it's just my personal web/database server; I'm the only one who would be running any updates. So I should be okay with this procedure, and I'll manually update any ports of note. Just one problem I saw thus far, with portsclean I think... Cleaning out /usr/ports/packages... cd: can't cd to /usr/ports/packages/All find: /usr/ports/packages: No such file or directory Would this be related to one of the advanced topics you mentioned earlier about pkgtools.conf? ;) Do I need to define some variables? I would guess the directory error to have been caused by a combination of the variables PORTSDIR (which looks okay at /usr/ports) and PACKAGES (which seems to need a /packages dir beneath PORTSDIR ?). Thanks, ~John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kernel debug options
On Saturday, 29 October 2005 at 15:47:03 -0400, Kris Kennaway wrote: On Sat, Oct 29, 2005 at 11:36:59AM -0600, Elliot Finley wrote: does having: options KDB options DDB makeoptions DEBUG=-g in the kernel make it slower? Or does it just make it take more memory? Neither. It makes it take more (text) memory. The code has to go somewhere. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpMfTb4t8tid.pgp Description: PGP signature
Re: kernel debug options
On Mon, Oct 31, 2005 at 01:23:33PM +1030, Greg 'groggy' Lehey wrote: On Saturday, 29 October 2005 at 15:47:03 -0400, Kris Kennaway wrote: On Sat, Oct 29, 2005 at 11:36:59AM -0600, Elliot Finley wrote: does having: options KDB options DDB makeoptions DEBUG=-g in the kernel make it slower? Or does it just make it take more memory? Neither. It makes it take more (text) memory. The code has to go somewhere. Well, you're right that enabling KDB/DDB adds a few bytes to the size of the kernel, but I interpreted his question as about runtime memory usage. Kris pgpjESwklhez7.pgp Description: PGP signature
Re: laptop firewall rules
On 10/31/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone have a good example of a firewall ruleset for a wireless interface in a laptop, or a pointer to documentation? I want to use IPFilter on 6.0 rc1. I want to let all connections out and keep state, but block all incoming from the outside. To do this with ipfilter rather than ipfw, try these rules for your wireless interface (ath0 here): pass out on ath0 proto tcp from any to any keep state pass out on ath0 proto udp from any to any port = domain keep state pass out on ath0 proto icmp from any to any keep state block out on ath0 all This will allow you to resolve hostnames and establish TCP sessions. Since UDP and ICMP are stateless, the keep state directive just means that a response packet (one that matches certain criteria - e.g. source/destination ports) will be accepted as matching a state. If you are planning to use IPSec, add similar rules for proto esp and proto ah so your IPSec tunnel can be established. Check out all the examples in /usr/share/example/ipfilter (if you have docs installed) or search for IPFilter HOW-TO. Vitaly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
em(4) driver not working with Intel Pro 1000 P (dual port pci express)
Hi, we just bought a bunch of Dell PowerEdge 1850 and Dell PowerEdge 2850. They have 2x1000 mbps nic onboard (intel pro 1000) which works fine with the em(4) kernel module. We also bought a pci express dual port Intel pro 1000 P nic (the chip on it is a 82546GB) We are unable to detect the card using the em(4) driver. Is there anyone who could help us configure it ? Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
qemu Could not initialize SDL - exiting
Is there a trick to geting sdl to initialize? I always get: Could not initialize SDL - exiting when trying to start qemu. The only thing I found with google was trying: xhost + and that did not help. Could it b my video hardware? My ports are up to date. If it helps, I have a matrox card, here is the xorg log: (II) Loading sub module mga_hal (II) LoadModule: mga_hal (II) Loading /usr/X11R6/lib/modules/drivers/mga_hal_drv.o (II) Module mga_hal: vendor=X.Org Foundation compiled for 6.8.1, module version = 4.1.0 ABI class: X.Org Video Driver, version 0.7 (==) MGA(0): Matrox HAL module used (II) MGA(0): Creating default Display subsection in Screen section Builtin Default mga Screen 0 for depth/fbbpp 16/16 (==) MGA(0): Depth 16, (==) framebuffer bpp 16 (==) MGA(0): RGB weight 565 (==) MGA(0): Using AGP 1x mode (--) MGA(0): Linear framebuffer at 0xDC00 (--) MGA(0): MMIO registers at 0xDFDFC000 (--) MGA(0): Pseudo-DMA transfer window at 0xDF00 (--) MGA(0): BIOS at 0xDFDC (II) Truncating PCI BIOS Length to 34816 (--) MGA(0): Video BIOS info block at offset 0x07720 (WW) MGA(0): Video BIOS info block not detected! (II) MGA(0): MGABios.RamdacType = 0x0 (==) MGA(0): Write-combining range (0xdfdfc000,0x4000) was already clear (==) MGA(0): Write-combining range (0xdc00,0x200) (==) MGA(0): Write-combining range (0xdf00,0x80) was already clear (--) MGA(0): VideoRAM: 16384 kByte and of corse: uname -a FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Oct 17 13:51:14 PDT 2005 i386 thank you -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: laptop firewall rules
in message [EMAIL PROTECTED], wrote Vitaly Cherny thusly... On 10/31/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone have a good example of a firewall ruleset for a wireless interface in a laptop, or a pointer to documentation? I want to use IPFilter on 6.0 rc1. I want to let all connections out and keep state, but block all incoming from the outside. To do this with ipfilter rather than ipfw, try these rules for your wireless interface (ath0 here): pass out on ath0 proto tcp from any to any keep state pass out on ath0 proto udp from any to any port = domain keep state pass out on ath0 proto icmp from any to any keep state block out on ath0 all Since ipf will use the last matched rule, will above not block all outside access (unless you forgot to specify the quick)? See the FILTER RULES section in ipf(5). Above should be something like (substitute external-interface w/ actual one) ... pass in quick on lo0 head 10 pass out quick on lo0 head 15 block in on external-interface all block out on external-interface all pass out quick on external-interface proto tcp/udp from any to any keep state pass out quick on external-interface proto icmp from any to any keep state ... which can|should be further augmented; see ipf(5), ipftest(1), and the ipfilter website. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
em(4) driver not working with Intel Pro 1000 P (dual port pci express)
Hi, we just bought a bunch of Dell PowerEdge 1850 and Dell PowerEdge 2850. They have 2x1000 mbps nic onboard (intel pro 1000) which works fine with the em(4) kernel module. We also bought a pci express dual port Intel pro 1000 P nic (the chip on it is a 82546GB) We are unable to detect the card using the em(4) driver. Is there anyone who could help us configure it ? Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE
Hello, and Please ,,,Somebody nudge me in the right direction, I have a successful install of 6.0 RC1, and when I startx it comes up with three boxes , of xterminals I have Installed all the KDE files off CD, Where I'm stuck is ,is there a config file I need to edit to bring up KDE,?? Or have I not fully gotten all the necessary files loaded in at install, ?? Been reading in the handbook but not finding what I'm needing , This is my first time to ask a question to a list , Please be easy on a newbie, And of coarse Thanks for any replies, JBT. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portaudit reports: how to exclude a specific vulnerability
G'day. I am relatively new to FreeBSD, but failed to find an answer to this question in the handbook, manual pages, or other references about portaudit: At the moment, portaudit is reporting one vulnerability on my system, with the 'p5-Crypt-OpenPGP' package. There isn't, apparently, a release of this package available that resolves the issue. I have checked the advisory and I am quite happy that the specific problem is not going to hurt here, so I don't mind that the theoretically vulnerable version is installed.[1] I can't work out how to tell portaudit to stop bothering me about this particular vulnerability, though. Can I ask it to exclude a vulnerability, or (ever better) a vulnerability/package combination, from reports? I specifically /don't/ want to exclude the package from auditing, though, since I want to know if another security issue turns up for it. Thanks, Daniel Footnotes: [1] The specific issue is a cryptographic weakness that needs a specific and particularly unlikely bit of code written by us before it actually does anything. Not, as they say, going to happen. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DMA errors
-Original Message- From: Mike Jeays [mailto:[EMAIL PROTECTED] Sent: Saturday, October 29, 2005 8:04 PM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: RE: DMA errors On Sat, 2005-10-29 at 19:48, Ted Mittelstaedt wrote: Try a different disk drive. What motherboard is in use here? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Jeays Sent: Saturday, October 29, 2005 4:28 PM To: freebsd-questions@freebsd.org Subject: DMA errors I have a 40GB Maxtor D740X-6L disk, and have been unable to install 5.4 or 6.0 on it. I get errors: ad0: FAILURE WRITE_DMA STATUS=51 READY,DSC,ERROR error=84 (IRC, ABORTED) LBA=.. as soon as I try to commmit the changes in sysinstall. I have checked that the IDE cable is the 80-wire type, and cleaned up the connections and so on. I tried installing Ubuntu on this disk, and everything went perfectly. (Those guys have done a really great job, by the way). Is there some configuration trick I have missed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: 10/28/2005 It works on at least one other disk, a Western Digital 80GB. The motherboard is as Asus P4S533. Well I hate to be flippant, but there you have it, problem solved. I have been doing PC work professionally for over 10 years and unprofessionally for at least 10-15 years before that, and ever since the IDE interface was invented I've had to deal with incompatibilties between the controller and the hard disk. Back in the days that the IDE controller chip was on a paddle card I used to have a box of them and when running into a problem like your doing, I would swap the cards until I got a good combo. This was all ISA stuff of course. Once the PCI came out and they started putting the controller on motherboard, they only way around these problems is to play musical chairs with the disk drives. And all this was long before FreeBSD, let alone Linux, was even a gleam in someone's eye. Your 40GB Maxtor has some moronic timing incompatibility with the IDE chipset that the FreeBSD driver in 5.4/6.0 happens to tickle, there's nothing you can do about it. Use your 80GB disk for the FreeBSD system or go find some other brand of motherboard for your 40GB disk, and things will work fine. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dial-up with modem
Mohsen Pahlevanzadeh wrote: Dears, I wanna install package.But it is in the web,I need to dial up modem.So,Am i do compile kernel for supppurting ppp ? No, if I remember correctly PPP is in generic kernel (both tun for user-level, and ppp for pppd). If I'm wrong, then you can load module. Do this as root user: # For kernel ppp (pppd): kldload if_ppp # For user level ppp: kldload if_tun Then read pppd(8) or ppp(8), if you dont know how to read manual pages, then run following command: man man ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dial-up with RS-232 cable modem
Mohsen Pahlevanzadeh wrote: Dears,If you can connect to the Internet via ppp,Please mail me /etc/ppp directory. Yours,Mohsen You can read about PPP configuration: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html My /etc/ppp is meaningless from you becuase we use different providers, have differnet modems etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE
On Sunday 30 October 2005 22:15, Jack Thompson wrote: Hello, and Please ,,,Somebody nudge me in the right direction, I have a successful install of 6.0 RC1, and when I startx it comes up with three boxes , of xterminals I have Installed all the KDE files off CD, Where I'm stuck is ,is there a config file I need to edit to bring up KDE,?? Or have I not fully gotten all the necessary files loaded in at install, ?? Been reading in the handbook but not finding what I'm needing , This is my first time to ask a question to a list , Please be easy on a newbie, And of coarse Thanks for any replies, JBT. to .xinitrc in your home diectory add only this line: exec startkde comment out everything else ___ 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: portaudit reports: how to exclude a specific vulnerability
On Sunday 30 October 2005 22:45, you wrote: G'day. I am relatively new to FreeBSD, but failed to find an answer to this question in the handbook, manual pages, or other references about portaudit: At the moment, portaudit is reporting one vulnerability on my system, with the 'p5-Crypt-OpenPGP' package. There isn't, apparently, a release of this package available that resolves the issue. I have checked the advisory and I am quite happy that the specific problem is not going to hurt here, so I don't mind that the theoretically vulnerable version is installed.[1] I can't work out how to tell portaudit to stop bothering me about this particular vulnerability, though. Can I ask it to exclude a vulnerability, or (ever better) a vulnerability/package combination, from reports? I think this will do it, put it in /etc/make.conf .if ${.CURDIR:M*/security/p5-Crypt-OpenPGP} DISABLE_VULNERABILITIES=YES .endif -Mike I specifically /don't/ want to exclude the package from auditing, though, since I want to know if another security issue turns up for it. Thanks, Daniel Footnotes: [1] The specific issue is a cryptographic weakness that needs a specific and particularly unlikely bit of code written by us before it actually does anything. Not, as they say, going to happen. ___ 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]