Re: I am such a fool! How to recover my data?
On Mon, 16 Oct 2006 14:53:14 +0200, Kyrre Nygård [EMAIL PROTECTED] wrote: I'm no FreeBSD expert... yet - so I would revert to Windows. So this is what I would do: 1. Use whatever software I can lay my hands on to make a full copy of the disk (your disk 1, I think), e.g. Norton Ghost or DriveImage. That way, if you screw up the recovery, you still have another copy and another chance. Running those utilities may result in some error messgaes if the partition table is screwed up - if so STOP, and don't agree to make any changes - seek advice bfore making any changes. 2. Then I would get the full details of the partition table as it is now. In my case I would use Norton's utility ptedit.exe, which you can download from their ftp site. You'll need to make a windows boot floppy (or CD if you don't have a floppy drive) and run ptedit.exe from that. 3. Then report back with the details. It may be simple or very difficult! Also explain how you think the disk was formatted before: was it just the complete disk as a single NTFS primary partition? Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I am such a fool! How to recover my data?
On Tue, 17 Oct 2006 07:39:17 +0100, Mad Timekeeper [EMAIL PROTECTED] wrote: 2. Then I would get the full details of the partition table as it is now. In my case I would use Norton's utility ptedit.exe, which you can download from their ftp site. You'll need to make a windows boot floppy (or CD if you don't have a floppy drive) and run ptedit.exe from that. I just remembered that there is another Norton utility: partinfo.exe that just extracts the partition information, whereas ptedit allows you to edit the partition table. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia on CURRENT...
On 10/17/06, Anders Troback [EMAIL PROTECTED] wrote: On Mon, 16 Oct 2006 15:31:15 +0100 Joao Barros [EMAIL PROTECTED] wrote: On 10/16/06, Anders Troback [EMAIL PROTECTED] wrote: Hi, X can't use the nvidia module and kldunload nvidia causes: Fatal trap 12: page fault while in kernel mode. Any ideas? Thanks!!! PS. CURRENT cvsuped 6 hours ago! Try recompiling the nvidia module. When recompiling a new kernel version always remind yourself to recompile the nvidia driver aswell :) Thanks but I did remember that this time:-) More ideas? I have it working fine on my current. Have you disabled agp in kernel config? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Non English Spam
- Original Message - From: Erik Norgaard [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: Beech Rintoul [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Sunday, October 15, 2006 3:47 AM Subject: Re: Non English Spam Ted Mittelstaedt wrote: I have noted however, that some subscribers to this list write english encoded in one of the above character sets, I don't know enough about the character set definition, but it seems that English characters are a subset of any character set? What is the recommended policy here? Should subscribers be advised to change character set when posting to the list? No. It's the responsibility of the person doing the filtering - in this case you - to exempt any known good e-mail sender from your filters. You know damn well that legitimate mailing list mail comes from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) it's right in the headers of the messages on the list. First: You know all too well that filtering based on Received header fields is not reliable - any decent spammer know how to forge that. Spammers cannot forge the Received header that your own mailserver puts into the received message. The first Received line of the message is always legitimate. You can also turn on the Sendmail flag to put in the envelope address if you have multiple aliases to a mailbox that you want to see. Accepting mail from a particular host should be done even before the mail delivery starts. Don't know what your talking about here. Second: If you know postfix, you also know that header filtering is independent of other checks, even the result of filtering on individual header lines are independent. So the ideal you mention is not an option until a complete public list of authorized mail servers is available and all mail relayed through these requires authentication. I don't know Postfix. So what your saying is Postfix is so defective that you can't use it for filtering? No wonder I never bothered to deal with it. And, this isn't true anyway. You can easily tell with a little sleuthing what all of the mail emitters are for the FreeBSD mailing lists. Many mailing list managers, in fact, go to the trouble of posting publically what their mailservers are. And if the transmitting domain really has their shit together, they will have published SPF records in their DNS that will tell you what the authorized mailservers for that domain are. Sendmail has an SPF milter and I believe Spamassassin can also use these for weighting. (I'm too lazy to check for sure right now) Or do you have the solution that does not imply accepting any of a myriad of character sets? I'd be happy to implement that, but I don't want to open my mail server to receive mail I have no means of reading and understanding just because it is RFC compliant. You open your mailserver to known, whitelisted, legitimate sending servers, and let everyone else deal with the charset filtering. You know your going to accept mail from freebsd.org (or you tell your users to tell you if they are) and you exempt these servers from filtering. You have no right to force other people to conform to what you feel is acceptable formatting of their message as long as they meet the SMTP rfc standards. That's why we have RFC's. You you know perfectly well that content filtering is not based on the RFC's on SMTP but rather on the Internet Message Format and various RFC's on MIME - but I assume that you meant to refer to these. content filtering and message charsets aren't the same thing. A content filter checks for Make Money FAST and other obvious spam content. You don't like Viagra? That's a content filter that takes care of that. However, marking a non-spam message as spam soley because it's written in another language that you don't read - that's not a content filter. There's nothing in the content of that message that is spam. Thus you have no moral right to force mailing list users to conform to a specific language. Certainly, you can say I don't know Spanish so I will just setup a filter to delete anything I get written in Spanish but your crossing the line when you start telling people they can't post Spanish to a mailing list. Basically what you say here is that spammers have every right to flood mail servers as long as they do so compliant with the RFC's? I'm saying that you don't have the right to force other people to modify their content on messages that AREN'T spam just because your spam filters are too piss-poor to differentiate between an Asian charset message that is spam, and an Asian charset message that is a legitimate message. I don't force anyone to conform to any arbitrary standards that I decide upon, but I have every legitimate right to reject anything that doesn't conform to my arbitrary standards. No argument there - but your crossing the line (or the other poster is crossing the line)
SATA Raid controller.
Hello, Can someone give me an advice about good sata raid controller? I'd like have RAID 5. I thinking about buying RAID INTEL SRCS28X Serial ATA II Have someone this controller? How this work with RELENG_6? Thank you for any advice. Regards Arek -- UNIX is like a wigwam: no windows, no gates, apache inside. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SATA Raid controller.
On 10/17/06, Arek [EMAIL PROTECTED] wrote: Hello, Can someone give me an advice about good sata raid controller? I'd like have RAID 5. I thinking about buying RAID INTEL SRCS28X Serial ATA II Have someone this controller? How this work with RELENG_6? Thank you for any advice. Regards Arek 3ware and Areca come highly recommended by most. Have a look in the hardware list on the FreeBSD website for a list of Areca and 3ware models that are supported. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Non English Spam
Ted Mittelstaedt wrote: Spammers cannot forge the Received header that your own mailserver puts into the received message. The first Received line of the message is always legitimate. Please read my reply to Ian, who commented exactly the same. The Recieved headers are useless for filtering. Accepting mail from a particular host should be done even before the mail delivery starts. Don't know what your talking about here. The first Received header line, which as you correctly mention is (the only) reliable, is inserted by your own server based on the info from the establishing connection and HELO command. In this case you can decide to accept or reject the mail before accepting the DATA. This is more efficient as you don't waste bandwidth receiving data you will later reject. Also this means that later filtering on the first Received field is double work: You already accepted the mail based on that information. In short: Writing header filtering rules for the Received field is simply waste of time and proof of inefficiency. Second: If you know postfix, you also know that header filtering is independent of other checks, even the result of filtering on individual header lines are independent. I don't know Postfix. So what your saying is Postfix is so defective that you can't use it for filtering? No wonder I never bothered to deal with it. Just as Sendmail, Postfix is not designed for spam filtering. Postfix provides simple filtering mechanisms, keeping it simple postfix provides an effective and reliable MTA that doesn't suffer the track record of security bugs Sendmail does. When the native filters does not suffice you can combine with any number of policy services: External filtering mechanisms such as postgrey, spam assassin etc. This design is clean, reliable and easy to manage. I mentioned a solution using the mechanisms supported natively by postfix. OP had problems that spam assassin and procmail did not catch these mails. Basically what you say here is that spammers have every right to flood mail servers as long as they do so compliant with the RFC's? I'm saying that you don't have the right to force other people to modify their content on messages that AREN'T spam just because your spam filters are too piss-poor to differentiate between an Asian charset message that is spam, and an Asian charset message that is a legitimate message. Call it piss-poor, but it is very effective, and simple to implement. If you have an effective alternative please do share. OP requested a way to filter away the spam in foreign character sets because for some reason these were not caught by Spam Assassin or procmail. I gave a solution that solves that problem, and I mentioned the problem of false negatives for this list. Rather than get pissed, do try to offer an alternative solution to a real problem. I don't force anyone to conform to any arbitrary standards that I decide upon, but I have every legitimate right to reject anything that doesn't conform to my arbitrary standards. No argument there - but your crossing the line (or the other poster is crossing the line) when your talking about telling list subscribers to change charsets when they post. I think you misread my original post. I brought up the issue exactly because filtering on charsets causes false positives whichever way you do it. I don't have a particular desire to throw away legitimate mail, in fact I'd like to solve that problem (and I think OP want that too), but so far you have not contributed with a working alternative. I asked politely if there were any consensus or best practices etc. on this issue. You have the regular mail on how to get the best results there are recommendations on how to use this list, they are not enforced but only serve as guidelines. I don't try to force people to use particular character sets, I merely ask whether such recommendation exist for the best results when using the list, in which case filtering on charsets may be the least imperfect solution (until you share your perfect filter, that is). Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Acroread not working
Hello Michael, Thank for writing back. On 10/16/06, Michael S [EMAIL PROTECTED] wrote: My setup is quite similar: linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary linux-aspell-0.50.4.1_1 Spelling checker with better logic than ispell (linux versi linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-flashplugin-7.0r63_1 Adobe Flash Player NPAPI Plugin linux-fontconfig-2.2.3_5 Linux/i386 binary of Fontconfig linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary linux-jpeg-6b.34RPM of the JPEG lib linux-openmotif-2.2.4_2 Motif toolkit Linux libraries linux-pango-1.8.1 Linux pango binary linux-png-1.2.8_2 RPM of the PNG lib linux-realplayer-10.0.7.785.20060201 Linux RealPlayer 10 from RealNetworks linux-tiff-3.7.1TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_8 Base set of packages needed in Linux mode (for i386/amd64) linuxpluginwrapper-20051113_4 A wrapper allowing use of linux-plugins with native applica linuxthreads-2.2.3_21 POSIX pthreads implementation using rfork to generate kerne I am running 5.5 on this machine though. And linux compatibility is enabled I assume? Yeh!! I am just running xorg and not XFree86. Do you think I need to install XFree86? Also I installed acroread from the ports. Should not it fetch all the dependancies? Regarding linux compatibility: [EMAIL PROTECTED] ~]$ cat /etc/rc.conf | grep linux linux_enable=YES So, yes, its enabled. Thanks for replying back. Best Regards Subhro -- Subhro Kar Security Engineer iViZ Techno Solutions Pvt. Ltd. Dhanshree Bldg, 1st Floor Plot XI-16, Sector V Salt Lake City 700091 India ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam trouble
Actually, on my system I can do mount_udf /dev/acd0 and copy a 3GB file, I just tried. My problem is adding CAM support, which the handbook tells me I have to use to burn dvd. johan I'm unable to copy a file from a udf-mounted DVD regardless of whether atapicam is loaded or not, so I'm not sure if atapicam is just making a problem more apparent or what. Are you able to do so? Thanks, Josh On 10/16/06, Johan Johansen [EMAIL PROTECTED] wrote: I still have the same problem as below, even when running 6.2-BETA2 from a FreeSBIE - cd. I wonder if this could have to do with badly supportet motherboard, ASUS P5B, since I dont see any temp-readings with sysctl. cpuTemp and MBTemp are displayed under bios-config. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with Portsnap Update
I encountered this immediately after running 'portsnap' this moring: /usr/sbin/pkg_version -vIL= py25-tkinter-2.5_1 succeeds index (index has 2.4.3_1) python-2.5 needs updating (index has 2.4.3,1) python24-2.4.3_2 needs updating (index has 2.4.3_3) python25-2.5 'python-2.5' does not even appear to exist in the ports tree. 'py25-tkinter-2.5_1' also seems to have a problem. Is there something wrong with this mornings portsnap update? -- Gerard GMail: Home of AOL retreads! ___ 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 Portsnap Update
On 17/10/06, Gerard Seibert [EMAIL PROTECTED] wrote: I encountered this immediately after running 'portsnap' this moring: /usr/sbin/pkg_version -vIL= py25-tkinter-2.5_1 succeeds index (index has 2.4.3_1) python-2.5 needs updating (index has 2.4.3,1) python24-2.4.3_2 needs updating (index has 2.4.3_3) python25-2.5 'python-2.5' does not even appear to exist in the ports tree. Doesn't python-2.5 live under lang/python25 or has it been removed from the ports tree? (Hopefully that doesn't sound like a rephrasing of your question) 'py25-tkinter-2.5_1' also seems to have a problem. Is there something wrong with this mornings portsnap update? The problem could come from the downgrading of lang/python back to 2.4 after some problems were found with the 2.5 import. I've not seen any instructions in /usr/ports/UPDATING for those people that upgraded to python-2.5 before the change was reversed. What would be the best course of action? (I force-upgraded all the ports that were depending upon lang/python because I'm crazy and have loads of time on my hands). Al -- WWW: http://ajs.no-dns-yet.org.uk GPG/PGP: http://ajs.no-dns-yet.org.uk/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
yeah the ports make me fell in love with FreeBSD, the only thing that came close to FreeBSD ports is the gentoo portage, note came close but not really at par. yeah, portage wasn't bad, but it wasn't as clean as ports either. More errors, more fixing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail with SpamAssassin and ClamAV
Hello, I have installed spamassassin and clamav and created myhost.mc file from which myhost.cf is generated. In myhost.cf now I have: # Input mail filters O InputMailFilters=clmilter,spamassassin Xspamassassin, S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m Xclmilter, S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m However on startup I get the following error: Starting clamav_milter. /usr/local/sbin/clamav-milter: socket-addr (/var/run/clamav/clmilter.sock) doesn't agree with sendmail.cf Do I need to edit sendmail.cf as well? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing Oracle Client 10g on FreeBSD
On Tue, 17 Oct 2006 00:00:57 +0200 Martin Hudec wrote: Vladimir Terziev wrote: I'll be very thankful if you provide working instructions how to intermix FreeBSD and Linux libraries. Thanks in advance! I sense bit of irony here, but I hope I just have wrong feeling :). Mixing BSD and Linux libs? Well - what do you say on using native Firefox with linux flash plugin? Works too. I will try to do it, and let's hope I'll be able to get oracle connection to test simple perl script as without it I am bit lost (I used only client stuff, not full oracle database). Just a note: you can't mix FreeBSD and linux libraries at one application. Those processes may interact via stdin/stdout, sockets etc. just fine. But if you try to mix _libraries_ you'll get EFF OS ABI errors. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing Oracle Client 10g on FreeBSD
No irony, i was serious! According to my experience, Boris is right, that's way i was serious. Using flash plugin with native Firefox is based on flashplugin-wrapper. As i know there is no such wrapper for Oracle Linux instantclient, that's way i'm interested to know a new solution, if any. Vladimir On Tue, 17 Oct 2006 09:44:56 +0400 Boris Samorodov [EMAIL PROTECTED] wrote: On Tue, 17 Oct 2006 00:00:57 +0200 Martin Hudec wrote: Vladimir Terziev wrote: I'll be very thankful if you provide working instructions how to intermix FreeBSD and Linux libraries. Thanks in advance! I sense bit of irony here, but I hope I just have wrong feeling :). Mixing BSD and Linux libs? Well - what do you say on using native Firefox with linux flash plugin? Works too. I will try to do it, and let's hope I'll be able to get oracle connection to test simple perl script as without it I am bit lost (I used only client stuff, not full oracle database). Just a note: you can't mix FreeBSD and linux libraries at one application. Those processes may interact via stdin/stdout, sockets etc. just fine. But if you try to mix _libraries_ you'll get EFF OS ABI errors. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam trouble
On Tuesday 17 October 2006 05:47, Johan Johansen wrote: Actually, on my system I can do mount_udf /dev/acd0 and copy a 3GB file, I just tried. My problem is adding CAM support, which the handbook tells me I have to use to burn dvd. johan I'm unable to copy a file from a udf-mounted DVD regardless of whether atapicam is loaded or not, so I'm not sure if atapicam is just making a problem more apparent or what. Are you able to do so? Thanks, Josh On 10/16/06, Johan Johansen [EMAIL PROTECTED] wrote: I still have the same problem as below, even when running 6.2-BETA2 from a FreeSBIE - cd. I wonder if this could have to do with badly supportet motherboard, ASUS P5B, since I dont see any temp-readings with sysctl. cpuTemp and MBTemp are displayed under bios-config. ___ Look in /boot/kernel and see if atapikam.ko is there. It should be. If it is, you can use 'atapicam_load=YES' in /boot/loader.conf to load atapicam at boot. You can use 'kldload atapicam.ko' to just load it while system is running to see if it works before going any further. You can use kldstat to varify that it's loaded. Below is the output of kldstat from one of my systems: # kldstat Id Refs AddressSize Name 1 15 0xc040 5cae28 kernel 21 0xc09cb000 59f4 snd_atiixp.ko 32 0xc09d1000 22b88sound.ko 41 0xc09f4000 4ae8 atapicam.ko 51 0xc09f9000 5a78 if_fwip.ko 61 0xc09ff000 59f00acpi.ko 72 0xc4f2f000 16000linux.ko 81 0xc504a000 2000 rtc.ko Hope this will help you guys a bit. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia on CURRENT...
On Tue, 17 Oct 2006 11:25:05 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On 10/17/06, Anders Troback [EMAIL PROTECTED] wrote: On Mon, 16 Oct 2006 15:31:15 +0100 Joao Barros [EMAIL PROTECTED] wrote: On 10/16/06, Anders Troback [EMAIL PROTECTED] wrote: Hi, X can't use the nvidia module and kldunload nvidia causes: Fatal trap 12: page fault while in kernel mode. Any ideas? Thanks!!! PS. CURRENT cvsuped 6 hours ago! Try recompiling the nvidia module. When recompiling a new kernel version always remind yourself to recompile the nvidia driver aswell :) Thanks but I did remember that this time:-) More ideas? I have it working fine on my current. Have you disabled agp in kernel config? No, should I? Running on GENERIC! -- Anders Trobäck http://www.troback.com/ Windows: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming, or what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bittorrent consuming 100% cpu
I'd recommend transmission. You can get the source from http://transmission.m0k.org/. You can configure it for console use with ./configure --disable-gtk gmake. It needs GNU make, BSD make won't work. Uses very little resources as it's written in C, so your python port won't matter. On 10/16/06, Matthew Rench [EMAIL PROTECTED] wrote: Hello, Due to the recent security advisor, I upgraded my python port. Foolishly, I managed to upgrade from version 2.4 to 2.5, which forced me to also upgrade my bittorrent port (from version 3.x to 4.20.2_1,1). Unfortunately, I now find that the bittorrent console app (/usr/local/bin/bittorrent-console) now consumes 100% of my CPU, according to top. I am quite sure that even 5-10 instances of the previous version did not together use this much CPU. So, I ktrace'd a running copy of bittorrent, and found the following, repeated more or less continually: 493 python 1161045605.243985 CALL poll(0x8138000,0x5,0xe) 493 python 1161045605.272699 RET poll 0 493 python 1161045605.272750 CALL gettimeofday(0x281dd788,0) 493 python 1161045605.272783 RET gettimeofday 0 493 python 1161045605.273029 CALL gettimeofday(0xbfbfec94,0) 493 python 1161045605.273097 RET gettimeofday 0 493 python 1161045605.273865 CALL gettimeofday(0xbfbfdf34,0) 493 python 1161045605.273955 RET gettimeofday 0 493 python 1161045605.274837 CALL gettimeofday(0xbfbfe014,0) 493 python 1161045605.274920 RET gettimeofday 0 493 python 1161045605.275304 CALL gettimeofday(0xbfbfdd14,0) 493 python 1161045605.275375 RET gettimeofday 0 493 python 1161045605.276452 CALL gettimeofday(0xbfbfec94,0) 493 python 1161045605.276543 RET gettimeofday 0 493 python 1161045605.276758 CALL poll(0x87ede20,0x3,0) 493 python 1161045605.276845 RET poll 0 493 python 1161045605.276909 CALL poll(0x8138000,0x4,0) 493 python 1161045605.276956 RET poll 0 493 python 1161045605.276998 CALL poll(0x8138000,0x5,0x14) 493 python 1161045605.302720 RET poll 0 Since I don't know much about python, I'm at a loss to explain this. Has anyone else had similar issues with newer versions of bittorrent? Is there a different client I should be using? mdr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I'm nerdy in the extreme and whiter than sour cream ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mimedefang with LDAP-enabled sendmail
On Monday 16 October 2006 16:54, Jonathan McKeown wrote: On Sunday 15 October 2006 22:19, Jonathan McKeown wrote: sendmail -d0.1 -bt /dev/null gives me Version 8.13.6 Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB USE_LDAP_INIT XDEBUG When I try to build and install mail/mimedefang from ports (version is 2.57), I get (modulo wrapping) cc -O2 -fno-strict-aliasing -pipe -pthread -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o /usr/lib/libmilter.a -lpthread /usr/lib/libmilter.a(errstring.o)(.text+0xd6): In function `sm_errstring': : undefined reference to `ldap_err2string' The undefined reference is apparently in libmilter.a and it seems (Google again) that the ldap_err2string symbol comes from the openldap library. Is it possible that the build of libmilter is not picking up libldap from /usr/local/lib? OK, this seems to be the same problem that was reported in (at least) PR ports/95646 http://www.freebsd.org/cgi/query-pr.cgi?pr=95646 and PR ports/95647 (both ports which would not build with an LDAP-enabled core sendmail). The solution proposed in ports/95646 was to make the various Sendmail LDAP options in /etc/make.conf invisible to libmilter. This certainly works - it prevents a build of libmilter passing the LDAP flags through to libsm at this line in the build of /usr/src/lib/libmilter: cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libmilter/../../contrib/sendmail/src -I/usr/src/lib/libmilter/../../contrib/sendmail/include -I. -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_THREAD_SAFE -DNETINET6 -I/usr/local/include -DSASL=2 -c /usr/src/lib/libmilter/../../contrib/sendmail/libsm/errstring.c libsm/errstring.c refers to ldap_err2string in a conditional testing on LDAPMAP. ldap_err2string is declared in the #included /usr/local/lib/ldap.h. (I didn't search for where it's defined). It looks as though the problem is less with ports, and more with a subtle breakage of the core sendmail when built with LDAP - specifically in building libsm/errstring.c as part of the libmilter build. Is pretending that LDAPMAP is not set while compiling libmilter the right solution? Should the necessary changes to /etc/make.conf be documented somewhere or even automated in some way? I have spent five days trying to solve this. I have rewritten my /etc/make.conf as follows: WANT_OPENLDAP_SASL=true SENDMAIL_CFLAGS = -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS = -L/usr/local/lib SENDMAIL_LDADD = -lsasl2 .if ${.CURDIR} != /usr/src/lib/libmilter SENDMAIL_CFLAGS += -DLDAPMAP SENDMAIL_LDADD += -lldap -llber .endif This works but it Just Feels Wrong. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automated installations
Hello FreeBSD fans, I am in search of an tool for automated installations. SOmething like Kickstart or Autoyast for Linux - just the BSD-able version ;-) Is anybody aware of such a tool that I perhaps overlooked or anybody perhaps currently developing one ? Best regards Nils Valentin Well, there are already a sysinstall and GUI-Sysinstall is on it's way. Also, there are such things like PC-BSD and DesktopBSD. While PC-BSD is kind of fork (with it's pbi subsystem), DesktopBSD is just preconfigured FreeBSD with nice graphical user-friendly installer and some additional soft like graphical pakage manager, wi-fi network configurator, user-mounting GUI tool and so on. Maybe you should try DesktopBSD? Best regards, Bachilo Dmitry. www.allunix.ru - Russian UNIX portal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: python-mode in emacs
On 2006-10-17 02:20, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: cpghost wrote: Well, it doesn't cause any harm to add to your ~/.emacs ;; Add python-mode (autoload 'python-mode python-mode Python editing mode. t) (setq auto-mode-alist (cons '(\\.py$ . python-mode) auto-mode-alist)) (add-hook 'python-mode-hook 'turn-on-font-lock) Are there any way to get emacs to automatically read files in this directory? Am I missing something? Shouldn't the ports system by default be setup in a way that this would work? I don't know. But having Emacs auto-load every mode from there doesn't seem a good idea. And the port can't do that either, since it's a per-user decision. I wasn't suggesting emacs autoload every mode, but rather that emacs simply read the files, and offer me the choice of using modes defines in such files. E.g. do the same as $emacs -l /usr/local/share/emacs/site-lisp/python-mode.el If I start emacs by just typing emacs, and then use esc-x python-mode is not an option. However, If I use the -l option, python-mode is not automatically loaded, but emacs will then offer me the option of loading it later. Your suggested additions to my .emacs file, seems to work, though. The newer versions of GNU Emacs include `python-mode' in the core Emacs distribution, so you might want to try the editors/emacs-devel port :) The distfiles of this port are generated from CVS snapshots of Emacs 22.X, which is going to be the next release of GNU Emacs. This version of Emacs still has a few rough edges (i.e. the GTK+ UI crashes on FreeBSD 7.0-CURRENT), but it has worked remarkably well for several months here. If you give it a try, please let me know, as all the testing we can get is nice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash Plugin not working
Hello Michael, Thanks for the info. This is just for the help of others. The commands present there helped me and flash is currently working fine for me. Thanks Subhro On 10/16/06, Michael S [EMAIL PROTECTED] wrote: I followed the link below (just executed the commands, I can't read Portuguese) and everything worked fine. http://www.unixlike.com.br/?p=%2081 --- Subhro [EMAIL PROTECTED] wrote: Hello, I am running FreeBSD 6.2-PRERELEASE on i386 hardware. I have installed linux-firefox and linux-flashplugin from the ports collection. The same is iterated by pkg_info. [EMAIL PROTECTED] ~]$ pkg_info | grep flash linux-flashplugin-7.0r68 Adobe Flash Player NPAPI Plugin [EMAIL PROTECTED] ~]$ linux-firefox [EMAIL PROTECTED] ~]$ pkg_info | grep firefox firefox-1.5.0.7,1 Web browser based on the browser portion of Mozilla linux-firefox-1.5.0.7 Web browser based on the browser portion of Mozilla However when I am trying to open any sites from linux-firefox, the embedded flash applications are not displayed. Also the browser complains about missing plugin. I have checked the installed plugins by typing about:plugins. But there is no flash plugin displayed there either. Where am I going wrong? Thanks and Best Regards Subhro -- Subhro Kar Security Engineer iViZ Techno Solutions Pvt. Ltd. Dhanshree Bldg, 1st Floor Plot XI-16, Sector V Salt Lake City 700091 India ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Subhro Kar Security Engineer iViZ Techno Solutions Pvt. Ltd. Dhanshree Bldg, 1st Floor Plot XI-16, Sector V Salt Lake City 700091 India ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is nForce5 supported?
Hi, I was wondering if anyone could please tell me whether the nForce5 series chipsets is going to be supported in FreeBSD in the near future? Thanks _ Thousands of jobs, millions of opportunities at seek.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau_t=757263760_r=Hotmail_EndText_Oct06_m=EXT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing and upgrading ports
I'm confused - what is sort of the consensus pick for best port tool? Usually, I just cd /usr/ports// and do a 'make install clean', but I've also tried portmanager and portupgrade, but I'm not sure when to prefer one to another. Should I stick with one? Will mixing matching confuse things? portupgrade seems to take a lot longer than portmanager. And where does the pkgdb command fit in? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash Plugin not working
On Tue, 2006-10-17 at 18:07 +0530, Subhro wrote: Hello Michael, Thanks for the info. This is just for the help of others. The commands present there helped me and flash is currently working fine for me. Thanks Subhro On 10/16/06, Michael S [EMAIL PROTECTED] wrote: I followed the link below (just executed the commands, I can't read Portuguese) and everything worked fine. http://www.unixlike.com.br/?p=%2081 --- Subhro [EMAIL PROTECTED] wrote: Hello, I am running FreeBSD 6.2-PRERELEASE on i386 hardware. I have installed linux-firefox and linux-flashplugin from the ports collection. The same is iterated by pkg_info. [EMAIL PROTECTED] ~]$ pkg_info | grep flash linux-flashplugin-7.0r68 Adobe Flash Player NPAPI Plugin [EMAIL PROTECTED] ~]$ linux-firefox [EMAIL PROTECTED] ~]$ pkg_info | grep firefox firefox-1.5.0.7,1 Web browser based on the browser portion of Mozilla linux-firefox-1.5.0.7 Web browser based on the browser portion of Mozilla However when I am trying to open any sites from linux-firefox, the embedded flash applications are not displayed. Also the browser complains about missing plugin. I have checked the installed plugins by typing about:plugins. But there is no flash plugin displayed there either. Where am I going wrong? Thanks and Best Regards Subhro I think it was Chris Hobbs who was nice enough to translate to english: http://altbit.org/pseudorandom/unixlike_translation.txt fwiw, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Acroread not working
On Mon, 16 Oct 2006 10:13:56 -0400 (EDT) Michael S wrote: My setup is quite similar: linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, ^^^ Linux binary linux-aspell-0.50.4.1_1 Spelling checker with better logic than ispell (linux versi linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-flashplugin-7.0r63_1 Adobe Flash Player NPAPI Plugin linux-fontconfig-2.2.3_5 Linux/i386 binary of Fontconfig linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary linux-jpeg-6b.34RPM of the JPEG lib linux-openmotif-2.2.4_2 Motif toolkit Linux libraries linux-pango-1.8.1 Linux pango binary linux-png-1.2.8_2 RPM of the PNG lib linux-realplayer-10.0.7.785.20060201 Linux RealPlayer 10 from RealNetworks linux-tiff-3.7.1TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries ^^^ linux_base-fc-4_8 Base set of packages needed in Linux mode (for i386/amd64) linuxpluginwrapper-20051113_4 A wrapper allowing use of linux-plugins with native applica linuxthreads-2.2.3_21 POSIX pthreads implementation using rfork to generate kerne Those packages/ports should be installed both. They install files with same names. If you try to uninstall one of them it'll delete files from another. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia on CURRENT...
Anders Troback wrote: On Tue, 17 Oct 2006 11:25:05 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: I have it working fine on my current. Have you disabled agp in kernel config? No, should I? Running on GENERIC! It's a little easier to try it out by putting this line into /boot/device.hints: hint.agp.0.disabled=1 -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem updating mplayer
When I tried portupgrade mplayer it failed with the following message == mplayer-0.99.8_5 depends on file: /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 - not found ===Verifying reinstall for /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 in /usr/ports/multimedia/win32-codecs === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 What can be done to solve this problem sincerely Filippo PS 6.1-STABLE o i386 arch ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On 2006-10-16 10:45, Simon Gao [EMAIL PROTECTED] wrote: I have a few FreeBSD machine from 4.x to 5.x. I have asked people how to upgrade them to latest version 6.x cleanly. All I was told is that I need to wipe them out and reinstall. However, this is not the case with Gentoo Linux. With Gentoo, version release does not matter that much, you can always keep your system up to date if you like. 'Clean' upgrades can be done with FreeBSD too. I have installed machines with 4.7-RELEASE and then upgraded them to 5.X, 6.X and finally 7.0-CURRENT a few times. It's not easier (or faster) than a straight installation of a 7.0-CURRENT snapshot from `ftp.FreeBSD.org', but it's certainly possible. Linux supports more devices than FreeBSD, especially new devices. This is probably true. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: python-mode in emacs
On 2006-10-17 00:21, Alex Zbyslaw [EMAIL PROTECTED] wrote: Svein Halvor Halvorsen wrote: Emacs doesn't seem to load files in /usr/local/share/emacs/site-lisp installed by ports. [...] In emacs do ESC-x describe-variable load-path which tells you where emacs is looking. Mine is (/usr/local/share/emacs/21.3/site-lisp /usr/local/share/emacs/site-lisp /usr/local/share/emacs/21.3/leim /usr/local/share/emacs/21.3/lisp /usr/local/share/emacs/21.3/lisp/toolbar /usr/local/share/emacs/21.3/lisp/textmodes /usr/local/share/emacs/21.3/lisp/progmodes /usr/local/share/emacs/21.3/lisp/play /usr/local/share/emacs/21.3/lisp/obsolete /usr/local/share/emacs/21.3/lisp/net /usr/local/share/emacs/21.3/lisp/mail /usr/local/share/emacs/21.3/lisp/language /usr/local/share/emacs/21.3/lisp/international /usr/local/share/emacs/21.3/lisp/gnus /usr/local/share/emacs/21.3/lisp/eshell /usr/local/share/emacs/21.3/lisp/emulation /usr/local/share/emacs/21.3/lisp/emacs-lisp /usr/local/share/emacs/21.3/lisp/calendar) and as you can see second entry is /usr/local/share/emacs/site-lisp Assuming it is missing for you, then you could add something like this to your .emacs (set-variable 'load-path (append '(/usr/local/share/emacs/site-lisp) load-path)) but that sticks it at the end, so anything there won't override defaults, which is not so good. FWIW, one way to add a path to the beginning of the `load-path' list is: (add-to-list 'load-path /usr/local/share/emacs/site-lisp) The `add-to-list' function can also append stuff to a list by: (add-to-list 'load-path /usr/local/share/emacs/site-lisp t) See the documentation of `add-to-list' for more details :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem updating mplayer
On Tue, 17 Oct 2006 15:32:25 +0200 Filippo Moretti [EMAIL PROTECTED] wrote: ===Verifying reinstall for /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 in /usr/ports/multimedia/win32-codecs === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 What can be done to solve this problem sincerely Hi Filippo, a) you can work with the win32-codecs team to solve the remote code execution vulnerability b) you can be brave, reckless and probably 0wn3d soon by disabling the vulnerability checks and upgrading anyway (dont know how to do this, sorry) c) you can keep the slightly older port but it seems it is still vulnerable: $ sudo portaudit [...] Affected package: win32-codecs-3.1.0.p8,1 Type of problem: win32-codecs -- multiple vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html d) you can uninstall win32-codecs :) other options may be available, but i can't think of them atm :) B _ {Beto|Norberto|Numard} Meijome RTFM and STFW before anything bad happens. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing and upgrading ports
On Tuesday October 17, 2006 at 08:47:27 (AM) Jonathan Arnold wrote: I'm confused - what is sort of the consensus pick for best port tool? Usually, I just cd /usr/ports// and do a 'make install clean', but I've also tried portmanager and portupgrade, but I'm not sure when to prefer one to another. Should I stick with one? Will mixing matching confuse things? portupgrade seems to take a lot longer than portmanager. And where does the pkgdb command fit in? You could always do a 'man pkgdb' to get information regarding that utility. As far as 'portmanager' vs portupgrade' go, I think that it really boils down to your own preference. I usually prefer 'portmanager'; however, I still use 'portupgrade' on occasion. There is no know problem that I am aware of that arises from using one and then the other on you system. If you really want to rebuild your system applications I feel that 'portmanager -f -u' probably does a more through job than 'portupgrade'; but again that is just my opinion. -- Gerard It is not the OS's job to stop you from shooting your foot. If you so choose to do so, then it is OS's job to deliver Mr. Bullet to Mr Foot in the most efficient way it knows. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Linux supports more devices than FreeBSD, especially new devices. --- Linux clearly supports many more bugs than FreeBSD as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Base sendmail: undefined symbol in libmilter when -DLDAPMAP set in make.conf
This summarises the conversation I have had with myself on the list over the last few days: I'm not sure whether this is really a question or a potential PR. I am running FreeBSD-6.1-RELEASE-p5 (cvsup on 6 September). One of the source files for a rebuild of /usr/src/contrib/sendmail/libmilter is /usr/src/contrib/sendmail/libsm/errstring.c. If SENDMAIL_CFLAGS in /etc/make.conf contains -DLDAPMAP (and SENDMAIL_LDADD contains -lldap -llber) when libmilter is rebuilt, LDAPMAP enables a conditional compilation in errstring.c of a call to ldap_err2string. The resulting libmilter.a contains an undefined reference to that symbol, which prevents building some ports which use milters (at least mail/mimedefang as per my experience, mail/sentinel as per PR ports/95647 and security/amavisd-milter as per PR ports/95646). There is a suggested fix under ports/95646, which is to ensure that when building libmilter, the SENDMAIL_CFLAGS and SENDMAIL_LDADD do *not* contain -DLDAPMAP and -lldap -llber respectively. I have used the following in /etc/make.conf to do this: SENDMAIL_CFLAGS = -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS = -L/usr/local/lib SENDMAIL_LDADD = -lsasl2 .if ${.CURDIR} != /usr/src/lib/libmilter SENDMAIL_CFLAGS += -DLDAPMAP SENDMAIL_LDADD += -lldap -llber .endif It appears to work but it does seem... less than elegant. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: build minimum freebsd from make world
Tang Ho Yim [EMAIL PROTECTED] writes: Thanks Gilbert, So, anyone can make some DOC about this ? Go ahead. Lowell Gilbert [EMAIL PROTECTED] wrote: Tang Ho Yim writes: I have already install the minimum FreeBSD 6.1. Now, I would like to know how can I build install the same minimum FreeBSD 6.1 from make world ? I think that NODOC is enough to do it these days. Even that is usually only worthwhile for an expert tuning a pared-down system, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice for amd64
Stroganov A. V. [EMAIL PROTECTED] writes: Hello I've FreeBSD 6.2 prerelease for amd64. When i start OOo, which i installed using package from Good-Day, these messages are printed: /libexec/ld-elf.so.1: Shared object libstdc++.so.6 not found, required by javaldx /libexec/ld-elf.so.1: Shared object libstdc++.so.6 not found, required by pagein /libexec/ld-elf.so.1: Shared object libstdc++.so.6 not found, required by soffice.bin Could you help? You have a package compiled for 7.x. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Jeff Mohler writes: Linux supports more devices than FreeBSD, especially new devices. Linux clearly supports many more bugs than FreeBSD as well. Linux is closer to the bleeding edge; always remember that blood will usually be yours. 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: kldunload -f has no effect
[LoN]Kamikaze [EMAIL PROTECTED] writes: I need to 'kldunload -f drm' in order to go into suspend to ram with my thinkpad (suspend works fine with dri disabled). Unfortunately, despite the claims of the manpage the '-f' flag does not alter the behaviour of the kldunload tool. How do I get drm unloaded? Revisit your assumptions. [The -f flag gets passed to the module being unloaded, which can still refuse to unload if it needs to. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On Tue, 17 Oct 2006 08:13:05 -0700, Jeff Mohler wrote Linux supports more devices than FreeBSD, especially new devices. --- Linux clearly supports many more bugs than FreeBSD as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions In one word... stability. Seriously, it's matured better than linux. Based on a codebase tested and depended upon for a lot longer than linux has been around. BSD is here to stay, even if linux is becoming more mainstream. Simply because it works, and has worked for years and years. FreeBSD is an entire operating system. The 'commands' you run (ie: shells, tar, disk utilities, filesystems, etc) are all bundled in the same code as one offering. Linux is a kernel, and a filesystem - each individual distribution therefore consisting of the kernel and various (mostly third- party/gnu) utilities to make up an O/S. Since there's no real central 'standard' set of utilities, each distribution varies not only in what it supports, how it works, but also where and how everything is configured from the install. FreeBSD on the other hand, stays tride and true with the same structure and only minimal variances (ie: sysinstall moved from /stand to /usr/sbin in version 6). On a more personal note, I prefer *BSD to linux because of the simplicity; too many variances between different linux distributions. With linux everyone and their brother has a different distribution out there; differing releases move configuration files to different places, each vendor makes their own package management, etc. I know the same could be argued about FreeBSD vs OpenBSD vs NetBSD, etc... but it's been my experience that linux has no real standard that all distros follow where *BSD does in terms of the userland, and let's face it - the userland is what we all have to work/live with the most. (just my two cents) -- Nathan Vidican [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: Installing and upgrading ports
Gerard Seibert wrote: On Tuesday October 17, 2006 at 08:47:27 (AM) Jonathan Arnold wrote: I'm confused - what is sort of the consensus pick for best port tool? Usually, I just cd /usr/ports// and do a 'make install clean', but I've also tried portmanager and portupgrade, but I'm not sure when to prefer one to another. Should I stick with one? Will mixing matching confuse things? portupgrade seems to take a lot longer than portmanager. And where does the pkgdb command fit in? You could always do a 'man pkgdb' to get information regarding that utility. As far as 'portmanager' vs portupgrade' go, I think that it really boils down to your own preference. I usually prefer 'portmanager'; however, I still use 'portupgrade' on occasion. There is no know problem that I am aware of that arises from using one and then the other on you system. If you really want to rebuild your system applications I feel that 'portmanager -f -u' probably does a more through job than 'portupgrade'; but again that is just my opinion. i find portmaster all. give it a whirl. No dependencies, its actively maintained, etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kldunload -f has no effect
Hi Kamikaze, On 10/16/06, [LoN]Kamikaze [EMAIL PROTECTED] wrote: I need to 'kldunload -f drm' in order to go into suspend to ram with my thinkpad (suspend works fine with dri disabled). Unfortunately, despite the claims of the manpage the '-f' flag does not alter the behaviour of the kldunload tool. How do I get drm unloaded? are you sure you drm is loaded as a module instead of compiled into your kernel? regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Jim Stapleton wrote: yeah the ports make me fell in love with FreeBSD, the only thing that came close to FreeBSD ports is the gentoo portage, note came close but not really at par. yeah, portage wasn't bad, but it wasn't as clean as ports either. More errors, more fixing. That's primarily because Gentoo is about the most bleeding edge you can get in the opensource OS 'market'. FBSD ports tend to be more tested and lag behind Gentoo portage quite a bit or do not offer some software packages that are available in FBSD. Also, I'm not sure when you guys tried Gentoo, but as of late (within the past ~1 year), the quality of the packages and system as an OS has improved quite a bit, in the sense that many stable items now install and work properly in the OS. Another off-topic comment I admit, but I thought it should be mentioned... I'd like to see portage in FBSD though, since ruby is pretty kludgy. Either that or a different means of recording package data and dependencies (been thinking of Perl for a while..). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Robert Huff wrote: Jeff Mohler writes: Linux supports more devices than FreeBSD, especially new devices. Linux clearly supports many more bugs than FreeBSD as well. Linux is closer to the bleeding edge; always remember that blood will usually be yours. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] With Gentoo, installing and upgrading to the most up-to-date packages is a choice up to end users. Gentoo is all about choice. One can definitely choose to use packages a few years behind. Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Also, I'm not sure when you guys tried Gentoo, but as of late (within the past ~1 year), the quality of the packages and system as an OS has improved quite a bit, in the sense that many stable items now install and work properly in the OS. Another off-topic comment I admit, but I thought it should be mentioned... I've been trying to deal with it for the past two months, on and off. OpenOffice would not compile, Xorg took a lot of tweaking and a few attempts, and a few other programs provided a bit of challange. Only KDE went more smoothly than it did in FBSD. I'd like to see portage in FBSD though, since ruby is pretty kludgy. Either that or a different means of recording package data and dependencies (been thinking of Perl for a while..). Where does Ruby fit into this? To my knowledge, ports uses Perl to my knowledge, and Portage uses Python. And while I wouldn't mind a few of the portage features, such as about 10k more packages, and a few of the interface/display options, I'd still rather use FBSD any day. -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Nathan Vidican wrote: In one word... stability. Seriously, it's matured better than linux. Based on a codebase tested and depended upon for a lot longer than linux has been around. BSD is here to stay, even if linux is becoming more mainstream. Simply because it works, and has worked for years and years. Probably true. FreeBSD is an entire operating system. The 'commands' you run (ie: shells, tar, disk utilities, filesystems, etc) are all bundled in the same code as one offering. Linux is a kernel, and a filesystem - each individual distribution therefore consisting of the kernel and various (mostly third- party/gnu) utilities to make up an O/S. Since there's no real central 'standard' set of utilities, each distribution varies not only in what it supports, how it works, but also where and how everything is configured from the install. FreeBSD on the other hand, stays tride and true with the same structure and only minimal variances (ie: sysinstall moved from /stand to /usr/sbin in version 6). Linux is all about choice. Yes, there is no single filesystem to stick with Linux. You have ext2/ext3, reiserfs, jfs, xfs you can use. However, each filesystem has its own advantages and disadvantages. Depending on what's needed, one can have different filesystems on one machine. If one looks for a whole OS, Solaris, AIX, OSX, or even Windows will work better at least you do not have to worry about device support problem. Even though there are many Linux distributions, but Linux core pacakges are the mostly the same. The differences are mainly in window manager and GUI applications. No matter which Linux distribution, kernel 2.6.16 is always the same. When it comes to X window, it's xorg across the board. On a more personal note, I prefer *BSD to linux because of the simplicity; too many variances between different linux distributions. With linux everyone and their brother has a different distribution out there; differing releases move configuration files to different places, each vendor makes their own package management, etc. I know the same could be argued about FreeBSD vs OpenBSD vs NetBSD, etc... but it's been my experience that linux has no real standard that all distros follow where *BSD does in terms of the userland, and let's face it - the userland is what we all have to work/live with the most. (just my two cents) -- Nathan Vidican [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: What's so compelling about FreeBSD?
On Tue, Oct 17, 2006 at 09:19:27AM -0700, Garrett Cooper wrote: I'd like to see portage in FBSD though, since ruby is pretty kludgy. You'd like to port a knockoff of ports to a system that has ports? (also, not sure what you're referring to with your 'ruby' comment.) In my experience, people develop on Linux and Linux distributions more, just because it's the current `popular' system. FreeBSD is still (imo) better, though, despite its smaller following. -- Raymond Pasco [EMAIL PROTECTED] Mobile: +1 860 335 5022 (SMS only please) Our name is Legion, for we are many. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kldunload -f has no effect
[EMAIL PROTECTED] wrote: Hi Kamikaze, On 10/16/06, [LoN]Kamikaze [EMAIL PROTECTED] wrote: I need to 'kldunload -f drm' in order to go into suspend to ram with my thinkpad (suspend works fine with dri disabled). Unfortunately, despite the claims of the manpage the '-f' flag does not alter the behaviour of the kldunload tool. How do I get drm unloaded? are you sure you drm is loaded as a module instead of compiled into your kernel? Yes I'm certain, it's listed by kldstat after all. Also if I deactivate dri, it doesn't get loaded and I can suspend/resume just fine. If I suspend with dri enabled, the system resumes, but as soon as I switch back to X, X hangs (and shows random screen garbage). The rest of the system still works, though. I can ssh into the box and work on it, as if nothing happened. Only if I try to kill X, the whole system will stop responding. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On 15/10/06 23:26, William Tracy [EMAIL PROTECTED] wrote: Okay. I've installed FreeBSD on my desktop. I got KDE working, and Amor is running so I have a little daemon sitting on my window. I can mount my USB card reader and open the pictures from my digital camera in Gimp. I can browse the web in Firefox. I even compiled my own kernel so that I'm all 1337. :-) Overall, I like FreeBSD--the kernel build process felt a lot smoother than Linux, the /boot and /sys file heirarchies makes more sense to me than /boot and /usr/src under Linux, and the /dev heirarchy seems sane, though it's still pretty alien to me. So far, everything I do under Linux I can do under FreeBSD. FreeBSD is nice, but I haven't seen anything really *compelling* about it. FreeBSD might be more stable as a server, but for my desktop Linux has proven more than stable enough. (X crashes sometimes, but FreeBSD can't really fix that.) The extra file flags look intersting, but otherwise I haven't seen anything that I can do under FreeBSD that I can't with Linux. So, basically, I'm asking you guys to wow me. :-) Show me how FreeBSD can outdo Linux. Make me never want to go back. It'll come. Day by day, and slowly at first, but one day you will go back and it will feel wrong. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Raymond Pasco wrote: On Tue, Oct 17, 2006 at 09:19:27AM -0700, Garrett Cooper wrote: I'd like to see portage in FBSD though, since ruby is pretty kludgy. You'd like to port a knockoff of ports to a system that has ports? (also, not sure what you're referring to with your 'ruby' comment.) In my experience, people develop on Linux and Linux distributions more, just because it's the current `popular' system. FreeBSD is still (imo) better, though, despite its smaller following. No; you guys misunderstood what I meant... Unless you do make install / deinstall for all your ports in your system and magically know when and which ports to upgrade when the time comes to upgrade them, you're probably using portupdate / portinstall, or one of the ruby based metapackages (portman for instance). Having less packages on a system in order to keep it up to date is key in many cases, and I believe that perl is a more widely used language than ruby is. That's why I made the comment I made. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Jim Stapleton wrote: Also, I'm not sure when you guys tried Gentoo, but as of late (within the past ~1 year), the quality of the packages and system as an OS has improved quite a bit, in the sense that many stable items now install and work properly in the OS. Another off-topic comment I admit, but I thought it should be mentioned... I've been trying to deal with it for the past two months, on and off. OpenOffice would not compile, Xorg took a lot of tweaking and a few attempts, and a few other programs provided a bit of challange. Only KDE went more smoothly than it did in FBSD. Hmmm... maybe it's just my playing around with Linux in general before I started using FreeBSD on my servers, but it didn't really seem like that much of a challenge for me. Then again, each user's experience differs, and maybe that's the best gem of advice I can give the original poster of this message when he asked us to 'wow' him. I'd like to see portage in FBSD though, since ruby is pretty kludgy. Either that or a different means of recording package data and dependencies (been thinking of Perl for a while..). Where does Ruby fit into this? To my knowledge, ports uses Perl to my knowledge, and Portage uses Python. Read the email I just wrote in reply to Raymond (timestamp should be shortly after this email). And while I wouldn't mind a few of the portage features, such as about 10k more packages, and a few of the interface/display options, I'd still rather use FBSD any day. Not saying I don't feel the same either, but the interface for updating ports could be better.. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Database error
Anyone knows what this error means running Informix Database on BSD. I am not familiar with this app. Thanks, VJ Following is the error message. Thanks. *** END OF CHAIN BASE = ROOT DSET = DS-SUBS-MSTR SEARCH ITEM = DS-SUB VALUE = GL STATUS = 15 FFM =1FFD =0 ERR = 70 UserID: TKWOK Job#: #S14 Date: 10/16/06 Time: 134915 Can't find CLIENT entry in AU-AUDIT-MSTR TURBOIMAGE RESULT AT 0: RETURN STATUS=15 DBGET, MODE 2, ON AU-AUDIT-MSTR ON ROOT Invalid statement name or statement was not PREPAREd. (Error -481, ISAM 0) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with USB Palm sync
Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
On Tue, Oct 17, 2006 at 04:29:49PM -0400, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. I've had success syncing my Palm OS based phone (SPH-i500 FWIW) to my laptop using jpilot with a USB connection. Do you have permissions to access /dev/ugen0? -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
On Tuesday 17 October 2006 16:29, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: First you shouldn't be using usbd.conf. You should be using devd.conf and devfs.rules. Disable usbd. Add to devd.conf: attach 0 { device-name ugen[0-9]+; match vendor 0x082d; match product 0x0100; match release 0x0100; action /usr/local/sbin/pilot-sync-ugen.sh $device-name; }; Setup devfs.rules if you have yet to do it: http://am-productions.biz/docs/devfs.rules.php Add your user to the operator group or change the mode to 0666 below. Add to devfs.rules: add path 'ugen*' group operator add path 'ugen*' mode 0660 In /usr/local/sbin/pilot-sync-ugen.sh: #!/bin/sh # JPILOT=/usr/X11R6/bin/jpilot-sync JPILOT_USER=your_username_here export JPILOT_HOME=/home/$JPILOT_USER PILOTPORT=usb:/dev/$1 COMMAND=`echo $JPILOT -p $PILOTPORT -b` # run command ie. (sync) /usr/bin/su $JPILOT_USER -c $COMMAND -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ pgpXbfhiILw08.pgp Description: PGP signature
Re: Problems with USB Palm sync
Damian Wiest wrote: On Tue, Oct 17, 2006 at 04:29:49PM -0400, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. I've had success syncing my Palm OS based phone (SPH-i500 FWIW) to my laptop using jpilot with a USB connection. Glad to hear it works for someone! What FreeBSD are you using? I'm using 6.1 (via PC-BSD 1.2). Do you have permissions to access /dev/ugen0? Yes, due to the attach command, which I added myself after much googling. It gives me: -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
(hope this isn't a double post:-( Damian Wiest wrote: On Tue, Oct 17, 2006 at 04:29:49PM -0400, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach chmod 0666 /dev/ugen* as per the code that was in there for the coldsync. When I press the sync button on the cradle, these devices show up: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 crw-rw-rw- 1 root operator0, 182 Oct 17 13:45 /dev/ugen0.1 crw-rw-rw- 1 root operator0, 183 Oct 17 13:45 /dev/ugen0.2 And the following shows up in my dmesg: ugen0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 5 ugen0: at uhub6 port 4 (addr 5) disconnected All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached But the pilot-link command fails immediately: $ pilot-xfer -p /dev/ugen0 -l Unable to bind to port: /dev/ugen0 Please use --help for more information Any ideas? I've googled all over the place, but I only see similiar questions. And the FreeBSD.README on the pilot-link web site seems to be misleading at best. I've had success syncing my Palm OS based phone (SPH-i500 FWIW) to my laptop using jpilot with a USB connection. Glad to hear someone has had success. What FreeBSD are you using? I'm using 6.1 (via PC-BSD 1.2). Do you have permissions to access /dev/ugen0? Yes: crw-rw-rw- 1 root operator0, 181 Oct 17 13:45 /dev/ugen0 But only because I added the 'attach chmod' command to usbd.conf: attach chmod 0666 /dev/ugen* Before, it was read-only. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntpd not adjusting the clock?
Hello, Sorry to bother again but I run ntpd on FBSD 6.1 and the clock differes by about 30 seconds when I compare the time with top and this link http://www.timeanddate.com/worldclock/city.html?n=262 My ntp.conf file looks like that: server 2.pl.pool.ntp.org prefer server 1.europe.pool.ntp.org server 0.europe.pool.ntp.org restrict default ignore driftfile /var/db/ntp.drift The rc.conf file has these lines: ntpd_enable=YES ntpd_flags=-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntp.drift What am I doing wrong that instead of having the time synced I see more and more discrepancy. When I rebooted and started the service 6 days ago there was about 20 seconds difference. Now it is well over 30. Many thanks in advance! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpd not adjusting the clock?
On 2006/10/17 14:13, Zbigniew Szalbot seems to have typed: What am I doing wrong that instead of having the time synced I see more and more discrepancy. When I rebooted and started the service 6 days ago there was about 20 seconds difference. Now it is well over 30. What does ntpq -p show? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpd not adjusting the clock?
On Oct 17, 2006, at 3:13 PM, Zbigniew Szalbot wrote: My ntp.conf file looks like that: server 2.pl.pool.ntp.org prefer server 1.europe.pool.ntp.org server 0.europe.pool.ntp.org restrict default ignore driftfile /var/db/ntp.drift Unless you've got additional restrict lines which permit some hosts to make changes, using only restrict default ignore will prevent ntpd from paying attention to the timeservers you've listed and it will even prevent ntpd from changing the local clock or being administered via ntpq from localhost. This misconfiguration will also cause your ntpd to generate excessive numbers of queries, rather than syncing up and reducing the NTP polling interval from minpoll to maxpoll. [1] Remove that line and restart ntpd. The rc.conf file has these lines: ntpd_enable=YES ntpd_flags=-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ ntp.drift What am I doing wrong that instead of having the time synced I see more and more discrepancy. When I rebooted and started the service 6 days ago there was about 20 seconds difference. Now it is well over 30. Run: ntpq -c peers ...and you will be able to see the delay and offset from the NTP clocks you've configured in ntp.conf. -- -Chuck [1]: There are entire Linux distributions which have shipped with ntp.conf configured to prevent ntpd from working properly. These client machines end up querying NTP servers in the pool.ntp.org service repeatedly at minpoll (or even faster, if iburst is specified) because they discard the responses given to them, and therefore constitute an abuse of NTP server resources. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpd not adjusting the clock?
ntpd won't correct the clock if the difference is too large. So you need to kill ntpd, run ntpdate to set the clock, then start ntpd up again. -Derek At 05:13 PM 10/17/2006, Zbigniew Szalbot wrote: Hello, Sorry to bother again but I run ntpd on FBSD 6.1 and the clock differes by about 30 seconds when I compare the time with top and this link http://www.timeanddate.com/worldclock/city.html?n=262 My ntp.conf file looks like that: server 2.pl.pool.ntp.org prefer server 1.europe.pool.ntp.org server 0.europe.pool.ntp.org restrict default ignore driftfile /var/db/ntp.drift The rc.conf file has these lines: ntpd_enable=YES ntpd_flags=-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntp.drift What am I doing wrong that instead of having the time synced I see more and more discrepancy. When I rebooted and started the service 6 days ago there was about 20 seconds difference. Now it is well over 30. Many thanks in advance! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Port redirection troubles with natd/ipwf
Hello, I have set myself up a nice FreeBSD router, but im having trouble getting my firewall and NAT configured. I have a basic setup at the moment that is working well, using IPFW for a firewall and also running natd because i have a few computers here on my LAN that want Internet access. However i cannot seem to work out how to get port redirection through NAT working correctly. Currently i have it setup (as i hope my configs bellow show) that all incoming traffic from the web is blocked, unless it was initiated by a host on the LAN; then the check-state and keep-state rules allow the traffic through for that session. My problem comes when i want to so say, its ok for traffic to pass through this port to a target on the LAN. As far as i can make out that is done with the redirect_port setting in natd.conf -- my conf has ports 113 and 3002 redirected to 10.0.0.11. 113 for IDENT, and 3002 as a custom port for a windows ftp server. Take an IDENT request for example, i can see the traffic coming in on port 113, getting nat'd to the correct LAN ip, and even mIRC registering the IDENT request. But it never gets back out. The same with FTP on 3002, if someone attempts to connect they get a message in their client that the request timed out, but i can see a login attempt in the server logs. I have a feeling there is a simple answer to this, but im stuck. Any help is appreciated. My config is bellow, i can provide logs of the behavior if a fix is not obvious. Thank you. ifconfig re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=18VLAN_MTU,VLAN_HWTAGGING inet6 fe80::214:*** prefixlen 64 scopeid 0x1 ether 00:14:bf:59:be:84 media: Ethernet autoselect (none) status: no carrier re1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=18VLAN_MTU,VLAN_HWTAGGING inet6 fe80::214:*** prefixlen 64 scopeid 0x2 ether 00:14:bf:59:be:8b media: Ethernet autoselect (100baseTX full-duplex) status: active re2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=18VLAN_MTU,VLAN_HWTAGGING inet6 fe80::214:*** prefixlen 64 scopeid 0x3 ether 00:14:bf:59:c1:26 media: Ethernet autoselect (100baseTX full-duplex) status: active vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::211:*** prefixlen 64 scopeid 0x4 inet ***.***.***.*** netmask 0xfc00 broadcast 255.255.255.255 ether 00:11:d8:a1:22:13 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff00 bridge0: flags=8043UP,BROADCAST,RUNNING,MULTICAST mtu 1500 inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255 ether ac:de:48:30:8d:de priority 32768 hellotime 2 fwddelay 15 maxage 20 member: re2 flags=7LEARNING,DISCOVER,STP port 3 priority 128 path cost 55 forwarding member: re1 flags=7LEARNING,DISCOVER,STP port 2 priority 128 path cost 55 forwarding member: re0 flags=7LEARNING,DISCOVER,STP port 1 priority 128 path cost 55 disabled cat /etc/natd.conf dynamic yes use_sockets yes same_ports yes unregistered_only redirect_port tcp 10.0.0.11:113 113 redirect_port udp 10.0.0.11:113 113 redirect_port tcp 10.0.0.11:3002 3002 redirect_port udp 10.0.0.11:3002 3002 cat /etc/rc.firewall.test (these rules were made mainly using the NAT stateful ruleset here http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html ) #!/bin/sh ## # Default variables ## cmd=ipfw -q add# Rule prefix wan=vr0# Inbound interface (Public WAN) lan=bridge0# Outbound interfaces (Private LAN) nat=skipto 600# Skipto location for outgoing packets that need NAT ks=keep-state# Adds rule to dynamic rules table ## # Ruleset ## ipfw -q -f flush ### # Allowed Loopback and LAN traffic ### $cmd 5 allow all from any to any via $lan $cmd 6 allow all from any to any via lo0 ### # NAT inbound traffic and check all traffic against rules in dynamic rules table ### $cmd 00010 divert natd ip from any to any in via $wan $cmd 00011 check-state ### # Rejected outbound traffic ### ### # Allowed outbound traffic ### # Allow all outbound traffic $cmd 00205 $nat icmp from any to any out via $wan $ks $cmd 00210 $nat tcp from any to any out via $wan setup $ks $cmd 00211 $nat udp from any to any out via $wan $ks ### # Rejected inbound traffic ### # Late arriving packets $cmd 00315 deny all from any to any frag in via $wan # ACK packets that did not match the dynamic rule table $cmd 00320 deny tcp from any to any established in via $wan ### # Allowed inbound traffic ### # ISP's DNS and DHCP $cmd 00404 allow all from ***.***.4.100 to any 53 in via
Re: ntpd not adjusting the clock?
On Tuesday October 17, 2006 at 06:13:24 (PM) Zbigniew Szalbot wrote: Sorry to bother again but I run ntpd on FBSD 6.1 and the clock differes by about 30 seconds when I compare the time with top and this link http://www.timeanddate.com/worldclock/city.html?n=262 My ntp.conf file looks like that: server 2.pl.pool.ntp.org prefer server 1.europe.pool.ntp.org server 0.europe.pool.ntp.org restrict default ignore driftfile /var/db/ntp.drift The rc.conf file has these lines: ntpd_enable=YES ntpd_flags=-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntp.drift What am I doing wrong that instead of having the time synced I see more and more discrepancy. When I rebooted and started the service 6 days ago there was about 20 seconds difference. Now it is well over 30. I am using the following configuration and the time is kept accurately. The drift file defaults to '/var/db/ntpd.drift' I believe. In any case, it is presently situated there without any assistance from me. #ntp.conf file # server us.pool.ntp.org server clock.nyc.he.net server sundial.columbia.edu #rc.conf # ntpd_enable=YES -- Gerard It is not the OS's job to stop you from shooting your foot. If you so choose to do so, then it is OS's job to deliver Mr. Bullet to Mr Foot in the most efficient way it knows. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpd not adjusting the clock?
On 2006/10/17 14:40, Derek Ragona seems to have typed: ntpd won't correct the clock if the difference is too large. So you need to kill ntpd, run ntpdate to set the clock, then start ntpd up again. -Derek At 05:13 PM 10/17/2006, Zbigniew Szalbot wrote: ntpd_flags=-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntp.drift From man ntpd: -g Normally, ntpd exits if the offset exceeds the sanity limit, which is 1000 s by default. If the sanity limit is set to zero, no sanity checking is performed and any offset is acceptable. This option overrides the limit and allows the time to be set to any value without restriction; however, this can happen only once. After that, ntpd will exit if the limit is exceeded. This option can be used with the -q option. With the -g flag in there, it shouldn't matter if the difference is too large. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On Tue, Oct 17, 2006 at 10:28:40AM -0700, Simon Gao wrote: Even though there are many Linux distributions, but Linux core pacakges are the mostly the same. The differences are mainly in window manager and GUI applications. No matter which Linux distribution, kernel 2.6.16 is always the same. When it comes to X window, it's xorg across the board. Wrong. Different vendors patch the stock linux kernel. Remember that linux has moved device handling to userland. And when the kernel itself is not same across distros what to talk of userland? My God, it gets really messy. Ubuntu stopped using /sbin/hotplug but Gentoo is still using them. Damn, there is much more confusion in the linux world than in Windoze... Damnit, but I have no bloody choice. I don't wany to buy an expensive piece of hardware like a DVB card or webcam ; then come home and find that the most precious buy is not worth a penny bcoz FreeBSD doesn't support it. At least for the really price conscious customer like me, linux has made my day. I was really surprised to find that both my webcams are supported in linux. Not with the stock kernel but with some add on. You guys sit and lament about the quality of linux code and the presence of bugs. But there is no gainsaying the fact that at least my hardware is supported albeit buggily or ineffectively... I think it is neither practical nor always possible to figure out what hardware is supported in FreeBSD and what is not. However to quote my own experience my expectations from FreeBSD has been rather modest and has never disappointed me. The support on old machines and performance simply rocks! regards, Girish ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On Tue, Oct 17, 2006 at 10:28:40AM -0700, Simon Gao wrote: Even though there are many Linux distributions, but Linux core pacakges are the mostly the same. The differences are mainly in window manager and GUI applications. No matter which Linux distribution, kernel 2.6.16 is always the same. When it comes to X window, it's xorg across the board. Wrong. Different vendors patch the stock linux kernel. Remember that linux has moved device handling to userland. And when the kernel itself is not same across distros what to talk of userland? My God, it gets really messy. Ubuntu stopped using /sbin/hotplug but Gentoo is still using them. Damn, there is much more confusion in the linux world than in Windoze... Damnit, but I have no bloody choice. I don't wany to buy an expensive piece of hardware like a DVB card or webcam ; then come home and find that the most precious buy is not worth a penny bcoz FreeBSD doesn't support it. At least for the really price conscious customer like me, linux has made my day. I was really surprised to find that both my webcams are supported in linux. Not with the stock kernel but with some add on. You guys sit and lament about the quality of linux code and the presence of bugs. But there is no gainsaying the fact that at least my hardware is supported albeit buggily or ineffectively... I think it is neither practical nor always possible to figure out what hardware is supported in FreeBSD and what is not. However to quote my own experience my expectations from FreeBSD has been rather modest and has never disappointed me. The support on old machines and performance simply rocks! regards, Girish ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On 2006/10/17 14:48, Girish Venkatachalam seems to have typed: But there is no gainsaying the fact that at least my hardware is supported albeit buggily or ineffectively... I don't mean to be rude, but if hardware support is your only criteria, why not just run Windows? If you don't care that its buggy or ineffective, and you don't want to check that it is supported before you buy it, you just want it to support everything, it would seem to me that Microsoft's OS is the obvious choice ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On 10/17/06, Giorgos Keramidas [EMAIL PROTECTED] wrote: Linux supports more devices than FreeBSD, especially new devices. This is probably true. yes it's true linux has support for more devices than FreeBSD and that's why i think we got to be heard, install this nifty app called bsdstats and maybe just maybe those device manufacturers will notice us FreeBSD users, that it is not just for hobbyist. ___ 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: Port redirection troubles with natd/ipwf
On 10/18/06, Chris [EMAIL PROTECTED] wrote: Hello, I have set myself up a nice FreeBSD router, but im having trouble getting my firewall and NAT configured. I have a basic setup at the moment that is working well, using IPFW for a firewall and also running natd because i have a few computers here on my LAN that want Internet access. However i cannot seem to work out how to get port redirection through NAT working correctly. Currently i have it setup (as i hope my configs bellow show) that all incoming traffic from the web is blocked, unless it was initiated by a host on the LAN; then the check-state and keep-state rules allow the traffic through for that session. My problem comes when i want to so say, its ok for traffic to pass through this port to a target on the LAN. As far as i can make out that is done with the redirect_port setting in natd.conf -- my conf has ports 113 and 3002 redirected to 10.0.0.11. 113 for IDENT, and 3002 as a custom port for a windows ftp server. Take an IDENT request for example, i can see the traffic coming in on port 113, getting nat'd to the correct LAN ip, and even mIRC registering the IDENT request. But it never gets back out. The same with FTP on 3002, if someone attempts to connect they get a message in their client that the request timed out, but i can see a login attempt in the server logs. I have a feeling there is a simple answer to this, but im stuck. Any help is appreciated. My config is bellow, i can provide logs of the behavior if a fix is not obvious. Thank you. ifconfig re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=18VLAN_MTU,VLAN_HWTAGGING inet6 fe80::214:*** prefixlen 64 scopeid 0x1 ether 00:14:bf:59:be:84 media: Ethernet autoselect (none) status: no carrier re1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=18VLAN_MTU,VLAN_HWTAGGING inet6 fe80::214:*** prefixlen 64 scopeid 0x2 ether 00:14:bf:59:be:8b media: Ethernet autoselect (100baseTX full-duplex) status: active re2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=18VLAN_MTU,VLAN_HWTAGGING inet6 fe80::214:*** prefixlen 64 scopeid 0x3 ether 00:14:bf:59:c1:26 media: Ethernet autoselect (100baseTX full-duplex) status: active vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::211:*** prefixlen 64 scopeid 0x4 inet ***.***.***.*** netmask 0xfc00 broadcast 255.255.255.255 ether 00:11:d8:a1:22:13 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff00 bridge0: flags=8043UP,BROADCAST,RUNNING,MULTICAST mtu 1500 inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255 ether ac:de:48:30:8d:de priority 32768 hellotime 2 fwddelay 15 maxage 20 member: re2 flags=7LEARNING,DISCOVER,STP port 3 priority 128 path cost 55 forwarding member: re1 flags=7LEARNING,DISCOVER,STP port 2 priority 128 path cost 55 forwarding member: re0 flags=7LEARNING,DISCOVER,STP port 1 priority 128 path cost 55 disabled cat /etc/natd.conf dynamic yes use_sockets yes same_ports yes unregistered_only redirect_port tcp 10.0.0.11:113 113 redirect_port udp 10.0.0.11:113 113 redirect_port tcp 10.0.0.11:3002 3002 redirect_port udp 10.0.0.11:3002 3002 cat /etc/rc.firewall.test (these rules were made mainly using the NAT stateful ruleset here http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html ) #!/bin/sh ## # Default variables ## cmd=ipfw -q add# Rule prefix wan=vr0# Inbound interface (Public WAN) lan=bridge0# Outbound interfaces (Private LAN) nat=skipto 600# Skipto location for outgoing packets that need NAT ks=keep-state# Adds rule to dynamic rules table ## # Ruleset ## ipfw -q -f flush ### # Allowed Loopback and LAN traffic ### $cmd 5 allow all from any to any via $lan $cmd 6 allow all from any to any via lo0 ### # NAT inbound traffic and check all traffic against rules in dynamic rules table ### $cmd 00010 divert natd ip from any to any in via $wan $cmd 00011 check-state ### # Rejected outbound traffic ### ### # Allowed outbound traffic ### # Allow all outbound traffic $cmd 00205 $nat icmp from any to any out via $wan $ks $cmd 00210 $nat tcp from any to any out via $wan setup $ks $cmd 00211 $nat udp from any to any out via $wan $ks ### # Rejected inbound traffic ### # Late arriving packets $cmd 00315 deny all from any to any frag in via $wan # ACK packets that did not match the dynamic rule table $cmd 00320 deny tcp from any to any established in via $wan ### # Allowed inbound traffic ### #
Re: What's so compelling about FreeBSD?
On 2006-10-18 08:37, jan gestre [EMAIL PROTECTED] wrote: On 10/17/06, Giorgos Keramidas [EMAIL PROTECTED] wrote: Linux supports more devices than FreeBSD, especially new devices. This is probably true. yes it's true linux has support for more devices than FreeBSD and that's why i think we got to be heard, install this nifty app called bsdstats and maybe just maybe those device manufacturers will notice us FreeBSD users, that it is not just for hobbyist. There are other forms of active advocacy too. Write articles, post to forums, present stuff at conventions, talk and chat in local user groups about BSD, etc. Let us not limit ourselves to just bsdstats :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
File system full
Dear All, My firewall server was running out of space on / partition I have try to reboot/fsck and delete all unneccessary files inside / but I still get 12 MB of free space with total 495 MB worth of that partition. Any ideas? Rgds, -- *Rithy Ray, RCSA* Chief Executive Officer Web: www.rithy4u.net http://www.rithy4u.net Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Phone: (855) 12 403 001 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automated installations
Hi George, cool reply. Thank you. ;-) That basically means that I have to compile/burn my own CD with the config file install.cfg in it right ? is there a version f.e. to start from the CD (with some parameters where the config file is located) and do that from a boot floppy - basically without PXEboot or can I point PXEboot to the CD image AND the install.cfg somehow ? Best regards Nils Valentin Quoting George Allan [EMAIL PROTECTED]: On Tue, Oct 17, 2006 at 02:46:08AM +, [EMAIL PROTECTED] wrote: I am in search of an tool for automated installations. SOmething like Kickstart or Autoyast for Linux - just the BSD-able version ;-) Is anybody aware of such a tool that I perhaps overlooked or anybody perhaps currently developing one ? sysinstall(8) is your friend. pxeboot(8) will buy the drinks. Be sure to read through Section 2 of the fine Handbook. ___ 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]
File system full
Office of CEO- rithy4u.NET writes: My firewall server was running out of space on / partition I have try to reboot/fsck and delete all unneccessary files inside / but I still get 12 MB of free space with total 495 MB worth of that partition. Any ideas? du -x / | sort -nr | head -n 50 | more Longer version: you should know what lives on directly under / and roughly how much space it takes. If some directory which used to take 27.4 mb suddenly has 311 mb 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: File system full
On 2006-10-18 07:53, Office of CEO- rithy4u.NET [EMAIL PROTECTED] wrote: Dear All, My firewall server was running out of space on / partition I have try to reboot/fsck and delete all unneccessary files inside / but I still get 12 MB of free space with total 495 MB worth of that partition. Any ideas? First of all, try to track down where all the space has gone, by using `df' and `du' with the -x option. For example, you can get a good idea of which places in your root filesystem are the top-10 users of space with: # cd / # du -xm . | sort -nr | head -10 If this doesn't show up a lot of stuff, then there's probably a rogue process which has opened a file and then removed it, so it's not directly visible by traversing the tree with `du', but you can still look for it with: # fstat -f / | sort -k +8 After you get this sort of information, we can make more informed suggestions about the best way to move forward :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mimedefang, perl, and amd64 trouble
Hi, (copying wes@, the mimedefang maintainer, just because it might possibly be his headache.) I have a brand-new, freshly-cvsupped 7.0 amd64 box as a mail server. Perl seems to be having troubles; when I fire up mimedefang, it can't load some dependencies. Oct 17 21:47:39 bewilderbeast mimedefang-multiplexor[1730]: Starting slave 0 (pid 1747) ( 1 running): Bringing slaves up to minSlaves (2) Oct 17 21:47:39 bewilderbeast mimedefang-multiplexor[1730]: Slave 0 stderr: Can't load '/ usr/local/lib/perl5/5.8.8/mach/auto/Sys/Hostname/Hostname.so' for module Sys::Hostname: / usr/local/lib/perl5/5.8.8/mach/auto/Sys/Hostname/Hostname.so: mmap of entire address spac e failed: Cannot allocate memory at /usr/local/lib/perl5/5.8.8/mach/XSLoader.pm line 70. at /usr/local/lib/perl5/5.8.8/mach/Sys/Hostname.pm line 23 Oct 17 21:47:39 bewilderbeast mimedefang-multiplexor[1730]: Slave 0 stderr: Can't load '/ usr/local/lib/perl5/5.8.8/mach/auto/File/Glob/Glob.so' for module File::Glob: /usr/local/ lib/perl5/5.8.8/mach/auto/File/Glob/Glob.so: mmap of entire address space failed: Cannot allocate memory at /usr/local/lib/perl5/5.8.8/mach/XSLoader.pm line 70. at /usr/local/li b/perl5/5.8.8/mach/File/Glob.pm line 96 Compilation failed in require at /usr/local/bin/m imedefang.pl line 3197. BEGIN failed--compilation aborted at /usr/local/bin/mimedefang.pl line 3197. Oct 17 21:47:39 bewilderbeast mimedefang-multiplexor[1730]: Reap: slave 0 (pid 1747) exit ed normally with status 255 (SLAVE DIED UNEXPECTEDLY) Has anyone seen anything like this on FreeBSD before? I know that Wine has had some mmap problems, but I imagine a Perl failure would be big news here... Any ideas or suggestions appreciated. ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Latest book: PGP GPG -- http://www.pgpandgpg.com The cloak of anonymity protects me from the nuisance of caring. -Non Sequitur ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-questions Digest, Vol 153, Issue 22
I need to ask a few random questions only because I have not found the information by browsing the net: If anyone is able to answer any of the questions I would appreciate it. 1. I've asked in the past about the usb keyboard driver for BSD. It seems that of the 3 USB keyboards that I have, none of the media keys will work on any of them unless I use the supplied PS/2 adapter and plug the keyboard in using the PS/2 port. I can then use volume up/down/mute on all 3 keyboards. If I take the PS/2 adapter off and use the keyboards in the USB port, only the standard keys are readable... the media keys return nothing to gnome's Keyboard Shortcuts program. I have tried all of the standard key reading programs, and they return nothing as well. Today I ran a live ubuntu cd on my machine and noticed the media keys work fine, they were even predefined and ready to go. Is this a problem with the BSD usb keyboard driver? Is there a patch, fix or anything I can do to add support (documentation on how to do this)? 2. Everyone knows Gnome 2.16 is out, and with it comes metacity 2.16.3. Along with all of the wonderful new features such as HAL, etc, metacity apparently supports aiglx in 2.16.3. Is this only on linux machines? and if not, can someone tell me how to add --*enable*-*compositor*. I have made an attempt, but it seem to complain about missing libcm (compositing?). I see the gnome bsd site says new eye candy. They could be talking about cairo only, but I'm crossing my fingers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail with SpamAssassin and ClamAV
However on startup I get the following error: Starting clamav_milter. /usr/local/sbin/clamav-milter: socket-addr (/var/run/clamav/clmilter.sock) doesn't agree with sendmail.cf Do I need to edit sendmail.cf as well? I am not sure how myhost.cf is included into sendmail.cf, but myhost shoud be enough. That said, who is in charge of creating the socket: clamav or sendmail? What user is running sendmail? What user is running clamav? Can both processes access to the socket? Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
On Tue, Oct 17, 2006 at 03:02:26PM -0800, Peter A. Giessel wrote: I don't mean to be rude, but if hardware support is your only criteria, why not just run Windows? If you don't care that its buggy or ineffective, and you don't want to check that it is supported before you buy it, you just want it to support everything, it would seem to me that Microsoft's OS is the obvious choice NP, you are not rude at all. :-) I never said hardware support is the only criterion. I want hardware to be supported using UNIX semantics... I would love to port some important drivers to FreeBSD if that will help. regards, Girish -- Duty for duty's sake without hope for reward or fear of punishment ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with USB Palm sync
Anish Mistry wrote: On Tuesday 17 October 2006 16:29, Jonathan Arnold wrote: Has anyone had any luck using pilot-link to sync JPilot to a Palm device via the USB? I'm trying to sync my Handspring Visor and it just doesn't seem to be noticing it. I have the following in my /dev/usbd.conf file: First you shouldn't be using usbd.conf. You should be using devd.conf and devfs.rules. Disable usbd. Add to devd.conf: attach 0 { device-name ugen[0-9]+; match vendor 0x082d; match product 0x0100; match release 0x0100; action /usr/local/sbin/pilot-sync-ugen.sh $device-name; }; Setup devfs.rules if you have yet to do it: http://am-productions.biz/docs/devfs.rules.php Add your user to the operator group or change the mode to 0666 below. Add to devfs.rules: add path 'ugen*' group operator add path 'ugen*' mode 0660 In /usr/local/sbin/pilot-sync-ugen.sh: #!/bin/sh # JPILOT=/usr/X11R6/bin/jpilot-sync JPILOT_USER=your_username_here export JPILOT_HOME=/home/$JPILOT_USER PILOTPORT=usb:/dev/$1 COMMAND=`echo $JPILOT -p $PILOTPORT -b` # run command ie. (sync) /usr/bin/su $JPILOT_USER -c $COMMAND Thanks, this seems to work a little better. Now, when I hit the Hot Sync button on the cradle, I get the feedback that there's a connection and it says Identifying user on the Visor, but it just hangs there and eventually gives up. If I comment out the action and try it from the commandline, pilot-xfer says Listening for incoming connection on usb:/dev/ugen0... . It seems to me that both are waiting for the other to initiate something. ugen0 doesn't get created until I hit the HotSync button, but the pilot-link stuff seems to be waiting for that to happen again? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem updating mplayer
On Wed, Oct 18, 2006 at 12:30:59AM +1000, Norberto Meijome wrote: On Tue, 17 Oct 2006 15:32:25 +0200 Filippo Moretti [EMAIL PROTECTED] wrote: ===Verifying reinstall for /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 in /usr/ports/multimedia/win32-codecs === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 What can be done to solve this problem sincerely Hi Filippo, a) you can work with the win32-codecs team to solve the remote code execution vulnerability b) you can be brave, reckless and probably 0wn3d soon by disabling the vulnerability checks and upgrading anyway (dont know how to do this, sorry) c) you can keep the slightly older port but it seems it is still vulnerable: $ sudo portaudit [...] Affected package: win32-codecs-3.1.0.p8,1 Type of problem: win32-codecs -- multiple vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html d) you can uninstall win32-codecs :) other options may be available, but i can't think of them atm :) B _ {Beto|Norberto|Numard} Meijome RTFM and STFW before anything bad happens. Try the following as root or su to root cd /usr/ports/multimedia/mplayer make config then deselect from the menu the Win32 option make install clean note: you will not have win32 codecs support -- Alex FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LDAP home directories
Does anyone have a way to do home directory mapping through LDAP? We've got user directories mounted via NFS to /usr/users and would like to be able to type in cd ~ted and go to Ted's home directory, perhaps in /usr/users/students/ted. We do it in Linux regularly, but I'm trying to lead a migration to FreeBSD-sadly, haven't done LDAP within BSD of any sort before. Thanks in advance! -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / [EMAIL PROTECTED] Ethernet, n. What one uses to catch the Etherbunny. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LDAP home directories
On 10/18/06, Chandler, Jay [EMAIL PROTECTED] wrote: Does anyone have a way to do home directory mapping through LDAP? We've got user directories mounted via NFS to /usr/users and would like to be able to type in cd ~ted and go to Ted's home directory, perhaps in /usr/users/students/ted. We do it in Linux regularly, but I'm trying to lead a migration to FreeBSD-sadly, haven't done LDAP within BSD of any sort before. Thanks in advance! -- Jay Chandler Network Administrator, Chapman University Hey, We are using FreeBSD with Samba+OpenLDAP, each user effectively needs mapping to a local user so what we've used to give us the ability to type : cd ~user and get their home dir, as well as type : id 1 to get their username/groups... is to install nss_ldap, pam_ldap, edit the files in /etc/pam.d/, there is a lot of good information on this, have a look at the Samba docs as well as the documentation for pam_ldap and nss_ldap. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpd not adjusting the clock?
Chuck Swiger wrote: On Oct 17, 2006, at 3:13 PM, Zbigniew Szalbot wrote: My ntp.conf file looks like that: server 2.pl.pool.ntp.org prefer server 1.europe.pool.ntp.org server 0.europe.pool.ntp.org restrict default ignore driftfile /var/db/ntp.drift Unless you've got additional restrict lines which permit some hosts to make changes, using only restrict default ignore will prevent ntpd from paying attention to the timeservers you've listed and it will even prevent ntpd from changing the local clock or being administered via ntpq from localhost. This misconfiguration will also cause your ntpd to generate excessive numbers of queries, rather than syncing up and reducing the NTP polling interval from minpoll to maxpoll. [1] Remove that line and restart ntpd. That means that anyone can connect to your NTP daemon and poll it for time service or use ntpdc to muck around with your configuration. It's better to use at minimum: restrict default nopeer nomodify restrict localhost (the 'restrict localhost' line actually removes all limitations on access from localhost. Ain't ntp.conf syntax wonderful.) Ideally, you'ld be able to use 'restrict default ignore' then apply restrict 2.pl.pool.ntp.org nopeer nomodify server 2.pl.pool.ntp.org prefer for each server you configure. That works well if you specify individual servers by name. Unfortunately the way NTP pool mechanism works makes that approach unworkable. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature