Re: Use of CVS
On Thu, Jan 11, 2007 at 08:35:43PM -0800, Doug Hardie wrote: On Jan 11, 2007, at 18:28, Norberto Meijome wrote: On Thu, 11 Jan 2007 11:35:38 -0800 Doug Hardie [EMAIL PROTECTED] wrote: Any suggestions on these approaches will be appreciated. Thanks, I suggest you read the CVS Red book, in particular the section on branch management and merging. http://cvsbook.red-bean.com/cvsbook.html I agree with other posters, you may want to move to newer SCM systems... I've been using SVN for a while now, and couldn't be happier. There's also a SVN red book , with sections for current CVS users to understand the differences. Thanks. I have started reading them. Don't forget the Cderquist! It should have been installed along with the CVS binary and man pages. I haven't used Subversion myself, but have plenty of experience with release management using CVS. If you start using branches, make sure you keep complete and accurate documentation of your branching and merging. Also, make sure you understand what will and will not get merged in certain situations. For example, it's fairly common to make the following mistake: 1) You main development branch is on the trunk. 2) You create a branch for some development and add some new directories 3) You prepare for a merge by updating to the latest version of the trunk with something like cvs -q up -PAd 4) You perform your merge operation: cvs -q up -j DEV_BRANCH You will not have merged your new directories to the trunk. This is because you pruned empty directories in step 3 and CVS will only examine directories that exist in your working copy during a merge. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sun Fire x2100
On Mon, Jan 08, 2007 at 02:27:15PM -0800, Peter Thoenen wrote: --- DAve [EMAIL PROTECTED] wrote: Is anyone running FreeBSD on a Sun Fire X2100? Any caveats I should know about? I don't recommend them if you plan to use as a file server. They have an issue with randomly rebooting under a large network load with thousands of open connections. Have seen this on my system and have have had a dozen or so folk email me with the identical problem. -Peter I've had the same problem, but with x86 systems (specifically an IBM xSeries system and a home-built AMD64 system) running FreeBSD 6.0 (IIRC). These systems were on a home cable modem connection and there were pretty regular break-in attempts. When reviewing logs, I'd see attempts to brute-force logins and passwords for the ftp and ssh services. I eventually had to turn ftpd off since it seemed guaranteed to panic the box during one of these cracking attempts. sshd seemed to handle things better, but I have had one panic occur. I haven't tried 6.2 to see if I encounter similar problems. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install from CVS?
On Mon, Jan 15, 2007 at 04:11:51PM -0800, Jay Chandler wrote: Is it possible to install (instead of upgrading) FreeBSD from my local CVS repository? Looking to find a good way to automate installations, and figured I'd start there. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / [EMAIL PROTECTED] Today's Excuse: emissions from GSM-phones I really need to do the same sort of thing for the *BSD systems I admin. You may want to look at Ghost 4 Unix, although for the record I have not yet tried it. Our Solaris installs have been automated using Jumpstart and cfengine, but we haven't worked out a similar system for the BSDs. A quick and dirty hack that's worked for me thus far is to mirror your primary disk with gmirror, then pull the second drive and just insert it into a new system. You'll then want to modify the typical files with the new IP, hostname, etc. If you end up using gmirror on the new system, be sure you do a gmirror forget to erase the metadata stored at the end of the disk. If you forget to do this, you'll run into some issues when to try to create the new mirror. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware mirrors recognized as individual disks in fbsd
On Tue, Jan 16, 2007 at 11:33:47AM -0700, Steve Franks wrote: I'm tired of win2k crashing, and we won't even go into my opinion of vista's strongarm marketing tactics (read: changing my hardware means I have to pay again? they can keep their OS). Problem is, I've got 320GB of accumulated detrius on ntfs volumes to migrate. I see there is some good r/w ports for ntfs, so I'm willing to evaluate that to see if it's stable (shoestring budget here obviously - this is my personal stuff only). Forging ahead, I get ready to start playing the mounting game, but lo-and-behold, suddenly I have 4 disks whereas in windows I had two. Now I praise FreeBSD for it's superior intellect here, but now I have a problem. I want two 160GB mirrored volumes, not 4 unmirrored ones. The RAID is an ASUS P5DR1-VM motherboard with a ULI raid chipset onboard. Very nice setup for the money. Is this normal? Am I going to break my mirror if I mount a single disk? If so, how do I mount a mirror? Thanks, Steve -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 It sounds like your onboard RAID chip is either not supported, or the appropriate driver is not being loaded. Can you post the output of dmesg? Also, be aware that you may not really have a hardware RAID chip. Many (most?) times the onboard chips simply make multiple disks look like a single LUN to the operating system; they also require driver support. Real hardware RAID chips/cards tend to be expensive, proprietary, don't require an OS driver and include a battery backup system for data in the RAID cache should the system lose power. You may want to read up on gmirror. -Damian ps. I've got at least a half-dozen different x86 system boards that include these crappy RAID chips from vendors like nVidia, Intel, Adaptec, LSI, etc. Typically you get closed-source, Windows-only driver support. pps. If you do want real hardware RAID support under FreeBSD, I've had great experiences with the Promise arrays (m500 and m300) and one of the PCI cards (I'd have to check on the exact model). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Daylight savings time / 6.1 and 4.11
On Tue, Jan 16, 2007 at 01:31:22PM -0700, hal wrote: This came down from above?! Beginning in 2007, Daylight Savings Time will be lengthened one month by starting three weeks earlier (2AM on the second Sunday in March) and ending one week later (2AM on the first Sunday in November). What patch levels do I need to be at for my 4.7 and 6.1 systems to be daylight savings 2007 ready? Currently: 4.11-RELEASE-p25 Currently: 6.1-RELEASE-p10 hal You can grab the latest zoneinfo file from http://www.nih.gov/ and recompile it with /usr/sbin/zic. Yeah, you could use the ports tree, but I prefer using methods that are a little more portable across operating systems. I've got like two dozen different OS releases of various flavors to update with the new timezone information. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Subject: Re: Execute script every time a specified user logs in (FreeB SD 6.1)
On Jan 17, 2007, at 18:46 , George Vanev wrote: On 1/17/07, Pieter de Goeje [EMAIL PROTECTED] wrote: On Wednesday 17 January 2007 11:49, George Vanev wrote: Every time user X (for example) logs in the system I want to execute some script. The user must not have the permission to change this behavior. Also the script must be run as root. Something like crontab, but depending on logins, not time Any ideas?! If this user logs in via SSH you can use the ForceCommand keyword in sshd_config(5) to execute your script. The root part can be achieved with sudo(8) . Regards, Pieter de Goeje Thanks, nice idea. But it seems I can't use it. Let me be more specific: If user X logs in then I want to run /usr/bin/script -aq /path/user_X The file user_X must be protected from modifying/deleting Could this be done?! -- George Vanev A simple technique is to have /etc/profile check for user X and for him source another file (containing the commands which X can't modify). Have root own this file and allow all others to only read and execute it. sudo is unnecessary. This is inelegant in that it has a general and widely used file look for special cases, but that is something that almost all programs do. This inelegancy is present in other places in UNIX . FWIW if you're really feeling up to it you can simply craft your own shell for the user. You can write a short C program that forks a process, and call execve() with your script in the child, and then execve() with their desired shell in the parent. I'm probably mistaken about this, but I didn't think /etc/profile was necessarily executed should someone login via ssh. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware mirrors recognized as individual disks in fbsd
On Mon, Jan 22, 2007 at 07:16:59PM -0600, Damian Wiest wrote: [snip] Real hardware RAID chips/cards tend to be expensive, proprietary, don't require an OS driver and include a battery backup system for data in the RAID cache should the system lose power. I don't know what I was thinking, of course the hardware RAID systems require drivers. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysv semaphores
On Tue, Nov 14, 2006 at 03:22:33PM +, Robin Becker wrote: I'm trying to test a python extension (POSH) that uses semaphores. When testing I get a run time error that indicates it requires too many semaphores. Is it possible to adjust the allowed number of semaphores without rebuilding the kernel? What are the costs of having semaphores ie are they memory/cpu intensive? -- Robin Becker You'll want to use either sysctl(8) to change the settings dynamically, or use /etc/sysctl.conf to modify the settings permanently. I'm not sure if there's a benefit to rolling a new kernel versus using sysctl.conf, or if things even work that way anymore. # sysctl -a | grep seminfo kern.seminfo.semmni=10# number of semaphore identifiers kern.seminfo.semmns=60# number of semaphores in system kern.seminfo.semmnu=30# number of undo structures in system kern.seminfo.semmsl=60# max number of semaphores per id kern.seminfo.semopm=100 # max number of operations per semop call kern.seminfo.semume=10# max number of undo entries per process kern.seminfo.semusz=100 # size in bytes of undo structure kern.seminfo.semvmx=32767 # semaphore maximum value kern.seminfo.semaem=16384 # adjust on exit max value Those comments are from /usr/include/sys/sem.h -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysv semaphores
On Tue, Nov 14, 2006 at 04:46:52PM -0600, Damian Wiest wrote: On Tue, Nov 14, 2006 at 03:22:33PM +, Robin Becker wrote: I'm trying to test a python extension (POSH) that uses semaphores. When testing I get a run time error that indicates it requires too many semaphores. Is it possible to adjust the allowed number of semaphores without rebuilding the kernel? What are the costs of having semaphores ie are they memory/cpu intensive? -- Robin Becker You'll want to use either sysctl(8) to change the settings dynamically, or use /etc/sysctl.conf to modify the settings permanently. I'm not sure if there's a benefit to rolling a new kernel versus using sysctl.conf, or if things even work that way anymore. # sysctl -a | grep seminfo kern.seminfo.semmni=10# number of semaphore identifiers kern.seminfo.semmns=60# number of semaphores in system kern.seminfo.semmnu=30# number of undo structures in system kern.seminfo.semmsl=60# max number of semaphores per id kern.seminfo.semopm=100 # max number of operations per semop call kern.seminfo.semume=10# max number of undo entries per process kern.seminfo.semusz=100 # size in bytes of undo structure kern.seminfo.semvmx=32767 # semaphore maximum value kern.seminfo.semaem=16384 # adjust on exit max value Those comments are from /usr/include/sys/sem.h -Damian Sorry, I forgot to mention a few things. You should become familiar with ipcs(1) as it will allow you to query the current state of SysV IPC facilities. You'll probably find yourself manually deleting semaphores depending on how well that extension cleans up after itself during testing. IIRC, the kernel maintains some in-memory datastructures to keep track of semaphores. I believe increasing the maximum number of semaphores will take up a negligible amount of main memory. If you're interested, the Design and Implementation of the 4.4 BSD Operating System (ISBN # 0201549794) has great coverage of this stuff. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysv semaphores
On Tue, Nov 14, 2006 at 11:56:45PM +, Robin Becker wrote: [snip] thanks very much all very useful info. Someone else recommended looking at these options kern.ipc.semmap=180 kern.ipc.semmni=160 kern.ipc.semmns=210 kern.ipc.semmnu=180 kern.ipc.semmsl=210 kern.ipc.semopm=250 kern.ipc.semume=160 kern.ipc.semusz=92 kern.ipc.semvmx=32767 kern.ipc.semaem=16384 and on my 6.1 system I see these with sysctl -a | grep ipc, however, # sysctl -a | grep seminfo /usr/RL_HOME/users/robin: # I guess they've been renamed. -- Robin Becker No, it's my fault; I checked things on the wrong system. OpenBSD uses seminfo, FreeBSD uses ipc. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Laptop Wireless
The OP replied off-list with his output from dmesg. I'm sending it back to the list in the off-chance that someone knows more about this wireless adapter. -Damian - Forwarded message from Rem P Roberti [EMAIL PROTECTED] - Delivered-To: [EMAIL PROTECTED] X-ASG-Debug-ID: 1163208958-311e00bd-Xqh92z X-Barracuda-URL: http://dfspam01.vail:80/cgi-bin/mark.cgi X-Barracuda-Connect: cprobd02.vailsys.com[63.210.102.130] X-Barracuda-Start-Time: 1163208958 Date: Fri, 10 Nov 2006 17:35:54 -0800 From: Rem P Roberti [EMAIL PROTECTED] User-Agent: Thunderbird 1.5.0.8 (X11/20061109) To: Damian Wiest [EMAIL PROTECTED] X-ASG-Orig-Subj: Re: Laptop Wireless Subject: Re: Laptop Wireless In-Reply-To: [EMAIL PROTECTED] X-Barracuda-Bayes: INNOCENT GLOBAL 0.5363 1. 0.7500 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at vailsys.com X-Barracuda-Spam-Score: 1.25 X-Barracuda-Spam-Status: No, SCORE=1.25 using global scores of TAG_LEVEL=2.8 QUARANTINE_LEVEL=3.5 KILL_LEVEL=7.5 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.02, rules version 3.0.25571 Rule breakdown below pts rule name description -- -- 0.50 BSF_RULE7568M BODY: Custom Rule 7568M On Sun, Nov 05, 2006 at 07:57:03AM -0800, Rem P Roberti wrote: Would someone point me in the right direction here. I have an old Compaq Presario 1692 that my sister-in-law gave to me after she upgraded. I installed FreeBSD 6.1 and everything is working fine. However, the laptop also came with a Belkin Wireless G (F5D7011) notebook card, and I would like to learn how to install the appropriate drivers for the card to work. I am new to FreeBSD, and have glanced at the Handbook section dealing with wireless. It's a little daunting at this time, and I haven't yet been able to make sense out of it with respect to this laptop and wireless card. Any help in making the process understandable would be much appreciated. Rem Can you post the dmesg? Assuming that particular device has a working driver, you can probably use ifconfig for most of the wireless settings. -Damian Thanks for the reply, Damian. Here is the dmesg: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #2: Fri Nov 3 08:22:20 PST 2006 rem@:/usr/src/sys/i386/compile/REMKERNEL Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD-K6(tm) 3D processor (432.98-MHz 586-class CPU) Origin = AuthenticAMD Id = 0x58c Stepping = 12 Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX AMD Features=0x8800SYSCALL,3DNow real memory = 201261056 (191 MB) avail memory = 187408384 (178 MB) kbd1 at kbdmux0 K6-family MTRR support enabled (2 registers) ACPI disabled by blacklist. Contact your BIOS vendor. cpu0 on motherboard pcib0: AcerLabs M1541 (Aladdin-V) PCI host bridge pcibus 0 on motherboard pir0: PCI Interrupt Routing Table: 7 Entries on motherboard pci0: PCI bus on pcib0 agp0: Ali M1541 host to AGP bridge mem 0xe000-0xe3ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 pcm0: ESS Solo-1 (unknown vendor) port 0x1080-0x10bf,0x1070-0x107f,0x1060-0x106f,0x10c4 -0x10c7,0x10c0-0x10c3 irq 5 at device 9.0 on pci0 cbb0: TI1211 PCI-CardBus Bridge at device 10.0 on pci0 cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 pci0: simple comms at device 15.0 (no driver attached) atapci0: AcerLabs M5229 UDMA33 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc 90-0xfc9f at device 16.0 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 pci0: bridge at device 17.0 (no driver attached) ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xfc00-0xfc000fff irq 5 at dev ice 20.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xcb7ff,0xdc000-0xd on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: Enhanced floppy controller at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0
Re: [MAYBE SPAM] Re: Nvidia has drivers for FreeBSD (but my xorg is already working)
On Sun, Nov 12, 2006 at 12:57:00PM -0600, Eric Schuele wrote: On 11/11/2006 01:28, dick hoogendijk wrote: On 10 Nov Damian Wiest wrote: On Wed, Nov 08, 2006 at 12:56:39PM +0300, Andrew Pantyukhin wrote: On 11/8/06, Mark Jayson Alvarez [EMAIL PROTECTED] wrote: Hi, I have a Palit GeForce 6500 PCI-E 256Mb/64bit and I'm running x windows. What do I need that NVidia FreeBSD driver for? Until NVidia decides to provide proper documentation for their cards, I'd avoid them and go with an ATI product. Hmm, Nvidia cards generaly work much better on FreeBSD as well as solaris then ATI cards. I would never buy a card on its documentation quality. I believe DW was referring to the engineering documentation of the underlying hardware, so that a proper open source driver could be developed. Not the Users Guide. Without proper docs, an open source drive can not be developed. Hence everyone is forced to use whatever NVidia decides is worth developing. -- Regards, Eric Indeed I was. While I try to research my potential hardware purchases as much as possible, I sometimes make mistakes and get stuck with something that does work, but not to its full capability. Most recently this has included an Asus K8N-E motherboard (NVidia chipset) and a GeForce video card (I don't recall the exact model ATM). NVidia did release a binary driver for my card, but not for AMD64 processors. From what I understand, AMD and ATI have been more open with their hardware documentation than Intel and NVidia. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking SSH Brute-Force Attacks: What Am I Doing Wrong?
On Mon, Nov 13, 2006 at 12:19:27PM +0600, Bachilo Dmitry wrote: ? ? ?? ??? 13 ?? 2006 12:05 Leo L. Schwab ???(a): I recently installed FreeBSD 6.1 on my gateway. It replaced an installation of FreeBSD 4.6.8 (fresh install, not an upgrade) on which I had disabled the SSH server. Since all the bugs in SSH are fixed now ( :-) ), I thought I'd leave the server on, and am somewhat dismayed to discover that I now get occasional brute-force/dictionary attacks on the port. A little Googling revealed a couple of potentially useful tools: 'sshit' and 'bruteblock', both of which notice repeated login attempts from a given IP address and blackhole it in the firewall. I first tried 'sshit', but after a couple days, I noticed in my daily reports that I was still getting lengthy bruteforce attempts, suggesting the 'sshit' was not working. So I uninstalled 'sshit' and installed 'bruteblock'. But again a couple days later, the logs showed lengthy bruteforce attempts going unblocked. The relevant lines from my /etc/syslog.conf file are: auth.info;authpriv.info /var/log/auth.log auth.info;authpriv.info | exec /usr/local/sbin/bruteblock -f /usr/local/etc/bruteblock/ssh.conf Any hints as to what I might be doing wrong? Thanks, Schwab ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Why don't you just relax? :-) All my FreeBSD servers are bruteforced every second. So what? Now, granted this was with FreeBSD 6.0, but I've had systems panic when they got flooded with FTP attempts. No problem yet with sshd, but I'd deny password based authentication and stick to public key authentication with passphrases. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hands-on experience on 6.1 amd64 vs. i386
On Mon, Nov 13, 2006 at 05:57:31PM -0500, Kris Kennaway wrote: On Mon, Nov 13, 2006 at 05:32:45PM -0500, Tsu-Fan Cheng wrote: this is nothing professional, just my personal experience. same machine, two sata, one is amd64, the other i386. while doing portupgrade due to gtk upgrade on amd64, it reboot a few times, never finished the job, and i can't say why. This is almost always hardware related. Kris Seconded, try fsck'ing the hard drive. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Laptop Wireless
On Sun, Nov 05, 2006 at 07:57:03AM -0800, Rem P Roberti wrote: Would someone point me in the right direction here. I have an old Compaq Presario 1692 that my sister-in-law gave to me after she upgraded. I installed FreeBSD 6.1 and everything is working fine. However, the laptop also came with a Belkin Wireless G (F5D7011) notebook card, and I would like to learn how to install the appropriate drivers for the card to work. I am new to FreeBSD, and have glanced at the Handbook section dealing with wireless. It's a little daunting at this time, and I haven't yet been able to make sense out of it with respect to this laptop and wireless card. Any help in making the process understandable would be much appreciated. Rem Can you post the dmesg? Assuming that particular device has a working driver, you can probably use ifconfig for most of the wireless settings. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia has drivers for FreeBSD (but my xorg is already working)
On Wed, Nov 08, 2006 at 12:56:39PM +0300, Andrew Pantyukhin wrote: On 11/8/06, Mark Jayson Alvarez [EMAIL PROTECTED] wrote: Hi, I have a Palit GeForce 6500 PCI-E 256Mb/64bit and I'm running x windows. What do I need that NVidia FreeBSD driver for? 3d It's also useful for getting all of your other video-out (svideo, composite, 2nd head, etc.) features working. Beware though. NVidia refuses to release documentation for their cards and forces you to run binary blobs to get all of the card's features to work. Also, they don't offer said blobs for all platforms, so you may get burned. I've had the misfortune of wasting my money on one of their cards only to find that their binary driver is only available for x86. Until NVidia decides to provide proper documentation for their cards, I'd avoid them and go with an ATI product. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TV capture card
On Thu, Nov 09, 2006 at 02:46:51PM -0500, Tsu-Fan Cheng wrote: Hi, can anyone suggest a TV capture card that works well under freebsd/6.1/amd64? I read something on the handbook, but would like to have some input from the real experience...thanks!! a bunch!! TFC Aren't ATI's All-in-Wonder cards supposed to be supported well under FreeBSD and XOrg? http://gatos.sourceforge.net/ http://gatos.sourceforge.net/supported_cards.php -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Laptop Wireless
On Fri, Nov 10, 2006 at 08:56:46PM -0500, [EMAIL PROTECTED] wrote: On Fri, 10 Nov 2006, Damian Wiest wrote: On Sun, Nov 05, 2006 at 07:57:03AM -0800, Rem P Roberti wrote: Would someone point me in the right direction here. I have an old Compaq Presario 1692 that my sister-in-law gave to me after she upgraded. I installed FreeBSD 6.1 and everything is working fine. However, the laptop also came with a Belkin Wireless G (F5D7011) notebook card, and I would like to learn how to install the appropriate drivers for the card to work. I am new to FreeBSD, and have glanced at the Handbook section dealing with wireless. It's a little daunting at this time, and I haven't yet been able to make sense out of it with respect to this laptop and wireless card. Any help in making the process understandable would be much appreciated. Rem Can you post the dmesg? Assuming that particular device has a working driver, you can probably use ifconfig for most of the wireless settings. -Damian http://www.freebsd.org/releases/6.1R/hardware-i386.html#WLAN This indicates the ed driver works for this card. I don't think so :) There are _no_ Belkin cards listed in the WLAN section of that page. In any case, isn't ed for ethernet nics? -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bug with tcsh? : if evaluating true instead of false
On Thu, Oct 26, 2006 at 02:36:06PM -0400, David Robillard wrote: I appreciate the help thanks! Sure, I'll send the script to you in an individual email instead of as an attachement to the list. Should anyone on the list want a copy, just drop me an email. I'd appreciate the script though, definitely, as any resource I have to learn all Unix script languages properly will only help in my becoming a better Unix admin as well as script more common tasks to help make my life a bit easier. When I've started to write shell scripts, I read a nice book which covered sh, csh and ksh with lots of examples. That was the first edition, but it's now in it's fourth edition and now have coverage of bash and tcsh plus you get info on sed awk. UNIX Shells By Example, Ellie Quigley, Prentice Hall PTR; 4th edition (Sep 24 2004), 1200 pages, ISBN: 013147572 On amazon.ca: http://www.amazon.ca/UNIX-Shells-Example-Ellie-Quigley/dp/013147572X/sr=1-1/qid=1161886975/ref=sr_1_1/701-2925611-9451566?ie=UTF8s=books Otherwise, you can always Google around for unix shell script and such. There are a lot of sites on the topic. I would select one from a University. Have fun! David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 I inherited an older edition of UNIX Shell by Example and agree it's a good book. I'd also recommend O'Reilly's Classic Shell Scripting (http://www.oreilly.com/catalog/shellsrptg/). I probably shouldn't encourage this sort of thing, but you can find the entire O'Reilly CD Bookshelf on the web if you want to sample the books before buying. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HA Cluster based on promise VTrack Mxxx
On Wed, Oct 25, 2006 at 11:56:19AM +0200, bsd wrote: Hello, I am trying to figure out which hardware to build my HA cluster with. I have seen various promise systems which seems quite interesting (VTrack M210p) but FreeBSD is not mentionned as an official suported OS on their brochure. Has anyone build such cluster with this kind of attachement. The cluster I was thinking about will be built with : - 2 nodes Pentium Xeon with SCSI card - 1 VTrack External Storage M210p (this one has automatic failure detection included on It's hardware). - Linux-HA as a control solution Has anyone built such cluster with these hardware ? If not what have you been using ? Sincerly yours. I wish you had asked two or three weeks ago as I setup a couple of VTrak M500f arrays, but they were attached to Windows servers. If we get any more in, I could probably do a quick test with FreeBSD. The M500f supports fibre channel, SCSI and iSCSI so I would assume that if you have an appropriate driver for one of those protocols, then it should work for you. Array configuration can be done very simply either through the network management port, serial port or HTTP interface. The HTTP interface is very nice and doesn't depend on Java or Internet Explorer, but it does require Javascript support on the client end to work properly. I'd definitely recommend this controller if you have the cash to spare. I know you mentioned external arrays, but a lot of people are reporting success with the Promise SATA and LSI MegaRAID controllers. Someone asked a similar question on the freebsd-hardware a few weeks ago, but I didn't see any replies. -Damian [1] http://www.mail-archive.com/freebsd-hardware@freebsd.org/msg01521.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Small Redundant web/mail setup
On Wed, Oct 18, 2006 at 11:57:04PM -0700, Ted Mittelstaedt wrote: - Original Message - From: Ian Lord [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, October 18, 2006 5:34 AM Subject: Small Redundant web/mail setup Hi, I need to setup a high-availability setup for mail/web setup I was thinking about the following setup: 4 servers total: overkill, just asking for trouble. Data Servers: 1 Server holding all the websites data and mail messages. It would serve these files via nfs to the application servers. It would also run mysql A second server Also sharing it's content via nfs, replicating it's data though rsync each ?? minutes. The mysql would run as a slave of theprimary Application Servers: Both servers would be running apache, php, sendmail and posfix and would serve content from the share nfs drive. 1- Is this a viable solution, I mean by that, Is it Like this big ISP are set up ? no The really big ISP's use proprietary commercial clustering solutions that make multiple systems appear as one single system. We are talking hundreds of thousands to millions of users. We are not talking 5000 users or fewer. You can easily serve 5K users on a single server. You just need to get good hardware. In other words, costs start at $5000 and go up. A lot of people are under the misconception that they can get several cheap $900 servers and assemble them into a redundant setup that is highly reliable. The real secret is in getting expensive name-brand hardware that doesen't go down. If you can afford that, your fine. If you can't, then you need to find a different table to play at. Ted Isn't part of the point in running a redundent configuration that you can buy cheap(er) hardware? A $600 machine should be powerful enough to handle that many users. Just make sure you are using RAID 1+0 filesystems, keep replacement parts on hand and are performing regular backups. The real question to ask is what is the provider's SLA and how much does an hour of downtime cost the provider. In my experience, the only things to die on servers have been fans, disks (really the motors), and the occasional power supply. The only things a more expensive system may give you are additional power supplies, hot-swap drive bays and multiple CPUs. Other than the system board and possibly the processors, the server's components come from the same sources as your commodity hardware. I think the setup described above is viable, though I would consider running the database (with master-slave replication) and application services on the same server assuming it can handle the load. Also, you can probably get away with using something like rsync to push changes to your WWW servers. I'm not sure about email, but you could NFS export your mail directories from a central server to the two application servers. Just be aware of NFS' failure modes. So, I'd go with two, user-facing systems and an administrative system that receives email and possibly hosts your code repository. If you can afford it, get systems with redundent power supplies and hot-swap drive bays. Depending on your userbase, you may want to consider a robotic tape library so you don't have to manually change tapes. I've heard some talk of people using raw disks for backups, but I don't have any experience with that type of setup. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
On Thu, Oct 19, 2006 at 09:25:19AM -0400, Jonathan Arnold wrote: [snip] Thanks for all your help here! When I first read this, I said to myself that it wouldn't help, that I've tried all these various permutations. Imagine my surprise when it *did* work! I will post a complete followup on my blog, but I did have to load the 'uvisor' driver to get this process to work: # kldload uvisor Which I'm sure I played with before, but now it works. Now I am just struggling to get my Palm, which was recently hard-reset, back to where it was a few months ago. I have the data on my hard drive, but I can't seem to figure out the magical incantation to move it over to the Palm. It is in JPilot, but I haven't quite gotten that to work smoothly. Be extremely careful with this. I was in the exact same situation and managed to wipe out my local Palm data doing a restore. My phone (actually all of the Palm devices I've owned) tends to crash pretty frequently and require hard resets, which wipes out the username and all stored data. In order for J-Pilot to sync with the device, it's going to want the usernames to match between the two. Do _not_ use the File-Restore_Handheld command in J-Pilot to reset the username on the phone. I had an older version of J-Pilot installed and when I did this (only selecting to restore Preferences) and watched as my local data was replaced, not merged, with the data from the phone. Instead, use File-Install_User. I'd recommend that you sync devices daily and also keep backups of the Palm files on your computer. Also, keeping hardcopy backups is a good idea. I know I shouldn't be running the apps as root, but I haven't bothered to configure /etc/devd.conf and /etc/devfs.rules on my laptop. I've played with this a bit and it is a little weird. Again, I hope to have a full report on my blog some day real soon. And thanks for your (and Anish's) help. Learned a lot about run-time devices! -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. I'm glad I could be of assistance. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended Hardware
On Thu, Oct 19, 2006 at 05:44:01PM -0500, David Kelly wrote: On Thu, Oct 19, 2006 at 10:44:10PM +0100, Alex Zbyslaw wrote: Those have worked for me so far, and yes, it is labour intensive. If it was easy to do right then there wouldn't be any good reason for your boss not to hire the kid behind the counter at MacWhopperDoodle with a $0.50/hr raise to give your job to him. I agree with others. Ask what you want the hardware to do. Make selections then research as to whether your selections work well with FreeBSD. Don't fill a computer room on guesswork and reading, buy samples and test. Of particualar areas to pay attention: Video controllers. Look for X.org support. Disk controllers. Hardware RAID and the latest SATA chipsets may be an issue. Network interfaces. Most seem to work. Motherboard CPU. FreeBSD seems to run on most any x86 but if you expect on board power management and health status you'll have to do some research. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ Regarding system boards, make sure you also check out the support for any on-board components like networks interfaces, RAID controllers, audio and video, firewire, etc. I've got an ASUS K8N-E system board at home, but it uses the NVIDIA chipset so virtually none of the on-board components function. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
On Tue, Oct 17, 2006 at 06:03:07PM -0400, Jonathan Arnold wrote: (hope this isn't a double post:-( Damian Wiest wrote: On Tue, Oct 17, 2006 at 04:29:49PM -0400, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. [snip] I've had success syncing my Palm OS based phone (SPH-i500 FWIW) to my laptop using jpilot with a USB connection. Glad to hear someone has had success. What FreeBSD are you using? I'm using 6.1 (via PC-BSD 1.2). 6.0 for i386 IIRC. [snip] -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. I was actually hunting for my cradle just last night to resync my phone. If I can find it tonight, I'll post my procedure. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
On Wed, Oct 18, 2006 at 08:53:18AM -0400, Jonathan Arnold wrote: Anish Mistry wrote: On Tuesday 17 October 2006 23:22, Jonathan Arnold wrote: Anish Mistry wrote: On Tuesday 17 October 2006 16:29, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: First you shouldn't be using usbd.conf. You should be using devd.conf and devfs.rules. Disable usbd. Add to devd.conf: attach 0 { device-name ugen[0-9]+; match vendor 0x082d; match product 0x0100; match release 0x0100; action /usr/local/sbin/pilot-sync-ugen.sh $device-name; }; Setup devfs.rules if you have yet to do it: http://am-productions.biz/docs/devfs.rules.php Add your user to the operator group or change the mode to 0666 below. Add to devfs.rules: add path 'ugen*' group operator add path 'ugen*' mode 0660 In /usr/local/sbin/pilot-sync-ugen.sh: #!/bin/sh # JPILOT=/usr/X11R6/bin/jpilot-sync JPILOT_USER=your_username_here export JPILOT_HOME=/home/$JPILOT_USER PILOTPORT=usb:/dev/$1 COMMAND=`echo $JPILOT -p $PILOTPORT -b` # run command ie. (sync) /usr/bin/su $JPILOT_USER -c $COMMAND Thanks, this seems to work a little better. Now, when I hit the Hot Sync button on the cradle, I get the feedback that there's a connection and it says Identifying user on the Visor, but it just hangs there and eventually gives up. If I comment out the action and try it from the commandline, pilot-xfer says Listening for incoming connection on usb:/dev/ugen0... . It seems to me that both are waiting for the other to initiate something. ugen0 doesn't get created until I hit the HotSync button, but the pilot-link stuff seems to be waiting for that to happen again? You'll need to install the user: # install pilot-link username COMMAND=`echo /usr/local/bin/install-user -p $PILOTPORT -u $JPILOT_USER -i 1001` I thought it might be something like this, so I played quite a bit last night trying to get this command to work, but still no joy in mudville. I replaced the jpilot-sync COMMAND line with the install-user one, but it still does the same thing. I press the hot sync button, I get the confirmation that a connection was made from the Visor, but both ends just sit there at that point. I feel like I'm ever so close and am just missing one tweak to push it over into usability. BTW, what is the 'uvisor' driver for? Should I be trying to use this one instead of the 'ugen', which is the generic interface? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. Here's what works for me on my FreeBSD 6.1 (x86) laptop and OpenBSD 3.9 (x86) workstation: To use pilot-xfer to sync your Palm device 1. Connect cradle to system via USB port 2. Press the sync button 3. Execute sudo pilot-xfer -p /dev/ttyU0 -s PalmDir where PalmDir is the location of your Palm data. 4. Files are transferred from the Palm device To use jpilot to sync your Palm device: 1. Execute sudo jpilot 2. Select the File-Preferences menu 3. Select the Settings tab 4. Change the serial port setting to /dev/ttyU0 5. Press the hotsync button on your cradle (or use the HotSync app.) 6. Press the sync button in J-Pilot 7. Palm device is synced I find that I have better luck pressing sync on my device before running pilot-xfer or using J-Pilot's sync feature. If you do it the other way around and aren't quick enough, the /dev/ttyU0 device won't be available and the application won't retry opening it. I know I shouldn't be running the apps as root, but I haven't bothered to configure /etc/devd.conf and /etc/devfs.rules on my laptop. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
On Tue, Oct 17, 2006 at 04:29:49PM -0400, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. I've had success syncing my Palm OS based phone (SPH-i500 FWIW) to my laptop using jpilot with a USB connection. Do you have permissions to access /dev/ugen0? -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On Mon, Oct 16, 2006 at 01:38:59PM -0700, William Tracy wrote: Well, thanks for all the replies. I didn't mean to rub anybody the wrong way, and if I did, I'm sorry. :-P Up until now, I've basically been running FreeBSD more or less like just another Linux distro, and was beginning to wonder if I was really missing out on something by doing that. That, and I thought I'd give the fanboys a chance to praise their pet OS. :-) Overall, it sounds like I was on the right track, though. FreeBSD has its pros and cons, but it's fundamentally just another Unix-like system. Which is a good thing! ;-) It's not just another Unix-like system, it _is_ a Unix system. For the record, I really, really, like Debian (and now Ubuntu). I understand that there are packages that allow the Debian packaging system to run on top of the FreeBSD kernel, and I'll definitely have try that out sometime. Anyway, FreeBSD is great, and I'll keep playing with it. :-) William -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On Mon, Oct 16, 2006 at 05:41:31PM -0400, Jim Stapleton wrote: I have a few FreeBSD machine from 4.x to 5.x. I have asked people how to upgrade them to latest version 6.x cleanly. All I was told is that I need to wipe them out and reinstall. However, this is not the case with Gentoo Linux. With Gentoo, version release does not matter that much, you can always keep your system up to date if you like. Of cause, you can also choose staying at a certain version. I'm gonna join the whoever said this was on crack club. Going between major versions can be a challange due to mergebastard and the various config file change, but Gentoo's setup is really no different in that respect. However, when you want to compile the Kernel, the FreeBSD system is much mroe useful than that of Gentoo. I failed my first kernel build on FreeBSD (custom kernel config) before it booted properly, and have since done several more without issue. With Gentoo, after about half a dozen attempts at optimizing my kernel for my notebook, I gave up and used Genkernel, which was not as efficient, but at least worked. Linux supports more devices than FreeBSD, especially new devices. Spend an extra 5 minutes researching your hardware before buying, more often than not, this'll save you the issues. I don't mean to bring the conversation from [EMAIL PROTECTED] over here, but you should understand why Linux supports more devices as it's important if you truly want to support open source principles. Basically, the Linux distributions are okay with using and redistributing binary drivers supplied by vendors. Rather than fighting for documentation (some vendors refuse to tell people how to use what they just paid for), they just roll over and run the closed source binary; possibly also redistributing them illegally. While this may allow you to use a particular piece of hardware in the short-term, in the long-term it's counterproductive since you're now dependent on the vendor supporting your device. What happens if your O.S. is too small for the vendor to worry about? What happens if the vendor goes out of business? What happens if the vendor drops support? If you use binary blobs, you're fscked. Don't do it. Instead, support vendors that support open source software developers. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing Oracle Client 10g on FreeBSD
On Tue, Oct 10, 2006 at 10:59:34PM +0200, martinko wrote: Mike Friedman wrote: I'm running FreeBSD 5.4-RELEASE and I want to run a current Oracle client-only with encryption support. First, I installed the Oracle client port, which represents Oracle 7. But my database support person tells me that's quite old and, in fact, he couldn't be sure it would work (especially the encryption part) with the Oracle database I'd be using (which he helps support). And I was getting some strange symptoms when I tested it. So, he recommended that I download the Oracle 10g Client for Linux. Since my FreeBSD system is configured for Linux compatibility, I'm hoping this will work. However, I can't even get the Installer to complete! It keeps telling me that I may not have enough space in my root partition, even though I'm not trying to install into the root partition. (The partition in which I'm installing has lots of space). In addition, I should say that the machine on which this Oracle client will be installed is not running X Windows. This means I can't use the installation menus, so I've been running the Installation tool with a 'response file'. The response file, however, doesn't have much flexibility. In particular, when I'm told I may not have enough space, it asks me if I want to continue, but there's no way for me to reply 'yes' from the response file. In any case, based on the installation logs, it really looks like the Installation tool is looking at the root partition for how much space is available. I've found in the FreeBSD handbook an article on installing Oracle 8.0. But it appears that there have been changes with 10g. Also, those instructions seem to assume a server install, so they talk about setting some shared memory values and other things that may not apply to me anyway. Do I have any other options? I don't want to install the full Oracle package (client and server), just the client, so that I can write some perl scripts to query a remote Oracle database. Any suggestions? Thanks. Mike Mike, have you considered linux-oracle-instantclient-* ports ? If all you want to do is use Perl to access the database, then why are you bothering with Oracle's client software? Just use the CPAN module to build and install DBD::Oracle. Just curious, but how were you able to perform a silent install wihout a frame buffer? I ran into this problem installing Oracle 9i, but used xvfb as a workaround. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unattended installation
On Thu, Oct 05, 2006 at 12:59:03PM -0500, Carlos Ramirez wrote: Hi, how I do an unattended installation? I want to create an installation CD of a FreeBSD and run some scripts automatically after.. Some ideas? REGARDS Any chance of doing a WAN boot/install? -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange cron behavior
On Wed, Oct 04, 2006 at 06:23:39AM -0400, stan wrote: On Tue, Oct 03, 2006 at 11:22:29PM -0500, Philip Hallstrom wrote: I'm having a hard time getting cron to run a task. I've run crontab -e (as root), and added the following line: 12 * * * * /usr/local/bin/mirror_ubuntu This script runs from teh command line. Now I've seen plenty of strange beahviour because of the limited environment cron tasks get, but a basic echo test /tmp/stan isn't even creating the file. Sugestions? Is the cron daemon running? What is the output in /var/log/cron? Forgot to mention that. Yhe script does get listed in /var/log/cron as having been invoked. -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Can you run the script with the -x option? eg. #!/bin/sh -x -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: backup existing sata drive
On Sat, Sep 30, 2006 at 03:20:33AM -0700, Dino Vliet wrote: Eeh, are the differences between real backup and point in time recovery? Point in time recovery allows you to restore you system to a single point in time. Backups, depending on how they're performed, give you multiple points in time from which to recover. What I want is to have a identical backup drive at every moment in time. So even if I add or delete files on my primary hard disk, I would want to have that. But then again, if I go this route, if I wipe out my whole disk accidentally, the backup would be wiped out too? But still, I'm not that stupid or, it never happens so I don't think it will happen now. You're talking about disk mirroring which will not help you if you accidentally delete or overwrite a file. Use your system long enough and this _will_ happen. So, I think I want to two disk to be identical so that gives me less headache if one of them fails. Dump can use my ubuntu partition as well so I will be able to use that. But that will give me point-in-time recovery, right? Yes. Keep in mind that dump remembers, via dump levels, what's been backed up so it will do incremental backups. Geom looks cool, I will start reading the docs and look into them. I've found the article of Dru Lavigne, and the freebsd handbook has some sections as well about it and I've found http://www.freebsdwiki.net/index.php/RAID1,_Software,_How_to_setup Enough to read before my drives arrive. Hope I won't encounter problems because I'm afraid I could loose everything. Thanks for your answer. I'd go with GEOM. Extremely easy to setup and maintain. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Directory server
On Mon, Oct 02, 2006 at 07:26:20AM +0700, rithy4u- CEO wrote: Dear All, I am seeking the way how to implement FreeBSD+LDAP+Samba to build a file server for medium size business which will serv up to 60 concurrent users. But the issue is, how we get it all in one package? and join all windows clients into Samba Domain? I hope someone can help me up with this. Thanks and Best Regards, Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. You should be able to use FreeBSD's Samba and OpenLDAP port without issue. I haven't used Samba with LDAP (probably Active Directory in your case), but I know it's supported. As for connecting Windows clients, Samba does include a NetBIOS nameserver with WINS support. Here are a couple of links to get you started: http://aput.net/~jheiss/samba/ldap.shtml http://lilly.csoft.net/~vdebaere/handleiding/samba-activedirectory/index_en.html http://samba.org/samba/news/articles/abartlet_thesis.pdf -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: printer recommendation
On Fri, Sep 29, 2006 at 02:03:05PM -0500, Christopher M. Hobbs wrote: Could anyone recommend a good desktop laser jet printer that is known to work under FreeBSD. I don't mind if it's an older model. I'd like to go cheap with it. I will be printing black and white planning sheets, and portions of books. Is there a list of printers that are useable under FreeBSD somewhere? Thank you for your time! cmh -- Christopher M. Hobbs IS Technician, City of Siloam Springs [EMAIL PROTECTED], (479).524.5136 I'm a fan of the (older) Hewlett Packard printers. I've got an HP LaserJet 4550 at home that I picked up on eBay, but that's probably overkill for you. I'd recommend sticking to Postscript printers with network interfaces. Be sure to check what maintaining the thing is going to cost you. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: backup existing sata drive
On Fri, Sep 29, 2006 at 03:08:53PM -0700, Dino Vliet wrote: Good evening peeps, I have this 80gb sata seagate harddisk in my freebsd amd64 system. This harddisk is partioned so I can dual boot with Ubuntu. So I have data on my freebsd partition as well as on my ubuntu partition. As I'm getting paranoia, I would like to know how to get by this situation, now that I've ordered a new sata seagate 80gb harddrive. I waant to use this extra drive as a backup solution. What options do I have? Do you want to do real backups, or just do point in time recovery? a) Can I just plug the new hard drive in and write a script that dumps the entire /usr/ directory onto the new hard drive? But what about my ubuntu partition then? If you go this route, you'll probably want to use dump(8) for your filesystems. Just name the output file according to the filesystem and date when the dump was performed. b) Should I use raid-1, disk mirroring for this situation, knowing I will loose a whole 80gb disk? Will it work for the entire disk? What about the fact that I'm NOT starting with two empty disks? Hope anyone can help me out. I've never been there, so these will be my first steps. Thanks in advanced I've only used it for a few months, but I'm a big fan of the GEOM(4) framework. With gmirror(8), you can specify specific disk slices to mirror so you don't have to do the entire drive. It should take you less than five minutes to setup once you've read the docs. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Raid strip with freebsd slices or partitions
On Thu, Sep 28, 2006 at 10:35:10PM +, m3 BSD wrote: Hi, i would like to do a raid strip with freebsd slices or partitions and not with a entire disk. For example: I've a two SCSI drivers with 68Gb. I want to make a two partitions or slices in two disks, first with 10G and other with 58Gb, this in two disks, and make a raid strip virtual disk with 58+58GB = 116 GB, and user other two partitions normaly. -- Thanks for all answers Mario Augusto Mania m3BSD --- [EMAIL PROTECTED] Cel.: (43) 9938-9629 Msn: [EMAIL PROTECTED] ___ I believe you want to use the GEOM(4) subsystem in general and the gstripe(8) command in particular. I've only used gmirror(8) with entire disks, but I believe you can simply specify a device name corresponding to the slices you want to stripe. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rewrite of multiple incoming IPs into a single IP
On Tue, Sep 26, 2006 at 06:49:50PM -0700, Chris wrote: I have spent the day trying to get multiple IP addresses rewritten to a single address using IPFW and NATD. Is there a simple way to do this. If I put natd on the public interface, it grabs it and the system hangs at boot. Is there an interface for keeping the packets local to the system where divert can pass them, natd rewrite them and reinsert them into ipfw? The application is what I asked about two days ago, funneling multiple external websites on different addresses into a single jail that works of Apache's NameVirtualHost. Thought it was the easy part but so far it's the only part that is not working, the jail and apache work great. I think I need a divert rule that goes to an internal interface (tun0?) and be able to start natd on that interface. I actually tried tun0 but it was not recognized (I'm not configuring for ppp). It would seem that if I can get over this hurdle, I could use the redirect_address within natd to perform the magic I need. Please tell me if I'm trying to do something absurd or if this should be directed to a different list. Thanks Chris If I understand your problem correctly, you're trying to host multiple websites, each with its own IP address, on one server. Why not use IP aliasing (see ifconfig(8)) with multiple instances of Apache? For example, in rc.conf add some lines like: ifconfig_bge0=inet 208.64.173.114 netmask 255.255.255.0 ifconfig_bge0_alias0=inet 208.64.173.116 netmask 255.255.255.0 broadcast 208.64.173.127 ifconfig_bge0_alias1=inet 208.64.173.118 netmask 255.255.255.0 broadcast 208.64.173.127 You'll then need to run an instance of Apache for each ip address. This assumes that each website's IP is in the same network. With the setup I've described above, you could also use nat to direct packets to one of your IPs. From what you've described, I don't see how you'll ever receive packets addressed for the other IPs since you're not handling arp. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pdf editor
On Wed, Sep 27, 2006 at 02:14:03PM +0100, Anton Shterenlikht wrote: Maybe it's time to reconsider the nature of that itch? PDF was never meant to be edited (except peripherally), and most definitely not in the sense that you're thinking. Consider it a FINAL print format, like an image that's long since left the photographer, his studio and his camera and now exists only as a JPG on a hard drive. Agreed. But what if I'm writing a paper for a scientific journal in latex on my freebsd and my coauthors just can't be persuaded to use anything that's not already exist on their windows PCs? I find the results of latex2html or latex2rtf of poor quality (even for editing purposes), i.e. lots of errors, problems with references, etc. Maybe I need to learn how to use these tools better. Lately I was sending them pdfs and got in reply some pdfs that can only be viewed properly with the latest acrobat, and their comments are only visible on the screen anyway and cannot at all be printed. So what do I do? More broadly, what is the solution for cross- platform (*nix - windows - vms) editing of a complex document, with lots of maths, line plots and raster images? anton Agree on a document format? -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Support for Execute Disable Bit
I just installed FreeBSD 6.1-RELEASE on a couple of NetFRAME 1420's that include hardware support for the execute disable bit. Does FreeBSD 6.1 include support for this? -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]