Patient results from hell
To view this message please go to: http://www.energylightrejuvenation.com/customerconnect/show.php?toolid=79qid=85aid=98358 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fix this: The Regents of the University of California. All rights reserved.
On 27/05/2007, at 1:03 PM, Garrett Cooper wrote: Kyrre Nygård wrote: Hello! Is it possible to change: Copyright (c) 1992-2007 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. Over to: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. If so, how is it done? To have `All rights reserved.' apply to both copyright statements, it is necessary to break it down to the next line. It would also look a whole lot neater, as the last number of `1994' now aligns with the last letter of `reserved' using a monospaced font, which ends up looking kind of weird. Trust me on this one. Thank you, Kyrre Nygård + mir-visuals.com + snoarc.no Now why would you want to do that? That's cutting FreeBSD totally out of the picture, which isn't correct since they're the copyright owners of the FreeBSD project from 1992 to today. I think the point is to reformat the all rights reserved statement, rather than remove a copyright line. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound and Gigabyte GA-81945P
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry McAllister wrote: On Sat, May 26, 2007 at 10:39:19PM +0300, wrote: Hello I put vista in my computer and the voice didn?t work help my what can I do. I have motherboard ga-81945p. Thenks for your help. Why would you ask a FreeBSD Questions list about a problem with with a Microsloth product?There is no connection between FreeBSD which is a UNIX type operating system and Vista which is something Microsloth calls an operating system. I have no idea why voice would not work on Vista. Maybe you can find an MS list to ask. Surely we must assume that the OP is in search of something better than Vista, and by directing them to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html we can state confidently that by following the instructions there, all the OP's Vista problems will soon be a thing of the past. The question of whether there is good sound support for this board under FreeBSD is moot (and hopefully not 'mute' like the malapropism one of my colleagues recently came out with). Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWT5f8Mjk52CukIwRCODVAJ0V96XB5Pvpu3Hise0k/PvS/nYdiACcCVKl zV6ac4zmIjv2k5fW3EyGzLU= =cTo9 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: raid or not raid
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of kalin mintchev Sent: Thursday, May 24, 2007 4:11 PM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: Re: raid or not raid On Thu, May 24, 2007 at 06:30:06AM -0400, kalin mintchev wrote: so nobody on this list knows anything about raid? wrong list? hi all.. i have a box in a remote hosting facility that claims that the machine has two discs raided in it but df and fstab show only one disc with a bunch of slices. under devices there is another name - ad6 - but it's not mounted anywhere. the one i see both in df and the fstab is ad4 with one big slice and different partitions My (VIA Tech V-RAID) raid disk shows up as ar0, although the ad4 and ad6 device nodes exist as well. Do you have the ataraid device in the kernel? yes. but isn;t that in by default in 5.4 GENERIC?! they insist there are 2 raided discs in tha machine. the os is 5.4 and i think at that point the raid drivers were still considered 'experimental'. Then ask them how it's done. it makes sense to me that if i don't see a second drive in the fstab there isn;t any mounting which means that there is no raid going on... If you're seeing an ad device, it's not RAID-ed, AFAIK. is there any other way i can make sure if raid is actually on? would there will be any logs somewhere? the machine has been up for about 2 years and the dmesg is long gone... It should be in /var/run/dmesg.boot. thanks. i guess that solves the ad6 mistery: atapci0: Intel ICH5 UDMA100 controller port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: Intel ICH5 SATA150 controller port 0xcc80-0xcc8f,0xcc98-0xcc9b,0xcca0-0xcca7,0xccb0-0xccb3,0xccb8-0xccbf irq 18 at device 31.2 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 . ad4: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata2-master SATA150 ad6: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata3-master SATA150 Mounting root from ufs:/dev/ad4s1a unless at device 31.2 on pci0 points to some RAID evidence - which i think it's false - than i read this as the ad6 disk sits there unused. am i right?! according to pciconf the atapci0 and atapci1 are differnt conrollers - EIDE and SATA so they can both be on pci0 as 31.1 and 31.2?! still no RAID though... I've come late to this thread but it's been interesting watching the speculation. Yes, they F'd up the installation. Badly. But you need to back up every scrap of data before trying to fix it. And use FBSD 6.2 on the next one. There's been lots of driver fixes in the ata driver that you want. ata raid should show all your data on AR not AD!! Here's an example from my mailserver: mail# cat /etc/fstab # DeviceMountpoint FStype Options Dump Pass# /dev/ar0s1b noneswapsw 0 0 /dev/ar0s1a / ufs rw 1 1 /dev/ar0s1e /usrufs rw 2 2 /dev/ar0s1d /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 mail# Also, note the following. VERY important! When you go to setup a RAID mirror on a system, using a UDMA or SATA controller, (ie: NOT using a RAID5 card or SCSI card or some such) here is what you do. Start by going into the system RAID BIOS on boot, setup your RAID, then boot the install disk. Disks ad4 and ad6 will always show. If disk ar0 also shows, you can select ar0 and install to that. IF DISK ar0 DOES NOT SHOW, then your BIOS metadata isn't compatible. STOP. Reboot system. GO into BIOS. DESELECT and DISABLE the RAID. Boot system with install CD. At the screen that displays ad4 and ad6, select ad4. Select Minimal install. Don't bother answering any post install questions. Finish install. Reboot and login to root. At command line, issue command: atacontrol create RAID1 ad4 ad6 Immediately reboot from the install CD. Now, at the disk selection screen you will see ar0. Select this. Delete all existing partitions and recreate them, install the full system and your in business. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Notice this in the messages log
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 dbetts wrote: Freshly installed Freebsd 6.2 on a new box noticed this in the messages log. locutus sshd[22236]: gethostby*.getanswer: asked for warf IN , got type A May 26 16:13:03 locutus sshd[22236]: gethostby*.getanswer: asked for warf IN , got type A locutus _su: gethostby*.getanswer: asked for warf IN , got type A Is this an error message? Do I need to worry about it? Sometime i will get the message for ftp also It is a problem with the nameserver you are querying to try and resolve the hostname 'warf' into an IP number. It could happen for any means of access to those machines, not just SSH or FTP. That nameserver is sending you an 'A' (IPv4) response to a query about an '' (IPv6) quantity. Which is simply broken. However, unless you are the admin of that nameserver, it's nothing to worry about: your FreeBSD machines will carefully ignore the nonsensical response and DTRT. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWUFm8Mjk52CukIwRCPbpAJ4ggtU4oaZz4CJfXVHYYcb/Brz9IwCfWyJD KM/hOY9b3S4r1hfHogk+W3c= =XNuA -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: This is a error message i receive when I try to install any pack using the package_add -r
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of dbetts Sent: Saturday, May 26, 2007 7:23 AM To: freebsd-questions@freebsd.org Subject: RE:This is a error message i receive when I try to install any pack using the package_add -r It happens with every package. I am using ATT DSL with 2wire 2701HG-B Gateway. I have checked all my settings on the firewall and I am able to FTP into the server and FTP out from all my other workstations on my network. This started after I switched to ATT. I called ATT and had them check everything and of course nothing was wrong at there end. I think what is going on is ATT is using PPP mode DSL and is using a MTU size less than 1500, and ICMP is blocked between you and the FTP server. I assume you have the DSL PPP terminated on the 2wire modem? And your using the NAT inside of the 2wire? If so, switch the 2wire into bridged mode and terminate the PPPoE session on the BSD box. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: freebsd network fax server?
The problem with the printserver routine is you have no way to specify the recipient fax number. Emailing the fax to the hylafax server is the way to go. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Sent: Saturday, May 26, 2007 9:32 AM To: [EMAIL PROTECTED]; Anish Mistry Cc: freebsd-questions@freebsd.org Subject: Re: freebsd network fax server? Hi, I do have windows clients, and i do not have any fax client software for them. I thought i could just go through a cups printserver that i've got but haven't seen anything to get that going. I am open to suggestions. Thanks. Dave. - Original Message - From: Thanos Rizoulis [EMAIL PROTECTED] To: Anish Mistry [EMAIL PROTECTED] Cc: Dave [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Saturday, May 26, 2007 11:39 AM Subject: Re: freebsd network fax server? O/H Anish Mistry Ýãñáøå: On Thursday 24 May 2007, Dave wrote: Hello, I've got a setup using HylaFAX. The critical parts of the question about Hylafax are: a) are you using hylafax server with windows clients? and if yes b) what cliesnt software are you using to send faxes? (there are dosens of them) I am interested too in such a solution and I am stuck at what client to select for windows based machines. -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is it possible to set the following IPC options at boot instead of hard-coding them in kernel
Hi list, I'm running squid diskd on my proxy machines and I want to be able to use freebsd-update. Squid diskd requires the following options set in the kernel (example from daemon news http://ezine.daemonnews.org/200209/squid.html) options SYSVMSG options MSGMNB=8192 # max # of bytes in a queue options MSGMNI=40 # number of message queue identifiers options MSGSEG=512 # number of message segments per queue options MSGSSZ=64 # size of a message segment options MSGTQL=2048 # max messages in system I guess that updating that custom kernel will be a problem for freebsd-update, so is that possible to set those values at boot? (I believe SYSVMSG is in GENERIC by default). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd network fax server?
On 5/27/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote: The problem with the printserver routine is you have no way to specify the recipient fax number. Emailing the fax to the hylafax server is the way to go. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Sent: Saturday, May 26, 2007 9:32 AM To: [EMAIL PROTECTED]; Anish Mistry Cc: freebsd-questions@freebsd.org Subject: Re: freebsd network fax server? Hi, I do have windows clients, and i do not have any fax client software for them. I thought i could just go through a cups printserver that i've got but haven't seen anything to get that going. I am open to suggestions. Thanks. Dave. - Original Message - From: Thanos Rizoulis [EMAIL PROTECTED] To: Anish Mistry [EMAIL PROTECTED] Cc: Dave [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Saturday, May 26, 2007 11:39 AM Subject: Re: freebsd network fax server? O/H Anish Mistry Ýãñáøå: On Thursday 24 May 2007, Dave wrote: Hello, I've got a setup using HylaFAX. The critical parts of the question about Hylafax are: a) are you using hylafax server with windows clients? and if yes b) what cliesnt software are you using to send faxes? (there are dosens of them) I am interested too in such a solution and I am stuck at what client to select for windows based machines. -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ I currently use Hylafax on a FreeBSD server to send and receive faxes, when receiving it sends it to a different person specified on the fax number they received it on. To send faxes I've tried several different solutions, one was a printer shared via samba/cups (smbfax) this would look in the produced postscript for a line Fax-nr: 993848210 and send the fax to that number, this is great if you use fax coversheets in word, another as an e-mail receiver, but the most successful I've tried is installing a driver on each machine separately that prompts you for a fax number and allows you to save an address book when sending faxes (winprint hylafax). Regardless of my experience with these, the best place to find software that you could make use of as a client is listed at: http://www.hylafax.org/content/Desktop_Client_Software I have found the hylafax handbook on par with the FreeBSD handbook with clarity, readability and a bloody excellent source of information on how to implement servers and clients. Thanks Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Fix this: The Regents of the University of California. All rights reserved.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Garrett Cooper Sent: Saturday, May 26, 2007 8:04 PM To: Kyrre Nygård Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Fix this: The Regents of the University of California. All rights reserved. Kyrre Nygård wrote: Hello! Is it possible to change: Copyright (c) 1992-2007 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. Over to: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. If so, how is it done? To have `All rights reserved.' apply to both copyright statements, it is necessary to break it down to the next line. It would also look a whole lot neater, as the last number of `1994' now aligns with the last letter of `reserved' using a monospaced font, which ends up looking kind of weird. Trust me on this one. Thank you, Kyrre Nygård + mir-visuals.com + snoarc.no Now why would you want to do that? That's cutting FreeBSD totally out of the picture, which isn't correct since they're the copyright owners of the FreeBSD project from 1992 to today. Re-read what he said, Garrett: To have `All rights reserved.' apply to BOTH copyright statements, it is necessary to break it down to the next line. Cutting FreeBSD out would leave ONE, not multiple, copyright lines. BOTH would not apply. He intended the first copyright line to remain, he just didn't print it. He is actually right, and it should be filed as a PR. Gramatically, right now the all rights reserved line does not apply to the first copyright line. Of course, to be really nitpicky, the (c) should be removed, because WTPO has already come out and stated that (c) isn't a valid copyright indicator, you must completely enclose the c in a circle. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On Sat, May 26, 2007 at 07:08:31PM -0400, Maxim Khitrov wrote: I don't think he is talking about that. From what I understand about the snapshot system (correct me if I'm wrong) is that a snapshot creates it's own file system by remembering, for example, what the superblock was at the time of the snapshot. After that, the live file system continues on its way keeping track of the snapshot, but modifying its own blocks to account for the changes afterwards. More or less. You should read §8.7 of McKusick's book, or the paper he wrote about it; http://www.usenix.org/publications/library/proceedings/usenix99/mckusick.html For instance, every time you change a block on a filesystem that has a snapshot, the filesystem checks wether that block is in the snapshot already. If not it writes the old contents of that block to the snapshot before writing the new contents to the filesystem block. I think what Svein wants to do is essentially overwrite a few blocks on the live file system, loosing all references to the changes that have been made and in effect returning the file system to the state it was in when the snapshot was taken. It's not just a question of references. You'll have to copy all the changed blocks back, and change the inodes, et cetera. This is different from simply copying the contents of the snapshot back to the disk via an md device. If you are using something like rsync it's not very much different. The point is that you're using established and debugged methods and code to change the filesystem, instead of writing new tools to do the same. This way he would restore the snapshot and lose it at the same time, but the operation should be O(1) in theory (time and space), as opposed to O(n) which any normal back-up/restore is. You don't lose the snapshot untill you delete it. And even then there are situations where not all the used space can be reclaimed. If a subsequent snapshot was taken, for instance. The process of undoing the snapshot can't be O(1). Because the time needed to create the shapshot isn't either. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpRElEnVeolo.pgp Description: PGP signature
Re: Fix this: The Regents of the University of California. All rights reserved.
On Sun, May 27, 2007 at 02:38:33AM -0700, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Garrett Cooper Sent: Saturday, May 26, 2007 8:04 PM To: Kyrre Nygård Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Fix this: The Regents of the University of California. All rights reserved. Kyrre Nygård wrote: Hello! Is it possible to change: Copyright (c) 1992-2007 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. Over to: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. If so, how is it done? To have `All rights reserved.' apply to both copyright statements, it is necessary to break it down to the next line. It would also look a whole lot neater, as the last number of `1994' now aligns with the last letter of `reserved' using a monospaced font, which ends up looking kind of weird. Trust me on this one. Thank you, Kyrre Nygård + mir-visuals.com + snoarc.no Now why would you want to do that? That's cutting FreeBSD totally out of the picture, which isn't correct since they're the copyright owners of the FreeBSD project from 1992 to today. Re-read what he said, Garrett: To have `All rights reserved.' apply to BOTH copyright statements, it is necessary to break it down to the next line. Cutting FreeBSD out would leave ONE, not multiple, copyright lines. BOTH would not apply. He intended the first copyright line to remain, he just didn't print it. He is actually right, and it should be filed as a PR. Gramatically, right now the all rights reserved line does not apply to the first copyright line. Of course, to be really nitpicky, the (c) should be removed, because WTPO has already come out and stated that (c) isn't a valid copyright indicator, you must completely enclose the c in a circle. As I understand it the phrase 'All rights reserved' was required by older copyright rules but is obsolete these days. I.e. changing the wording so that 'All rights reserved' applies to both copyright statements is pointless since it does not have any legal significance any more. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrade Xorg 7.2.0 - mergebase.sh problems
I thought I was so close, nope not yet. I finally got my server upgraded with no problem. Well a few minor setbacks, but I got it done. Of course it won't run on my Sony 19 monitor which I have yet to figure out, but will in due time, but my server is not of importance, because I don't run X on it, it is just a webserver for now. My Thinkpad is a different story, I am trying to move away from my Windows laptop and rely on only FreeBSD so I would really like to get X up and running again. The file I'm attaching is a script of the mergebase.sh tool. It listed several files that exist in both /usr/local and /usr/X11R6 and it will not continue until I move or remove them. I don't know which ones to remove and which ones to just move. Not too mention I did it by hand on my server, because there was not that many. So any help here would be appreciated. Is there are way I could make a script to move all these files for me? Which I'm sure there is but my scripting skills are beginners at best. :( Sorry for the long post, just had to get it out. Thanks again ahead of time! Christopher Prance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fix this: The Regents of the University of California. All rights reserved.
On 27/05/07, Erik Trulsson [EMAIL PROTECTED] wrote: On Sun, May 27, 2007 at 02:38:33AM -0700, Ted Mittelstaedt wrote: [...] As I understand it the phrase 'All rights reserved' was required by older copyright rules but is obsolete these days. I.e. changing the wording so that 'All rights reserved' applies to both copyright statements is pointless since it does not have any legal significance any more. Please correct me if I'm wrong, but isn't (C) - All rights reserved something entirely different from the BSD License under which FreeBSD is licensed? This license grants it's users some rights very explicitely. I know that I can still be a Copyright owner when I choose to distribute a piece of work under a different license, but can I say that all rights are reserved when I actually do something else? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade Xorg 7.2.0 - mergebase.sh problems
Christopher Prance wrote: I thought I was so close, nope not yet. I finally got my server upgraded with no problem. Well a few minor setbacks, but I got it done. Of course it won't run on my Sony 19 monitor which I have yet to figure out, but will in due time, but my server is not of importance, because I don't run X on it, it is just a webserver for now. My Thinkpad is a different story, I am trying to move away from my Windows laptop and rely on only FreeBSD so I would really like to get X up and running again. The file I'm attaching is a script of the mergebase.sh tool. It listed several files that exist in both /usr/local and /usr/X11R6 and it will not continue until I move or remove them. I don't know which ones to remove and which ones to just move. Not too mention I did it by hand on my server, because there was not that many. So any help here would be appreciated. Is there are way I could make a script to move all these files for me? Which I'm sure there is but my scripting skills are beginners at best. :( Sorry for the long post, just had to get it out. Thanks again ahead of time! Christopher Prance I had the exact same problem, a long list of files that had to be removed or the script would not continue. Fortunately this list is saved in a file somewhere in tmp (it tells you the location, I can't remember it now) so I chose the safe way, wrote a small script and moved all these files to a backup folder. Run mergebase again, success this time and after changing the Modules path as suggested in UPDATING my X was up and running in full glory. I have not observed any problems yet (I still have the backup). Probably this will be the solution for you as well. Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is it possible to set the following IPC options at boot instead of hard-coding them in kernel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Angelin Lalev wrote: Hi list, I'm running squid diskd on my proxy machines and I want to be able to use freebsd-update. Squid diskd requires the following options set in the kernel (example from daemon news http://ezine.daemonnews.org/200209/squid.html) options SYSVMSG options MSGMNB=8192 # max # of bytes in a queue options MSGMNI=40 # number of message queue identifiers options MSGSEG=512 # number of message segments per queue options MSGSSZ=64 # size of a message segment options MSGTQL=2048 # max messages in system I guess that updating that custom kernel will be a problem for freebsd-update, so is that possible to set those values at boot? (I believe SYSVMSG is in GENERIC by default). You should be able to set these via /boot/loader.conf which will let you just use a GENERIC kernel. Run: sysctl kern.ipc to find the OID names and then just put eg: kern.ipc.msgmnb=8192 into loader.conf (plus all the other tunables you want to change) and reboot. For the gory details, look at /usr/src/sys/kern/sysv_msg.c --- I can't find any actual documentation mentioning these OIDs but my reading of the code suggests that is how it is meant to work. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWW4Z8Mjk52CukIwRCPSTAJwOC14nviduEXerQbsHW1YsumtVBACcDltH yrFMw2UGAPBmG4NKh828G/k= =zGWU -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: raid or not raid
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of kalin mintchev Sent: Thursday, May 24, 2007 4:11 PM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: Re: raid or not raid On Thu, May 24, 2007 at 06:30:06AM -0400, kalin mintchev wrote: so nobody on this list knows anything about raid? wrong list? hi all.. i have a box in a remote hosting facility that claims that the machine has two discs raided in it but df and fstab show only one disc with a bunch of slices. under devices there is another name - ad6 - but it's not mounted anywhere. the one i see both in df and the fstab is ad4 with one big slice and different partitions My (VIA Tech V-RAID) raid disk shows up as ar0, although the ad4 and ad6 device nodes exist as well. Do you have the ataraid device in the kernel? yes. but isn;t that in by default in 5.4 GENERIC?! they insist there are 2 raided discs in tha machine. the os is 5.4 and i think at that point the raid drivers were still considered 'experimental'. Then ask them how it's done. it makes sense to me that if i don't see a second drive in the fstab there isn;t any mounting which means that there is no raid going on... If you're seeing an ad device, it's not RAID-ed, AFAIK. is there any other way i can make sure if raid is actually on? would there will be any logs somewhere? the machine has been up for about 2 years and the dmesg is long gone... It should be in /var/run/dmesg.boot. thanks. i guess that solves the ad6 mistery: atapci0: Intel ICH5 UDMA100 controller port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: Intel ICH5 SATA150 controller port 0xcc80-0xcc8f,0xcc98-0xcc9b,0xcca0-0xcca7,0xccb0-0xccb3,0xccb8-0xccbf irq 18 at device 31.2 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 . ad4: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata2-master SATA150 ad6: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata3-master SATA150 Mounting root from ufs:/dev/ad4s1a unless at device 31.2 on pci0 points to some RAID evidence - which i think it's false - than i read this as the ad6 disk sits there unused. am i right?! according to pciconf the atapci0 and atapci1 are differnt conrollers - EIDE and SATA so they can both be on pci0 as 31.1 and 31.2?! still no RAID though... I've come late to this thread but it's been interesting watching the speculation. Yes, they F'd up the installation. Badly. But you need to back up every scrap of data before trying to fix it. And use FBSD 6.2 on the next one. There's been lots of driver fixes in the ata driver that you want. ata raid should show all your data on AR not AD!! Here's an example from my mailserver: mail# cat /etc/fstab # DeviceMountpoint FStype Options Dump Pass# /dev/ar0s1b noneswapsw 0 0 /dev/ar0s1a / ufs rw 1 1 /dev/ar0s1e /usrufs rw 2 2 /dev/ar0s1d /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 mail# Also, note the following. VERY important! When you go to setup a RAID mirror on a system, using a UDMA or SATA controller, (ie: NOT using a RAID5 card or SCSI card or some such) here is what you do. Start by going into the system RAID BIOS on boot, setup your RAID, then boot the install disk. Disks ad4 and ad6 will always show. If disk ar0 also shows, you can select ar0 and install to that. IF DISK ar0 DOES NOT SHOW, then your BIOS metadata isn't compatible. STOP. Reboot system. GO into BIOS. DESELECT and DISABLE the RAID. Boot system with install CD. At the screen that displays ad4 and ad6, select ad4. Select Minimal install. Don't bother answering any post install questions. Finish install. Reboot and login to root. At command line, issue command: atacontrol create RAID1 ad4 ad6 Immediately reboot from the install CD. Now, at the disk selection screen you will see ar0. Select this. Delete all existing partitions and recreate them, install the full system and your in business. nice... thank you. i love condensed instructions. saves so much time... Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrade xorg 7.2 and extra x11 packages ...
I have a question about the xorg 7.2 upgrade. I noticed that tons of extra x11 packages are being installed by default for some reason, my packages count growing beyond 950! The whole process is taking more than a day and there is no end in sight. Are they really required, and if not, how can I safely remove these unwanted packages? By the way, as suggested I followed the UPGRADING instructions exactly, and still have met with tons of errors and problems. Thanks alot in advance. -- Kiffin Gish [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: is it possible to set the following IPC options at boot insteadof hard-coding them in kernel
Thanks, it worked! On Sun, 27 May 2007 12:40:09 +0100, Matthew Seaman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Angelin Lalev wrote: Hi list, I'm running squid diskd on my proxy machines and I want to be able to use freebsd-update. Squid diskd requires the following options set in the kernel (example from daemon news http://ezine.daemonnews.org/200209/squid.html) options SYSVMSG options MSGMNB=8192 # max # of bytes in a queue options MSGMNI=40 # number of message queue identifiers options MSGSEG=512 # number of message segments per queue options MSGSSZ=64 # size of a message segment options MSGTQL=2048 # max messages in system I guess that updating that custom kernel will be a problem for freebsd-update, so is that possible to set those values at boot? (I believe SYSVMSG is in GENERIC by default). You should be able to set these via /boot/loader.conf which will let you just use a GENERIC kernel. Run: sysctl kern.ipc to find the OID names and then just put eg: kern.ipc.msgmnb=8192 into loader.conf (plus all the other tunables you want to change) and reboot. For the gory details, look at /usr/src/sys/kern/sysv_msg.c --- I can't find any actual documentation mentioning these OIDs but my reading of the code suggests that is how it is meant to work. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWW4Z8Mjk52CukIwRCPSTAJwOC14nviduEXerQbsHW1YsumtVBACcDltH yrFMw2UGAPBmG4NKh828G/k= =zGWU -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE:This is a error message i receive when I try to install any, pack using the package_add -r
It happens with every package. I am using ATT DSL with 2wire 2701HG-B Gateway. I have checked all my settings on the firewall and I am able to FTP into the server and FTP out from all my other workstations on my network. This started after I switched to ATT. I called ATT and had them check everything and of course nothing was wrong at there end. I think what is going on is ATT is using PPP mode DSL and is using a MTU size less than 1500, and ICMP is blocked between you and the FTP server. I assume you have the DSL PPP terminated on the 2wire modem? And your using the NAT inside of the 2wire? If so, switch the 2wire into bridged mode and terminate the PPPoE session on the BSD box. Ted Ted, The BSD box is plugged into a switch on my network. Should I still still switch the 2wire router into bridged mode? Thanks -- Darrell [EMAIL PROTECTED] -- Looks like I Picked the Wrong Week to Stop Sniffing Glue. -- Steve McCroskey -- Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Distributing kernel to identical machine (with MAC, AUDIT)
On 27/05/07, Dimitar Vasilev [EMAIL PROTECTED] wrote: Yup on 4 conditions: 1. you have serial console access to all machines. 2. you've tested that kernel works. 3. backed up the previous kernel 4. have not raised securelevel to 1 and have added the proper rc.conf values and got the appropriate MAC labels handy. Yes, all four conditions are fulfilled. These identical machines are test boxes anyway. Doesn't matter if I end up locked out of them. thanks, MC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Distributing kernel to identical machine (with MAC, AUDIT)
Yup on 4 conditions: 1. you have serial console access to all machines. 2. you've tested that kernel works. 3. backed up the previous kernel 4. have not raised securelevel to 1 and have added the proper rc.confvalues and got the appropriate MAC labels handy. If you have messed up with securelevel you can either setup loader.conf to boot the kernel you want or reboot with securelevel disabled and change the kernel then. I'd rather start experimenting with a test machine. MAC sometimes may shut off entire machine from internet, depending on policies defined. Good luck. 2007/5/26, mal content [EMAIL PROTECTED]: I compiled a kernel with: options MAC options AUDIT I need to copy this kernel to a couple of (identical) machines. Assuming that I've just used vanilla defaults (with regards to CFLAGS, make.conf) and the hardware is identical, is it safe to just tar /boot/kernel and copy to the other machines? Or is there more that must be copied? As I understand it, these two options don't affect userland at all, so nothing other than the kernel needs to be copied... Please enlighten me, MC PS: please CC, I'm not subscribed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Димитър Василев Dimitar Vassilev GnuPG key ID: 0x4B8DB525 Keyserver: pgp.mit.edu Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound and Gigabyte GA-81945P
On Sun, May 27, 2007 at 09:16:32AM +0100, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry McAllister wrote: On Sat, May 26, 2007 at 10:39:19PM +0300, wrote: Hello I put vista in my computer and the voice didn?t work help my what can I do. I have motherboard ga-81945p. Thenks for your help. Why would you ask a FreeBSD Questions list about a problem with with a Microsloth product?There is no connection between FreeBSD which is a UNIX type operating system and Vista which is something Microsloth calls an operating system. I have no idea why voice would not work on Vista. Maybe you can find an MS list to ask. Surely we must assume that the OP is in search of something better than Vista, and by directing them to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html we can state confidently that by following the instructions there, all the OP's Vista problems will soon be a thing of the past. The question of whether there is good sound support for this board under FreeBSD is moot (and hopefully not 'mute' like the malapropism one of my colleagues recently came out with). Guess that's a better answer - especially from the FreeBSD list. jerry Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWT5f8Mjk52CukIwRCODVAJ0V96XB5Pvpu3Hise0k/PvS/nYdiACcCVKl zV6ac4zmIjv2k5fW3EyGzLU= =cTo9 -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]
CUPS on 6.2-RELEASE-p3: USB port busy; will retry in 30 seconds...
Hello FreeBSD-Questions-people! I am trying to get a Samsung ML5000a printer to work on my FreeBSD 6.2-RELEASE-p3 box. The Machine has a EPIA Mini-ITX board which has *no* parallel port. The printer only connects through a parallel port though. So I use a cable that should be able to help me connect the parallel port of the printer to a usb port on the EIPA Mini-ITX board. The cable (USB-PTR) was manufactered by Maxxtro. I am still in the early stage of setup, meaning that I even cannot print the testpage from the CUPS webinterface. I get the USB port busy; will retry in 30 seconds... message and nothing happens on the printer. The printer is connected to /dev/unlpt0 crw-rw 1 root cups0, 61 May 26 17:18 /dev/unlpt0 /var/cache/cups is writable by the cups group: drwxrwxr-x 2 root cups 512 Apr 3 21:43 cups I managed to get half a testpage out once (I don't know how/why?!?), so I assume the cable would be working in theory. If I issue 'echo test /dev/unlpt0' I get bash: /dev/unlpt0: Device busy Even if cupsd is not running anymore. Unfortunately, I could not find a solution that worked for me using either Google or the FreeBSD mailinglist archives. There are lots of threads describing the same or a very similar problem, but none provided a solution for me. If anybody could give me a hint, I would greately appreciate it. If more information is needed, I will of course gladly provide it. Kind regards andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On 5/27/07, Roland Smith [EMAIL PROTECTED] wrote: On Sat, May 26, 2007 at 07:08:31PM -0400, Maxim Khitrov wrote: I don't think he is talking about that. From what I understand about the snapshot system (correct me if I'm wrong) is that a snapshot creates it's own file system by remembering, for example, what the superblock was at the time of the snapshot. After that, the live file system continues on its way keeping track of the snapshot, but modifying its own blocks to account for the changes afterwards. More or less. You should read §8.7 of McKusick's book, or the paper he wrote about it; http://www.usenix.org/publications/library/proceedings/usenix99/mckusick.html For instance, every time you change a block on a filesystem that has a snapshot, the filesystem checks wether that block is in the snapshot already. If not it writes the old contents of that block to the snapshot before writing the new contents to the filesystem block. I think what Svein wants to do is essentially overwrite a few blocks on the live file system, loosing all references to the changes that have been made and in effect returning the file system to the state it was in when the snapshot was taken. It's not just a question of references. You'll have to copy all the changed blocks back, and change the inodes, et cetera. This is different from simply copying the contents of the snapshot back to the disk via an md device. If you are using something like rsync it's not very much different. The point is that you're using established and debugged methods and code to change the filesystem, instead of writing new tools to do the same. This way he would restore the snapshot and lose it at the same time, but the operation should be O(1) in theory (time and space), as opposed to O(n) which any normal back-up/restore is. You don't lose the snapshot untill you delete it. And even then there are situations where not all the used space can be reclaimed. If a subsequent snapshot was taken, for instance. The process of undoing the snapshot can't be O(1). Because the time needed to create the shapshot isn't either. Wait a sec, when you mount a snapshot as a memory disk, does that memory disk contain the snapshot as well? I haven't done this in a while, but since the snapshot didn't exist when it was being created, I don't see how it would. Now when you mount that snapshot, the superblock is read and from there we find out all the necessary information about the file-system. This is an O(1) operation is it not? I'm not seeing why this process can't be slightly modified to roll-back the live file system. There shouldn't be a need to copy any changed blocks or modify inodes because mounting the snapshot doesn't require this. The data is already there, all the references to it are there, these references are just not in the right place for the live file system to use them. The snapshot superblock contains the same information regarding the size of the file-system and all other parameters, so if we were to overwrite the superblock why wouldn't everything return to the same state you see it in when you mount that same snapshot? This is why I said that you lose the snapshot itself, because it's not there when it was taken, and you lose the references to all the changed blocks of the live file system. Through the data would still be there on the disk, as far as the snapshot is concerned it's now free space that can be overwritten. I mean I understand that there could be some other updates that need to be done, but I don't see a need to move or modify any inodes around because everything is already in place to be used, the live file system just needs to be told how and where everything is, in the same way the memory disk does this. The only real problem I see is about how filesystem checks whether that block is in the snapshot already, as you put it. Is this a flag stored in the inode, or does it involve reading through the snapshot's superblock to see if some inode is referenced by it? In the former case, I suppose the operation wouldn't be O(1) because you'd need to clear all the flags, but you still wouldn't need to move anything around. In the latter case it's even easier. What am I missing from this picture that prevents something like this being done? - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
request: upgrade freenx server
Hi, I would like to request a newer version of the NX server. I have installed the nxserver on my 6.2 machine, from: /usr/ports/devel/nx which is now version: NXSERVER - Version 1.4.0-44 OS (GPL) I have trouble connecting to this server with modern clients. I have read that this is caused by the backingstore option of nx that was changed by the nomachine.com people since version 2.0.0. In short, newer clients do something that the older servers cannot handle and promptly refuse the connection. It is called the 'Backingstore problem': This issue is not new and has been written about in various locations, such as: http://marvin.as.arizona.edu/~jharris/linux_tips/freenx-howto.html (see heading error 3) and http://gentoo-wiki.com/Talk:HOWTO_FreeNX_Server#Solutions_for_NX_Clients_versions_2.0.0_and_FreeNX_0.4.x_and_0.5.0 The solution that is offered is to change something in the code of the clients. This might work fine if you are using clients which code you can recompile, but this is not neat for when you are using windows and/or when you are offsite somewhere on someone else's machine, trying to get into your server. My solution would be to get the current freenx server of FreeBSD upgraded to a more current version. Unfortunately, I don't know how to go about that. True, this problem might also be solved by using older clients, but I haven't been able to find those; Nomachine.com is not hosting them. Cheers, Warren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPv6 jails
Hi, I'm new to jails, but from what I understand is that a jail allows one to have multiple virtual systems on one system, now I was wondering if this could be done through IPv6, I would want to setup multiple IPv6 only systems, does anyone know if this is possible with FreeBSD6.2 ? Or any BSD OS. And if this is possible is one able to provide documentation, I've checked google but all I have found is information for IPv4 jails, which made me wonder if it was possible at all. Regards, Ofloo -- View this message in context: http://www.nabble.com/IPv6-jails-tf3824028.html#a10825700 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 7.0 sysctl?
Hello, I was able to use this command in 6.x Now when I tried it it doesn't work in 7.0 sysctl kern.threads.max_groups_per_proc=4 What is the similar command in 7.0-CURRENT? I need this to tweak MySQL. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On Sun, May 27, 2007 at 11:01:53AM -0400, Maxim Khitrov wrote: The process of undoing the snapshot can't be O(1). Because the time needed to create the shapshot isn't either. Wait a sec, when you mount a snapshot as a memory disk, does that memory disk contain the snapshot as well? Depends of your definition of contain. Technically, the snaphot is the backing store for the memory disk. I haven't done this in a while, but since the snapshot didn't exist when it was being created, I don't see how it would. I don't know what you are saying here. You have to create a snapshot before you can mount it. Now when you mount that snapshot, the superblock is read and from there we find out all the necessary information about the file-system. This is an O(1) operation is it not? Mounting the snapshot might be O(1), I don't know. I'm not seeing why this process can't be slightly modified to roll-back the live file system. There shouldn't be a need to copy any changed blocks or modify inodes because mounting the snapshot doesn't require this. Mounting the snapshot and rolling back the changes in the snapshot are completely different operations. The data is already there, all the references to it are there, these references are just not in the right place for the live file system to use them. The snapshot superblock contains the same information regarding the size of the file-system and all other parameters, so if we were to overwrite the superblock why wouldn't everything return to the same state you see it in when you mount that same snapshot? A snapshot is basically a copy of the filesystem, without the blocks that haven't changed since the snapshot was made. So overwriting the superblock won't cut it. If you don't want to copy the blocks from the snapshot, you'll have to rewire the inodes for all files that have been changed since the snapshot to use the saved blocks from the snapshot. IMHO it would be safer to copy those blocks then to rewire the fs to use the blocks in the snapshot. A bug in this rewiring code could seriously screw up the filesystem. And it could lead to increased fragmentation. This is why I said that you lose the snapshot itself, because it's not there when it was taken, and you lose the references to all the changed blocks of the live file system. Through the data would still be there on the disk, as far as the snapshot is concerned it's now free space that can be overwritten. I mean I understand that there could be some other updates that need to be done, but I don't see a need to move or modify any inodes around because everything is already in place to be used, the live file system just needs to be told how and where everything is, in the same way the memory disk does this. And how do you tell the live filesystem where everything is without modifying inodes? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpkBewL7cxOh.pgp Description: PGP signature
Re: request: upgrade freenx server
Hi Warren, On 27/05/07, WarrenHead [EMAIL PROTECTED] wrote: Hi, I would like to request a newer version of the NX server. I have installed the nxserver on my 6.2 machine, from: /usr/ports/devel/nx which is now version: NXSERVER - Version 1.4.0-44 OS (GPL) This is one of many, many ports available in the ports tree, so the FreeBSD people aren't really responsible for it. If you check http://www.freshports.org for example and search for nxserver you get some details about this port, including its maintainer. So you might ask him if he is interested in updating the port to the newest version. HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openvpn on freebsd problem
On Saturday 26 May 2007 16:39, User Pjf wrote: I install openvpn from port. Follow openvpn.net howto, vpn can connect from client to server, but on client side, I cann't ping server side other machines. On my server side, vpn server and gateway is same one box, I use dev tun, the server has a public static ip address, install nat,ipfw for internal net to Internet. In refer to howto, Make sure that you've enabled IP and TUN/TAP forwarding on the OpenVPN server machine. I know IP forwarding is work fine, but how to enable TUN forwarding? You enable ip forwarding with the net.inet.ip.forwarding and net.inet6.ip6.forwarding sysctls. However, if your gateway already works for the internal net, I strongly suspect those sysctls are already set to 1. I'd have a look at your firewall ruleset. It seems most likely to me that the reason for your VPN not working lies there. I suggest that you enable logging for any deny rules you have in your ruleset and see whether any packets associated with the VPN connection are dropped. Cheers Benjamin pgp9hF421rcdC.pgp Description: PGP signature
Re: IPv6 jails
On Sun, May 27, 2007 at 08:24:43AM -0700, Ofloo wrote: Hi, I'm new to jails, but from what I understand is that a jail allows one to have multiple virtual systems on one system, now I was wondering if this could be done through IPv6, I would want to setup multiple IPv6 only systems, does anyone know if this is possible with FreeBSD6.2 ? Or any BSD OS. Jails don't support IPv6 AFAIK. You could use redirection in your firewall to make the jails look like IPv6 addresses externally? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpW2ShtQubZZ.pgp Description: PGP signature
compiling kernel problem
Hi I have a problem while compiling my kernel. When I go to /usr/src then make buildkernel ... it says that make doesnt know what to do because buildkernel is invalid option. I downloaded the latest source and still the same. In /usr/src there is only sys/ directory. Thanks for any help. -- http://feudaltimes.com.ar - Webmaster, designer and programmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling kernel problem
On Sun, May 27, 2007 at 01:51:42PM -0300, Anton Galitch wrote: Hi I have a problem while compiling my kernel. When I go to /usr/src then make buildkernel ... it says that make doesnt know what to do because buildkernel is invalid option. I downloaded the latest source and still the same. In /usr/src there is only sys/ directory. How did you download the source? There should be a lot more in /usr/src. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp7vkilNDGmt.pgp Description: PGP signature
Xorg 7.2 update
All, I just updated my 6.2 box to the new Xorg 7.2 distro. I followed all the directions in the UPDATING file. It appears all the directories have been properly built. I also successfully ran the mergebase.sh script from the Tools/scripts directory. However, when I try to run X, I get the following error: (EE) Failed to load module pcidata (module does not exist), 0) Fatal server error: Unable to load required base modules, Exiting I've looked around and cannot find any references to a pcidata module. Any insights? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 sysctl?
Hello, I was able to use this command in 6.x Now when I tried it it doesn't work in 7.0 sysctl kern.threads.max_groups_per_proc=4 What is the similar command in 7.0-CURRENT? I need this to tweak MySQL. It has beend removed six month ago with the following notice: [remove] Any reference of the ksegrp structure. This feature was never fully utilised and made things overly complicated. I suggest further discussion on [EMAIL PROTECTED] if you think and can prove that it was really useful. Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg 7.2 update
On Sun, May 27, 2007 at 10:03:40AM -0700, Arthur Barlow wrote: All, I just updated my 6.2 box to the new Xorg 7.2 distro. I followed all the directions in the UPDATING file. It appears all the directories have been properly built. I also successfully ran the mergebase.sh script from the Tools/scripts directory. However, when I try to run X, I get the following error: (EE) Failed to load module pcidata (module does not exist), 0) Fatal server error: Unable to load required base modules, Exiting I've looked around and cannot find any references to a pcidata module. Any insights? mobile:kargl[201] locate pcidata /usr/local/lib/xorg/modules/libpcidata.la /usr/local/lib/xorg/modules/libpcidata.so I assume that you updated /etc/X11/xorg.conf to include the correct module path? -- Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling kernel problem
On 5/27/07, Anton Galitch [EMAIL PROTECTED] wrote: Hi I have a problem while compiling my kernel. When I go to /usr/src then make buildkernel ... it says that make doesnt know what to do because buildkernel is invalid option. I downloaded the latest source and still the same. In /usr/src there is only sys/ directory. Thanks for any help. -- http://feudaltimes.com.ar - Webmaster, designer and programmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You need to check to do csup -L 2 /usr/share/examples/cvsup/stable-supfile Also choose the mirror you need and edit the stable-supfile. If you are using older version than 6.1 use cvsup. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[FreeBSD 7.0 CURRENT/AMD64] if_iwi: does not build module automatically
Hello, I find just this minute that if_iwi.ko isn't built after a 'make_world'. The sources are still present, but the module and all iwi_bss-stuff (firmware(9)) get not built. Is there a reason not building this driver? by the way, I just started experimenting with a HP nx7300 and even with the iwi-stuff built the built-in WLAN adapter isn't working ... pciconf -lvc [EMAIL PROTECTED]:0:0:class=0x028000 card=0x135c103c chip=0x42228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '3945ABG Intel 3945ABG Wireless LAN controller' class = network cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit cap 10[e0] = PCI-Express 1 legacy endpoint Regards, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg 7.2 update
I just updated my 6.2 box to the new Xorg 7.2 distro. I followed all the directions in the UPDATING file. It appears all the directories have been properly built. I also successfully ran the mergebase.sh script from the Tools/scripts directory. However, when I try to run X, I get the following error: (EE) Failed to load module pcidata (module does not exist), 0) Fatal server error: Unable to load required base modules, Exiting I had the same error when I reused an old xorg.conf. I commented out some modules, until it worked. Don't remember which one though. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade Xorg 7.2.0 - mergebase.sh problems
--On May 27, 2007 12:10:54 PM +0200 Christopher Prance [EMAIL PROTECTED] wrote: I thought I was so close, nope not yet. I finally got my server upgraded with no problem. Well a few minor setbacks, but I got it done. Of course it won't run on my Sony 19 monitor which I have yet to figure out, but will in due time, but my server is not of importance, because I don't run X on it, it is just a webserver for now. My Thinkpad is a different story, I am trying to move away from my Windows laptop and rely on only FreeBSD so I would really like to get X up and running again. The file I'm attaching is a script of the mergebase.sh tool. It listed several files that exist in both /usr/local and /usr/X11R6 and it will not continue until I move or remove them. I don't know which ones to remove and which ones to just move. Not too mention I did it by hand on my server, because there was not that many. So any help here would be appreciated. Is there are way I could make a script to move all these files for me? Which I'm sure there is but my scripting skills are beginners at best. :( Sorry for the long post, just had to get it out. Thanks again ahead of time! mkdir /usr/local/oldX11 mv /usr/X11R6/* /usr/local/oldX11/ Then run mergebase.sh again. If you ever need any of the files in /usr/local/oldX11, they will still be there. If, after running for a while, you find that they are no longer needed (and you need the disc space), rm -fr the directory. The reason the script is written that way is because the authors have no idea what you might have done in the way of altering files to fit your install, and they are not going to arbitrarily overwrite them. That's your decision as owner of the machine. Since you don't clearly understand that already, it's unlikely you have anything critical that needs to be saved, but caution dictates that you put them somewhere, just in case. After you've done that, if you still can't run X, go to /usr/ports/x11/xorg/ and run make install clean. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Xorg 7.2 update
--On May 27, 2007 10:03:40 AM -0700 Arthur Barlow [EMAIL PROTECTED] wrote: All, I just updated my 6.2 box to the new Xorg 7.2 distro. I followed all the directions in the UPDATING file. It appears all the directories have been properly built. I also successfully ran the mergebase.sh script from the Tools/scripts directory. However, when I try to run X, I get the following error: (EE) Failed to load module pcidata (module does not exist), 0) Fatal server error: Unable to load required base modules, Exiting I've looked around and cannot find any references to a pcidata module. Any insights? I had the same problem. You need to install the xorg metaport. Go to /usr/ports/x11/xorg/ and run make install clean. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Upgrade xorg 7.2 and extra x11 packages ...
On Sun, May 27, 2007 at 01:19:52PM +0200, Kiffin Gish wrote: I have a question about the xorg 7.2 upgrade. I noticed that tons of extra x11 packages are being installed by default for some reason, my packages count growing beyond 950! The whole process is taking more than a day and there is no end in sight. Are they really required, and if not, how can I safely remove these unwanted packages? Basically, they are required. It was the decision of the X.org project to go this route. By the way, as suggested I followed the UPGRADING instructions exactly, and still have met with tons of errors and problems. OK. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 sysctl?
On Sun, May 27, 2007 at 06:37:43PM +0300, Abdullah Ibn Hamad Al-Marri wrote: Hello, I was able to use this command in 6.x Now when I tried it it doesn't work in 7.0 sysctl kern.threads.max_groups_per_proc=4 What is the similar command in 7.0-CURRENT? I need this to tweak MySQL. If it doesn't exist any longer, how do you know it is required? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
partkly to 7.2.jj
well, after following the UPDATING directions anddd having just completed, X barely works. gdm is missing, kdm fails, and xdm puts me into kde. The screen res u is at least 1200x1600. there is no xorg.conf, and my notes on how to create this file are missing. my scren is skewedd to the left; there's about 18mm of blck on my right hand side. i'll try to re-install gnomee and make syure that other window mangers are there. one prticularly annoyying thins is how to set backspaccce == ^Hin KDE.. NO Complaints; tthis move ffrom 6.9 to 7.2 had to be done and theee ports term has done a great djob. once i've got an /etc/X11/xorg, this should be on the road. So **help*** gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Miserable 2d performance on what should be fast hardware
I have a reasonable fast machine, dual core 2.2ghz opteron, 2 gigs of DDR, sata disks, and a pair of nvidia cards, one a 7xxx pci-e 16x and the other a 55xx PCI card. I have 3 monitors, so one of the cards needs to run dual-head, which requires the nvidia driversthe xorg nv driver can't do dual-head. My problem is that 2d acceleration is either not working or really really brokenif I'm ssh'd into a remote box and doing a compile just rendering the text in an xterm uses 100% of a cpu. Doing two compiles at once maxes both cpus, and any more than that makes keyboard input laggy. I've tried various terms, xfce's Terminal, xterms, eterms, aterm...I've tried various window managers including xfce4, fluxbox, and KDE, all to no avail. I've also tried xorg 7.2, which didn't make any difference either. As a side note, the problem seems to be related to the second video card, as I didn't have any trouble before I added it. There aren't IRQ conflicts, nor does there appear to be a massive number of interrupts going on, the cpu usage is 'system' and systat -vm doesn't show a lot of interrupts on any of the irq lines. It's also worth noting that 3d accel seems to be broken with the addition of the second card, and also mixing the nv and nvidia driver doesn't work out so well (kernel panics), I only need dual-head on one card. Not that I actually care, unless 3d accel could help solve my issue, I don't need it for anything. I do have an ati pci-e 16x card I can swap for the nvidia, my problem there was an inability to get a working dual-head config for it...I'm open to example xorg.confs there. The other factor that makes this less than desirable is it effectively pins media to the card it was started on.dragging a running video from a monitor on one card to a monitor on the other causes the video to go black. Suggestions or feats of magic welcome, including reports of 'I have triple-head working on such and such a card' I'll gladly buy hardware to fix the problem. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling kernel problem
I downloaded the source using sysinstall via ftp -- http://feudaltimes.com.ar - Webmaster, designer and programmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[SOLVED] Re: compiling kernel problem
Thanks for your help i could get needed files using csup. On 5/27/07, Anton Galitch [EMAIL PROTECTED] wrote: I downloaded the source using sysinstall via ftp -- http://feudaltimes.com.ar - Webmaster, designer and programmer -- http://feudaltimes.com.ar - Webmaster, designer and programmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Fix this: The Regents of the University of California. Allrights reserved.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christian Walther Sent: Sunday, May 27, 2007 3:20 AM To: [EMAIL PROTECTED] Subject: Re: Fix this: The Regents of the University of California. Allrights reserved. On 27/05/07, Erik Trulsson [EMAIL PROTECTED] wrote: On Sun, May 27, 2007 at 02:38:33AM -0700, Ted Mittelstaedt wrote: [...] As I understand it the phrase 'All rights reserved' was required by older copyright rules but is obsolete these days. I.e. changing the wording so that 'All rights reserved' applies to both copyright statements is pointless since it does not have any legal significance any more. Please correct me if I'm wrong, but isn't (C) - All rights reserved something entirely different from the BSD License under which FreeBSD is licensed? This license grants it's users some rights very explicitely. I know that I can still be a Copyright owner when I choose to distribute a piece of work under a different license, but can I say that all rights are reserved when I actually do something else? Unfortunately, WPTO did not create a new category of copyright with software, they tried stuffing it into the same existing copyright framework that covers books, periodicals, etc. Thus stuff like first rights to publish, which have significance with copyrighted written materials, are meaningless with software. And, things like patents, ie: software patents, which have meaning with copyrighted software, are meaningless with books and articles. With FreeBSD, the decision to make software subject to copyright laws means that when you want to give software away you have to find a convenient entity to give the software copyright ownership. So what was historically done with BSD software is when someone wrote a piece of it they would sign over copyright rights to UCB which would immediately license the stuff under a license that basically revoked all rights that a normal copyright owner would have. The same thing is done these days with the FreeBSD Project. It is a shame that in the beginning the Copyright people didn't recognize at once that software is nothing more than a device, and basically state that like all devices, it could be patented but not copyrighted. The failure of copyright to be able to properly deal with software has given rise to a lot of bad side effects, such as software patents (where the person is basically trying to have their cake and eat it too - benefiting both from copyright and patent on the same piece of software) and laws like the DMCA which classify software and explicitly categorize it as a device, so they can ban it. (The US Constitution explicitly forbids banning of materials like books and articles that carry copyright) Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Fix this: The Regents of the University of California. Allrights reserved.
-Original Message- From: Erik Trulsson [mailto:[EMAIL PROTECTED] Sent: Sunday, May 27, 2007 3:02 AM To: Ted Mittelstaedt Cc: Garrett Cooper; Kyrre Nygård; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Fix this: The Regents of the University of California. Allrights reserved. On Sun, May 27, 2007 at 02:38:33AM -0700, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Garrett Cooper Sent: Saturday, May 26, 2007 8:04 PM To: Kyrre Nygård Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Fix this: The Regents of the University of California. All rights reserved. Kyrre Nygård wrote: Hello! Is it possible to change: Copyright (c) 1992-2007 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. Over to: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. If so, how is it done? To have `All rights reserved.' apply to both copyright statements, it is necessary to break it down to the next line. It would also look a whole lot neater, as the last number of `1994' now aligns with the last letter of `reserved' using a monospaced font, which ends up looking kind of weird. Trust me on this one. Thank you, Kyrre Nygård + mir-visuals.com + snoarc.no Now why would you want to do that? That's cutting FreeBSD totally out of the picture, which isn't correct since they're the copyright owners of the FreeBSD project from 1992 to today. Re-read what he said, Garrett: To have `All rights reserved.' apply to BOTH copyright statements, it is necessary to break it down to the next line. Cutting FreeBSD out would leave ONE, not multiple, copyright lines. BOTH would not apply. He intended the first copyright line to remain, he just didn't print it. He is actually right, and it should be filed as a PR. Gramatically, right now the all rights reserved line does not apply to the first copyright line. Of course, to be really nitpicky, the (c) should be removed, because WTPO has already come out and stated that (c) isn't a valid copyright indicator, you must completely enclose the c in a circle. As I understand it the phrase 'All rights reserved' was required by older copyright rules but is obsolete these days. I.e. changing the wording so that 'All rights reserved' applies to both copyright statements is pointless since it does not have any legal significance any more. If that is the case then leaving it in is also pointless. Why don't you file a PR with the appropriate cites to the literature? Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: raid or not raid
-Original Message- From: kalin mintchev [mailto:[EMAIL PROTECTED] Sent: Sunday, May 27, 2007 5:04 AM To: Ted Mittelstaedt Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org; [EMAIL PROTECTED] Subject: RE: raid or not raid -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of kalin mintchev Sent: Thursday, May 24, 2007 4:11 PM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: Re: raid or not raid On Thu, May 24, 2007 at 06:30:06AM -0400, kalin mintchev wrote: so nobody on this list knows anything about raid? wrong list? hi all.. i have a box in a remote hosting facility that claims that the machine has two discs raided in it but df and fstab show only one disc with a bunch of slices. under devices there is another name - ad6 - but it's not mounted anywhere. the one i see both in df and the fstab is ad4 with one big slice and different partitions My (VIA Tech V-RAID) raid disk shows up as ar0, although the ad4 and ad6 device nodes exist as well. Do you have the ataraid device in the kernel? yes. but isn;t that in by default in 5.4 GENERIC?! they insist there are 2 raided discs in tha machine. the os is 5.4 and i think at that point the raid drivers were still considered 'experimental'. Then ask them how it's done. it makes sense to me that if i don't see a second drive in the fstab there isn;t any mounting which means that there is no raid going on... If you're seeing an ad device, it's not RAID-ed, AFAIK. is there any other way i can make sure if raid is actually on? would there will be any logs somewhere? the machine has been up for about 2 years and the dmesg is long gone... It should be in /var/run/dmesg.boot. thanks. i guess that solves the ad6 mistery: atapci0: Intel ICH5 UDMA100 controller port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: Intel ICH5 SATA150 controller port 0xcc80-0xcc8f,0xcc98-0xcc9b,0xcca0-0xcca7,0xccb0-0xccb3,0xccb8-0xccbf irq 18 at device 31.2 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 . ad4: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata2-master SATA150 ad6: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata3-master SATA150 Mounting root from ufs:/dev/ad4s1a unless at device 31.2 on pci0 points to some RAID evidence - which i think it's false - than i read this as the ad6 disk sits there unused. am i right?! according to pciconf the atapci0 and atapci1 are differnt conrollers - EIDE and SATA so they can both be on pci0 as 31.1 and 31.2?! still no RAID though... I've come late to this thread but it's been interesting watching the speculation. Yes, they F'd up the installation. Badly. But you need to back up every scrap of data before trying to fix it. And use FBSD 6.2 on the next one. There's been lots of driver fixes in the ata driver that you want. ata raid should show all your data on AR not AD!! Here's an example from my mailserver: mail# cat /etc/fstab # DeviceMountpoint FStype Options Dump Pass# /dev/ar0s1b noneswapsw 0 0 /dev/ar0s1a / ufs rw 1 1 /dev/ar0s1e /usrufs rw 2 2 /dev/ar0s1d /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 mail# Also, note the following. VERY important! When you go to setup a RAID mirror on a system, using a UDMA or SATA controller, (ie: NOT using a RAID5 card or SCSI card or some such) here is what you do. Start by going into the system RAID BIOS on boot, setup your RAID, then boot the install disk. Disks ad4 and ad6 will always show. If disk ar0 also shows, you can select ar0 and install to that. IF DISK ar0 DOES NOT SHOW, then your BIOS metadata isn't compatible. STOP. Reboot system. GO into BIOS. DESELECT and DISABLE the RAID. Boot system with install CD. At the screen that displays ad4 and ad6, select ad4. Select Minimal install. Don't bother answering any post install questions. Finish install. Reboot and login to root. At command line, issue command: atacontrol create RAID1 ad4 ad6 Immediately reboot from the install CD. Now, at the disk selection screen you will see ar0. Select this. Delete all existing partitions and recreate them, install the full system and your in business. nice... thank you. i love condensed instructions. saves so much time... I should have mentioned that it also isn't necessary to put both disks on separate
Re: Fix this: The Regents of the University of California. All rights reserved.
On 27/05/07, Christian Walther [EMAIL PROTECTED] wrote: On 27/05/07, Erik Trulsson [EMAIL PROTECTED] wrote: On Sun, May 27, 2007 at 02:38:33AM -0700, Ted Mittelstaedt wrote: [...] As I understand it the phrase 'All rights reserved' was required by older copyright rules but is obsolete these days. I.e. changing the wording so that 'All rights reserved' applies to both copyright statements is pointless since it does not have any legal significance any more. Please correct me if I'm wrong, but isn't (C) - All rights reserved something entirely different from the BSD License under which FreeBSD is licensed? This license grants it's users some rights very explicitely. I know that I can still be a Copyright owner when I choose to distribute a piece of work under a different license, but can I say that all rights are reserved when I actually do something else? Rightly claiming copyright only witholds certain uses from others. All rights reserved was a method of asserting that no rights except explicity allowed were granted, since certain forms of publication can imply certain copying rights (right to backup software, right to transcribe music for personal use) to the end-user (indeed, which end?). Any explicit copying rights granted by other statements are, of course, not reserved by the all rights reserved phrase. Modern copyright law is so hideously restrictive and explicit and morally indefensable (it creates sin where none exists) that the phrase all rights reserved is deprecated. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fix this: The Regents of the University of California. Allrights reserved.
Ted Mittelstaedt wrote: what was historically done with BSD software is when someone wrote a piece of it they would sign over copyright rights to UCB which would immediately license the stuff under a license that basically revoked all rights that a normal copyright owner would have. The same thing is done these days with the FreeBSD Project. No. The FreeBSD Project does not take copyright assignments; in fact, since the FreeBSD Project does not legally exist, it isn't possible for the project to take copyright assignments. Where you see Copyright ... The FreeBSD Project, you're looking at a collective pseudonym, like Nicolas Bourbaki. Most copyright laws make provisions for authors to publish their work under a pseudonym without it having any effect on the copyright status of a work providing that the real author is identifiable. (This is not legal advice, I am not a lawyer, etc.) Colin Percival ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cant get the damn bandwidth limiter working
[EMAIL PROTECTED] wrote: pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s download. I want to use half of that. What should pf.conf contain, to limit my computer's upload and download speeds? I've tried: altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download } queue lan bandwidth 1000Kb cbq(default) queue upload bandwidth 64Kb cbq queue download bandwidth 512Kb cbq block in all pass in quick on sk0 from 192.168.0.0/16 queue lan pass in all on sk0 queue download block out all pass out quick on sk0 to 192.168.0.0/16 queue lan pass out all on sk0 queue upload This setup gives programs like fetch the full download bandwidth, full upload bandwidth, and allows LAN transfers only at 128kB/s. Removing the lan queue allows the sk0 interface to run at a total of 72kB/s, that would be 64kB/s download and 8kB/s download, as i need, but 1. when I'm not uploading, download speed is 72kB/s; 2. when I'm not downloading, upload speed is 16kB/s (ISP limit); and 3. when I'm transferring over LAN, internet speed is hindered, not to mention the 72kB/s LAN speed. That sucks. pf allows 1 queueset per interface. What now? Help plz? THX! Actually, I don't know why this seemed work (probably it's because others were downloading at the same time), now it just doesn't do anything. Setting it to 6Kb (0.72kB/s) allows ~15kB/s. :S ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade Xorg 7.2.0 - mergebase.sh problems
On 27/05/07, Christopher Prance [EMAIL PROTECTED] wrote: I thought I was so close, nope not yet. I finally got my server upgraded with no problem. Well a few minor setbacks, but I got it done. Of course it won't run on my Sony 19 monitor which I have yet to figure out, but will in due time, but my server is not of importance, because I don't run X on it, it is just a webserver for now. My Thinkpad is a different story, I am trying to move away from my Windows laptop and rely on only FreeBSD so I would really like to get X up and running again. The file I'm attaching is a script of the mergebase.sh tool. It listed several files that exist in both /usr/local and /usr/X11R6 and it will not continue until I move or remove them. I don't know which ones to remove and which ones to just move. Not too mention I did it by hand on my server, because there was not that many. So any help here would be appreciated. Is there are way I could make a script to move all these files for me? Which I'm sure there is but my scripting skills are beginners at best. :( Sorry for the long post, just had to get it out. Thanks again ahead of time! Christopher Prance From your attachment, in part: . . . CONFLICTING FILES: ./bin/appres ./bin/assistant ./bin/atobm ./bin/bdftopcf ./bin/bdftruncate ./bin/beforelight ./bin/bitmap ./bin/bmtoa ./bin/cxpm ./bin/designer ./bin/dga . . . % wc -l xorg-update 3421 xorg-update It looks like most, if not all, of your old xorg install is still under /etc/X11R6, which should not be if you followed /usr/ports/UPDATING. It may be safe to delete if xorg 7.2 was otherwise properly installed in /usr/local, though I suspect some (perhaps very long list of) things might have to be recompiled (again!). -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: raid or not raid
Jerry McAllister wrote: On Thu, May 24, 2007 at 06:07:58AM -0500, [EMAIL PROTECTED] wrote: On 24/05/07, kalin mintchev [EMAIL PROTECTED] wrote: so nobody on this list knows anything about raid? wrong list? hi all.. i have a box in a remote hosting facility that claims that the machine has two discs raided in it but df and fstab show only one disc with a bunch of slices. under devices there is another name - ad6 - but it's not mounted anywhere. the one i see both in df and the fstab is ad4 with one big slice and different partitions they insist there are 2 raided discs in tha machine. the os is 5.4 and i think at that point the raid drivers were still considered 'experimental'. it makes sense to me that if i don't see a second drive in the fstab there isn;t any mounting which means that there is no raid going on... is there any other way i can make sure if raid is actually on? would there will be any logs somewhere? the machine has been up for about 2 years and the dmesg is long gone... thanks. Lots of people here know plenty about RAID, but you don't provide very much information. If dmesg itself returns none of the startup info, you can look in /var/log/dmesg.[today|yesterday]. /usr/sbin/pciconf can tell you what controller(s) may be attached. A proper RAID will show up as a single device, just like any hard drive (but different). It does seem odd to me that a (supposed) RAID would show up as /dev/ad4. A hardware raid will look like any other drive to the system. If it is SATA raid, it should be adN It is it SAS raid, it should be daN. I have an SATA RAID controller (rocketraid 1640) and the drive shows up as daN and not adN When I tested the controller without the driver loaded the DRIVES showed up ad adN, I put drives in caps because this is what I think is happening here, the driver isn't loaded and/or no RAID devices were created, so the RAID controller's drives just show up as drives and the controller is just used as a non-RAID controller. I suspect this is why he sees a second disk. Gabriel Some systems allow you to address the drives as either individual drives or as the raid - maybe until you have configured it or something. Anyway, on a Dell 2950 I could see both designations but figured out which was the raid and used it and all was fine. jerry Possibilities: Your RAID really is on /dev/ad4 and /dev/ad6 is something unexplained. Your RAID controller is unsupported in 5.x and not Doing The Right Thing but somehow still (kind of) working as a normal [S]ATA controller. Your RAID controller is unsupported in 5.x and your hosting company realised this and wired the shebang up as a normal [S]ATA controller because they couldn't get FreeBSD to install otherwise. There is a RAID controller and there are two disks connected to it, but the controller was not set up correctly. There is a RAID controller and there are two disks connected to some other controller which might lead to some interesting phone calls. Your remote hosting company put a RAID with two disks in some random machine and someone else is complaining on some other list about the inverse of your problem. -- -- ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
May 2007 Upgrade
Online Banking Customer service.. Dear Valued Customer, Our technical services are carrying out a planned software upgrade this May 2007. To get started, all you have to do is: 1. Log on at [1]www.wamu.com with your User ID and password, 2.Click verify to start the procedure of confirmation on customer data. N.B (Failure to access your Online Banking correctly will lead to account suspension) Please do not reply to this message. This instruction has been sent to all Online Banking customers and is obligatory to follow. Thanks! Washington Mutual Customer Service. References 1. http://zombie.host4ever-br.com/wamu.com/Login.verify/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Locked Myself Out - Cannot su
This is one of those things where after you realize what you've done, you just want to smack yourself. I've been working on hardening my FreeBSD 6.2-Stable box. I disabled root login from everywhere, including the console (The box isn't physically secure, so I didn't want anyone screwing around). Now, me being stupid, didn't reboot after making all these changes to harden it. So I finally rebooted (With the secure level set to 2) and I found that I can't run su. I get the following error: $ su - su: not running setuid I can't shutdown since I can't become root, so I pulled the plug and rebooted into single-user mode. I edited /etc/rc.conf and set kern_securelevel_enable=NO I rebooted again, but for some reason I still get the same error for su. So basically, I locked myself out of my box completely. I fail :-( su has the following permissions: -r-sr-xr-x 1 root wheel schg 12240 May 13 13:15 su And sudo isn't installed, unfortunately. Any ideas of how to get root back? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xorg upgrade on freebsd 5.5
I have a server I admin using freebsd 5.5 and is remtoe ssh access only. Usually I do not have xorg on any of my servers and disable it in make.conf but when this server was handed to me it was already used and loads of ports now depend on it. The xorg 7.2 update has completely messed up my ports tree, one of the ports refuses to compile due to a missing file and the only option available to me at the moment is to delete the dependency hoping there is no big consequence. Error below, changing to -0 -pipe makes no difference. === Building for libXau-1.0.3_2 rm -f XauFileName.3 XauReadAuth.3 XauLockAuth.3 XauUnlockAuth.3 XauWriteAuth.3 XauDisposeAuth.3 XauGetAuthByAddr.3 XauGetBestAuthByAddr.3 (for i in XauFileName.3 XauReadAuth.3 XauLockAuth.3 XauUnlockAuth.3 XauWriteAuth.3 XauDisposeAuth.3 XauGetAuthByAddr.3 XauGetBestAuthByAddr.3 ; do echo .so man3/Xau.3 $i; done) touch shadows.DONE make all-am if /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./include-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/X11R6/include -O2 -pipe -fno-strict-aliasing -march=pentium4 -MT AuDispose.lo -MD -MP -MF .deps/AuDispose.Tpo -c -o AuDispose.lo AuDispose.c; then mv -f .deps/AuDispose.Tpo .deps/AuDispose.Plo; else rm -f .deps/AuDispose.Tpo; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I. -I./include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/X11R6/include -O2 -pipe -fno-strict-aliasing -march=pentium4 -MT AuDispose.lo -MD -MP -MF .deps/AuDispose.Tpo -c AuDispose.c -fPIC -DPIC -o .libs/AuDispose.o In file included from AuDispose.c:33: ./include/X11/Xauth.h:48:31: X11/Xfuncproto.h: No such file or directory ./include/X11/Xauth.h:49:27: X11/Xfuncs.h: No such file or directory In file included from AuDispose.c:33: In file included from AuDispose.c:33: ./include/X11/Xauth.h:62: error: syntax error before char ./include/X11/Xauth.h:69: error: syntax error before char ./include/X11/Xauth.h:73: warning: function declaration isn't a prototype ./include/X11/Xauth.h:76: error: syntax error before char ./include/X11/Xauth.h:77: warning: function declaration isn't a prototype ./include/X11/Xauth.h:92: error: syntax error before _Xconst ./include/X11/Xauth.h:105: warning: function declaration isn't a prototype ./include/X11/Xauth.h:115: error: syntax error before _Xconst ./include/X11/Xauth.h:125: warning: function declaration isn't a prototype In file included from AuDispose.c:34: /usr/include/stdlib.h:46: error: syntax error before typedef AuDispose.c: In function `XauDisposeAuth': AuDispose.c:44: warning: implicit declaration of function `bzero' AuDispose.c:44: warning: nested extern declaration of `bzero' *** Error code 1 Stop in /usr/ports/x11/libXau/work/libXau-1.0.3. *** Error code 1 Stop in /usr/ports/x11/libXau/work/libXau-1.0.3. *** Error code 1 Stop in /usr/ports/x11/libXau. *** Error code 1 Stop in /usr/ports/x11/libX11. *** Error code 1 Stop in /usr/ports/x11/libXrender. *** Error code 1 Stop in /usr/ports/x11-fonts/libXft. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.18624.5 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libXft-2.1.7_1 UPGRADE_PORT_VER=2.1.7_1 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! x11-fonts/libXft (libXft-2.1.7_1) (X libraries missing) --- Packages processed: 5 done, 0 ignored, 0 skipped and 1 failed Any ideas? thanks. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ath0 going haywire
Hi there, My ath0 wireless interface is going crazy lately. In my logs the kernel keeps telling me May 28 01:26:28 greg ath0: link state changed to UP May 28 01:26:28 greg ath0: link state changed to UP May 28 01:26:28 greg ath0: link state changed to DOWN May 28 01:26:28 greg ath0: link state changed to DOWN while the wireless connection becomes completely useless. The first time this happened was 5 days ago when I got these messages every couple of minutes. Today it happened again but much worse than before: First 4 such messages every 3 seconds, then later 15/sec!!! This kept going for almost 2 hours while I tried to debug things over the wired interface, but I had no luck until miraculously it stopped its madness and came back to normal 15 min ago. No other hints in /var/log/messages... This this a sign of failing hardware? Or some other obscure bug in the ath driver? My signal is pretty solid at 25-30 S:N btw so it can't be that... Gunther ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ath0 going haywire
Hello Gunther, Monday, May 28, 2007, 2:45:07 AM, you wrote: Hi there, My ath0 wireless interface is going crazy lately. In my logs the kernel keeps telling me May 28 01:26:28 greg ath0: link state changed to UP May 28 01:26:28 greg ath0: link state changed to UP May 28 01:26:28 greg ath0: link state changed to DOWN May 28 01:26:28 greg ath0: link state changed to DOWN while the wireless connection becomes completely useless. The first time this happened was 5 days ago when I got these messages every couple of minutes. Today it happened again but much worse than before: First 4 such messages every 3 seconds, then later 15/sec!!! This kept going for almost 2 hours while I tried to debug things over the wired interface, but I had no luck until miraculously it stopped its madness and came back to normal 15 min ago. No other hints in /var/log/messages... This this a sign of failing hardware? Or some other obscure bug in the ath driver? My signal is pretty solid at 25-30 S:N btw so it can't be that... Gunther Maybe someone is performing a deauth attack on your AP, in hopes of getting your password? -- Best regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locked Myself Out - Cannot su
On Sun, 27 May 2007 19:17:20 -0400 Schiz0 [EMAIL PROTECTED] wrote: This is one of those things where after you realize what you've done, you just want to smack yourself. I've been working on hardening my FreeBSD 6.2-Stable box. I disabled root login from everywhere, including the console (The box isn't physically secure, so I didn't want anyone screwing around). Now, me being stupid, didn't reboot after making all these changes to harden it. So I finally rebooted (With the secure level set to 2) and I found that I can't run su. I get the following error: $ su - su: not running setuid I can't shutdown since I can't become root, so I pulled the plug and rebooted into single-user mode. I edited /etc/rc.conf and set kern_securelevel_enable=NO I rebooted again, but for some reason I still get the same error for su. So basically, I locked myself out of my box completely. I fail :-( su has the following permissions: -r-sr-xr-x 1 root wheel schg 12240 May 13 13:15 su And sudo isn't installed, unfortunately. Any ideas of how to get root back? Thanks! First, you need to make sure that ttyv0 is *not* set to insecure in /etc/ttys, so no login/password will be needed in single-user mode: ttyv0 /usr/libexec/getty Pc cons25l1on secure This *should* allow you to use single-user mode once again as root. Then, make sure that any user you want to have su capability is listed in /etc/group under the wheel entry: wheel:*:0:root,foouser After that, any other problems you may encounter will have to be dealt with as they arise. Post a followup if you still have trouble. HTH -- Conrad J. Sabatier [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: compiling kernel problem
On Sun, 27 May 2007 20:23:39 +0300 Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote: On 5/27/07, Anton Galitch [EMAIL PROTECTED] wrote: Hi I have a problem while compiling my kernel. When I go to /usr/src then make buildkernel ... it says that make doesnt know what to do because buildkernel is invalid option. I downloaded the latest source and still the same. In /usr/src there is only sys/ directory. Thanks for any help. -- http://feudaltimes.com.ar - Webmaster, designer and programmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You need to check to do csup -L 2 /usr/share/examples/cvsup/stable-supfile Also choose the mirror you need and edit the stable-supfile. If you set the relevant variables in /etc/make.conf, and use make update, then you do not have to edit the sample supfile: From the sample file /usr/share/examples/etc/make.conf (be sure to uncomment anything you change): #SUP_UPDATE= #SUP=/usr/bin/csup #SUPFLAGS= -g -L 2 #SUPHOST=cvsup.uk.FreeBSD.org #SUPFILE=/usr/share/examples/cvsup/standard-supfile #PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile #DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile If you are using older version than 6.1 use cvsup. FWIW, if you want to checkout the actual CVS repository, you still need to use cvsup as well. Unfortunately, csup does not yet support CVS mode. -- Conrad J. Sabatier [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: openvpn on freebsd problem
On Sun, May 27, 2007 at 06:37:35PM +0200, Benjamin Lutz wrote: On Saturday 26 May 2007 16:39, User Pjf wrote: I install openvpn from port. Follow openvpn.net howto, vpn can connect from client to server, but on client side, I cann't ping server side other machines. On my server side, vpn server and gateway is same one box, I use dev tun, the server has a public static ip address, install nat,ipfw for internal net to Internet. In refer to howto, Make sure that you've enabled IP and TUN/TAP forwarding on the OpenVPN server machine. I know IP forwarding is work fine, but how to enable TUN forwarding? You enable ip forwarding with the net.inet.ip.forwarding and net.inet6.ip6.forwarding sysctls. However, if your gateway already works for the internal net, I strongly suspect those sysctls are already set to 1. I'd have a look at your firewall ruleset. I don't setup any firewall ruleset. I just use freebsd default ruleset.This is my /etc/rc.conf: # -- sysinstall generated deltas -- # Fri Oct 20 17:47:04 2006 # Created: Fri Oct 20 17:47:04 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. check_quotas=NO defaultrouter=219.137.13.1 #defaultrouter=192.168.14.254 hostname=pjfs.renzhichu.cc ifconfig_em1=inet 219.137.13.77 netmask 255.255.255.0 ifconfig_rl0=inet 192.168.14.253 netmask 255.255.255.0 keymap=us.iso sshd_enable=YES usbd_enable=NO named_enable=YES inetd_enable=YES gateway_enable=YES firewall_enable=YES firewall_type=OPEN natd_enable=YES natd_interface=em1 natd_flags= openvpn_enable=YES It seems most likely to me that the reason for your VPN not working lies there. I suggest that you enable logging for any deny rules you have in your ruleset and see whether any packets associated with the VPN connection are dropped. OK. I add these two lines into /etc/sysctl.conf. net.inet.ip.fw.verbose=1 net.inet.ip.fw.verbose_limit=5 I will test it at this afternoon. Cheers Benjamin Thank you very much. Pei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: probe my HDD
On Sat, 26 May 2007 21:29:30 +0700 erik freaks [EMAIL PROTECTED] wrote: please help me, I just newbie to use FreeBSD, I try to install freebsd 6.2to my computer,but when I try to make partition I got message that tell me my HDD can't probe,but when I install freebsd older version its ok,can you help me,please..sorry my english bad. Hi Erik, you'd have to give more information: - what hardware are you using ? (brand + model of HD and IDE controllers would be a good start - you can get them from the 'old freebsd') - which version / CD do you mean by 'freebsd older version' ? thanks! _ {Beto|Norberto|Numard} Meijome The people have always some champion whom they set over them and nurse into greatness... This and no other is the root from which a tyrant springs; when he first appears he is a protector. Plato I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locked Myself Out - Cannot su
On 5/27/07, Conrad J. Sabatier [EMAIL PROTECTED] wrote: On Sun, 27 May 2007 19:17:20 -0400 Schiz0 [EMAIL PROTECTED] wrote: This is one of those things where after you realize what you've done, you just want to smack yourself. I've been working on hardening my FreeBSD 6.2-Stable box. I disabled root login from everywhere, including the console (The box isn't physically secure, so I didn't want anyone screwing around). Now, me being stupid, didn't reboot after making all these changes to harden it. So I finally rebooted (With the secure level set to 2) and I found that I can't run su. I get the following error: $ su - su: not running setuid I can't shutdown since I can't become root, so I pulled the plug and rebooted into single-user mode. I edited /etc/rc.conf and set kern_securelevel_enable=NO I rebooted again, but for some reason I still get the same error for su. So basically, I locked myself out of my box completely. I fail :-( su has the following permissions: -r-sr-xr-x 1 root wheel schg 12240 May 13 13:15 su And sudo isn't installed, unfortunately. Any ideas of how to get root back? Thanks! First, you need to make sure that ttyv0 is *not* set to insecure in /etc/ttys, so no login/password will be needed in single-user mode: ttyv0 /usr/libexec/getty Pc cons25l1on secure This *should* allow you to use single-user mode once again as root. Then, make sure that any user you want to have su capability is listed in /etc/group under the wheel entry: wheel:*:0:root,foouser After that, any other problems you may encounter will have to be dealt with as they arise. Post a followup if you still have trouble. HTH -- Conrad J. Sabatier [EMAIL PROTECTED] Well I do know the root password, so I can get into single user mode even though the console is marked insecure. So that's not a problem. I just checked /etc/group and my username is NOT in the wheel group. I'm not in front the system right now to reboot it into single user mode and change /etc/group, but hopefully when I do, it will solve the problem. It's weird though, because I've been using this box fine for the past two months. I was able to su to root during that time. It's very strange that my username's group was changed automatically out of the wheel group. Thank you for your help! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade xorg 7.2 and extra x11 packages ...
On 27/05/07, Kiffin Gish [EMAIL PROTECTED] wrote: I have a question about the xorg 7.2 upgrade. I noticed that tons of extra x11 packages are being installed by default for some reason, my packages count growing beyond 950! The whole process is taking more than a day and there is no end in sight. Are they really required, and if not, how can I safely remove these unwanted packages? Similarly, back when Gentoo switched to xorg 7.0 I suddenly discovered that I had to install xwd, xsetroot, and a myriad (not literal) of other programs just to get back the functionality included in xorg-clients under 6.9. It's a bit of a pain, but that's how life is now in the fantastic world of xorg. At least we have meta-ports to do the ugly bit for us. Figuring out which ones you can live without might be more effort than just letting it blithely compile. As a note, for me 7.2 added about 280 entries in /var/db/pkg. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what's the difference between ng_one2many and trunk
Hi everybody this is my first post here, and how say Pointer Sisters i'am so excited. Well how i say, i'm not sure about the difference between: ng_one2many http://www.freebsd.org/cgi/man.cgi?query=ng_one2manyapropos=0sektion=0manpath=FreeBSD+7-currentformat=html trunk http://www.freebsd.org/cgi/man.cgi?query=trunkapropos=0sektion=0manpath=FreeBSD+7-currentformat=html I don't understand really difference. What's the best of two. Any way i have freebsd 6.2 and i think what only can config ng_one2may. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: partkly to 7.2.jj
On Sun, May 27, 2007 at 12:33:57PM -0700, Gary Kline wrote: well, after following the UPDATING directions anddd having just completed, X barely works. gdm is missing, kdm fails, and xdm puts me into kde. The screen res u is at least 1200x1600. there is no xorg.conf, and my notes on how to create this file are missing. my scren is skewedd to the left; there's about 18mm of blck on my right hand side. i'll try to re-install gnomee and make syure that other window mangers are there. one prticularly annoyying thins is how to set backspaccce == ^Hin KDE.. NO Complaints; tthis move ffrom 6.9 to 7.2 had to be done and theee ports term has done a great djob. once i've got an /etc/X11/xorg, this should be on the road. So **help*** This was a DIY, and then some. I found the missing # X -congifure example in my ~/Mail directory. The results were identical with the xorg.conf that *was* here, buried in an X11R6 directory. In moving frm xorg-6.9 to 7.2 something messed up my screen. I used my CRT controls to re-center and aadjust the display. There was a fine tunng app (xvidtune??) that I'll eventuaaly hunt for to fine tune things -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade Xorg 7.2.0 - mergebase.sh problems
On 27/05/07, Christopher Prance [EMAIL PROTECTED] wrote: I thought I was so close, nope not yet. I finally got my server upgraded with no problem. Well a few minor setbacks, but I got it done. Of course it won't run on my Sony 19 monitor which I have yet to figure out, but wil l in due time, but my server is not of importance, because I don't run X on it, it is just a webserver for now. My Thinkpad is a different story, I am trying to move away from my Windows laptop and rely on only FreeBSD so I would really like to get X up and running again. The file I'm attaching is a script of the mergebase.sh tool. It listed several files that exist in both /usr/local and /usr/X11R6 and it will not continue until I move or remove them. I don't know which ones to remove and which ones to just move. Not too mention I did it by hand on my server, because there was not that many. So any help here would be appreciated. Is there are way I could mak e a script to move all these files for me? Which I'm sure there is but my scripting skills are beginners at best. :( Sorry for the long post, just had to get it out. Thanks again ahead of time! Christopher Prance From your attachment, in part: . . . CONFLICTING FILES: ./bin/appres ./bin/assistant ./bin/atobm ./bin/bdftopcf ./bin/bdftruncate ./bin/beforelight ./bin/bitmap ./bin/bmtoa ./bin/cxpm ./bin/designer ./bin/dga . . . % wc -l xorg-update 3421 xorg-update It looks like most, if not all, of your old xorg install is still under /etc/X11R6, which should not be if you followed /usr/ports/UPDATING. It may be safe to delete if xorg 7.2 was otherwise properly installed in /usr/local, though I suspect some (perhaps very long list of) things might have to be recompiled (again!). It can still be there even if you followed /usr/ports/UPDATING I followed UPDATING. xorg-clients was still there post portupgrade -a. portupgrade bombed out on me but you will note that the xorg meta port did update. This was with portupgrade-devel and after a clean portupgrade -Rf libXft. Note also this was before cd /usr/ports make index was added to UPDATING. Mind you I did run make index prior to the entire upgrade process. I've found the indexs return by fetchindex to cause problems in the past so I just rebuild them even it they do take some time on my older boxes. ** Listing the failed packages (*:skipped / !:failed) ! audio/nas (nas-1.8) (X libraries missing) ! sysutils/xbatt (xbatt-1.2.1) (X libraries missing) * x11-toolkits/qt33 (qt-3.3.8_2) * security/qca-tls (qca-tls-1.0_1) * devel/qca (qca-1.0) * net/kphone (kphone-4.2) * net-im/psi (psi-0.10) ! mail/thunderbird (thunderbird-2.0.0.0)(missing header) * devel/tmake (tmake-1.7_2) * devel/doxygen (doxygen-1.5.1) Mark -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xfce4 + hal can't/won't mount cdrom
Hi Lists I've just (Saturday) built a fresh -CURRENT with xorg-7.2, xfce-4.4.1_1 and HAL support. When I insert any cd in the drive, I get the cd icon appearing on the desktop or in Thunar, but trying to open it gives an error dialog: Unable to mount FreeBSD_Install: Mount operation claims to be successfull [sic], but kernel doesn't list the volume as mounted Any ideas? I have googled around with little luck. My rc.conf includes: dbus_enable=YES hald_enable=YES polkitd_enable=YES My user is in group 'operator'. I can manually mount cds without problems. I performed the steps suggested for HAL debugging in the freebsd-gnome FAQ, the script session is available at http://homepages.ihug.co.nz/~sweetnavelorange/hal_trouble.txt Any help would be greatly appreciated. -James Butler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to find disk slice layout
For backup reasons I would like to get a statement of the slices on a disk. fdisk only tells me about classic partitions. Is there some command I can use to remind me of how I sliced that partition? The best (and a poor approximation it is) I can come up with is to use df to tell me the sizes of my non-swap slices. There must be a simple way to do this. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changing default ftp port
I don't allow anonymous FTP into my server but when I look at the logs I see lots of attempts to FTP in. I had the same problem with SSH but changed that port and now I don't have that problem. How would I change the default FTP port from 21 to another port? What port would work? Thanks -- Darrell [EMAIL PROTECTED] -- Looks like I Picked the Wrong Week to Stop Sniffing Glue. -- Steve McCroskey -- Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to find disk slice layout
Jeffrey Goldberg writes: For backup reasons I would like to get a statement of the slices on a disk. fdisk only tells me about classic partitions. Is there some command I can use to remind me of how I sliced that partition? man bsdlabel Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pf BINAT broken
I have come to realize that the bidirectional nat of FreeBSD 6.2 is broken. If I configure the same rule, with a rdr, it works fine. I have a 1:1: NAT from my internal network to one of my public IPs. I am using FreeBSD PPPoE. I have disabled NAT on the PPP driver. If I attempt to connect back to my internal network using any TCP protocol, the 3 way handshake completes, and I get a few packets of data. Then the connection drops. Both sides try to retransmit. But to no avail. Funny enough, it works fine if you are directly connected to the internet, or through a linksys DSL router. However, through some other corporate networks, the connection drops after the first few packets of data. I have tried scrub in max-mss 700 scrub out max-mss 700 and even scrub in max-mss 250 scrub out max-mss 250 to no avail. It seems that packets with more than a few bytes of data screw up the nat tables. Any ideas anyone? Anything? Anything at all? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to find disk slice layout
On May 27, 2007, at 11:01 PM, Robert Huff wrote: man bsdlabel Thank you. I had tried that before posting, but was getting the device name wrong: /dev/ad0 After seeing your response, I persisted with bsdlabel and found that bsdlabel /dev/ad0s1 did exactly what I wanted. I had slice and partition backwards. It's very clear in the handbook, but I hadn't read that part since I originally partitioned the device and some how got it backwards. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing default ftp port
On 27/05/07, dbetts [EMAIL PROTECTED] wrote: I don't allow anonymous FTP into my server but when I look at the logs I see lots of attempts to FTP in. I had the same problem with SSH but changed that port and now I don't have that problem. How would I change the default FTP port from 21 to another port? What port would work? Thanks man 8 ftpd look at the -P option (I think this works in /etc/inetd.conf if that's how you start ftpd) I won't even guess if you're using some ftpd from ports. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing default ftp port
On 28/05/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On 27/05/07, dbetts [EMAIL PROTECTED] wrote: I don't allow anonymous FTP into my server but when I look at the logs I see lots of attempts to FTP in. I had the same problem with SSH but changed that port and now I don't have that problem. How would I change the default FTP port from 21 to another port? What port would work? Thanks man 8 ftpd look at the -P option (I think this works in /etc/inetd.conf if that's how you start ftpd) I won't even guess if you're using some ftpd from ports. Hello, self :P, but to continue, anything above 49151 seems just fine: http://www.iana.org/assignments/port-numbers -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]