kernel: panic: handle_written_inodeblock
on pci0 pci15: ACPI PCI bus on pcib15 pcib16: ACPI PCI-PCI bridge at device 22.5 on pci0 pci16: ACPI PCI bus on pcib16 pcib17: ACPI PCI-PCI bridge at device 22.6 on pci0 pci17: ACPI PCI bus on pcib17 pcib18: ACPI PCI-PCI bridge at device 22.7 on pci0 pci18: ACPI PCI bus on pcib18 pcib19: ACPI PCI-PCI bridge at device 23.0 on pci0 pci19: ACPI PCI bus on pcib19 pcib20: ACPI PCI-PCI bridge at device 23.1 on pci0 pci20: ACPI PCI bus on pcib20 pcib21: ACPI PCI-PCI bridge at device 23.2 on pci0 pci21: ACPI PCI bus on pcib21 pcib22: ACPI PCI-PCI bridge at device 23.3 on pci0 pci22: ACPI PCI bus on pcib22 pcib23: ACPI PCI-PCI bridge at device 23.4 on pci0 pci23: ACPI PCI bus on pcib23 pcib24: ACPI PCI-PCI bridge at device 23.5 on pci0 pci24: ACPI PCI bus on pcib24 pcib25: ACPI PCI-PCI bridge at device 23.6 on pci0 pci25: ACPI PCI bus on pcib25 pcib26: ACPI PCI-PCI bridge at device 23.7 on pci0 pci26: ACPI PCI bus on pcib26 pcib27: ACPI PCI-PCI bridge at device 24.0 on pci0 pci27: ACPI PCI bus on pcib27 pcib28: ACPI PCI-PCI bridge at device 24.1 on pci0 pci28: ACPI PCI bus on pcib28 pcib29: ACPI PCI-PCI bridge at device 24.2 on pci0 pcib29: failed to allocate initial I/O port window: 0xf000-0x pci29: ACPI PCI bus on pcib29 pcib30: ACPI PCI-PCI bridge at device 24.3 on pci0 pci30: ACPI PCI bus on pcib30 pcib31: ACPI PCI-PCI bridge at device 24.4 on pci0 pci31: ACPI PCI bus on pcib31 pcib32: ACPI PCI-PCI bridge at device 24.5 on pci0 pci32: ACPI PCI bus on pcib32 pcib33: ACPI PCI-PCI bridge at device 24.6 on pci0 pci33: ACPI PCI bus on pcib33 pcib34: ACPI PCI-PCI bridge at device 24.7 on pci0 pci34: ACPI PCI bus on pcib34 acpi_acad0: AC Adapter on acpi0 attimer0: AT timer port 0x40-0x43 irq 0 on acpi0 Timecounter i8254 frequency 1193182 Hz quality 0 Event timer i8254 frequency 1193182 Hz quality 100 atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0 Event timer RTC frequency 32768 Hz quality 0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 ppc0: Parallel port port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 uart0: 16550 or compatible port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart1: 16550 or compatible port 0x2f8-0x2ff irq 3 on acpi0 fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 qpi0: QPI system bus on motherboard sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 acpi_throttle0: ACPI CPU Throttling on cpu0 acpi_throttle1: ACPI CPU Throttling on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_throttle2: ACPI CPU Throttling on cpu2 acpi_throttle2: failed to attach P_CNT device_attach: acpi_throttle2 attach returned 6 acpi_throttle3: ACPI CPU Throttling on cpu3 acpi_throttle3: failed to attach P_CNT device_attach: acpi_throttle3 attach returned 6 Timecounters tick every 10.000 msec da0 at mpt0 bus 0 scbus2 target 0 lun 0 da0: VMware Virtual disk 1.0 Fixed Direct Access SCSI-2 device da0: 320.000MB/s transfers (160.000MHz DT, offset 127, 16bit) da0: Command Queueing enabled da0: 20480MB (41943040 512 byte sectors: 255H 63S/T 2610C) cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: NECVMWar VMware IDE CDR10 1.00 Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! Trying to mount root from ufs:/dev/da0p2 [rw]... WARNING: / was not properly dismounted /: mount pending error: blocks 184 files 7 VMware memory control driver initialized Any help is greatly appreciated! Thanks, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Possible to run 2 instances of Bind DNS server in jails??
The only bit I'm not certain on is dedicating a nic to a jail (more because I havent tried than because I believe it cant be done, I'd expect that the network stack virtualization in 8+ should allow this.) You can most definately run seperate instances of applications in jails. I'd recomend subscribing to the freebsd-jails mailing list (http://lists.freebsd.org/mailman/listinfo/freebsd-jail) for jail specific questions as I've only dabbled with them a little. But a 10 second example [r...@seaurchin ~]# jls JID IP Address Hostname Path 1 10.20.0.3 womble/var/jails/womble 2 10.20.0.2 foobar/var/jails/foobar [r...@seaurchin ~]# jexec 1 ps ax PID TT STAT TIME COMMAND 8166 ?? SsJ0:06.69 /usr/sbin/syslogd -s 8231 ?? SsJ1:00.94 sendmail: accepting connections (sendmail) 8235 ?? IsJ0:00.92 sendmail: Queue run...@00:30:00 for /var/spool/client 8241 ?? SsJ0:08.55 /usr/sbin/cron -s 79334 ?? IsJ0:00.06 /usr/sbin/named -u bind 79559 0 R+J0:00.00 ps ax [r...@seaurchin ~]# jexec 2 ps ax PID TT STAT TIME COMMAND 8504 ?? IsJ0:01.15 sendmail: Queue run...@00:30:00 for /var/spool/client 8510 ?? SsJ0:08.35 /usr/sbin/cron -s 79447 ?? IsJ0:00.07 /usr/sbin/named -u bind 79584 0 R+J0:00.00 ps ax Hope that helps Vince Kaya Saman wrote: Hi, I'm just reading through a thread right now on a discussion or debate whether to ports Solaris Zones to FreeBSD. My main Google search criteria was basically that I wanted to know if FreeBSD had something similar. In this discussion it was mentioned that FreeBSD Jails where the sudo 'equivalent' to Zones but of course behave much more like a chroot environment. I have to ask if it's possible since I'm coming over from Solaris to dedicate NICs to Jails and run separate instances of applications in there, the one I am looking for primarily is Bind. As I would like to use a Sun Fire V480 server as a mainframe but stuck between the application advantages of FreeBSD and some of the virtualization technologies within Solaris. Has anyone got any advice or comments as to whether I can achieve my goal?? Many thanks, Kaya ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ports have made me lazy
I need to install zlib (not zlibc), and AFACT it is not included in ports. When I look at the zlib web site, I see that there are several (not a lot, but several) dependencies for the installation -- and I think, OH NO, NOT DEPENDENCIES! Or something like that. I blame it on ports. They have made me lazy. I am a victim. ;-) Anyway, and more to the point, am I missing something? Is zlib really not included in ports? If not, is there an automated/semi-automated means of installing it -- or am I back to the old days of installing dependencies manually? (I have had two servers go toes up in three days, so if I've missed the obvious here, well, it wouldn't surprise me. Just administer clue in the standard manner, and I'll get with the program.) __ Vince Sabio vi...@vjs.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ports have made me lazy
** At 13:30 -0400 on 10/03/2009, ill...@gmail.com wrote: 2009/10/3 Glen Barber glen.j.bar...@gmail.com: On Sat, Oct 3, 2009 at 10:04 AM, Vince Sabio vi...@vjs.org wrote: I need to install zlib (not zlibc), and AFACT it is not included in ports. When I look at the zlib web site, I see that there are several (not a lot, but several) dependencies for the installation -- and I think, OH NO, NOT DEPENDENCIES! Or something like that. I blame it on ports. They have made me lazy. I am a victim. ;-) They should have meetings once a week or something... :-) If they had them, I'd be a candidate. Anyway, and more to the point, am I missing something? Is zlib really not included in ports? If not, is there an automated/semi-automated means of installing it -- or am I back to the old days of installing dependencies manually? I'll assume you mean the zlib compression library. Yes, that's probably what it is. I found a few with: cd /usr/ports; make search key=zlib Worked for me. Muchas gracias. Based on what I read at http://www.zlib.net/ The latest version (1.2.3) is in base: http://www.freebsd.org/cgi/man.cgi?query=zlibapropos=0sektion=0manpath=FreeBSD+7.2-RELEASEformat=html http://tinyurl.com/yksxt9p I don't know if I had a screwy install (I wouldn't put it past the stoopit sysadmin) (oh wait, that's me) or what -- but while I had the man page for zlib, I apparently it wasn't actually installed. Someone is trying to install some web-site-management kit on the machine, and it complained that zlib wasn't installed. Seems to be installed now; I guess, at some point, I'll find out if the web kit installer is happy now. Many thanks for the assistance on this. __ Vince Sabio vi...@vjs.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why no Oracle on FreeBSD ?
On 25/09/2009 10:28 PM, Saifi Khan wrote: On Thu, 24 Sep 2009, Julian H. Stacey wrote: i noticed that there is no Oracle available for FreeBSD http://www.oracle.com/technology/software/products/database/index.html What could be the reason for that ? Best ask direct of commercial application vendor Oracle. IE wave money under Oracle's nose ask to purchase what you want. If Oracle think there's enough profit in it, there's many BSD consultants eg http://berklix.com/consultants/ willing to work. Cheers, Julian -- i was wondering if there is any technical reason behind this ? Most unlikely. Ask Oracle tell advocacy@ what you find out. I'd bet perceived market share demand as ever, ie Money. Hi Julian: Here is the response on the Oracle forum thread to my posting, FreeBSD is a kernel not used in any extant operating system with the sole exception being Apple's Mac OSX so you are heading, The reality is that Oracle is meant to be a very expensive solution for companies that don't know what to do. This makes Red Hat etc an ideal contender for this situation as it promises full enterprise support. Whether it is the truth or if its even a good solution is completely irreverent to these 2 tech companies because at the end of the day they are just trying to make money and please the stock holders. We have bought the occasional Dell server with Enterprise Red Hat and found all sorts of weird little problems. My preferred story was the Perl that RHE came with was bleeding edge (for the time of release) which at first looked nice. But when I discovered my FreeBSD laptop could parse a 500meg log file 4 times faster then the quad core RHE Dell server I know something was wrong. It was just the version Perl that RHE decided to package up the distribution with. I ended up having to build a later version into /usr/local and everything was fine. But is this really a good solution? Was this worthy of the word enterprise? absolutely not, I mean its not a big deal to build a second Perl into /usr/local on RHE but FreeBSD ports seems like a far cleaner and professional solution if you ask me, just because its not point and click friendly shouldn't be some kind of excuse, to me its and clean and pure as I could dream. We hired a person directly from Oracle full time to build a new database project on Oracle. After it was all built and been using it for about 2 years I just thought it was a bit of a disgrace. Oracle is brittle, unreliable and expensive. We had FreeBSD+MySQL along side it the whole time and it was just so much more reliable and faster for the same amount of hardware. Oracle by packaged design is meant to encourage a comparatively massive amount of hardware investment compared to what could be achieved with MySQL and FreeBSD. I think it is just as much about masking its crap performance then any other argument. I think Oracle is a about of system of making money out of false beliefs, it takes full advantage of corporate companies conservative beliefs and is probably only the reasonable solution for at best 5% of the companies it lives at, its all a matter of opinion which would be argued more from how much money a set of individuals are making out of it over a better technical solution. Some how Oracle want people to believe that a few 100's thousand dollars for their software is vastly superior to any other DB in the world is just nonsense. There is not any other mass scale pieces of software that most company's need where there is some how a magically vastly superior solution. There is no single/few license $100,000 operating system, no single/few license $100,000 excel, no single/few license $100,000 web server. I guess what I am saying at the end of this is that if you can avoid Oracle that is great, I fully recommend you do. Just because you can buy MySQL Enterprise Server far more cheaply and install/deploy it far more easily on more different platforms isn't something to be suspicious about, its just a better software solution and I recommend you take full advantage of it while you still can. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what character is a physical newline
** At 22:30 -0400 on 06/28/2009, Glen Barber wrote: On Sun, Jun 28, 2009 at 10:27 PM, Aryeh M. Friedman wrote: What do you mean exactly? What language(s)? If I understand your question correctly, the C / C++ / Java / PHP (and I think Perl) 'newline' character is '\n' I meant what ascii character does \n actual correspond to (I assume CR but just making sure) No, CR is a carriage return, which is a \r in C, and is an ASCII 13 (hex 0D). Newline is a line feed (LF), which is a \n in C, and is an ASCII 10 (hex 0A) Oh. IIRC, CR is the DOS way, and LR is the POSIX way. Not exactly; CRLF is the DOS way, CR is the Macintosh way, and LF is Unix/Posix. HTH. __ Vince Sabio vi...@vjs.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: MIME attachments in mbox files
** At 00:56 -0700 on 05/30/2009, George Davidovich wrote: On Fri, May 29, 2009 at 11:40:52PM -0400, Vince Sabio wrote: I have a need (well, I have lots of needs, but I'll try to stay focused here) Given the nature of most messages in the last few days, I'd suggest you're trying too hard. ;-) Yeah, I was considering leading with an apology for the on-topic post. g to be able to take a Windows zip file that is stored as a MIME attachment to an e-mail message in an Mbox-format spool file, and unzip the attachment. I actually need to script the process. In case it helps, I can dedicate a mailbox to the task. Anyone know of any FreeBSD utility(ies) that do(es) this? Generally, when you're talking about processing an mbox and doing something with message bodies, you're looking at formail plus procmail in combination with a tool that can interpret the mime structure and process the components (mimedefang, demine, stripmime, mimedecode, reformime, renattach, etc.). That's a roundabout way of saying, no, there are no FreeBSD utilities to do what you want, but there's lots to be found in ports. Sorry, I misspoke: sed 's/utilities/ports/g' I'd start with a quick read through of some of those manpages, but at first glance, ripmime alone might do the trick: http://www.freebsd.org/cgi/man.cgi?query=ripmimeapropos=0sektion=0manpath=FreeBSD+7.2-RELEASE+and+Portsformat=ascii This, and Ian's munpack suggestion, will both do what I need -- but with one [very minor] exception: There is no way to override the file name specified in the MIME header (if present, which, in my case, it typically will be) and force it to use a specific output file name. Or just send the output to stdout, so I can redirect it to a file name of my choice (or to unzip). Not a show stopper by any means, just requires a workaround. I suspect that the authors of these utilities (there I go again) expected they would be invoked interactively. If necessary, I can write my own parser to strip out the attachment, in which case I'd need only a widget that can take in a MIME (base64) encoded zip file, convert it to binary, and unzip it. In that case, and assuming you're using Perl, MIME::base64 and IO::Uncompress::Unzip (or /usr/ports/archivers/unzip) is what you want. Bonus points for writing a one-liner. Using C, but shelling out where necessary to get stuff done. It looks like {ripmime, munpack} and unzip will do the trick. Many thanks for the pointers. I now return you to your regularly scheduled META discussion(s)... :-) __ Vince Sabio vi...@vjs.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
MIME attachments in mbox files
I have a need (well, I have lots of needs, but I'll try to stay focused here) to be able to take a Windows zip file that is stored as a MIME attachment to an e-mail message in an Mbox-format spool file, and unzip the attachment. I actually need to script the process. In case it helps, I can dedicate a mailbox to the task. If necessary, I can write my own parser to strip out the attachment, in which case I'd need only a widget that can take in a MIME (base64) encoded zip file, convert it to binary, and unzip it. Anyone know of any FreeBSD utility(ies) that do(es) this? __ Vince Sabio vi...@vjs.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Issue With 7.0-Rel - 7.1-Rel Update
Anyone have any ideas on this? Or should I make a couple of backups (test them to confirm they're viable) and install v7.1 from scratch? Hmmm. There's actually a certain appeal to installing v7.1 from scratch. RHEL has the option of creating SoftRAID mirrors at install time (and later, of course). Does the FreeBSD installer have that capability, as well? If so, then I'll probably go that route even if there's a simple solution to the dilemma below; disk space has become so incredibly cheap that it's almost a mistake *not* to configure mirrors at this point. Either way, all pointers appreciated Thanks, Vince ** At 14:24 -0500 on 02/22/2009, Vince Sabio wrote: Hi folks, I am updating an AMD-based machine from v7.0-RELEASE to v7.1-RELEASE. Here's what I get: BEGIN: ares-root# freebsd-update upgrade -r 7.1-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/sbin src/secure src/share src/sys src/ubin src/usbin world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/cddl src/compat src/rescue src/tools world/catpages Does this look reasonable (y/n)? y Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 14771 patches.[snip snip snip]... done. Applying patches... done. Fetching 21632 files... gunzip: (stdin): unexpected end of file 21ca797afb693c5ee108f0c9a617760501cb749b9592603dc16e089acf2be70f has incorrect hash. ares-root# END Weird. But hey, I'm an optimist (and it was 2:00 a.m.), so I figured WTF, I'll try it again BEGIN: ares-root# freebsd-update upgrade -r 7.1-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/sbin src/secure src/share src/sys src/ubin src/usbin world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/cddl src/compat src/rescue src/tools world/catpages Does this look reasonable (y/n)? y Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 10796 patches.102030. done. Applying patches... done. Fetching 18821 files... done. Attempting to automatically merge changes in files... done. The following file could not be merged automatically: /etc/amd.map Press Enter to edit this file in vi and resolve the conflicts manually... END Okay, I reach that point and press Enter, and I am presented with a diff-style file in vi (which is fine; I'm a vi user) that clearly highlights the differences between the current file and v7.1-R file. I'm good to go with the v7.1-R version, so I edit out the 'current' section, remove the 'diff' markers, ZZ, and that file is done. The updater then presents me with another file whose changes could not be merged automatically. So I go through the identical process. Wash, rinse, repeat, FOR [more than] FORTY MINUTES' worth of files. Each time, I kept thinking, Okay, this has to be the last one.., but it wasn't. Even after 40 minutes, the process was not completed -- I just threw in the towel. For all I know, this process could have continued for all 21632 files -- version 11.5-RELEASE could have been out by the time I finished that process. So, first of all, what did I do wrong? Second, when I start the upgrade over again, what should I do differently? And, if all else fails: In each case of editing the files, the v7.1 version was fine. Is there any way to tell it, I have good backups, and want to live dangerously, so Just Do It, and don't ask me if I want to edit anything...? Muchas
Issue With 7.0-Rel - 7.1-Rel Update
Hi folks, I am updating an AMD-based machine from v7.0-RELEASE to v7.1-RELEASE. Here's what I get: BEGIN: ares-root# freebsd-update upgrade -r 7.1-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/sbin src/secure src/share src/sys src/ubin src/usbin world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/cddl src/compat src/rescue src/tools world/catpages Does this look reasonable (y/n)? y Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 14771 patches.[snip snip snip]... done. Applying patches... done. Fetching 21632 files... gunzip: (stdin): unexpected end of file 21ca797afb693c5ee108f0c9a617760501cb749b9592603dc16e089acf2be70f has incorrect hash. ares-root# END Weird. But hey, I'm an optimist (and it was 2:00 a.m.), so I figured WTF, I'll try it again BEGIN: ares-root# freebsd-update upgrade -r 7.1-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/sbin src/secure src/share src/sys src/ubin src/usbin world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/cddl src/compat src/rescue src/tools world/catpages Does this look reasonable (y/n)? y Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 10796 patches.102030. done. Applying patches... done. Fetching 18821 files... done. Attempting to automatically merge changes in files... done. The following file could not be merged automatically: /etc/amd.map Press Enter to edit this file in vi and resolve the conflicts manually... END Okay, I reach that point and press Enter, and I am presented with a diff-style file in vi (which is fine; I'm a vi user) that clearly highlights the differences between the current file and v7.1-R file. I'm good to go with the v7.1-R version, so I edit out the 'current' section, remove the 'diff' markers, ZZ, and that file is done. The updater then presents me with another file whose changes could not be merged automatically. So I go through the identical process. Wash, rinse, repeat, FOR [more than] FORTY MINUTES' worth of files. Each time, I kept thinking, Okay, this has to be the last one.., but it wasn't. Even after 40 minutes, the process was not completed -- I just threw in the towel. For all I know, this process could have continued for all 21632 files -- version 11.5-RELEASE could have been out by the time I finished that process. So, first of all, what did I do wrong? Second, when I start the upgrade over again, what should I do differently? And, if all else fails: In each case of editing the files, the v7.1 version was fine. Is there any way to tell it, I have good backups, and want to live dangerously, so Just Do It, and don't ask me if I want to edit anything...? Muchas gracias __ Vince Sabio vi...@vjs.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PPTP (VPN) FREEBSD 7-p3
d c wrote: I have used /usr/ports/net/pptpclient/ as long as I remember. I just setup a new 7.0 Desktop and installed the port. When I run pptp x.x.x.x I get: /bin/ip: not found /bin/ip: not found Loading /lib/libalias_cuseeme.so Loading /lib/libalias_ftp.so Loading /lib/libalias_irc.so Loading /lib/libalias_nbt.so Loading /lib/libalias_pptp.so Loading /lib/libalias_skinny.so Loading /lib/libalias_smedia.so Bit odd this, it seems to have the linux command ip (from the iproute2 package) hard coded. routing.c: snprintf(buf, 255, /bin/ip route get %s, ip); routing.c: snprintf(buf, 255, /bin/ip route replace %s, route); routing.c: snprintf(buf, 255, /bin/ip route delete %s, route); Not knowing the output format of the linux commands off hand I'm not sure if you could just replace them with /sbin/route or not, although freebsd route doesnt have a replace command that i know of. the cvsweb page at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pptpclient/ isnt responding so I couldnt tell you how it used to do it assuming its changed recently. Its probably worth your while asking the maintainer or filing a PR. I searched for /bin/ip and could not find it nor could I find ip anywhere in the file system. nope its a linuxism, doesnt exist in freebsd, for routing we use route. man ip brings up info but it looks like it is not a bin but a structure used in c??? not too sure about that. Has anyone ran across this? Is there an alternate instead of ip? Perhaps I can hack it into the source. I would probably suggest using mpd (/usr/ports/net/mpd5) myself, its very well supported on freebsd and although it does way more than you need its pretty simple to setup, (the sample mpd.conf has an example pptp_client you can adapt.) Vince TIA ___ 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]
WRITE errors
I recently installed 7.0-RELEASE, and have recently started seeing these in my kernel log: g_vfs_done():ad2s1a[WRITE(offset=19671924736, length=131072)]error = 5 ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=71976351 ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36619199 ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36638271 ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36638271 ad2: FAILURE - WRITE_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=36638271 g_vfs_done():ad2s1a[WRITE(offset=1578893312, length=131072)]error = 5 I suspect that the errors are not associated with the upgrade (i.e., coincidence). Are they serious, or just something that is being reported in v7 that wasn't being reported in v5.1? __ Vince Sabio [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: Upgrade v5.x to v7.0
** At 12:14 -0400 on 08/11/2008, Robert Huff wrote: Vince Sabio writes: I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), Why? Why am I a Bad Person(tm), or why am I still running v5.1? and need to update it to v7.0. Questions: 1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at v6.x? It is probably technically possible. However: when jumping major versions, my advice is always If possible, install from clean disk. I assume you mean install from a clean CD -- I did that, and it worked like a charm. And, for anyone else running v5.x who is considering upgrading to v7.0, this seems to be a very good way to do it. I downloaded and burned a bootonly.iso, and then ran the upgrade via [passive] FTP. Ten or fifteen minutes later, I was booting into v7.0. In either case: remember to save critical config files (rc.conf, the kernel config, sshd_config, the named directory, etc.) elsewhere. The fact that the upgrade worked proves that my backups are in good shape -- if they weren't, then the upgrade would have overwritten the system disk and then failed. ;-) __ Vince Sabio [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 v5.x to v7.0
I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), and need to update it to v7.0. Questions: 1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at v6.x? 2. I'm Unix shell literate with a reasonable level of Solaris sysadmin experience, but have no experience (yet) with FreeBSD updates. Is there a site with step-by-step instructions for the uninitiated, to help minimize Pr(failure)? 3. Anything else I should know? Muchas gracias __ Vince Sabio [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: Upgrade v5.x to v7.0
** At 00:25 +0200 on 08/12/2008, Ivan Voras wrote: Vince Sabio wrote: I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), and need to update it to v7.0. Questions: 1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at v6.x? Theoretically it might be possible but definitely not recommended. 5.1 is very old (it's not even labeled STABLE Neither am I -- so my FreeBSD box and I are even. - are you sure FreeBSD updates track such old releases?) I don't think they do. and there might be unexpected problems. 2. I'm Unix shell literate with a reasonable level of Solaris sysadmin experience, but have no experience (yet) with FreeBSD updates. Is there a site with step-by-step instructions for the uninitiated, to help minimize Pr(failure)? 3. Anything else I should know? You probably don't want to do it with binary upgrades, for many reasons, including unexpected problems (i.e. possibility of ending up with a system so messed up nobody could help you restore it). Do a source upgrade to 6.0 then to 7.0 - it's not hard. For best effects, you need to also recompile all additional ports installed on the server (actually, you *can* run ports compiled for 5.x on 7.x but as soon as you need to upgrade one of them, you'll probably need to upgrade all or most of them because of cross-dependencies). Got it. There are sites that go through the 6.x to 7.0 upgrade, but I've foud nothing that explains how to get from 5. to 6.x. Any ideas here? __ Vince Sabio [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: Load balance for POP3
[EMAIL PROTECTED] wrote: Hi Vince, On Mon, 30 Jun 2008, Vince Hoffman wrote: | | I need to switch the users connections between two POP3 servers based on | | login information. | | Since the login is part of the pop3 handshake, I'm stuck on how to | | transfer the connection and pass the info already sent. | |would nginx (as described here |http://highscalability.com/nginx-high-performance-smpt-pop-imap-proxy) |be more what your after? Yes, it seems thar Nginx has what I need. Do you have any working setup? Thank you, I'm afraid not, I looked into it a little but management ended up deciding we would be using zxtm load balancers (http://www.zeus.com/products/zxtm/) which were better suited for us overall. Vince - Marcelo Souza - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument
Ross wrote: Hi there, I've been playing with a new FB7.0 setup (using the standard iso distribution), and trying to create some vlans by doing cloning via the rc.conf cloned_interfaces command - but that fails. (I'm using bce interfaces on a HP bl760c blade, if that makes any difference) Doing manual testing of ifconfig xyz0 create causes the error ifconfig: SIOCIFCREATE2: Invalid argument error to come up and the interface then doesn't get created. what command are you using exactly? it certainly works here. [EMAIL PROTECTED] (20:30:15 ~) 0 # ifconfig em1.5 ifconfig: interface em1.5 does not exist [EMAIL PROTECTED] (20:30:20 ~) 0 # ifconfig em1.5 create [EMAIL PROTECTED] (20:30:25 ~) 0 # ifconfig em1.5 em1.5: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 00:07:e9:17:db:c9 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 5 parent interface: em1 [EMAIL PROTECTED] (20:30:26 ~) 0 # ifconfig em1.5 destroy Or [EMAIL PROTECTED] (20:30:55 ~) 0 # ifconfig bge0.5 create [EMAIL PROTECTED] (20:31:04 ~) 0 # ifconfig bge0.5 bge0.5: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 00:e0:81:2d:a3:16 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 5 parent interface: bge0 [EMAIL PROTECTED] (20:31:16 ~) 0 # ifconfig bge0.5 destroy [EMAIL PROTECTED] (20:31:20 ~) 0 # Vince Has anyone gotten this error at all, and how did you get it resolved? My digging further shows that a patch was committed to src/sys/net/if_clone.c (rev 1.11) which adds a new argument for parameter data to the if_clone_create() function. But it looks like src/sys/net/if.c has not been updated to provide this new parameter data to the if_clone_create function call, thereby failing the call, and not setting the interface up. Any help or pointing in the right direction would be appreciated! Thanks, Ross. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balance for POP3
[EMAIL PROTECTED] wrote: Roger, On Fri, 27 Jun 2008, Roger Olofsson wrote: |[EMAIL PROTECTED] skrev: | | I need to switch the users connections between two POP3 servers based on | login information. | Since the login is part of the pop3 handshake, I'm stuck on how to | transfer the connection and pass the info already sent. | I'm trying to script something with socat | (http://www.dest-unreach.org/socat/doc/socat.html). | | I'll appreciate any clue. | |You might want to take a look at Pen /usr/ports/net/pen. In this case Pen does not help, since I want to decide which server to switch after login. would nginx (as described here http://highscalability.com/nginx-high-performance-smpt-pop-imap-proxy) be more what your after? Vince - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem With ZFS script
Kris Kennaway wrote: Vince Hoffman wrote: -- #!/bin/sh - TEXT=$(kldstat | tr a-f A-F | \ awk 'BEGIN {print ibase=16}; NR 1 {print $4}'\ | bc | awk '{a+=$1}; END {print a}') DATA=$(vmstat -m | sed 's/K//' | awk '{a+=$3}; END {print a*1024}') TOTAL=$(echo $DATA $TEXT | awk '{print $1+$2}') echo TEXT=$TEXT, $(echo $TEXT | awk '{print $1/1048576 MB}') echo DATA=$DATA, $(echo $DATA | awk '{print $1/1048576 MB}') echo TOTAL=$TOTAL, $(echo $TOTAL | awk '{print $1/1048576 MB}') -- Looks like the wiki stripped some formatting. I still don't know that this is doing anything meaningful in the context of ZFS memory use. I understood it to just be showing a summary of kernel memory utilization, no specific zfs stuff (which I guess could be got from vmstat -z although I dont understand those statistics well enough to do this myself.) Semi useful in a peripheral way maybe. Vince Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem With ZFS script
Diego F. Arias R. wrote: Hi: Im testing the new ZFS feature on freebsd. On the page i got a script to monitor kernel memory but the script dont works. --- #!/bin/sh - TEXT=kldstat | tr a-f A-F | awk 'BEGIN {print ibase=16}; NR 1 {print $4}' | bc | awk '{a+=$1}; END {print a}' DATA=vmstat -m | sed 's/K//' | awk '{a+=$3}; END {print a*1024}' TOTAL=echo $DATA $TEXT | awk '{print $1+$2}' echo TEXT=$TEXT, echo $TEXT | awk '{print $1/1048576 MB}' echo DATA=$DATA, echo $DATA | awk '{print $1/1048576 MB}' echo TOTAL=$TOTAL, echo $TOTAL | awk '{print $1/1048576 MB}' --- link: http://wiki.freebsd.org/ZFSTuningGuide the error i got is freebsd# ./kernmem.sh -m: not found try -- #!/bin/sh - TEXT=$(kldstat | tr a-f A-F | \ awk 'BEGIN {print ibase=16}; NR 1 {print $4}'\ | bc | awk '{a+=$1}; END {print a}') DATA=$(vmstat -m | sed 's/K//' | awk '{a+=$3}; END {print a*1024}') TOTAL=$(echo $DATA $TEXT | awk '{print $1+$2}') echo TEXT=$TEXT, $(echo $TEXT | awk '{print $1/1048576 MB}') echo DATA=$DATA, $(echo $DATA | awk '{print $1/1048576 MB}') echo TOTAL=$TOTAL, $(echo $TOTAL | awk '{print $1/1048576 MB}') -- Looks like the wiki stripped some formatting. Vince Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello
Chance Hoggan wrote: Hi, Do you have any programming projects needing done that is suitable for a novice? When I say novice I have been using freebsd for around 3 years and developing for around 4. I want to understand the freebsd operating system better and I am looking for some guidance that would give me a place to start understanding how the system works. I mean more in the system code. Even if you do not have any projects if you could give me some tasks that would equally be great. Regards, Chance Hi, I believe http://www.freebsd.org/projects/ideas/ is a good place to start. Also try asking on the -current or -hackers mailing lists. I've noticed that if you find something that seems interesting and start work on it then ask specific questions you are more likely to get useful replies than if you ask more general questions. That said i'm not a developer so don't feel you need to pay too much attention to my suggestions as they are purely based on observation not instruction/experience :) Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Ports] How to find where a port is located?
I use cd /usr/ports make search name=portname It will return extraneous results from time to time. eg. [/usr/ports](11:39:22) [EMAIL PROTECTED] /usr/ports make search name=lftp Port: lftp-3.7.3_1 Path: /usr/ports/ftp/lftp Info: Shell-like command line ftp client Maint: [EMAIL PROTECTED] B-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1 R-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1 WWW:http://lftp.yar.ru/ Port: fusefs-curlftpfs-0.9.1_1 Path: /usr/ports/sysutils/fusefs-curlftpfs Info: Mount remote ftp directories Maint: [EMAIL PROTECTED] B-deps: curl-7.18.0 fusefs-libs-2.7.2_1 gettext-0.17_1 glib-2.16.3_1 libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2 R-deps: curl-7.18.0 fusefs-kmod-0.3.9.p1.20080208_1 fusefs-libs-2.7.2_1 gamin-0.1.9_2 gettext-0.17_1 gio-fam-backend-2.16.3_1 glib-2.16.3_1 libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2 WWW:http://curlftpfs.sourceforge.net/ Vince Catalin Miclaus wrote: Gilles skrev: Hello Currently, to find where a software is located under /usr/ports/, I rune the find command. Is there a database that I could query instead so that it gives out the whole path to that the application? Thank you. Try 'whereis portname'. Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. Or http://www.se.freebsd.org/ports/index.html ___ 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]
Re: Nanobsd on a CD-ROM
to make a freebsd CDROM bootable you need to use the /boot/cdboot as the loader and make an ISO image. the nanobsd procedure creates a ufs disk image from what I understand. Try mounting the disk image mdconfig -a -t vnode -u 11 -f /path/to/image/_.disk.full mkdir /mnt/image mount /dev/md11 /mnt/image (might be /dev/md11s1a or similar, see whats created and find what works.) Then make an ISO of the mounted nanobsd image mkisofs -J -R -no-emul-boot -b /boot/cdboot \ -iso-level 3 -o nanobsd.iso /mnt/image Then either burn it to CD or install qemu to see if it boots before making another coaster. I havent tried this exactly but this should work, may need polishing though. Vince J. Porter Clark wrote: On Thu, Jun 12, 2008 at 06:54:45PM +0200, Pietro Cerutti wrote: J. Porter Clark wrote: | On Thu, Jun 12, 2008 at 04:40:25PM +0200, Pietro Cerutti wrote: | J. Porter Clark wrote: | | Is it possible to build a CD-ROM with a bootable NanoBSD on it? | | If so, how? | | Yes, Section 2.2 of | | http://www.freebsd.org/doc/en/articles/nanobsd/index.html | | Well, no, because I can't do this: | | # dd if=_.disk.full of=/dev/acd0 bs=64k | | If I do this: | | % cdrecord -v -immed driveropts=burnfree dev=1,0,0 -data _.disk.full Try with burncd | burncd -f /dev/acd0 data _.disk.full fixate No joy. Produces the same disk that cdrecord does, and boots from hard disk instead. I think that this is the problem: The BIOS knows how to boot from a CD if and only if that CD is an El Torito bootable image. That is, the first sector of the CD is NOT a Master Boot Record. That's just a hypothesis based on the observation that all of the successfully bootable CDs I have appear to be in El Torito format. I don't have a way to make such an image without using mkisofs. Figuring out how to pack the nanobsd image in such a way that mkisofs can make an El Torito bootable CD from it sounds difficult, offhand. Anybody know how to do this sort of thing? Is it even possible? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nanobsd on a CD-ROM
Wojciech Puchar wrote: Then make an ISO of the mounted nanobsd image mkisofs -J -R -no-emul-boot -b /boot/cdboot \ -iso-level 3 -o nanobsd.iso /mnt/image i don't know if -J is needed (rather not), and -iso-level 3 too, but it is OK. True, I just grabbed a command line I've used in the past., like I said, needs polishing. I'm building a nanobsd image at the moment to have a play (slow afternoon at work ;) Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: does this work with FreeBSD
Wojciech Puchar wrote: http://www.sataport.com/ i mean port multipliers http://kerneltrap.org/mailarchive/freebsd-current/2008/4/11/1402054 So the answer is there is support in -CURRENT but is still in its early stages. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any news? 3945 ABG driver!
Long Story wrote: Hi Vince! The (rtfm) advice it might exist in 7.0R which I didnot install or upgrade to Yet, Im using PC-BSD which is 6.3-R and I think i need to do the driver manualy, any info ? or i _have_ to go for 7.0-R for this driver to work ? As its not in 6.3 (sorry didnt think to check if it was before answering,) you could give it a go manually. http://www.clearchain.com/wiki/Wpi is the maintainers website for it but as its down at the moment, I'm not sure what the status of it on 6.x In 7.x its in the distro though. Vince Thanks. Marwan. Date: Tue, 3 Jun 2008 16:42:40 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: any news? 3945 ABG driver! Long Story wrote: Hello Gurus,Well, any good news or working drivers for wireless 3945ABG ? for 7.0-R or 6.3-R ? Can anyone kindly provide any useful information ?man wpi ;) (sorry to rtfm you but the man page explains it better than I could) Vince THANK YOU Marwan. _ It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Instantly invite friends from Facebook and other social networks to join you on Windows Live™ Messenger. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help Installing Sun JDK on FreeBSD
triggerme2ice wrote: Hi all, I was wondering if anyone would know of a brute force way of installing the (newest possible) sun JDK on FreeBSD 5.0 (or any other versions for further info) Help a freeBSD user in need :teeth: The latest version in ports is 1.6.0.3p4 if you need more receent than that then no idea. If thats ok then cd /usr/port/java/jdk16 make Follow the instructions Also see http://www.freebsd.org/java/ 5.x has just been announce as no longer supported by ports though, although support wont be removed, just not updated and checked as changes are made. You will need a current jdk to compile it though and need to get the source files manually. To get a jdk to compile it I'd recommend installing the package from http://www.freebsdfoundation.org/downloads/java.shtml Although you could install one of the linux-sun-jdk* ports if you prefer. you can pkg_delete the old jdk once you have the new one installed. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mfi freebsd7
kalin m wrote: sorry for the double posting just to update: i installed also the linux-megamgr same result: Failed to open driver node /dev/megadev0 after linking megadev0 to mfi0 it can not see the version... it gets more and more pathetic by the minute... odd that it wouldnt install as it did for me just now. Is your ports tree up to date? I'm guessing not since the latest version reference in ports is 1.01.40 and you found and got the 1.01.09 rpm/zip try updating your ports to the latest tree (portsnap is my method of choice but csup works fine too :) then try cd /usr/ports/sysutils/linux-megacli make install clean Be sure to pay attention to the post-install message as it tells you about whats needed in the way of kernel modules and sysctl variables as well as what periodic config is available. We do have a server at work using the LSI Logic / Symbios Logic MegaRAID SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0 config, each VPS running web/mail/ftp for a number between 1 and 100 websites, so they seem to perform well enough, this is a linux server though. If you've been sold a RAID1 array i'd imagine thats what you have unless you have reason to believe otherwise. It will appear as a singe block device (/dev/mfid0) to the operating system though as you have see. Vince kalin m wrote: thanks Vince... i didnt wanted to install the linux base because a lot of kids will be running some 'cool' boards or blogs that probably have cool linux holes too. but just for the hell of it and for he purpose to get to the controller i did. it took a while to find the Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the LSI site (anymore) either.. anyway after a lot of rpm downloads and patching and variable changing and fs mountings i get this: # /usr/local/sbin/megacli -adpCount ERROR:Could not detect controller. Controller Count: 0. pretty neat system... now what?! Vince Hoffman wrote: kalin m wrote: megarc, right... read about it.. here: # megarc -AllAdpInfo help usage : cmd -AllAdpInfo : prints info of all cards . ok . # megarc -AllAdpInfo ** MEGARC MegaRAID Configuration Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA ** [Note: For SATA-2, 4 and 6 channel controllers, please specify Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] Type ? as command line arg for help No Adapters Found Error: No MegaRaid Found ?!?!?! does that mean that there is no raid? why then the df output? the machine is supposed to have 4 250gig SAS drives. Its more likely that megarc doesnt support the newer controllers which is a shame. you might have more luck with sysutils/linux-megacli since that explicitly mentions LSI MegaRAID SAS, I wish they would make the util open source though. Will mean you need the linux-base port installed and linux.ko loaded. A RAID1 config shoudl suit a busy webserver well. Vicne thanks... Vince Hoffman wrote: kalin m wrote: hi all... a hosting facility build a new dedicated server for me and looking at the dmesg i see: mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 for df i get: Filesystem SizeUsed Avail Capacity Mounted on /dev/mfid0s1a496M197M259M43%/ devfs1.0K1.0K 0B 100%/dev /dev/mfid0s1e496M 12K456M 0%/tmp /dev/mfid0s1f661G636M608G 0%/usr /dev/mfid0s1d8.7G1.4M8.0G 0%/var i asked for raid1. i cant find too much information about the mfi driver. just that it works with freebsd 7. you might want to look at sysutils/megarc and possibly sysutils/linux-megamgr so you can more closely monitor/investigate your array. Vince i'll keep looking but - has anybody successfully deployed production servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? is there any loss in performance using that hardware in RAID1? any performance loss in RAID1 at all? thanks... ___ 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
Re: any news? 3945 ABG driver!
Long Story wrote: Hello Gurus, Well, any good news or working drivers for wireless 3945ABG ? for 7.0-R or 6.3-R ? Can anyone kindly provide any useful information ? man wpi ;) (sorry to rtfm you but the man page explains it better than I could) Vince THANK YOU Marwan. _ It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is /usr/local/bin/gsc ?
Assuming it was installed from ports, if you have portupgrade installed you could try pkg_which /usr/local/bin/gsc For me this gives [11:59:40:/usr/home/jhary] ([EMAIL PROTECTED])$pkg_which /usr/local/bin/gsc ghostscript-gpl-8.62_2 Ghostscript is a postscript interpreter which would make sense since most printers talk postscript. Vince Anton Shterenlikht wrote: Hi What is /usr/local/bin/gsc ? I run FreeBSD 6.3-STABLE #2 on compaq armada laptop. When I send a job for printing I see gsc process running: PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND [skip] 99954 daemon1 1170 27244K 19000K RUN 0:05 30.08% gsc % which gsc /usr/local/bin/gsc % However, I cannot find any info on gsc. The latest I've found is from 5.2-release, some gsc(4) -- a device driver for a handy scanner. I doubt this is it. Could somebody tell me what gsc is and what it does. many thanks anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnash leave a blank page when visit youtube
Jyun-Yi Liou wrote: Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? www/linux-flashplugin9 always freeze my firefox :-( I miss the old days with www/linux-flashplugin7 D-: For me the RESTRICTED= Redistribution not allowed line just means what it says, ie you cant redistribute the port/package. Its still builds and (last I tried) works. I tend to use swfdec and swfdec-plugin ports which play youtube fine for me though. Vince btw, graphic/gnash seems pretty stable, but the integration with firefox is poor in my case. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnash leave a blank page when visit youtube
Vince Hoffman wrote: Jyun-Yi Liou wrote: Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? www/linux-flashplugin9 always freeze my firefox :-( I miss the old days with www/linux-flashplugin7 D-: For me the RESTRICTED= Redistribution not allowed line just means what it says, ie you cant redistribute the port/package. Its still builds and (last I tried) works. I tend to use swfdec and swfdec-plugin ports which play youtube fine for me though. Sorry just read your other posts, for some reason I must have uninstalled portaudit at some point on my laptop so I wasn't getting the portaudit message. Vince Vince btw, graphic/gnash seems pretty stable, but the integration with firefox is poor in my case. ___ 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]
Re: gnash leave a blank page when visit youtube
Robert Huff wrote: Vince Hoffman writes: Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? www/linux-flashplugin9 always freeze my firefox :-( For me the RESTRICTED= Redistribution not allowed line just means what it says, ie you cant redistribute the port/package. If that's the case, then it's a poor choice if name for the variable. It seems clear enough to me but I can see why it could cause confusion. For an explanation of what the variables mean its usually best to look though the porters handbook. Taking this as an example: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-restrictions.html Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mfi freebsd7
kalin m wrote: hi all... a hosting facility build a new dedicated server for me and looking at the dmesg i see: mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 for df i get: Filesystem SizeUsed Avail Capacity Mounted on /dev/mfid0s1a496M197M259M43%/ devfs1.0K1.0K 0B 100%/dev /dev/mfid0s1e496M 12K456M 0%/tmp /dev/mfid0s1f661G636M608G 0%/usr /dev/mfid0s1d8.7G1.4M8.0G 0%/var i asked for raid1. i cant find too much information about the mfi driver. just that it works with freebsd 7. you might want to look at sysutils/megarc and possibly sysutils/linux-megamgr so you can more closely monitor/investigate your array. Vince i'll keep looking but - has anybody successfully deployed production servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? is there any loss in performance using that hardware in RAID1? any performance loss in RAID1 at all? thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mfi freebsd7
kalin m wrote: megarc, right... read about it.. here: # megarc -AllAdpInfo help usage : cmd -AllAdpInfo : prints info of all cards . ok . # megarc -AllAdpInfo ** MEGARC MegaRAID Configuration Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA ** [Note: For SATA-2, 4 and 6 channel controllers, please specify Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] Type ? as command line arg for help No Adapters Found Error: No MegaRaid Found ?!?!?! does that mean that there is no raid? why then the df output? the machine is supposed to have 4 250gig SAS drives. Its more likely that megarc doesnt support the newer controllers which is a shame. you might have more luck with sysutils/linux-megacli since that explicitly mentions LSI MegaRAID SAS, I wish they would make the util open source though. Will mean you need the linux-base port installed and linux.ko loaded. A RAID1 config shoudl suit a busy webserver well. Vicne thanks... Vince Hoffman wrote: kalin m wrote: hi all... a hosting facility build a new dedicated server for me and looking at the dmesg i see: mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 for df i get: Filesystem SizeUsed Avail Capacity Mounted on /dev/mfid0s1a496M197M259M43%/ devfs1.0K1.0K 0B 100%/dev /dev/mfid0s1e496M 12K456M 0%/tmp /dev/mfid0s1f661G636M608G 0%/usr /dev/mfid0s1d8.7G1.4M8.0G 0%/var i asked for raid1. i cant find too much information about the mfi driver. just that it works with freebsd 7. you might want to look at sysutils/megarc and possibly sysutils/linux-megamgr so you can more closely monitor/investigate your array. Vince i'll keep looking but - has anybody successfully deployed production servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? is there any loss in performance using that hardware in RAID1? any performance loss in RAID1 at all? thanks... ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD PHP issues
Matthew Seaman wrote: kevin kempter wrote: Hi List; I'm fairly new to freeBSD, but a long time Linux biggot. I installed freeBSD7, then I installed PHP like this: # cd /usr/ports/lang/php5 # make config # make install Next I installed PostgreSQL and pgFouine However when I run pgfouine to generate a log report I get this error: $ php ./pgfouine.php -file $PGDATA/pg_log/postgresql-31.log rept.html PHP Fatal error: Call to undefined function preg_replace() in /usr/local/pgsql/pgfouine/include/reporting/geshi/geshi.php on line 474 preg_replace() I believe is a PHP built-in, anyone know how to correct this, or have thoughts on what I may be doing wrong. Maybe I've missed some sort of config step? You need to install the PCRE module: # cd /usr/ports/devel/php5-pcre # make install and similarly for all of the other PHP modules you will undoubtedly find yourself needing. A quicker way of doing this is cd /usr/ports/lang/php5-extensions make config then choose what extensions you need, and then make install clean Vince Cheers, Matthew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
i386 jail on amd64 7-stable
Hi all, I've managed to get the i386 jail to start by nullfs mounts of /libexec and /usr/lib32 as per the instructions here [http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-03/msg02216.html] (It wouldnt start before, complaining about missing libs even though I had done a full make world/installworld/distribution into the jaildir.) However this means that I'm now missing libkrb5.so.9 and possibly others which means I cant use the base sshd (and probably more.) Is there something basic I have missed or is this not expected to work? Thanks, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i386 jail on amd64 7-stable
Vince Hoffman wrote: Hi all, I've managed to get the i386 jail to start by nullfs mounts of /libexec and /usr/lib32 as per the instructions here [http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-03/msg02216.html] (It wouldnt start before, complaining about missing libs even though I had done a full make world/installworld/distribution into the jaildir.) However this means that I'm now missing libkrb5.so.9 and possibly others which means I cant use the base sshd (and probably more.) Is there something basic I have missed or is this not expected to work? Sorry to reply to myself but... I was being a muppet. rather than the nullfs mounts, I just needed to cd $jaildir/libexec ln -s ld-elf.so.1 ld-elf32.so.1 and now it works :) teach me to rely on random mailing list posts and not just thinking it though. ;) Vince Thanks, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need to build a new mail server
As a sysadmin at a medium mailhosting ISP (~15,000 email customers, averaging about 5 email addresses per customer,) we use a load balanced cluster of Dovecot and exim servers with mysql backend. Theres no way we could use qmail, it just doesnt have the flexibility even with 1/2 a dozen patches. That said I do like postfix I've used it before for smtp relay servers and its performed like a champ. Vince Outback Dingo wrote: Postfix rules, Dovecot or cyrus, though dovecot seems more managable my take running an ISP based mail system Postfix Definately Qmail, its ok, in most cases scenerios Exim - No way and Dovecot or Cyrus for imaps/imap On Fri, May 30, 2008 at 10:05 PM, Oliver Fromme [EMAIL PROTECTED] wrote: Patrick Baldwin wrote: Hi all, I've got an older Solaris system running Sendmail for my mail server right now. It's about time to replace it, and I'm thinking FreeBSD might be the best choice of OS for the replacement. However, it's been some time since I looked into options for mail servers. I'm interested in both suggestions for hardware and mail servers that would make for the best FreeBSD based mail server. I've only got about two dozen users, though they are all very heavy users of email. I'm using IMAP, and I'd like to continue to do so. Finally, we have quite a few aliases I'd want to port over to a new server. I also recommend dovecot. I'm using it for several years without a problem, and it was quite simple to setup. I'm using it with sendmail, though (not postfix), because I've been using sendmail for almost 20 years and haven't had a reason to switch. If you're already familiar with sendmail on Solaris, then I recommend you continue using sendmail on FreeBSD (it's the default MTA that comes with the base system). Having said that, Postfix _is_ a very good MTA, I'm using it at work. If you're willing to switch and invest a little bit of time learning something new, then Postfix is certainly a good choice. It's quite easy to install Postfix from the ports collection. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd C++: an octopus made by nailing extra legs onto a dog -- Steve Taylor, 1998 ___ 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]
Re: FreeBSD 7.0 and DummyNet
Ray Seals wrote: It's been a long time since I have tried to get dummynet working. I have a FreeBSD 7.0 box ready to go. Do I still need to recompile the kernel and all that stuff or is there any easier way to do this now? I tend to use pf/altq but dummynet and ipfw seem to exist as modules [EMAIL PROTECTED] (19:09:46 /usr/src/sys/amd64/conf) 0 # ls /boot/kernel/dummynet.ko /boot/kernel/dummynet.ko* [EMAIL PROTECTED] (19:10:08 /usr/src/sys/amd64/conf) 0 # ls /boot/kernel/ipfw.ko /boot/kernel/ipfw.ko* so kldload dummynet kldload ipfw should do the job. Vince ___ 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 and DummyNet
Vince Hoffman wrote: Ray Seals wrote: It's been a long time since I have tried to get dummynet working. I have a FreeBSD 7.0 box ready to go. Do I still need to recompile the kernel and all that stuff or is there any easier way to do this now? I tend to use pf/altq but dummynet and ipfw seem to exist as modules [EMAIL PROTECTED] (19:09:46 /usr/src/sys/amd64/conf) 0 # ls /boot/kernel/dummynet.ko /boot/kernel/dummynet.ko* [EMAIL PROTECTED] (19:10:08 /usr/src/sys/amd64/conf) 0 # ls /boot/kernel/ipfw.ko /boot/kernel/ipfw.ko* so kldload dummynet kldload ipfw should do the job. Oh and remember that if you do just kldload ipfw (like i just did to test) it defaults to deny all ;) Vince Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw2200 freebsd 7 firmware problem
Fernando Apesteguía wrote: On 5/22/08, Vince Hoffman [EMAIL PROTECTED] wrote: Fernando Apesteguía wrote: On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED] wrote: Fernando Apesteguía wrote: Hi all, I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64. This is the output of pciconf -lv [EMAIL PROTECTED]:0:5:0: class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'MPCI3B driverIntel PRO/Wireless 2200BG' class = network dmesg shows the following: pci0: network at device 5.0 (no driver attached) I tried to instal the iwi-firmware from ports: Have you read the manpage for iwi? No, I tried with iwi-firmware and iwicontrol and none of them existed. no ports are needed the firmware is now in the base system, Just add the entries as specified in this snippet from man iwi So... shouldn't this port be removed? I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the port is needed for 7.x Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_iwi_load=YES wlan_load=YES firmware_load=YES In both cases, place the following lines in loader.conf(5) to load the firmware modules: iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES and This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-ing line be added to loader.conf(5): legal.intel_iwi.license_ack=1 I'll try it. But AFAIK, I have to recompile the kernel cause the device iwi line is missing. Am i right? I think they should all be loadable as modules if they arent in generic. To try without rebooting I believe the commands you want are: kenv legal.intel_iwi.license_ack=1 kldload if_iwi kldload wlan kldload firmware kldload iwi_bss kldload iwi_ibss kldload iwi_monitor However, I just had a look in my /boot/kernel for the if_iwi module and its not there so you may be correct. (I'm a touch supprised as the do exist on my i386 box) The same on my machine. The line is not in GENERIC and that modules don't exist. I will recompile my module as soon as I have some spare time. Thanks for your help. In theory you should be able to just cd /usr/src/sys/modules/iwi make make install cd /usr/src/sys/modules/iwifw make make install without rebuilding the entire kernel. I'm just puzzled why they dont build by default. Vince Best Regards regards, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw2200 freebsd 7 firmware problem
peter harrison wrote: Thursday, 22 May 2008 at 9:13:41 +0100, Vince Hoffman said: Fernando Apesteguía wrote: On 5/22/08, Vince Hoffman [EMAIL PROTECTED] wrote: Fernando Apesteguía wrote: On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED] wrote: snip Have you read the manpage for iwi? No, I tried with iwi-firmware and iwicontrol and none of them existed. no ports are needed the firmware is now in the base system, Just add the entries as specified in this snippet from man iwi So... shouldn't this port be removed? I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the port is needed for 7.x Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_iwi_load=YES wlan_load=YES firmware_load=YES In both cases, place the following lines in loader.conf(5) to load the firmware modules: iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES and This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-ing line be added to loader.conf(5): legal.intel_iwi.license_ack=1 I'll try it. But AFAIK, I have to recompile the kernel cause the device iwi line is missing. Am i right? I think they should all be loadable as modules if they arent in generic. To try without rebooting I believe the commands you want are: kenv legal.intel_iwi.license_ack=1 kldload if_iwi kldload wlan kldload firmware kldload iwi_bss kldload iwi_ibss kldload iwi_monitor However, I just had a look in my /boot/kernel for the if_iwi module and its not there so you may be correct. (I'm a touch supprised as the do exist on my i386 box) The same on my machine. The line is not in GENERIC and that modules don't exist. I will recompile my module as soon as I have some spare time. Thanks for your help. In theory you should be able to just cd /usr/src/sys/modules/iwi make make install cd /usr/src/sys/modules/iwifw make make install without rebuilding the entire kernel. I'm just puzzled why they dont build by default. I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I get the iwi modules no problem. I just followed the instructions in the man page and was up and running in 5 minutes. Are you running AMD64? the modules are there on my i386 laptop but not my AMD64 server (I dont use iwi on either though.) vince Peter Harrison Vince Best Regards regards, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw2200 freebsd 7 firmware problem
Fernando Apesteguía wrote: Hi all, I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64. This is the output of pciconf -lv [EMAIL PROTECTED]:0:5:0: class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'MPCI3B driverIntel PRO/Wireless 2200BG' class = network dmesg shows the following: pci0: network at device 5.0 (no driver attached) I tried to instal the iwi-firmware from ports: Have you read the manpage for iwi? no ports are needed the firmware is now in the base system, Just add the entries as specified in this snippet from man iwi Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_iwi_load=YES wlan_load=YES firmware_load=YES In both cases, place the following lines in loader.conf(5) to load the firmware modules: iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES and This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-ing line be added to loader.conf(5): legal.intel_iwi.license_ack=1 regards, Vince === iwi-firmware-2.4_8 is configured with iwicontrol(8) which you don't need, use 'make rmconfig' and uncheck CONTROL. *** Error code 1 Stop in /usr/ports/net/iwi-firmware. I tried the suggested workaround, but I got: === No user-specified options configured for iwi-firmware-2.4_8 I tried with pkg_add -r iwi-firmware-2.4_8 and I got Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz' by URL My ports are up to date (cvsup.de.FreeBSD.org) So... How can I make the wireless card work? Any help is appreciated. Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw2200 freebsd 7 firmware problem
Fernando Apesteguía wrote: On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman [EMAIL PROTECTED] wrote: Fernando Apesteguía wrote: Hi all, I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64. This is the output of pciconf -lv [EMAIL PROTECTED]:0:5:0: class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'MPCI3B driverIntel PRO/Wireless 2200BG' class = network dmesg shows the following: pci0: network at device 5.0 (no driver attached) I tried to instal the iwi-firmware from ports: Have you read the manpage for iwi? No, I tried with iwi-firmware and iwicontrol and none of them existed. no ports are needed the firmware is now in the base system, Just add the entries as specified in this snippet from man iwi So... shouldn't this port be removed? I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the port is needed for 7.x Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_iwi_load=YES wlan_load=YES firmware_load=YES In both cases, place the following lines in loader.conf(5) to load the firmware modules: iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES and This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-ing line be added to loader.conf(5): legal.intel_iwi.license_ack=1 I'll try it. But AFAIK, I have to recompile the kernel cause the device iwi line is missing. Am i right? I think they should all be loadable as modules if they arent in generic. To try without rebooting I believe the commands you want are: kenv legal.intel_iwi.license_ack=1 kldload if_iwi kldload wlan kldload firmware kldload iwi_bss kldload iwi_ibss kldload iwi_monitor However, I just had a look in my /boot/kernel for the if_iwi module and its not there so you may be correct. (I'm a touch supprised as the do exist on my i386 box) regards, Vince Thanks in advance regards, Vince === iwi-firmware-2.4_8 is configured with iwicontrol(8) which you don't need, use 'make rmconfig' and uncheck CONTROL. *** Error code 1 Stop in /usr/ports/net/iwi-firmware. I tried the suggested workaround, but I got: === No user-specified options configured for iwi-firmware-2.4_8 I tried with pkg_add -r iwi-firmware-2.4_8 and I got Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz' by URL My ports are up to date (cvsup.de.FreeBSD.org) So... How can I make the wireless card work? Any help is appreciated. Thanks in advance. ___ 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]
Re: Low/Jerky performance in FreeBSD 7
Yani Brankov wrote: Hey guys, Hi I recently updated to FreeBSD 7 and noticed that my box started to perform as windows does under heavier loads. The mouse starts to be jerky when compiling, window updates/redraws are slow and bump the CPU usage up to 100%. I attributed this to the mga driver which comes with the distro in the beginning. However, I later noticed the same happens even when X has not been started. For instance, I start a kernel compile and the console mouse becomes jumpy. All these have never happened before with FreeBSD on this box. It has enough memory (1.5G) and relatively fast CPU (2.5GHz). I started to think this may be originating from kernel level (irq handling, long times in giant locked code during syscalls, etc). I am wondering whether it is only me who has hit this problem or it is more common. It may be also related to hardware configuration, etc. I'm trying to figure out. Not just you, http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues Vince Attaching my dmesg output in case it's important. Yani ___ 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]
rndis on freebsd?
Hi all, I've been looking at using my htc hermes (orange spv3100) as a 3g modem. To do this it looks like I need to attach it as an rndis device and set the phone as my router. Is this supported at all in freebsd? I tried hacking if_cdce (added device ID) and when i enable connection sharing on the phone it attaches, but I cant get it to talk to my laptop over the cdce interface (either trying dhcp on the cdce interface, manually giving it the IP it gets given on windows or manually setting both ends) so i'm guessing it needs something more. Any clues welcome. regards, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hammer
Johan Hendriks wrote: Will the hammer filesystem from DragonflyBSD make it into FreeBSD? It looks like a very useable filesystem. last I saw http://leaf.dragonflybsd.org/mailarchive/kernel/2008-04/msg00133.html it was still pre-alpha. once it gets into a stable state I'm sure someone will have a look at the possibility of porting it. Vince Regards, Johan Hendriks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hammer
Vince Hoffman wrote: Johan Hendriks wrote: Will the hammer filesystem from DragonflyBSD make it into FreeBSD? It looks like a very useable filesystem. last I saw http://leaf.dragonflybsd.org/mailarchive/kernel/2008-04/msg00133.html it was still pre-alpha. once it gets into a stable state I'm sure someone will have a look at the possibility of porting it. Vince Oops seems I'm a little out of date http://kerneltrap.org/DragonFlyBSD/HAMMER_Stabilizing but I doubt its stablised that much in a month ;) Vince Regards, Johan Hendriks ___ 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]
Re: telnet to mail server from outside does not get 220, telnet from inside works
brad davison wrote: Date: Mon, 12 May 2008 17:49:07 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: telnet to mail server from outside does not get 220, telnet from inside works Trying ::1... Connected to localhost.x.com. Escape character is '^]'. 220 email.x.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT) But if I try the same thing from 'outside' the firewall I get: %telnet email..com 25 Trying 67.x.x.x... Connected to email.xxx.com. Escape character is '^]'. Connection closed by foreign host. sendmail try to connect to port auth of remote machine. your firewall probably blocks it just by dropping packets, so it tries until timeout telnet from outside, wait few minutes and you will get a prompt. change your firewall rules to fix it ___ You get the prize. We have a Cisco ASA, and everything works on port 587, but port 25 has cisco's 'Application Inspection' or something that I need to figure out how to turn off. assuming its the same as for a pix (been a while since I used a cisco firewall ;) then it should be no fixup smtp (its one of the first things I used to turn off ;) vince Thanks for the attention. _ Make Windows Vista more reliable and secure with Windows Vista Service Pack 1. http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hdparm equivalent
Thomas Herzog wrote: hi, is there a hdparm equivalent tool, to set the power-save or spin-down behavior of sata-disk? or can i to it via sysctl or so? sysutils/ataidle in ports at the moment. I believe atacontrol has grown some support for this in current. vince thanks Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SSHd] Increasing wait time?
** At 07:33 +0200 on 05/08/2008, Peter Boosten wrote: Vince Sabio wrote: Note if you choose to do this: scp'ing files becomes a four-step process (i.e., scp file(s) to intermediate server, log in to intermediate server, scp to destination server, delete file(s) from intermediate server). Still worth it, though. Never thought of port forwarding? Sure, but that would still leave my machines vulnerable to script kiddies. Since I rarely move files between my laptop and my server, the four-step process is not a big deal. If I did it more often, I'd probably cron up a script on the intermediate machine to move (and delete) the files for me. __ Vince Sabio [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: FreeBSD 7 enable ipaq driver
Sam Fourman Jr. wrote: also I just found out I bet this patch would fix my problem http://www.freebsd.org/cgi/query-pr.cgi?pr=121184cat= Interesting, I have a HTC hermes (well orange spv m3100, same thing) and was going to try the /usr/ports/palm/uppc-kmod to get it working but I'll give this patch a try. Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SSHd] Increasing wait time?
** At 09:59 -0800 on 05/06/2008, Beech Rintoul wrote: On Tuesday 06 May 2008, David Kelly said: On Tuesday 06 May 2008, Gilles said: Is there a way to configure SSHd, so that the wait time between login attempts increases after X failed tries? Depending on how you use ssh from external systems you could add firewall rules to disallow all but known sources. I was doing that in the past, but I found it to be inflexable and sometimes a pain to deal with. I sometimes need to access a server from a new location and that kind of hard lockdown just isn't practical. I had the same problem (i.e., needing to access the server from a new location). In my case, one of the allowed sites is the server of a friend who has provided a shell account for me. When I'm on the road, I just ssh to his machine, and from there I can ssh into any of my machines. His machine effectively does all of the script-kiddie filtering for my site. ;-) Note if you choose to do this: scp'ing files becomes a four-step process (i.e., scp file(s) to intermediate server, log in to intermediate server, scp to destination server, delete file(s) from intermediate server). Still worth it, though. Remember the wave theory of script kiddies (WARNING: Gross oversimplification ahead): Quantum mechanics says that if you throw yourself against a wall several quintillion times, you'll eventually wave through it without leaving a mark on yourself or the wall.* Similarly, a sufficiently large number of break-in attempts by script kiddies will result in one of them waving straight past all of the security without leaving a scratch. FWIW, I agree with cpghost -- it's strange that an addition as obvious and useful as this isn't already supported. __ Vince Sabio [EMAIL PROTECTED] * As if the first few billion tries didn't already leave some rather noticeable marks on both you AND the wall. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Converting from tcpdump to netflow
Eduardo Morras wrote: Hello everybody: I'm capturing packets from our network using tcpdump. Only 96 bytes for each packet. Now the sysmaster says that he wants analyze the network with netflow graphics. Is there any app that can convert from tcpdump/pcap to netflow? We have no router with netflow capabilities. Should i restart the packet capture with fprobe or similar app? Can be fprobe and tcpdump work in parallel? net-mgmt/softflowd says it can read in pcap files and export netflow from them (see http://www.mindrot.org/projects/softflowd/ ) Vince Thanks In Advance Useful Acronyms : UPnP = Universal Plug and Pray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VLAN Trunking with Freebsd
Nejc Škoberne wrote: Hey, I am sure this topic has been discussed before, however, I have been coming across unanswered inquiries within the last two months about possibly using the trunking aspect of 802.1q standard network routing, with only freebsd. I have attempted to create mulitple vlan interfaces and have failed, on 6.3-Stable. Does anyone know if the vlan emplimentation on Freebsd allows for trunking or, at the least, multiple vlans per physical device? This is my config: cloned_interfaces=vlan2 vlan3 vlan4 vlan5 ifconfig_re0=inet 192.168.1.62 netmask 255.255.255.192 ifconfig_re1=inet 192.168.1.254 netmask 255.255.255.128 ifconfig_bge0=inet a.b.c.d netmask 255.255.255.240 ifconfig_em0=up ifconfig_vlan2=192.168.41.1 vlan 2 vlandev em0 ifconfig_vlan3=192.168.19.3 vlan 3 vlandev em0 ifconfig_vlan4=192.168.42.1 vlan 4 vlandev em0 ifconfig_vlan5=192.168.100.1 vlan 5 vlandev em0 re0, re1, bge0 are ordinary interfaces (non-802.1q), and em0 is connected to a switch with 802.1q support. If you are just creating from the command line and want cisco router like subinterfaces, the following works (I have the vlan module built into my kernel might need to load it otherwise.) [EMAIL PROTECTED] (19:22:09 ~) 0 # ifconfig bge0.1 ifconfig: interface bge0.1 does not exist [EMAIL PROTECTED] (19:22:13 ~) 0 # ifconfig bge0.1 create [EMAIL PROTECTED] (19:22:15 ~) 0 # ifconfig bge0.1 bge0.1: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 00:e0:81:2d:a3:16 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 1 parent interface: bge0 [EMAIL PROTECTED] (19:22:17 ~) 0 # ifconfig bge0.1 destroy Not certain how thats represented in rc.conf, Will have a look. Vince HTH, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use a external monitor on FB7/Gnome
Kemian Dang wrote: Dear All, I use a laptop with Freebsd 7.0 stable and Gnome 2.22, the graphic card is integrated nvidia go 6150. I want to use a external monitor to support my work, but I find it gave no display when I plug the monitor, with the Fn + f4 key(this works in winodws). Seems no related topics in hand book / mailing list, so anyone could give some clue? Its something I havent got round to using properly yet, but xrandr is your friend here. start with xrandr -q to find out what xwindows can see about your external monitor, then try xrandr --auto if that doesnt get it working, read the man page for more explicit options. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SSHd] Limiting access from authorized IP's
Gilles wrote: Hello I have a couple of questions about running SSHd: 1. I'd like to limit connections from the Net only from specific IP's. It seems like there are several ways to do it (/etc/hosts.allow, AllowHosts/AllowUsers, TCP-wrapper, port-knocking, etc.). Which would you recommend? I tend to use a firewall anyway so thats what works best for me, on machine that I dont firewall, /etc/hosts.allow (which is TCP-wrappers) is a good quick and easy solution. Its very much a whatever works best for you type question. 2. Although it's up and running, I can't find SSHd in the list of installed apps: $ which sshd /usr/sbin/sshd $ pkg_info | grep -i ssh = Nada. How come? ssh is part of the base system. Its also in ports so you can have a more recent version if you like or so you have have things like the ssh hpn patches (http://www.psc.edu/networking/projects/hpn-ssh/) etc etc. Vince Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: qmail w/ SMTP auth using freebsd port
Jeff Dickens wrote: I used the patches and documents from qmail.jms1.net and built my own qmail, and it works well. I think a port that tracks qmail + jms1's current combined patch set would be well received. For what is worth the mail/qmail-tls port says it supports smtp-auth. I dont use qmail myself though so I havent tried it. Vince BTW, I copied the maintainer of the qmail port on my earlier message, and it eventually bounced: [EMAIL PROTECTED] SMTP error from remote mail server after RCPT TO:[EMAIL PROTECTED]: host mx1.freebsd.org [69.147.83.52]: 450 4.7.1 [EMAIL PROTECTED]: Recipient address rejected: Service is unavailable: retry timeout exceeded Michael P. Soulier wrote: On 10/04/08 Jeff Dickens said: Is there a document on how to set up SMTP auth using the FreeBSD qmail port? I didn't think qmail supported anything as modern as smtp auth. Most likely the expectation would be to proxy qmail through a tool that performs it for you. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote backups using ssh and dump
Paul Schmehl wrote: Has anyone done this? I'm presently using rsync over ssh, but I think dump would be better if it will work. I've been reading the man page, but I'm wondering if anyone is doing this successfully and would like to share their cmdline. We do this for ~100 linux (centos) systems at work. we looked at a variety of other systems (rsync, rdiffbackup, tar, dar) and settled on dump because of the ease of baremetal restore, support of file system attributes, ease of compression etc. It all runs via the crontab of the backup user on the backup server, uses a passphraseless ssh key to a backup user on each server who has passwordless sudo on dump. If you like I can dig out the script although it will probably need modifying for freebsd. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using FreeBSD with serial port console
Wojciech Puchar wrote: is it tested? how to set it up (with 38400 8N1 console)? i am out of PCI slots, lots of free PCI express slots, but it makes no sense to buy PCIe graphics card (no cheap ones, all ultra-hyper-3D-powereaters) to connect old 14 monitor used rarely with text-mode only. so i would like to remove graphics card to make space for one more PCI thing. Possible and documented :) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialcomms.html particularly http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Quick+easy port redirect
Tuc at T-B-O-H.NET wrote: Hi, Is there a quick/easy (cookbook?) way to do port redirects. Basically I want that anything that leaves a specific interface to any ip on port 80 go to 192.168.0.1 port 87. I'm using ipfw for some other things so it has to work and play well with that. I'm reasonably sure this can be done with natd(8) but its been a while since I used ipfw and natd. Hopefully someone more expert than me can confirm this. Vince Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Fwd: Re: Card readers - Does anyone know where to get help for this?]
I believe there was a (work in progess) driver for at least one type of these card readers http://bsdimp.blogspot.com/2006/09/sdmmc-freebsd-driver-outline.html No idea as to current status. You could ask on freebsd-mobile I guess. (I have a Ricoh based one in my laptop but never use it so dont miss it.) Vince Da Rock wrote: Subject: Re: Card readers - Does anyone know where to get help for this? From: Da Rock [EMAIL PROTECTED] Date: Sat, 29 Mar 2008 14:53:19 +1000 To: Da Rock [EMAIL PROTECTED] To: Da Rock [EMAIL PROTECTED] Some more info on this- I've just loaded 7.0 on the laptop and got this from dmesg: pci6: mass storage at device 6.3 (no driver attached) pci6: base peripheral at device 6.4 (no driver attached) Does this jog anyone's thoughts? Which driver would it be looking for? And then how would I attach the driver? devd.rules? On Fri, 2008-03-28 at 16:57 +1000, Da Rock wrote: I must be the only one who has this... Can anyone redirect me to a list, resource, whatever that my give me some clue to this problem? Cheers On Sat, 2008-03-22 at 10:42 +1000, Da Rock wrote: I have mentioned this before in other threads, but it appears it requires a thread of its own. I have a laptop with a card reader built in which I have never been able to get to work. Everything I have looked up regarding these has to do with usb versions, and other than the laptops my card readers are usb so this shouldn't be a problem. In the laptops I have a texas instruments PCI card reader though, which gives me a real headache. I can't seem to get them to operate at all, so I'm left wondering about drivers and such. These are the specs: Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller 02:09.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller I'm currently running Fedora (which seems to work), but I'd like to move over to FreeBSD as soon as I can get all the features needed on these. I seem to be making headway on most of these, so here's hoping. The card reader is capable of reading nearly all format cards, including xD which is a main reason why I'd like to get it to work. Any links and info would be very appreciated. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD for Linux VPS?
Dan Riordan wrote: Hello, Just wondering if FreeBSD is usable on Linux VPS servers? I run VPS services and a client is asking if we could support it. It would be good if we could. If you could let me know as soon as you can, that would be super. Thank you, Dan It depends how you do your VPS's If you fully virtualise them with vmware then yes, otherwise no as FreeBSD is a completely different operating system than Linux and wont work with things like openvz/virtuozzo and its Xen support is still experimental. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-RELEASE panic after ~4 hours
Alphons Fonz van Werven wrote: Sam Leffler wrote: I am aware only of issues with USB adapters being removed while wpa_supplicant is running. Actually, there's more I'm afraid. iwi: Don't know because I don't use that one. But it's a cousin of wpi and if I'm not mistaken it was the same person who initiated development of both drivers. wpi: No panics, but just doesn't work with wpa_supplicant at all (fails to associate). This is a known problem and people are working on it. Not true. under 7-current for me wpa works on my wpi adapter. I have had one panic but havent been able to replicate it yet, (i'm only blaming the wireless because it hasnt paniced on wired. Vince Neither of these are USB adapters. rum: Works but panics after a while. PR has been filed, but seems to be stuck at feedback status (anyone know more about this one?). Alphons ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-RELEASE panic after ~4 hours
Alphons Fonz van Werven wrote: Vince wrote: Not true. under 7-current for me wpa works on my wpi adapter. Care to elaborate on what you did? Because in my and some other people's cases we can't get wpi to work with wpa_supplicant no matter what we try. Alphons (as can be seen in some previous threads) Nothing special. Oh and Thats 7-STABLE not current (sorry was following 7 as current for ages and forgot its finally stable :) All i need to do is ifconfig wpi0 up then wpa_supplicant -i wpi0 -c /etc/wpa_supplicant.conf I can send my wpa_supplicant.conf if you like (but later as my wife is using that laptop booted into windows.) The laptop is a Dell Inspiron 640m Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-RELEASE panic after ~4 hours
Alphons Fonz van Werven wrote: Vince wrote: under 7-current Just noted the -current thingy. I'm running 7-release, with or without a patch by Andrew (2 kernels available). If it works with 7-current, perhaps there are some patches I missed? Alphons Entirely possible, I'm running these versions http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wpi/?only_with_tag=RELENG_7 Doesnt look like the wpa_supplicant code has changed since 7-RELEASE http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/wpa/wpa_supplicant/?only_with_tag=RELENG_7 http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/wpa_supplicant/?only_with_tag=RELENG_7 or the underlying 80211 code http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net80211/?only_with_tag=RELENG_7 Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Serial access to a Extreme Nwtworks Switch
Benjamin Cance wrote: Sam Fourman Jr. wrote: hello, I am Running FreeBSD 7.0, I am trying to gain console access to my Extreme Networks Switch, the command cu -l /dev/cuad0 -s 9600 , Says Connected and then does nothing What am I doing Wrong? I have a Straight through serial cable connected to com1, Does someone know a quick way to do this From FreeBSD? the machine is a Dell 1650 if that matters Thank you in advance for any help Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] With Cisco products, we use a roll-over cable. I am not 100% sure if Extreme Networks use the same, but it maybe worth looking into. Unless they differ from model to model you need a null modem cable. http://www.extremenetworks.com/libraries/services/AlpineInstall.pdf http://www.extremenetworks.com/libraries/services/Sumhwv60.pdf have details of the pinouts, I'd imagine the Hardware installation guide for your model would also have details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linuxpluginwrapper - *second request for help*
FreeBSD-Utah wrote: I am trying to install the port: /usr/ports/java/jai which depends on: /usr/ports/www/linuxpluginwrapper The problem is: newpdc# make === linuxpluginwrapper-20051113_8 doesn't support ELF symbol versioning, yet.. *** Error code 1 Stop in /usr/ports/www/linuxpluginwrapper. We are using diablo-jdk-1.5.0.07.01_9 as our JDK and the system is FreeBSD 7. uname -a yields: FreeBSD newpdc.dakcs.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Again, any direction or help on this is appretiated and welcome. Since as far as I know linuxpluginwrapper hasnt been updated in well over a year (other than to remove support for 5.x from the makefile) and the main driver for development on it (using flash) has been taken over by nspluginwrapper, You could try installing the linux jdk since this bit of the makefile indicates that if your using the linux jdk you dont need to have linuxpluginwrapper. .if ${JAVA_PORT_OS} == native WITH_PLUGINWRAPPER= yes RUN_DEPENDS+=${LOCALBASE}/lib/pluginwrapper/jai.so:${PORTSDIR}/www/linuxpluginwrapper .endif bit of a pain since 1/2 the point of java was meant to be platform independence ;) Other options are: the 7.0 release notes say: The rtld(1) runtime linker now supports ELF symbol versioning using GNU semantics. This implementation aims to be compatible with symbol versioning support as implemented by GNU libc and documented in http://people.redhat.com/~drepper/symbol-versioning and LSB 3.0. Also, dlvsym() function has been added to allow lookups for a specific version of a given symbol. This may mean that the ports makefile needs updating and you can just delete the lines in /usr/ports/www/linuxpluginwrapper/Makefile that say .if ${OSVERSION} = 79 IGNORE= doesn't support ELF symbol versioning, yet. .endif your other option is to see if you can get it running with nspluginwrapper instead i guess, not sure how easy/hard this would be. Vince Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd aliasing question
DAve wrote: I've looked but found no examples to give me confidence. While I have lots of servers running alias IPs the IPs are all on the same network. I've have been informed by my network admin that we will need to change the IPs of our legacy name servers (we are just dragging them along for a time, new name servers are up and domains are being moved to them). Currently the IP of ns2 is 208.252.191.2, this needs to change to 65.123.104.25. The network admin is telling me he will have the router for that NOC cage handle both IPs no problems. However I need to continue answering the old IP until clients can get their equipment reconfigured. This will work fine. Can I alias 208.252.191.2 once I change the NIC's IP to 65.123.104.25 with a default route of 65.123.104.1? yes, What netmask would use for the alias line? Whatever you currently use for those IPs. This seems not possible to me, but you can learn something new everyday... I've been supporting servers for about 10 years and I'm still learning :) Thats why its still fun. Thanks, DAve Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware RAID diagnostics (Dell PERC 6/i)
Jesse Sheidlower wrote: I'm in the process of getting a new server, and have been planning on a Dell PowerEdge 1950. I see from this thread: http://lists.freebsd.org/pipermail/freebsd-stable/2008-January/039675.html That the PERC 6/i RAID controller seems to work fine with the mfi(4) driver; I was planning on a 4 x 73GB RAID5 setup, so the problems about addressing 1TB don't seem to apply. My straightforward question is just wondering about how you get diagnostics from this device. My server will be in a remote location, so I'm curious how I would even know if a disk has failed. There wasn't anything about this in the mfi(4) manpage, nor in the RAID section of the Handbook. I've no experience of the 6/i but have a look at the results given by cd /usr/ports make search key=megaraid The megarc util certainly worked on older LSI megaraid controllers and I've used the linux megarc util on recent megaraid sas controllers (MegaRAID SAS 8708ELP) under centos linux Vince My current server is in a 2 x 18GB RAID1 setup, but I pretty much plugged it in and it Just Worked, and I never thought about it any more; this time I'd like to know more about how to manage it. Thanks. Jesse Sheidlower ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: downloading video from http://video.google.com/googleplayer.swf?docId=...
Matthias Apitz wrote: Hello, Is there any command line tool in FreeBSD for downloading a video from a URL like http://video.google.com/googleplayer.swf?docId=7540047147367608928 in the way youtube-dl, for example, does? Thx in advance matthias Umm youtube-dl is a command line tool for doing this (and its in ports www/youtube_dl) theres also www/metacafe_dl for metacafe. Did you mean something different? Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: downloading video from http://video.google.com/googleplayer.swf?docId=...
Matthias Apitz wrote: El día Wednesday, February 13, 2008 a las 03:43:35PM +, Vince Hoffman escribió: Matthias Apitz wrote: Hello, Is there any command line tool in FreeBSD for downloading a video from a URL like http://video.google.com/googleplayer.swf?docId=7540047147367608928 in the way youtube-dl, for example, does? Thx in advance matthias Umm youtube-dl is a command line tool for doing this (and its in ports www/youtube_dl) theres also www/metacafe_dl for metacafe. Did you mean something different? $ youtube-dl 'http://video.google.com/googleplayer.swf?docId=7540047147367608928' Error: URL does not seem to be a youtube video URL. If it is, report a bug. $ i.e. youtube-dl is for YouTube (and works for me), but not for Google Doh sorry, managed to read the url as youtube somehow, thought it was an odd question, more coffee needed obviously. Vince thx anyway matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what happened to linuxflashplugin?
Reid Linnemann wrote: Written by Heiko Wundram (Beenic) on 02/11/08 08:40 Am Montag, 11. Februar 2008 15:32:26 schrieb Erich Dollansky: Hi, Reid Linnemann wrote: Written by James on 02/10/08 21:59 I just tried a portupgrade out and it failed on linux flashplugin. Apparently, none of the file exist in the ftp repositories anymore. Any idea what happened there? James from /usr/ports/UPDATING: 2006-04-08 Affects: users of www/linux-flashplugin* Author: [EMAIL PROTECTED] Reason: These ports have been removed because the End User License Agreement explicitly forbids to run the Flash Player on FreeBSD. For more details, see http://www.macromedia.com/shockwave/download/license/desktop/. I could not find the word FreeBSD in the license agreement. BSD also does not appear there. Read this (in the license agreement): ... For the avoidance of doubt, no embedded or device versions of the above operating systems, or any other operating systems, are included as Authorized Operating Systems. ... 2.1You may install and use the Software on a single desktop or laptop computer that runs an Authorized Operating System. A license for the Software may not be shared, installed or used concurrently on different computers. ...where Authorized Operating Systems is only Windows, Linux, Solaris and Mac OS as defined before the initial sentence, and as such, there's no clause that allows you to use the software on BSDs, and finally, that makes it forbidden to use on BSDs. This is another reason why Flash is bad, bad, bad. Am I repeating myself? There appears to be an echo in this room FWIW, should you accidentally comment out the RESTRICTED declaration in the port Makefile, and the plugin tarball mysteriously materialize in /usr/ports/distfiles, you could perhaps accidentally install the port and put yourself in violation of the license (you naughty boy you). I couldn't find the flashplugin-7 tarball anywhere, but the flashplugin-9 tarball is at http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz (so you can download it for your linux machines, duh ;) ) Also people saying that FreeBSD has no licence to use flash should read /usr/ports/www/linux-flashplugin9/pkg-descr or /usr/ports/www/linux-flashplugin7/pkg-descr Where the 2006 UPDATING entrry is addressed. personally http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp7_archive.zip will download fine for me. [~](15:20:39) [EMAIL PROTECTED] /usr/ports/distfiles/flashplugin/fp7_archive.zip [~](15:21:07) [EMAIL PROTECTED] -f www/linux-flashplugin7 [Gathering depends for www/linux-flashplugin7 . done] --- Reinstalling 'linux-flashplugin-7.0r73' (www/linux-flashplugin7) --- Building '/usr/ports/www/linux-flashplugin7' === Cleaning for linux-flashplugin-7.0r73 === Found saved configuration for linux-flashplugin-7.0r70 = fp7_archive.zip doesn't seem to exist in /usr/ports/distfiles/flashplugin. = Attempting to fetch from http://fpdownload.macromedia.com/get/flashplayer/installers/archive/. fp7_archive.zip39% of 37 MB 203 kBps 01m56s Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what happened to linuxflashplugin?
Wojciech Puchar wrote: Agree here, but open-source friendly companies that promote the use of flash are much worse. As it seems to be, the reason why people want to use flash on FreeBSD is youtube in most of cases. you don't need flash to view youtobe movies. simply get URL from there, use youtube-dl from ports to download and play with mplayer possibly (my connection is to slow now to try realtime) you may do mplayer `youtube-dl -g URL` gnash and swfdec-plugin (both in ports) will also play youtube movies if you need them in your browser for some reason :) by the way you'll get better control of what's going on, and save bandwidth by not downloading the movie every time, just once ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why does linux-base-f7 exist if the binary compatibility is to a kernel too old to run it? (and how to change that?)
Steve Franks wrote: [EMAIL PROTECTED] /usr/ports/emulators/linux_base-f7]$ sudo make install clean === linux_base-f7-7 compat.linux.osrelease: 2.4.2 is not supported. *** Error code 1 Stop in /usr/ports/emulators/linux_base-f7. ??? Theres work in progress to update the binary compatibility. http://wiki.freebsd.org/linux-kernel I would imagine the linux_base-f7 is useful for testing. Vince Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why does linux-base-f7 exist if the binary compatibility is to a kernel too old to run it? (and how to change that?)
Steve Franks wrote: But there are sites (such as this one: http://www.linux.com/feature/53055) that talk about actually using linux_base-fc8 (which I can't even find on 7.0rc1). How is that possible if the kernel is too old for it? no idea about /usr/port/emulators/linux_base-8 which that article talks about, its not in my ports tree. but you can use linux_base-f7 if you set compat.linux.osrelease=2.6.16 however its still a work in progress and wont always work as intended, for example it works fine on my laptop [EMAIL PROTECTED] -Ix linux_base linux_base-f7-7 Base set of packages needed in Linux mode (for i386/amd64) [EMAIL PROTECTED] compat.linux.osrelease compat.linux.osrelease: 2.6.16 and I can use acrobat and other linux binaries, however my desktop at home would not start acrobat reader using compat.linux.osrelease=2.6.16 and linux_base-f7-7, and I had to go back to linux_base-fc-4_10 and compat.linux.osrelease: 2.4.2. Vince Steve On Feb 8, 2008 9:42 AM, Vince Hoffman [EMAIL PROTECTED] wrote: Steve Franks wrote: [EMAIL PROTECTED] /usr/ports/emulators/linux_base-f7]$ sudo make install clean === linux_base-f7-7 compat.linux.osrelease: 2.4.2 is not supported. *** Error code 1 Stop in /usr/ports/emulators/linux_base-f7. ??? Theres work in progress to update the binary compatibility. http://wiki.freebsd.org/linux-kernel I would imagine the linux_base-f7 is useful for testing. Vince Thanks, Steve ___ 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]
Re: why does linux-base-f7 exist if the binary compatibility is to a kernel too old to run it? (and how to change that?)
Vince Hoffman wrote: Steve Franks wrote: But there are sites (such as this one: http://www.linux.com/feature/53055) that talk about actually using linux_base-fc8 (which I can't even find on 7.0rc1). How is that possible if the kernel is too old for it? no idea about /usr/port/emulators/linux_base-8 which that article talks about, its not in my ports tree. but you can use linux_base-f7 if you set compat.linux.osrelease=2.6.16 Sorry to answer myself here, but Just looked and it seems /usr/port/emulators/linux_base-8 was the redhat 8 port (ie ancient) and has been removed.(http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/linux_base-8/Attic/Makefile) however its still a work in progress and wont always work as intended, for example it works fine on my laptop [EMAIL PROTECTED] -Ix linux_base linux_base-f7-7 Base set of packages needed in Linux mode (for i386/amd64) [EMAIL PROTECTED] compat.linux.osrelease compat.linux.osrelease: 2.6.16 and I can use acrobat and other linux binaries, however my desktop at home would not start acrobat reader using compat.linux.osrelease=2.6.16 and linux_base-f7-7, and I had to go back to linux_base-fc-4_10 and compat.linux.osrelease: 2.4.2. Vince Steve On Feb 8, 2008 9:42 AM, Vince Hoffman [EMAIL PROTECTED] wrote: Steve Franks wrote: [EMAIL PROTECTED] /usr/ports/emulators/linux_base-f7]$ sudo make install clean === linux_base-f7-7 compat.linux.osrelease: 2.4.2 is not supported. *** Error code 1 Stop in /usr/ports/emulators/linux_base-f7. ??? Theres work in progress to update the binary compatibility. http://wiki.freebsd.org/linux-kernel I would imagine the linux_base-f7 is useful for testing. Vince Thanks, Steve ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acrobat reader (7 or 8) on 7.0-RC1
Boris Samorodov wrote: On Wed, 30 Jan 2008 20:25:47 + Vince Hoffman wrote: Has anyone else had any issues getting this working? my laptop runs acrobat reader7 fine while my desktop doesnt like it at all (see error below.) I am using compat.linux.osrelease=2.6.16 and linux_base-fc6-6_5 I have linux procf mounted. Have you read /usr/ports/UPDATING? any suggestion? Restore default linux base port and sysctl setting(s). Yeah that fixed it, thanks. (I thought I had already gone back to the default linux_base but had left OVERRIDE_LINUX_BASE_PORT=fc6 in my make.conf.) Annoying that it worked on one but not the other. Vince WBR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload
Kemian Dang wrote: Glen Barber 写道: On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: I have a laptop which using the broadcom wireless card. I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko file, then I kldload it as the doc said. I can see ndis,if_ndis and bcmwl using kldstat, but there are no ndis0 when ifconfig. I have tried add the bcmwl to the /boot/loader.conf, but still no ndis0. And there no message in the dmesg about the ndis. Did you copy the bcmxxx.ko file to /book/kernel/ ? If you did, make sure you have an entry in your /boot/loader.conf: bcmxxx_load=YES I have my bcm driver called 'bcmwl5_sys.ko' and 'bcmwl5_sys_load=YES in my /boot/loader.conf. Hope that helps Yes, mine is bcmwl5a_sys.ko and I have tried to put it in the loader.conf. Actually, it is in the loader.conf now. I list it below: %ls /boot/modules/bcmwl* /boot/modules/bcmwl5a_sys.ko %more /boot/loader.conf nvidia_load=yes bcmwl5a_sys_load=yes Does yes differ from YES? I think YES and yes are interchangeable although YES tends to be used. whats the output of kldstat? if it doesnt contain ndis.ko what happens if you kldload ndis Vince Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload
Kemian Dang wrote: Vince Hoffman 写道: Kemian Dang wrote: Glen Barber 写道: On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: I have a laptop which using the broadcom wireless card. I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko file, then I kldload it as the doc said. I can see ndis,if_ndis and bcmwl using kldstat, but there are no ndis0 when ifconfig. I have tried add the bcmwl to the /boot/loader.conf, but still no ndis0. And there no message in the dmesg about the ndis. Did you copy the bcmxxx.ko file to /book/kernel/ ? If you did, make sure you have an entry in your /boot/loader.conf: bcmxxx_load=YES I have my bcm driver called 'bcmwl5_sys.ko' and 'bcmwl5_sys_load=YES in my /boot/loader.conf. Hope that helps Yes, mine is bcmwl5a_sys.ko and I have tried to put it in the loader.conf. Actually, it is in the loader.conf now. I list it below: %ls /boot/modules/bcmwl* /boot/modules/bcmwl5a_sys.ko %more /boot/loader.conf nvidia_load=yes bcmwl5a_sys_load=yes Does yes differ from YES? I think YES and yes are interchangeable although YES tends to be used. whats the output of kldstat? if it doesnt contain ndis.ko what happens if you kldload ndis Vince Below is the output of kldstat: %kldstat Id Refs AddressSize Name 1 21 0xc040 5c0690 kernel 21 0xc09c1000 69415c nvidia.ko 32 0xc1056000 28518linux.ko 41 0xc107f000 5f7a4bcmwl5a_sys.ko 53 0xc10df000 1aa10ndis.ko 62 0xc10fa000 e750 if_ndis.ko 71 0xc1109000 6a1c4acpi.ko 81 0xc520e000 2000 ntfs_iconv.ko 91 0xc521 4000 libiconv.ko 101 0xc5235000 b000 ntfs.ko It has the bcmwl5a_sys.ko, ndis.ko and if_ndis.ko. Damm cant think of anything then, (I did exactly what you are trying last night, and my full steps we just to download the drivers (was a broadcom rebadged as belkin) point ndsigen at the appropriate files (typically the inf wasnt a .inf but a .ntf for some reason) then kldload ndis followed by kldload the created .ko (after moving it to /boot/modules) Sorry I cant help more. Vince Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WPA and static IP
Hi all, I'm wondering if there is a way to specify WPA ad a static IP for an interface in /etc/rc.conf I've had a quick look though the handbook and google but all the examples use WPA and DHCP. any suggestions welcome, Cheers Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Password file migration help
Sean Murphy wrote: I have a FreeBSD 5.4 system and would like to migrate users in the password file with UIDs 3000 through 5000 to a FreeBSD 6.3 system on a running on a separate box. Is there a way to export just those users? hmm very roughly just a for uid in $(jot 2001 3000); do grep $uid /etc/master.passwd accountstokeep.txt ; done should extract the accounts from the old server (no error checking though so if any other account has a gid in the range 3000 to 5000 it will also be caught. Then in theory cat accountstokeep.txt /etc/master.passwd followed by pwd_mkdb -p /etc/master.passwd should be enough. Again care should be taken that there are no conflicting accounts already in the /etc/master.passwd file. (a quick for uid in $(jot 2001 3000); do grep $uid /etc/master.passwd ; done on the new machine before adding to it should give you a quick check.) dont forget to ensure shells and home directories are available as needed Vince Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WPA and static IP
Peter Boosten wrote: Vince Hoffman wrote: Hi all, I'm wondering if there is a way to specify WPA ad a static IP for an interface in /etc/rc.conf I've had a quick look though the handbook and google but all the examples use WPA and DHCP. ifconfig_ath0=WPA inet 192.168.13.8 netmask 255.255.255.0 works for me. Peter Doh that simple eh? Thanks, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
acrobat reader (7 or 8) on 7.0-RC1
Hi, Has anyone else had any issues getting this working? my laptop runs acrobat reader7 fine while my desktop doesnt like it at all (see error below.) I am using compat.linux.osrelease=2.6.16 and linux_base-fc6-6_5 I have linux procf mounted. any suggestion? [EMAIL PROTECTED] (20:16:58 /usr/src) 0 $ acroread *** glibc detected *** /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread: double free or corruption (!prev): 0x09632cd8 *** === Backtrace: = /lib/libc.so.6[0x2a07ec88] /lib/libc.so.6(cfree+0x90)[0x2a082230] /lib/libc.so.6(closedir+0x28)[0x2a0a2cf8] /usr/lib/libfontconfig.so.1(FcDirScan+0x1f2)[0x2a22b21d] /usr/lib/libfontconfig.so.1(FcConfigBuildFonts+0x94)[0x2a225d51] /usr/lib/libfontconfig.so.1(FcInitLoadConfigAndFonts+0x26)[0x2a22d0b3] /usr/lib/libfontconfig.so.1(FcInit+0x2e)[0x2a22d2b0] /usr/lib/libfontconfig.so.1(FcConfigGetCurrent+0x29)[0x2a225c7a] /usr/lib/libfontconfig.so.1(FcConfigSubstituteWithPat+0x6f4)[0x2a227ab3] /usr/lib/libfontconfig.so.1(FcConfigSubstitute+0x33)[0x2a227af8] /usr/lib/libpangoxft-1.0.so.0[0x2a174455] /usr/lib/libpangoft2-1.0.so.0[0x2a262f43] /usr/lib/libpangoft2-1.0.so.0[0x2a262ffc] /usr/lib/libpangoft2-1.0.so.0[0x2a263434] /usr/lib/libpango-1.0.so.0(pango_font_map_load_fontset+0x4a)[0x29f0df6f] /usr/lib/libpango-1.0.so.0[0x29f0c51b] /usr/lib/libpango-1.0.so.0(pango_itemize_with_base_dir+0x98)[0x29f0c9ae] /usr/lib/libpango-1.0.so.0[0x29f13cb0] /usr/lib/libpango-1.0.so.0[0x29f14892] /usr/lib/libgtk-x11-2.0.so.0[0x29c44060] /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x59)[0x29f4c769] /lib/libgobject-2.0.so.0[0x29f3e589] /lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0x29f3fd9b] /lib/libgobject-2.0.so.0[0x29f508ca] /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0x29f51957] /lib/libgobject-2.0.so.0(g_signal_emit_by_name+0xee)[0x29f53cee] /usr/lib/libgtk-x11-2.0.so.0[0x29c98e92] /usr/lib/libgtk-x11-2.0.so.0[0x29c99191] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x48)[0x29d2e2a4] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixGtkWidgetGetSize+0xba)[0x83739aa] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixShowAboutDialog+0x7ff)[0x86ce95f] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_Z12UNIX_Startupv+0xd)[0x838743d] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVDlgStartup+0x22)[0x858ff02] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(wcsftime+0x2678)[0x8369808] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAppInit+0xf5)[0x8496c85] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppInitUI+0xb6)[0x8369906] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppMain+0x1fb)[0x836937b] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(main+0x3a)[0x8367daa] /lib/libc.so.6(__libc_start_main+0xdc)[0x2a02cdec] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(gtk_widget_grab_focus+0x31)[0x8367cd1] === Memory map: cheers, vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acrobat reader (7 or 8) on 7.0-RC1
KAYVEN RIESE wrote: Did you install that acrobat port? yes [EMAIL PROTECTED] (20:22:36 ~) 0 # pkg_info -Ix acroread acroread7-7.0.9_2,1 Adobe Reader for view, print, and search PDF documents (ENU acroreadwrapper-0.0.20071020 Wrapper script for Adobe Reader On Wed, 30 Jan 2008, Vince Hoffman wrote: Hi, Has anyone else had any issues getting this working? my laptop runs acrobat reader7 fine while my desktop doesnt like it at all (see error below.) I am using compat.linux.osrelease=2.6.16 and linux_base-fc6-6_5 I have linux procf mounted. any suggestion? [EMAIL PROTECTED] (20:16:58 /usr/src) 0 $ acroread *** glibc detected *** /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread: double free or corruption (!prev): 0x09632cd8 *** === Backtrace: = /lib/libc.so.6[0x2a07ec88] /lib/libc.so.6(cfree+0x90)[0x2a082230] /lib/libc.so.6(closedir+0x28)[0x2a0a2cf8] /usr/lib/libfontconfig.so.1(FcDirScan+0x1f2)[0x2a22b21d] /usr/lib/libfontconfig.so.1(FcConfigBuildFonts+0x94)[0x2a225d51] /usr/lib/libfontconfig.so.1(FcInitLoadConfigAndFonts+0x26)[0x2a22d0b3] /usr/lib/libfontconfig.so.1(FcInit+0x2e)[0x2a22d2b0] /usr/lib/libfontconfig.so.1(FcConfigGetCurrent+0x29)[0x2a225c7a] /usr/lib/libfontconfig.so.1(FcConfigSubstituteWithPat+0x6f4)[0x2a227ab3] /usr/lib/libfontconfig.so.1(FcConfigSubstitute+0x33)[0x2a227af8] /usr/lib/libpangoxft-1.0.so.0[0x2a174455] /usr/lib/libpangoft2-1.0.so.0[0x2a262f43] /usr/lib/libpangoft2-1.0.so.0[0x2a262ffc] /usr/lib/libpangoft2-1.0.so.0[0x2a263434] /usr/lib/libpango-1.0.so.0(pango_font_map_load_fontset+0x4a)[0x29f0df6f] /usr/lib/libpango-1.0.so.0[0x29f0c51b] /usr/lib/libpango-1.0.so.0(pango_itemize_with_base_dir+0x98)[0x29f0c9ae] /usr/lib/libpango-1.0.so.0[0x29f13cb0] /usr/lib/libpango-1.0.so.0[0x29f14892] /usr/lib/libgtk-x11-2.0.so.0[0x29c44060] /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x59)[0x29f4c769] /lib/libgobject-2.0.so.0[0x29f3e589] /lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0x29f3fd9b] /lib/libgobject-2.0.so.0[0x29f508ca] /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0x29f51957] /lib/libgobject-2.0.so.0(g_signal_emit_by_name+0xee)[0x29f53cee] /usr/lib/libgtk-x11-2.0.so.0[0x29c98e92] /usr/lib/libgtk-x11-2.0.so.0[0x29c99191] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x48)[0x29d2e2a4] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixGtkWidgetGetSize+0xba)[0x83739aa] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixShowAboutDialog+0x7ff)[0x86ce95f] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_Z12UNIX_Startupv+0xd)[0x838743d] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVDlgStartup+0x22)[0x858ff02] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(wcsftime+0x2678)[0x8369808] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAppInit+0xf5)[0x8496c85] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppInitUI+0xb6)[0x8369906] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppMain+0x1fb)[0x836937b] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(main+0x3a)[0x8367daa] /lib/libc.so.6(__libc_start_main+0xdc)[0x2a02cdec] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(gtk_widget_grab_focus+0x31)[0x8367cd1] === Memory map: cheers, vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acrobat reader (7 or 8) on 7.0-RC1
Philip M. Gollucci wrote: Vince Hoffman wrote: KAYVEN RIESE wrote: Did you install that acrobat port? You sir are missing the FREEBSD6_COMPAT config in your kernel. Just for a second I thought you had it, but sadly not [EMAIL PROTECTED] (22:45:02 /usr/src/sys/i386/conf) 0 # uname -a FreeBSD crab.unsane.co.uk 7.0-RC1 FreeBSD 7.0-RC1 #18: Thu Jan 17 12:27:35 GMT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CRAB i386 [EMAIL PROTECTED] (22:45:05 /usr/src/sys/i386/conf) 0 # grep FREEBSD6 /usr/src/sys/i386/conf/CRAB options COMPAT_FREEBSD6 # Compatible with FreeBSD6 However I'm going to try updating and recompiling to see if that fixes it. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripting kungfu
Paul Schmehl wrote: I need to do the following: Take a list of various strings, one of which is a quoted IP address, and extract the IPs. (Done that.) Then take the list of IPs and convert them to a list of IPs with masks on a single line. IOW, I have converted the original list to this: x.x.x.x x.x.x.x x.x.x.x x.x.x.x Now I need to remove the newlines and add /32, to the end of each IP so that I have this: x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc. I got close with sed, but I'm not quite there. I got this: x.x.x.x/32,x.x.x.x x.x.x.x/32,x.x.x.x x.x.x.x/32,x.x.x.x Here's the code I used: cat hostlist | cut -d',' -f2 | cut -d'' -f2 | sort | uniq | grep -v inet | sed '/[^*]$/N;s/\n */\/32,/' What am I missing? Its a bit heavy to fireup but perl -pe 's/\n/\/32,/' hostlist should work (if you then remove the final tailing ,) Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Secure update of /usr/src
Hi, 文鳥 wrote: 08/01/13 に Erik Cederstrand[EMAIL PROTECTED] さんは書きました: 文鳥 wrote: 2008/1/13, Erik Cederstrand [EMAIL PROTECTED]: 文鳥 wrote: Hello all, is there any way to securely follow the STABLE branch of FreeBSD, e.g. a cryptographically signed distribution method like portsnap? Afaik, the usual update methods (CVSup, etc.) do not include any authentication / integrity checking. Am I missing something here? freebsd-update(8) is portsnap for the base system. However, you can only follow RELEASE branches, not STABLE. Erik snip Erik Yes, I am aware of that fact. However, 7.x STABLE is the only version apart from CURRENT that I was able to get working reliably on the hardware in question. And alas, even though the system in question is used for testing only,I am still bound by the company security policy in this matter... Guess I will have to wait until 7.0 is released. Thanks for your help in this matter. I'm not suer how often its updated but you can to a limited degree follow the RELENG_7_0 branch via freebsd-update already (see http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html) However I'd say overall you may be better waiting for the release. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcp wrappers
Jim Pazarena wrote: tcp wrappers does not seem to be compiled with the 'blacklist patch' which Wietse Venema provided some years back. I am curious if/why the implementor(s) within FreeBSD chose to ignore that useful patch? Would someone please point out to me how/where I could re-compile tcpd to include this patch? I am struggling trying to find the tcpd source on my system. Umm I think we use /usr/src/contrib/tcp_wrappers, not idea about the lack of 'blacklist patch' though. Should be a case of patching the source there then cd /usr/src/libexec/tcpd make make install clean Although presumably you need to recompile anything that uses libwrap not just tcpd. Vince Thanks Jim Pazarena ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: copying just / (not /tmp, /usr, etc) (rsync -x failed)
Konstantinos Pachnis wrote: James Harrison wrote: On Wed, 2007-12-05 at 10:41 -0500, Jerry McAllister wrote: On Tue, Dec 04, 2007 at 05:38:20PM -0700, Steve Franks wrote: I have / on one slice, and [usr,tmp,var] on others. I want to move just / to a new disk, which seemed to be what rsync -x (do not cross filesystems) was intended for. It failed, however, as df shows 20k blocks in /, and rsync filled up the target slice with 50k blocks, so obviously it blew right past the 'end' of / - did I miss something? Is there no other way except to umount [tmp,usr,var]? I would use dump/restore. Build the filesystem in the new disk partition with fdisk, bsdlabel and newfs as needed. Then mount the new partition somewhere - example: mkdir /newpart mount /dev/ad1s1a /newpart (presuming new disk is ad1, slice is 1, partition is a) Doesn't hurt to do an fsck on it here before writing to it, but it probably isn't really needed. Then, run the dump/restore cd /newpart dump 0af - / | restore -rf - This will get all of / as you want. The other mountpoints for /tmp, /usr and /var will be copied, but not the contents of those filesystems. You probably want that. jerry Thanks, Steve Everyone's recommending dump/restore for copying file systems, and there's something that I've never really been clear on. The nice thing about rsync is that it's network aware. Can dump dump a file system across a network? Not following the rest of the thread so sorry if a duplicate answer. you can easily dump to a file across a network if you have ssh configured. something like dump -f - /dev/ad1s1 | ssh [EMAIL PROTECTED] cat /path/to/dumpfile.ad1s1.oldhost Dump can also talk to remote tape devices using rmt apparently but I've never tried this. Vince James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, If you want to perform network backups, you should consider using a network aware backup solution such as Bacula or Amanda. Konstantinos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd filesystem ( hard reboot )
Randy Ramsdell wrote: We started using FreeBSD for some network monitoring, but have found that a hard reboot forces us to answer filesytem questions on boot. Is there a way to mount each filesystem without this? Or how can we use FreeBSD in a remote location without needing to intervene in situatutions like this? This is unusual in my experience, part of the charm of FreeBSD for me is how rarely I have had to interact with fsck thanks to the whole background fsck thing. What version of FreeBSD are you using? Assuming a 5.x or later since you say you've started to use FreeBSD. What is the value of background_fsck in /etc/rc.conf ? You can also try setting fsck_y_enable=YES in rc.conf (this will do fsck -y if the initial preen fails.) Vince Thanks, Randy Ramsdell Unix Systems Administrator ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone running Plesk ... ?
Marc G. Fournier wrote: Hi ... I run a web hosting company, and one of the most often asked question is whether we have a control panel, to which we generally say no ... recently, a new client signed up and looked to install Plesk on his VPS, but has been unable to get it to work ... Being curious myself, I've downloaded both 8.2.1 and 8.1.1, and find that neither of them appear to install properly, but I can't seem to find any reasons *why* ... for instance, 8.1.1 just finished installing with: Installation done. Notice: make.conf was restored from previous autoinstaller's backup. But there is no /usr/local/etc/rc.d/psa.sh to stop / start the server, and no psa-* related ports installed ... as if it installed all the dependencies, but not the components themselves ... If I try and go into /usr/ports/swsoft/psa and do 'make install', it fails as the installer installed both apache2.0 and apache2.2, causing a conflict ... I have tried both 8.2.1 and 8.1.1, and get the same results ... One response I got on the -isp list was to pay Plesk to install it, so I figured I'd range out a bit onto -questions and see if anyone has been able to successfully install Plesk *without* deferring it to SWSoft themselves to do it ... ? Only ever done this on linux (we do a lot of linux hosting with plesk at work,) we dont use SWSofts install if at all possible as its flaky as anything. Although its all been pretty much automated now and i dont have to touch it much, from what I remember we install the prerequisites manually (well via yum but not using their installer,) then we go through the needed components and install them individually. SWSofts installer and updater used to break things on a regular basis. If I get a sec I'll have a quick look at the FreeBSD version. Vince Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lightly loaded php+mysql - high syscall/csw rates
Andrew Pantyukhin wrote: We have a php+mysql web server. It serves 15-20 http requests per second, resulting in 100-200 sql qps. But according to vmstat(1), it all peaks at over 500k syscall/s and 100k cswitch/s. The peaks are quite frequent, even at this load. During the peaks top(1) shows 30-40k VCSW for mysql and around 1k vcsw for two php-cgi worker processes. IVCSW is relatively very low for all processes. This is a 4-core Opteron HP DL145 G2 server running 6.2/amd64 generic+quota. I'm considering a switch to 7.0. During peaks user/system/idle in top(1) is 20/30/50. The question is - is the syscall and csw rates normal or should I be trying to tune mysql and php more agressively? I'm not hungry for performance (haven't hit the limit yet), but a couple of days ago the server stopped responding until a cold reboot (which is another story) - and now I'm paying closer attention to its vitals. This sounds like it could be related to the issues being discussed on a thread on freebsd-stable titled 2 x quad-core system is slower that 2 x dual core on FreeBSD [http://docs.freebsd.org/cgi/mailindex.cgi?sort=subjectfile=current/freebsd-stable] Switching to 7 and SCHED_ULE may gain you perfromance for this kind of workload over 4 cores going by the benchmarks provided by Kris Kennaway, although they mainly deal with 8 core systems. Forcing MySQL to use libthr instead of libpthread in libmap.conf may also help also and going solely by one post in the thread mentioned above you could try reducing kern.hz in loader.conf to something like 100 as this could help reduce the context switches. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tkinter Libraries Needed
[EMAIL PROTECTED] wrote: Hi; After a second googling, I discovered the reason I can't install the Python Imaging Library (PIL) appears to be because I need some development libraries...that I can't find in the ports. I'm running FBSD 5.5. I´ve installed Zope 2.10.5 on top of Python 2.4.2 (not optimal, but it will work, according to the build instructions). I installed Plone 3.0.2 and I get errors when I crank up Zope, all related to a non-existent PIL. So I d/l/d the latest PIL, plopped it in my Extensions dir, ran this: I'm not knowlegeable on python but /usr/ports/graphics/py-imaging looks like what you wanted. (version 1.1.6 which seems to be the latest) If you install it from ports it should pull in what it needs. Vince python setup.py build_ext -i and got this: running build_ext building '_imagingtk' extension creating build/temp.freebsd-5.5-RELEASE-i386-2.4/Tk cc -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x10 -fPIC -I/usr/local/include/freetype2 -IlibImaging -I/usr/local/include -I/usr/include -I/usr/local/include/python2.4 -c _imagingtk.c -o build/temp.freebsd-5.5-RELEASE-i386-2.4/_imagingtk.o _imagingtk.c:20:16: tk.h: No such file or directory _imagingtk.c:23: error: syntax error before '*' token _imagingtk.c:31: error: syntax error before Tcl_Interp _imagingtk.c: In function `_tkinit': _imagingtk.c:37: error: `Tcl_Interp' undeclared (first use in this function) _imagingtk.c:37: error: (Each undeclared identifier is reported only once _imagingtk.c:37: error: for each function it appears in.) _imagingtk.c:37: error: `interp' undeclared (first use in this function) _imagingtk.c:45: error: syntax error before ')' token _imagingtk.c:50: error: `app' undeclared (first use in this function) _imagingtk.c: At top level: _imagingtk.c:55: warning: parameter names (without types) in function declaration _imagingtk.c:55: error: conflicting types for 'TkImaging_Init' _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here _imagingtk.c:55: error: conflicting types for 'TkImaging_Init' _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here _imagingtk.c:55: warning: data definition has no type or storage class _imagingtk.c:57: error: syntax error before '' token error: command 'cc' failed with exit status 1 According to my googling... the setup procedure has determined that your Python has been built with Tkinter, and that Tcl/Tk libraries and include files seem to be available, but the compiler cannot find them, for some unknown reason. have you tried installing the Tcl and Tk development libraries ? (usually tcl-devel and tk-devel) . I cannot find any such animals. Ideas on what to do? TIA, Tony Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /bin/sh Can one Easily Strip Path Name from $0?
Martin McCormick wrote: I am ashamed to admit that I have been writing shell scripts for about 15 years but this problem has me stumped. $0 is the shell variable which contains the script name or at least what name is linked to the script. The string in $0 may or may not contain a path, depending upon how the script was called. It is easy to strip off the path if it is always there #! /bin/sh PROGNAME=`echo $0 |awk 'BEGIN{FS=/}{print $NF}'` echo $PROGNAME That beautifully isolates the script name but if you happen to call the script without prepending a path name such as when the script is in the execution path, you get an error because there are no slashes in the string so awk gets confused. Is there a better way to always end up with only the script name and nothing else no matter whether the path was prepended or not? basename should do it. Thank you. Martin McCormick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tkinter Libraries Needed
Hmm you could try pkg_delete py24-imaging-1.1.5 and see if that works better (may need -f) I tend to use portupgrade though. Vince [EMAIL PROTECTED] wrote: Right. I tried that a while back and forgot I had. This is what I get: server726# cd /usr/ports/graphics/py-imaging server726# make install clean === Installing for py24-imaging-1.1.5 === py24-imaging-1.1.5 depends on file: /usr/local/lib/python2.4/site-packages/_tkinter.so - found === py24-imaging-1.1.5 depends on file: /usr/local/bin/python - found === py24-imaging-1.1.5 depends on shared library: jpeg.9 - found === py24-imaging-1.1.5 depends on shared library: freetype.9 - found === Generating temporary packing list === Checking if graphics/py-imaging already installed === An older version of graphics/py-imaging is already installed (py23-imaging-1.1.5) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of graphics/py-imaging without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/graphics/py-imaging. server726# make deinstall === Deinstalling for graphics/py-imaging server726# make reinstall === Installing for py24-imaging-1.1.5 === py24-imaging-1.1.5 depends on file: /usr/local/lib/python2.4/site-packages/_tkinter.so - found === py24-imaging-1.1.5 depends on file: /usr/local/bin/python2.4 - found === py24-imaging-1.1.5 depends on shared library: jpeg.9 - found === py24-imaging-1.1.5 depends on shared library: freetype.9 - found === Generating temporary packing list === Checking if graphics/py-imaging already installed === An older version of graphics/py-imaging is already installed (py23-imaging-1.1.5) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of graphics/py-imaging without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/graphics/py-imaging. *** Error code 1 Stop in /usr/ports/graphics/py-imaging. Ideas? TIA, Tony /usr/ports/graphics/py-imaging -Original Message- From: Vince [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wed, 14 Nov 2007 11:17 am Subject: Re: Tkinter Libraries Needed [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi; After a second googling, I discovered the reason I can't install the Python Imaging Library (PIL) appears to be because I need some development libraries...that I can't find in the ports. I'm running FBSD 5.5. I´ve installed Zope 2.10.5 on top of Python 2.4.2 (not optimal, but it will work, according to the build instructions). I installed Plone 3.0.2 and I get errors when I crank up Zope, all related to a non-existent PIL. So I d/l/d the latest PIL, plopped it in my Extensions dir, ran this: I'm not knowlegeable on python but /usr/ports/graphics/py-imaging looks like what you wanted. (version 1.1.6 which seems to be the latest) If you install it from ports it should pull in what it needs. Vince python setup.py build_ext -i and got this: running build_ext building '_imagingtk' extension creating build/temp.freebsd-5.5-RELEASE-i386-2.4/Tk cc -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x10 -fPIC -I/usr/local/include/freetype2 -IlibImaging -I/usr/local/include -I/usr/include -I/usr/local/include/python2.4 -c _imagingtk.c -o build/temp.freebsd-5.5-RELEASE-i386-2.4/_imagingtk.o _imagingtk.c:20:16: tk.h: No such file or directory _imagingtk.c:23: error: syntax error before '*' token _imagingtk.c:31: error: syntax error before Tcl_Interp _imagingtk.c: In function `_tkinit': _imagingtk.c:37: error: `Tcl_Interp' undeclared (first use in this function) _imagingtk.c:37: error: (Each undeclared identifier is reported only once _imagingtk.c:37: error: for each function it appears in.) _imagingtk.c:37: error: `interp' undeclared (first use in this function) _imagingtk.c:45: error: syntax error before ')' token _imagingtk.c:50: error: `app' undeclared (first use in this function) _imagingtk.c: At top level: _imagingtk.c:55: warning: parameter names (without types) in function declaration _imagingtk.c:55: error: conflicting types for 'TkImaging_Init' _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here _imagingtk.c:55: error: conflicting types for 'TkImaging_Init' _imagingtk.c:23: error: previous declaration of 'TkImaging_Init' was here _imagingtk.c:55: warning: data definition has no type or storage class _imagingtk.c:57: error
Re: Ports with GUI configs
Ashley Moran wrote: Hi I was just wondering, what is the motivation behind the GUI configuration for some ports? Simply put, they drive me up the wall. I've lost count of the number of times I've come back to a big install to find it hanging on a config screen. Possibly I'm missing something. The apache22 port is the latest one to join this crowd, although there is an option to skip the GUI. I'm much happier using WITH_PROXY_MODULES or whatever, and managing everything in pkgtools.conf. What is the best way to pre-configure GUI-configured ports? For example, if I want to script an installation of several ports. I've seen this: http://www.freshports.org/misc/dotfile/, is it what I'm after? I think what you want is the make config-recursive target which should go through the dependencies and do the gui config for them all, (after the first run the gui config saves the configs in /var/db/ports/$portname/options and shouldn't prompt a second time.) For apache22 it looks like setting WITHOUT_APACHE_OPTIONS=YES should disable the menu and let you go back to using pkgtools.conf although I haven't tested it. Its possible that setting BATCH=YES and using pkgtools.conf will work too but my understanding of the BATCH and INTERACTIVE makefile options are a little unclear. I agree though, I often suffer the same problem, coming back after a few hours to a build that should have finished to find its sitting on the first dependency. Vince Thanks for any advice Ashley -- blog @ http://aviewfromafar.net/ linked-in @ http://www.linkedin.com/in/ashleymoran currently @ work ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems using ls with for_in (SH)
Sdävtaker wrote: Im trying to get a file with all the md5 hashes of one directory. My initial script was this: #!/bin/sh for file in $(ls) do echo $file md5 $file done The problem is with the file names who contains whitespaces becouse the for_in passed each word as one iteration and not the full filename, I'd tried using -B in ls, but doesnt help. Any idea what can i do? Thanks! Sdäv Use Quoting ? ([EMAIL PROTECTED])$ls another file with spaces file with space no-spaces-here [11:08:54:/usr/home/jhary/tmp/spacetmp] ([EMAIL PROTECTED])$for file in * ; do echo $file ; md5 $file ; done another file with spaces MD5 (another file with spaces) = 40393f6dba09f89ef5cf32c3aec61f32 file with space MD5 (file with space) = 1de1a1be1433df2d7af11d839db3b0c1 no-spaces-here MD5 (no-spaces-here) = aaac9a687bd4ea9d2fc487e9cfb345f7 works for me. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X screen film recording
Wojciech Puchar wrote: I once used vnc2swf on Linux. It looks like it's in ports, so I'm well i would like to convert OUT OF flash movie to something like animated gif or just frames. vnc2pnm or vnc2avi or vnc2gif would be nice. but there's no such things. ffmpeg appears to have the ability to convert swf to avi/mpeg although I havent tried it. so you could record then convert. Vince ___ 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]