Re: SCSI Tape Drive Problems
On Tue, Dec 19, 2006, at 23:16:45 -0600, Dan Nelson wrote: Timeouts and unexpected busfree errors like these are indicative of cabling or termination problems. I don't think DLTs auto-terminate, for example, so try putting an external terminator on the 2nd plug on the back of the unit (or if it's an internal drive with one plug, terminate the cable the drive's plugged into). Once you get those errors sorted out, see whether you still get incorrect volume full messages. Thanks very much for the replies. Both drives are external, and they both have terminators on the back. The setup is like this: The DDS autoloader is connected to the back of the Adaptec card via a new external HD68 cable and the terminator that came with the drive is on the second plug of the unit. The Sun DLT drive is connected via an external HD50 cable to an adaptor that turns it into an internal cable which is then connected to the Adaptec card internally. It has a Sun terminator on the second plug on the unit. The cable that connects the DDS autoloader is brand new. It's not a major brand name, but it's listed as double shielded, UL20276 listed, etc. The cable that connects the DLT unit is an older Adaptec one (possibly used) purchased for a few dollars locally. I could understand if that cable was a problem for writing using that drive, but having the issue on both drives like this with two separate cables just seems like it's something else. By the way, the green LEDs on both terminators are illuminated so they should be working. With the DDS drive, it does not give any errors to /var/log/messages like the DLT drive does. cpio just quits with that Internal overflow, aborting error (which doesn't happen with the DLT). Do you guys know specifically what that message means? With the DLT drive, cpio actually gives the volume full errors but with the DDS it's only Internal Overflow and nothing else anywhere that I can see. Internet searches for the Internal Overflow message have not turned up much helpful information. Thanks again. -Mark -- Internet Radio: Party107 (Trance/Electronic) - http://www.party107.com Rock 101.9 The Edge (Rock) - http://www.rock1019.net IRC: MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: undeliverable mail
On Dec 20, 2006 02:00 PM, Matthew Seaman [EMAIL PROTECTED] wrote: Beastie MRA wrote: On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote: It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with doors labeled Dungeon and Forbidden. There is noise, the door marked Dungeon flies open and Beastie MRA SHOUTS: Dear All. For past few days, my MX receive thousand of undeliverable message destinated for my non existent user at my domain. This message source come from valid and well configured (almost) smtp server on internet. I'ts waste my internet b/w, cause my MX will reject with non existent user message. I'll try spamd on my firewall and greylist on my MX (postfix), but still no effective, and i cannot block undeliverable message as RFC rules Is there any way i can fix this ? Please help I use the virtusertable in sendmail, and I have my valid addresses, such as [EMAIL PROTECTED] bv and then for after that is a line of @wjv.com nouser. And nouser is defined in aliases as nouser: /dev/null On one of the mail servers I maintain I just checked and I had 260,000+ messages routed to *file* in the maillog - which shows up as mailer=*file* in the logs. That maillog rotates every night at midnight. Is not really a freebsd-net problem so I removed that from the reply to line. Bill -- Bill Vermillion - bv @ wjv . com Thanks for response... but this virtusertable will not stop SMTP server in internet to keep send you undeliverable message. I assume someone doing nasty with forged and use my domain email to send his spam message to non existing user. and i got undeliverable message. Is there any clue ?? Oh.. i forget to mention i use 4.11-STABLE for my MX Hmmm... SPF records are a good tool against this sort of thing. Perhaps if you change from: mra.co.id. v=spf1 mx to mra.co.id. v=spf1 mx -all That means that SPF compliant mail servers should refuse to accept messages (ie. a hard fail) from any machine other than the MXes for mra.co.id See http://www.openspf.org/SPF_Record_Syntax for the full story on SPF records. It's not a 100% solution and it will take the spammers some time to realise that forging your address in their e-mails is much less effective. On the positive side, it will mean that many mailservers reject the incoming spam during the SMTP dialog so you'll get fewer bounce messages. This problem exposes an architectural flaw in many e-mail server setups. Either all of the MXes for a domain have to be able to verify addresses on incoming e-mails and reject any non-existent destinations during the SMTP dialog, or (like Bill does above) once a message has been accepted by any of the mail servers for your domain, it should never be bounced back to the (probably forged) mail address in the headers because the recipient doesn't exist. Bouncing for other reasons, (like eg. mailbox over quota) does not generally add to the overall spam load. Normally a very simple site with just one server will get that right, but a more complex site with several MXes and various SMTP routers etc. internally will frequently not. 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 Thanks... i have problem with SPF record in dns , because i have serveral mobile users and off site users that use SMTP provide by internet provider. and i cant list it one by one in spf record. :( regards Reza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Acer Aspire WLMi 5102 with AMD Turion 64 X2 system hanging with powerd on 6.2-RC1 and 6.2-PRERELEASE
Hello guys, I have problem with my laptop Acer Aspire 5102 WLMi which has AMD Turion™ 64 X2 dual-core TL-50 1.6 GHz with 1.5 GB of ram. I'm running i386 6.2-RC1 upgraded to 6.2-PRELEASE via RELENG6 tag since I don't have more than 4 GB of ram. I have these lines add to my custom generic kernel options SMP device cpufreq device smbus I have this in my rc.conf powerd_enable=YES But the the laptop even doesn't boot some times, and if booted it hangs all the time, till I hashed out powerd_enable=YES hints? Thank you, Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD fakeraid RAID10 @ Intel ICH7
Hello there, I am having troubles with FreeBSD (6.1) and supermicro server with ICH7R raid controller. I have created RAID10 array from 4 SATA wester digital raptors. After CD boot, I can see 5 HDD's: wd0-2d3 ar0. So, all seems to be fine. fdisk labeling is without any roubles. I tried fully dedicated and comaptiblke fdisk setups. Installation itselfs also without any problem, I can see that BSD is accessing RAID array (all 4 HDD's in use). Size of array etc. is correct on ar0 device. I also tried both possible boot managers avilable while installation. After reboot, BSD don't boot and I can see message Boot error. Nothing more. I have no clue, if this is BIOS or readed MBR/bootsector. ctrl+alt+delete works this time and I can reboot machine. So, there is some boot problem, which I was not abble to solve. When I setup just mirror RAID (2 HDD's) - all works fine. Thank you in advance for any help/link :) -- Best regards, Lada 'Ray' Lostak Unreal64 Develop group http://www.unreal64.net http://www.orcave.com -- In the 1960s you needed the power of two C64s to get a rocket to the moon. Now you need a machine which is a vast number of times more powerful just to run the most popular GUI. Imagination is more important than knowledge... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: undeliverable mail
Beastie MRA wrote: On Dec 20, 2006 02:00 PM, Matthew Seaman [EMAIL PROTECTED] wrote: Beastie MRA wrote: On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote: It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with doors labeled Dungeon and Forbidden. There is noise, the door marked Dungeon flies open and Beastie MRA SHOUTS: Dear All. For past few days, my MX receive thousand of undeliverable message destinated for my non existent user at my domain. This message source come from valid and well configured (almost) smtp server on internet. I'ts waste my internet b/w, cause my MX will reject with non existent user message. I'll try spamd on my firewall and greylist on my MX (postfix), but still no effective, and i cannot block undeliverable message as RFC rules Is there any way i can fix this ? Please help I use the virtusertable in sendmail, and I have my valid addresses, such as [EMAIL PROTECTED] bv and then for after that is a line of @wjv.com nouser. And nouser is defined in aliases as nouser: /dev/null On one of the mail servers I maintain I just checked and I had 260,000+ messages routed to *file* in the maillog - which shows up as mailer=*file* in the logs. That maillog rotates every night at midnight. Is not really a freebsd-net problem so I removed that from the reply to line. Bill -- Bill Vermillion - bv @ wjv . com Thanks for response... but this virtusertable will not stop SMTP server in internet to keep send you undeliverable message. I assume someone doing nasty with forged and use my domain email to send his spam message to non existing user. and i got undeliverable message. Is there any clue ?? Oh.. i forget to mention i use 4.11-STABLE for my MX Hmmm... SPF records are a good tool against this sort of thing. Perhaps if you change from: mra.co.id. v=spf1 mx to mra.co.id. v=spf1 mx -all That means that SPF compliant mail servers should refuse to accept messages (ie. a hard fail) from any machine other than the MXes for mra.co.id See http://www.openspf.org/SPF_Record_Syntax for the full story on SPF records. It's not a 100% solution and it will take the spammers some time to realise that forging your address in their e-mails is much less effective. On the positive side, it will mean that many mailservers reject the incoming spam during the SMTP dialog so you'll get fewer bounce messages. This problem exposes an architectural flaw in many e-mail server setups. Either all of the MXes for a domain have to be able to verify addresses on incoming e-mails and reject any non-existent destinations during the SMTP dialog, or (like Bill does above) once a message has been accepted by any of the mail servers for your domain, it should never be bounced back to the (probably forged) mail address in the headers because the recipient doesn't exist. Bouncing for other reasons, (like eg. mailbox over quota) does not generally add to the overall spam load. Normally a very simple site with just one server will get that right, but a more complex site with several MXes and various SMTP routers etc. internally will frequently not. 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 Thanks... i have problem with SPF record in dns , because i have serveral mobile users and off site users that use SMTP provide by internet provider. and i cant list it one by one in spf record. :( The usual solution to that is to set up authentication on your mail server and require your mobile users to submit new messages via that machine. Most mail clients are capable of dealing with several mail accounts with different SMTP server fairly readily. Enabling SASL in the stock system sendmail under FreeBSD is also fairly simple and described in the handbook. Works for me -- I'm writing this at work and sending it through my home mail server. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK signature.asc Description: OpenPGP digital signature
Re: acrobatviewer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Warren Block wrote: Stevan Tiefert wrote: I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1. Each time I want to use acrobatviewer, this message appears: $ AcrobatViewer expr: illegal option -- r usage: expr [-e] expression $ AcrobatViewer redbook.pdf expr: illegal option -- r usage: expr [-e] expression $ [Suggestions of using xpdf or kpdf...] this thread is confusing me... An example: If I ever would have a problem with the FreeBSD-Kernel you would suggest me to use a linux-kernel? I have a problem with acrobatviewer... I wanted maybe a hint or solution with my problem and not alternatives. Some people would read your question as What can I use to view PDFs? They're trying to help. Nobody has suggested acroread yet, which also works. As to your original question, there are several problems with with escaping and quoting in the AcrobatViewer shell script. That whole script is a problem. What it's supposed to do is set up an environment to actually run the Java code. You can run it directly: java -cp acrobat.jar com.adobe.acrobat.Viewer Exception in thread main java.lang.NoClassDefFoundError: com/apple/mrj/MRJAboutHandler (The same error shows up when you run the LAX version set up by the shell script.) Web searching led to this: http://groups.google.com/group/comp.lang.java.programmer/msg/a49b39f4960fca76?dmode=source -Warren Block * Rapid City, South Dakota USA Warren has a point. If it isn't supported by Adobe anymore, the thing with it being broken is pretty much moot. Is there a specific reason why you wanted to look at PDFs with a java app instead of a binary? - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFiRK4EnKyINQw/HARAvXMAJ9QC5i4EqWcLt4ysFfzmuqk94EtSgCeJ4or QBnqt2XQRF1ka+FLBkU85k0= =8vN5 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
small mail server
I'm looking for some advice on using one of our existing freebsd 6.x servers as a mail server for a small number (20) of users. Our existing provider gives us 1) pop3/IMAP for reading mail 2) SMTP for sending, but we need to read mail before using smtp; I guess this implies we don't need to authenticate directly. 3) web based interface for adding users and redirections etc etc 4) spam filtering (presumably based on their large user mail volume). 5) white/grey listing -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
find port install options
Is it possible to determine what options were used during port installation. One of the recipes I'm trying to follow calls for perl to be installed with USE_THREADS=yes. pkg_info | grep perl produces perl-5.8.8 Practical Extraction and Report Language but that doesn't tell me how it was installed. Trawling through the masses of port reated docs doesn't give me an obvious answer either and make.conf contains only PERL_VER=5.8.8 PERL_VERSION=5.8.8 I suppose its safest to assume that I need to reinstall perl, but how easy is it to do that? I think it was installed by default. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Core Dump during 'portmanager'
G'day, I'm having this problem with a broken port that keeps core dumping as I attempt to upgrade my installed ports using portmanager on FreeBSD v4.10-RELEASE-p24 #44. Is this a bug or just a bad port that needs to be uninstalled?? Here's a snippet of the portmanager log before it core dumps. 00024 k3b-0.12.17 /sysutils/k3b 00023 pkg_install-devel-20040811 /sysutils/pkg_install-devel 00022 p5-Unicode-String-2.09 /converters/p5-Unicode-String 00021 p5-Storable-2.15 /devel/p5-Storable 00020 gpa-0.7.4 /security/gpa 00019 kdeutils-3.5.4 /misc/kdeutils3 00018 gstreamer-0.10.11 /multimedia/gstreamer 00017 xchat-2.6.8_1 /irc/xchat MGPMrPortBrokeCheck 0.4.1_6 error: gstreamer-plugins-0.10.11,2 /multimedia/gstreamer-plugins marked IGNORE, adding to ignore.db MGPMrPortBrokeCheck 0.4.1_6 error: gstreamer-plugins-0.10.11,2 /multimedia/gstreamer-plugins marked IGNORE, adding to ignore.db MGPMrPortBrokeCheck 0.4.1_6 error: gstreamer-plugins-mad-0.10.4_2,2 /audio/gstreamer-plugins-mad marked IGNORE, adding to ignore.db MGPMrPortBrokeCheck 0.4.1_6 error: gstreamer-plugins-mad-0.10.4_2,2 /audio/gstreamer-plugins-mad marked IGNORE, adding to ignore.db MGPMrPortBrokeCheck 0.4.1_6 error: gstreamer-plugins-ogg-0.10.11_1,2 /audio/gstreamer-plugins-ogg marked IGNORE, adding to ignore.db MGPMrPortBrokeCheck 0.4.1_6 error: gstreamer-plugins-ogg-0.10.11_1,2 /audio/gstreamer-plugins-ogg marked IGNORE, adding to ignore.db MGPMrPortBrokeCheck 0.4.1_6 error: gstreamer-plugins-vorbis-0.10.11_1,2 /audio/gstreamer-plugins-vorbis marked IGNORE, adding to ignore.db MGPMrPortBrokeCheck 0.4.1_6 error: gstreamer-plugins-vorbis-0.10.11_1,2 /audio/gstreamer-plugins-vorbis marked IGNORE, adding to ignore.db /usr/ports/audio/gstreamer-plugins-flac/../../multimedia/gstreamer-plugins/Makefile.common, line 350: Malformed conditional (${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!=) /usr/ports/audio/gstreamer-plugins-flac/../../multimedia/gstreamer-plugins/Makefile.common, line 354: Malformed conditional (${gst_${GST_PLUGIN}_USE_SDL}!=) /usr/ports/audio/gstreamer-plugins-flac/../../multimedia/gstreamer-plugins/Makefile.common, line 356: if-less endif /usr/ports/audio/gstreamer-plugins-flac/../../multimedia/gstreamer-plugins/Makefile.common, line 356: Need an operator /usr/ports/audio/gstreamer-plugins-flac/../../multimedia/gstreamer-plugins/Makefile.common, line 377: if-less endif /usr/ports/audio/gstreamer-plugins-flac/../../multimedia/gstreamer-plugins/Makefile.common, line 377: Need an operator make: fatal errors encountered -- cannot continue MGdbAdd error: attempt to place null data into record halted assertion 0 failed: file MGdbAdd.c, line 78 Abort trap (core dumped) ([EMAIL PROTECTED])# What's the best way to resolve this??? Thanks. __ 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]
Internet Connection Problem - DNS Related?
I am a new user of FreeBSD. I have already installed FreeBSD succesfully. However, I am not able to connect to the Internet. I have read the ppp manual in FreeBSD (by typing man ppp), but I still can't connect to the Internet. This is what happened at my prompt ... abc# ping google.com ping: cannot resolve google.com: Host name lookup failure Then, I thought perhaps I haven't configure my DNS. So I typed man dns, but I can't find the DNS manual, and yes... I know my ISP DNS IP address. But I don't know where to configure it in FreeBSD. Hope someone can help me. Thanks. __ 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]
Tyan S3950 and amd64 FreeBSD fails on bootup
Dear group, I got a problem with a new AMD Opteron box, when I bot FreeBSD 6.1 (amd64) I get this: fBSD/i386 bootstrap revision 1.1 kernel text= data= sym= at-xy not found [regdump] BTX halted I've put a (very bad) screenshot online here: http://www.hta-bi.bfh.ch/~gea2/freebsdamd.jpg It's a Tyan S3950 Mainboard which is on the list of devices that work at least for some people: http://www.freebsd.org/cgi/query-pr.cgi?pr=104661 Specs of the machine: * CPU: AMD Dual Core A64 X2 4200+ / 2x2200MHz / 2x512KB Cache * Motherboard: TYAN 3950 AM2 with VGA / 2x Gbit Intel LAN (4 DIMM) I use a 3ware SATA RAID controller, the onboard one does not have to work and is on PATA compatibility mode already for the CDROM. I've booted this CD image: 6.1-RELEASE-amd64-bootonly.iso I couldn't find anything useful with google or in the release notes/errata. Interestingly I can't find *anything* useful for the at-xy not found error message (which is really happening like this). The vendor ships a SUSE Linux with this box which works fine, also Fedora 6 amd64 boots just fine on it. I'm a bit lost now, especially because I cannot even disable anything in the kernel like this. So any hints would be appreciated. cu Adrian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find port install options
Robin Becker wrote: Is it possible to determine what options were used during port installation. One of the recipes I'm trying to follow calls for perl to be installed with USE_THREADS=yes. well I found out that the installed perl doesn't have threads by running a thread sample script. But I guess I still need to know if any other options were used during the install. I suppose its safest to assume that I need to reinstall perl, but how easy is it to do that? I think it was installed by default. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: undeliverable mail
On Wed, 20 Dec 2006, Beastie MRA wrote: On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote: It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with doors labeled Dungeon and Forbidden. There is noise, the door marked Dungeon flies open and Beastie MRA SHOUTS: Dear All. For past few days, my MX receive thousand of undeliverable message destinated for my non existent user at my domain. This happens when you run a mailserver, however big or small, and will keep on happening as long as email mark 1 keeps running; kids, crooks and scammers learn how to assemble kit robots; and M$ rules the waves. This message source come from valid and well configured (almost) smtp server on internet. If it's from a persistent single source, or a class of IPs on a single network or ISP, a polite but well documented message to the responsible contact address for the domain or IP address block often still works. dig, and (e.g) dnsstuff.com or other whois frontends are handy friends. I'ts waste my internet b/w, cause my MX will reject with non existent user message. Always to the same non-user, or a range of them? You'll see both types. I'll try spamd on my firewall and greylist on my MX (postfix), but still no effective, and i cannot block undeliverable message as RFC rules You can block anything you find a nuisance, and sometimes have to. If you can't do it with the mailserver and the RP for the domain won't or can't help, use your firewall. No RFC prohibits you from protecting yourself or the network you're responsible for. 'ipfw add 1 deny tcp from $badmx to any 25 in recv $oif setup' is my mantra for short term blocks .. if still happening after a few days, they may get promoted to a higher rule number, else deleted. Automatic tools are great, but so are logs, tcpdump and your favourite firewall .. But I doubt we get 260,000 messages a year here, so listen to Bill :) Is there any way i can fix this ? Please help I use the virtusertable in sendmail, and I have my valid addresses, such as [EMAIL PROTECTED] bv and then for after that is a line of @wjv.com nouser. And nouser is defined in aliases as nouser: /dev/null On one of the mail servers I maintain I just checked and I had 260,000+ messages routed to *file* in the maillog - which shows up as mailer=*file* in the logs. That maillog rotates every night at midnight. Is not really a freebsd-net problem so I removed that from the reply to line. Me too. Bill -- Bill Vermillion - bv @ wjv . com Thanks for response... but this virtusertable will not stop SMTP server in internet to keep send you undeliverable message. No, but delivery ends with the User Unknown response; you get no body. I assume someone doing nasty with forged and use my domain email to send his spam message to non existing user. You get that. Lots. But it's nearly all millions of rooted windows boxes doing their [EMAIL PROTECTED] dance; don't take it too personally :) and i got undeliverable message. Sorry, do you mean a message in your maillog, or you're actually getting phony bounce messages mailed to your address? You get that too .. Cheers, Ian Is there any clue ?? Oh.. i forget to mention i use 4.11-STABLE for my MX regards Reza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: radeon hardware acceleration on 6.2-PRERELEASE - does not
On Tue, 19 Dec 2006 02:02:34 + (UTC) [EMAIL PROTECTED] wrote: radeon hardware acceleration on 6.2-PRERELEASE - does not Nothing I do seems to persuade my system to use the hardware acceleration on either of my graphics cards. If someone could point out something I've missed, I would very much appreciate it. well well have o good study and read the man pages, just to make you understand the way it works... man radeon, man ati, man xorg.conf, man xorg, man vga, man vesa, man Composite, man vidcontrol. and may a few more. ;o) ++ try study your file /var/log/Xorg.0.log or /var/log/Xorg.log ++ all you need to know about your Radeon card is written in there !!! XORG dose a pretty good job of testing the graphic card ! my hint: the option part is the key, as written in the man pages but 1st. of all... your kernel should contain some thing like this for a start: there is a lot in mine, but you may don't need or want all this !! # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device mse # BUS mouse device psm # PS/2 mouse options PSM_HOOKRESUME options SC_DFLT_FONT makeoptions SC_DFLT_FONT=cp850 options SC_TWOBUTTON_MOUSE options SC_DISABLE_REBOOT device kbdmux # keyboard multiplexer # # VESA, VGA settings device vga # VGA video card driver options VESA# VESA support device acpi_video # LCD backlight/brightnes extention device drm device agp # support for AGP chipsets as used on RADEON device sc # Sytem-Console #device r128drm # ATI-Rage is NOT used on my Radeon card !!! device radeondrm # ATI Radeon RV100 Mobility LY M6 / AGP chipset device splash # Splash screen and screen saver support options MAXCONS=9 # Max-No. of virtual terminals (standard=16) options SC_PIXEL_MODE # raster text mode VESA_800x600, MODE_280, MODE_291 options CONSPEED=115200 options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK) options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED) your xorg.conf file should look like this. but don't just copy my settings, that will 200% crash your Xserver, study your /var/log/Xorg.0.log and use YOUR data of your Radeon card This is only my working xorg.conf and is not perfect !! use it as a sample only !!! you don't need all of this, many of the Option settings are the default anyway !!! read the man pages to tweak your system !!! --- # # # xorg.conf tweak on: iTronix GoBook II IX260 # by: Hanno 12-Dec-2006 /etc/X11/xorg.conf # Section ServerLayout Identifier X.org Configured Screen Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard Option Pixmap 32 Option BlankTime 10 Option StandbyTime 20 Option SuspendTime 30 Option OffTime 40 Option HandleSpecialKeys WhenNeeded Option Xinerama OFF need to be OFF for DRI to work EndSection # Section Files # LogFile /var/log/xdm.0.log # FontPath /usr/X11R6/lib/X11/fs # FontPath /usr/X11R6/lib/X11/fonts/local/ # FontPath /usr/local/share/texmf/fonts # FontPath /usr/X11R6/lib/X11/fonts/CID/ # FontPath /usr/X11R6/lib/X11/fonts/Speedo/ # FontPath /usr/X11R6/lib/X11/fonts/TrueType/ RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/local/share/fonts/amspsfont/type1 FontPath /usr/local/share/fonts/cmpsfont/type1 FontPath /usr/local/share/fonts/cm-super/type1 FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/bitstream-vera/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/URW/ FontPath /usr/X11R6/lib/X11/fonts/farsifonts/ FontPath /usr/X11R6/lib/X11/fonts/freefont-ttf/ FontPath /usr/X11R6/lib/X11/fonts/mozilla/ FontPath /usr/X11R6/lib/X11/fonts/mathfonts/ FontPath /usr/X11R6/lib/X11/fonts/texcm-ttf/ EndSection # Section Module### bitmap is loaded automatically !! Load dbe Load dri Load extmod
Re: ipfw rules
Cool! thanks for the reply + suggestions! I haven't had any trouble with my firewall blocking too much yet (also didn't connect to the internet much yet :), but i'll think about just allowing all out... on the other hand i like the idea of just letting through out that i need (which isn't very much) and denying all else. I don't use the file shares on the network, so i figured if i got a packet from one of those addresses it would be a mistake so i let them drop. Anyway, i'll try to build some rules based on the suggestions you made and then i can try them both and then decide which one gives me the least trouble :) greetings, jurjen. On Mon, Dec 18, 2006 at 04:29:06AM +0200, Giorgos Keramidas wrote: On 2006-12-16 18:01, Jurjen Middendorp [EMAIL PROTECTED] wrote: I tried making a firewall for my laptop..but i'm not sure if i forgot anything. And things can always be done better :) #to stack (student computer thing... e-mail, irc, ssh stuff) $cmd 020 allow all from me to 131.155.140.141/16 via $oif $ks #allow ssh $cmd 021 allow all from me to any 22 out via $oif setup $ks #internet sites: $cmd 032 allow tcp from me to any 80 out via $oif setup $ks #https $cmd 033 allow tcp from me to any 443 out via $oif setup $ks #gopher $cmd 034 allow tcp from me to any 70 out via $oif setup $ks #other e-mail #pop $cmd 040 allow tcp from me to any 110 out via $oif setup $ks #imap $cmd 041 allow tcp from me to any 143 out via $oif setup $ks #allow dns queries $cmd 050 allow udp from me to any 53 out via $oif $ks #allow ntp (?) queries $cmd 051 allow udp from me to any 123 out via $oif $ks #i can send icmp myself $cmd 060 allow icmp from me to any out via $oif $ks #but others can't $cmd 061 deny icmp from any to me # #root can do anything $cmd 070 allow tcp from me to any out via $oif setup $ks uid root #log other outgoing packets $cmd 071 deny log all from any to any out via $oif # Incoming #The default is that all other connections will be blocked anyway, but # the more stuff i put in here, the less stuff will get logged #deny incoming to private networks $cmd 100 deny all from 192.168.0.0/16 to any in via $oif#RFC 1918 $cmd 101 deny all from 172.16.0.0/16 to any in via $oif #RFC 1918 $cmd 105 deny all from 169.254.0.0/16 to any in via $oif#DHCP auto $cmd 106 deny all from 192.0.2.0/24 to any in via $oif #reserved $cmd 108 deny all from 192.168.0.0/16 to any in via $oif#D E class # multicast #block smb stuff $cmd 120 deny tcp from any to me 137 in via $oif $cmd 121 deny tcp from any to me 138 in via $oif $cmd 122 deny tcp from any to me 139 in via $oif #log ACK packets that did'nt match the dynamic ruleset $cmd 130 deny log all from any to any established in via $oif #Now log some stuff in case i did something wrong $cmd 999 deny log any to me rule 999 had a syntax error and now it reads ...log all from... that works a bit better :) It's a fairly complex ruleset, but it seems mostly ok. There are a few things I'd change, mostly resulting from my own personal preferences: * I don't like hard-coding rule numbers in IPFW rulesets. * I like using 127.0.0.1/32 instead of any for loopback interfaces. * In general, I prefer much simpler rulesets. * I try to avoid a lot of variables/macros, like your $ks, since they don't really keep things a lot shorter, and when they do they try to abstract away too much of ipfw's syntax. * I don't aggressively filter out ICMP packets. They are useful for a lot of things, they are rate-limited by the kernel, and it is usually silly to block them without a fair amount of knowledge and a very good reason. * I don't deny packets for 'private' networks,like 192.168.0.0/26 because the networks I use with my laptop *ARE* private a lot of the time. Having the firewall block too much and cause me problems is rarely a good way of spending my time. I would probably start with something like: recommendation for ipfw ruleset ___ 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: undeliverable mail
On Wed, Dec 20, 2006 at 23:58 , Men gasped, women fainted, and small children were reduced to tears as Ian Smith confessed to all: On Wed, 20 Dec 2006, Beastie MRA wrote: On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote: [bunches deleted - wjv] But I doubt we get 260,000 messages a year here, so listen to Bill :) I used to get 300,000 spams PER DAY for springbreak.com until in desperation I changed the MX records to point to local host. I didn't really want to do that, but I had no choice. The first time that domain was brought up in 1995, before I got involved with the principles. It was up for only about 2 - 3 weeks before the ISP turned them off as it was totally overloading their T1. So they became their own IPS with a dedicatd T1 to AGIS - back before it became spam central. Keeping track of a domain that comes up #1 in google with only 1 key word can be a pain. Now things are nicer as my servers are inside a rack at the local Level 3 facility and I have 24x7 access in case of problems. Running 100Mbit links into their global OC768 with no provider above me makes things a bit more problematic. The only thing that would make me give up this whole business is the email problem. But all our email clients are business customers that are clients of a local HW/SW support house so I NEVER have to talk with end users - as the support house does all the trouble shooting on the client side, and I only get real problems forwarded to me. Bill -- Bill Vermillion - bv @ wjv . com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet Connection Problem - DNS Related?
On Wednesday 20 December 2006 03:10, linux quest wrote: I am a new user of FreeBSD. I have already installed FreeBSD succesfully. However, I am not able to connect to the Internet. I have read the ppp manual in FreeBSD (by typing man ppp), but I still can't connect to the Internet. This is what happened at my prompt ... abc# ping google.com ping: cannot resolve google.com: Host name lookup failure Then, I thought perhaps I haven't configure my DNS. So I typed man dns, but I can't find the DNS manual, and yes... I know my ISP DNS IP address. But I don't know where to configure it in FreeBSD. Hope someone can help me. Thanks. You might want to ensure you have connectivity by trying to ping something by IP. (128.101.101.101 would work if you don't know an IP off the top of your head) Anyways, to answer your question, nameservers are configured in /etc/resolv.conf nameserver xx.xx.xx.xx is the format of the directive in it. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet Connection Problem - DNS Related?
On 12/20/06, linux quest [EMAIL PROTECTED] wrote: I am a new user of FreeBSD. I have already installed FreeBSD succesfully. However, I am not able to connect to the Internet. I have read the ppp manual in FreeBSD (by typing man ppp), but I still can't connect to the Internet. This is what happened at my prompt ... abc# ping google.com ping: cannot resolve google.com: Host name lookup failure Then, I thought perhaps I haven't configure my DNS. So I typed man dns, but I can't find the DNS manual, and yes... I know my ISP DNS IP address. But I don't know where to configure it in FreeBSD. man resolve.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP 5 with Apache 1.3 [reprise]
Sorry to follow up on my own message, but it's all still true, and I should report having found not a solution but at least a workaround .. On Tue, 19 Dec 2006, Ian Smith wrote: On Mon, 18 Dec 2006, Thomas Wahyudi wrote: Ian Smith wrote: Hi all, bit of a long saga, and a (by now) humble question .. [..] What do I need to do to get Apache to execute mod_php5 on .php files? Cheers, Ian have you check output from /var/log/httpd-error.log ? it should type some php version if the php is working correctly or could you paste here the log from /var/log/httpd-error.log after you restart the apache ( assuming you install apache from port too ) Thanks Thomas, [Tue Dec 19 01:25:42 2006] [notice] Apache/1.3.37 (Unix) PHP/5.2.0 with Suhosin-Patch configured -- resuming normal operations [Tue Dec 19 01:25:42 2006] [notice] Accept mutex: flock (Default: flock) No, I'd installed apache-1.3.37_1 from the package, but that's not the problem. No errors at all appear in httpd-error.log since the build. I've just now tried what should have been step #1, a /phpinfo.php page: ?php phpinfo(); ? which works just fine, so now I can concentrate on finding out what's wrong with my phpMyAdmin config .. maybe some cruft from earlier. Further, .php scripts consisting only of the phpinfo() above, work fine anywhere under docroot, and if called index.php, work for any directory under docroot - but not in the phpmyadmin directory, unless referenced directly eg http://localhost/mypmyadmin/index.php - which works fine. Once so launched, phpmyadmin is working great, and I can get back to work on several overdue tasks, which was the point of the exercise. However, I'm still bemused as to why this is happening: The weird thing is that fetching /localhost/phpmyadmin/ Mozilla offers, as mentioned, to save the file of type application/x-httpd-php, but whether I cancel or go ahead and save the file under the chosen random name - which works fine and is identical to /phpmyadmin/index.php - absolutely NOTHING gets logged to httpd-access.log, either way .. ? I turned logging on and up on php and apache. Still the above fetches deliver the raw index.php file to save, but still log NOTHING nowhere(?) So here's what's in httpd.conf possibly (I think) related to this: #LoadModule php4_modulelibexec/apache/libphp4.so LoadModule php5_modulelibexec/apache/libphp5.so [..] #AddModule mod_php4.c AddModule mod_php5.c ServerName 127.0.0.1 DocumentRoot /usr/local/www/data DirectoryIndex index.php index.html #% chasing php weirdness, normally LogLevel warn LogLevel info IfModule mod_alias.c [..] Alias /phpmyadmin/ /usr/local/www/phpMyAdmin/ Directory /usr/local/www/phpMyAdmin Options Indexes FollowSymlinks AllowOverride None Order allow,deny Allow from all /Directory /IfModule IfModule mod_mime.c [..] #% 17/12/6 for php5 .. IfModule mod_php5.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps /IfModule [..] /IfModule Everthing else is pretty standard, and as it's been for ages, as was the above, updated from php4 to php5 after building php5 for mod_php5.so. Permissions are standard: directories 755, files 644, owner root:wheel Anyway, http://localhost/phpmyadmin/ always fails as above, while http://localhost/phpmyadmin/index.php works fine, so I'll just have to leave it at that for now .. it's still strange though .. Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Internet Connection Problem - DNS Related?
linux quest writes: abc# ping google.com ping: cannot resolve google.com: Host name lookup failure Then, I thought perhaps I haven't configure my DNS. A reasonable guess. So I typed man dns, but I can't find the DNS manual, and yes... I know my ISP DNS IP address. But I don't know where to configure it in FreeBSD. The magic name you're looking for is named. The configuration files are usually someplace like /etc/named, and it's activated by settings in /etc/rc.conf. Check also /etc/resolv.conf and /etc/hosts. 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: small mail server
Dave wrote: Hi, You want to set up a separate mail server from your isp? If that's the case I can do this if you want. I've got this working on a FreeBSD 6.1 box and i quite like it. This would actually give me the excuse i mean motivation to get webmail working on my own box as well. I would base this server on a postfix solution, and for the amound of users your not likely to need a database, that's overkill. HTH Dave. .. Thanks for the offer Dave, I don't think my boss would allow non-employees to access our servers. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: small mail server
Jeff Palmer wrote: At 06:23 AM 12/20/2006, you wrote: Robin, I've had much success with the following guide. http://www.thekeyboardcowboys.org/help/fbsd_postfix/FreeBSD_Postfix.html It mentions everything you have above, with SMTP AUTH (you don't have to check mail before sending) Hope it helps, ... I've heard lots about Postfix, but have never used it. Since the box is currently only using sendmail for outgoing stuff I guess it shouln't be too much of a pain to try it out. I've actually been considering using a jail to do this so it should be fairly easy to do. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
1440x900
Hey guys, sorry to bug you gain i forgot pc-bsd has xfree86, not really familiar with this one, but i did find xree86config in etc/X11 and added the mode to the line anything else i can try? -- Dan Sikorsky *Systems Admin/GoldMine Admin* RegionalHelpWanted.com,Inc. Cupid.com, Inc. 845-471-5200 x220 One Civic Center Plaza, Suite 506 Poughkeepsie, NY 12601 /http://RegionalHelpWanted.com http://Cupid.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: small mail server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/20/06 6:47 AM, Robin Becker wrote: Jeff Palmer wrote: At 06:23 AM 12/20/2006, you wrote: Robin, I've had much success with the following guide. http://www.thekeyboardcowboys.org/help/fbsd_postfix/FreeBSD_Postfix.html It mentions everything you have above, with SMTP AUTH (you don't have to check mail before sending) Hope it helps, ... I've heard lots about Postfix, but have never used it. Since the box is currently only using sendmail for outgoing stuff I guess it shouln't be too much of a pain to try it out. I've actually been considering using a jail to do this so it should be fairly easy to do. In my experience Postfix is simpler to administer than Sendmail, but it really depends on what you're familiar with. This might be overkill for your needs, but here's a useful guide to setting up Postfix and Squirrelmail for virtual domains: http://www.wistful.net/wiki/Ed's_FreeBSD_Virtual_Mail_How-To There are similar howtos for exim and qmail but I haven't tried these: http://www.tty1.net/virtual_domains_en.html http://freebsd.qmailrocks.org/ dn -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFiVZ1yPxGVjntI4IRAvpAAJ9tPgFYqfvreipTy4kYeqrOmvTuJwCeI7ca x8x53/8kZ2NwFnXwJbsj78s= =1j9T -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: var out of space
On Tue, Dec 19, 2006 at 06:22:45PM -0800, Bradley Giesbrecht wrote: Thanks for all help. uname says FreeBSD 4.10-SECURITY Looks like I should do a fresh install. What's a bugger is this server does dns (bind 8) and web hosting (Apache 1.3) for a few hundred domains. I can backup the zone and web data no problem but I've only installed FreeBSD a few times while looking for a replacement for Gentoo. I need to get this right. This server will only be doing dns and some minor (low hit) web hosting. I will do my own homework and google like hell before I do this but I'd like to ask here on this list what version of FreeBSD I should go with Go with the latest _RELEASE version. Currently that is 6.1_RELEASE but 6.2_RELEASE is expected out very soon - maybe before you finish reading handbook and DNS and Apache documentation. if there is a good howto for a combo bind/apache/php/mysql build. There is good information in the FreeBSD handbook plus for DNS, check out the O'Reilly DNS and Bind Grasshopper book and the O'Reilly DNS and Bind Cookbook Opossum book. There are several Apache books that each have a slightly different style, but you might want to start with one of the FreeBSD books such as 'FreeBSD Unleashed' that have a piece more specific to setting it up on FreeBSD. Go for the latest editions of these books. They tend to re-release them every so often, updated for later versions. Thanks for sharing your valuable time. Have fun, jerry //Brad On Dec 16, 2006, at 11:31 PM, Bradley Giesbrecht wrote: Hello, I inherited a freebsd installation with a var slice/mount that is to small and filling up all the time. What type of info should I provide to allow someone to help me with a solution? I would very much prefer to not install another drive just for /var. /usr has plenty of space. Can I mount var off of /usr? Here is the output of df for starters: /dev/ad0s1a128990 119970-1298 101%/ /dev/ad0s1f257998 1852465211478%/tmp /dev/ad0s1g 112755734 4533434 99201842 4%/usr /dev/ad0s1e257998 2069563040487%/var procfs 4 40 100%/proc and ls -la at / looks like this: -rw-r--r-- 2 root wheel 802 May 25 2004 .cshrc -rw-r--r-- 2 root wheel 251 May 25 2004 .profile -r--r--r-- 1 root wheel 6355 May 25 2004 COPYRIGHT drwxr-xr-x 2 root wheel 1024 Nov 29 17:39 bin drwxr-xr-x 3 root wheel 512 Nov 5 15:27 boot drwxr-xr-x 2 root wheel 512 Jan 16 2005 cdrom lrwxr-xr-x 1 root wheel 10 Jan 16 2005 compat - usr/compat drwxr-xr-x 3 root wheel20480 Jan 16 2005 dev drwxr-xr-x 16 root wheel 2560 Dec 1 16:11 etc lrwxrwxrwx 1 root wheel9 Jan 16 2005 home - /usr/home -r-xr-xr-x 1 root wheel 4344469 Nov 5 13:22 kernel -r-xr-xr-x 1 root wheel 4344469 Nov 5 13:22 kernel.GENERIC drwxr-xr-x 2 root wheel 512 May 25 2004 mnt drwxr-xr-x 2 root wheel 4608 Nov 5 13:22 modules dr-xr-xr-x 1 root wheel 512 Dec 17 01:10 proc drwxr-xr-x 3 root wheel 512 Nov 5 13:36 root drwxr-xr-x 2 root wheel 2048 Nov 5 15:27 sbin drwxr-xr-x 4 root wheel 1024 Jan 16 2005 stand lrwxr-xr-x 1 root wheel 11 Nov 5 15:27 sys - usr/src/sys drw--- 7 root wheel 2048 Dec 17 01:09 tmp drwxr-xr-x 18 root wheel 512 Jan 16 2005 usr drwxr-xr-x 21 root wheel 512 Nov 6 11:54 var Thanks for any help, Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [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: if_nfe on nVidia chipset
Palle Girgensohn wrote: --On söndag, december 17, 2006 01.06.24 +0900 Shigeaki Tagashira [EMAIL PROTECTED] wrote: I have the same one. And if_nfe works well on it, in both FreeBSD 6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using ifconfig command; # ifconfig nfe1 down; ifconfig nfe1 up --- S. Tagashira Hi Tagashira-san, Tried a lot of stuff, up and down and also debug flag, but nothing helps. ifconfig says media: Ethernet autoselect (none) I can ping the interface itself, but nothing else. Any ideas? Hi, I updated my web site for FreeBSD nfe driver. Please try the lastest nfe driver and e1000phy patch provided on the web site. These codes were modified to detect link media more correctly. --- S. Tagashira Regards, Palle Palle Girgensohn wrote: Hi! Sorry for the cross post, I'd love to know if I can get this working or not. Regards, Palle -- Forwarded Message -- Date: tisdag, december 12, 2006 18.52.35 +0100 From: Palle Girgensohn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: if_nfe on Asus M2N-SLI deluxe? Hi! Does anybody know if if_nfe should work on the above motherboard? I snached the patch for FreeBSD-6.2 from http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and tried it. The kernel and ifconfig seems happy, but it does not work; ifconfig reports active but ifconfig reports: nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING ether 00:17:31:86:aa:31 media: Ethernet autoselect (none) status: no carrier nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4 inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255 ether 00:17:31:86:b4:c6 media: Ethernet autoselect (none) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5inet 127.0.0.1 netmask 0xff00 The media part of nfe1 looks bad, eh? Is it supposed to work? How can I help to get it working? FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else needed? /Palle -- End Forwarded Message -- Subject: if_nfe on Asus M2N-SLI deluxe? From: Palle Girgensohn [EMAIL PROTECTED] Date: Tue, 12 Dec 2006 18:52:35 +0100 To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Hi! Does anybody know if if_nfe should work on the above motherboard? I snached the patch for FreeBSD-6.2 from http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and tried it. The kernel and ifconfig seems happy, but it does not work; ifconfig reports active but ifconfig reports: nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING ether 00:17:31:86:aa:31 media: Ethernet autoselect (none) status: no carrier nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4 inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255 ether 00:17:31:86:b4:c6 media: Ethernet autoselect (none) 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 The media part of nfe1 looks bad, eh? Is it supposed to work? How can I help to get it working? FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else needed? /Palle Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006 [EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTATI ON Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x40ff2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x2001SSE3,CX16 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow AMD Features2=0x1dLAHF,b2,b3,CR8 real memory = 2146369536 (2046 MB) avail memory = 2091245568 (1994 MB) ACPI APIC Table: Nvidia AWRDACPI ioapic0 Version 1.1 irqs 0-23 on motherboard acpi0: Nvidia AWRDACPI on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR
My recent Epiphany about operating systems
7:04 AM, Wednesday, December 20, 2006 In Winblow$, the release bundling of IE was purposely as crippleware, virus, bug delivery system 2 trap people into constantly 'upgrading'. A simple comparisson of Windows 95 side-by-side with the final Windows ME various IE 'upgrades' illustrates how the supposedly 'new improved' stuff is actually about 1/5 the speed, about 10X less reliable. The Ephiphany: A similar crippleware model exists in UNIX Linux, BSD, Dragonfly, IRIX, Open VMS, etc! But what is the method of crippling? The USER INTERFACE is purposely difficult to use, requiring vast tracts of arcane code 'switches' the user is 'supposed' to be able to remember. The OS Kernels are designed to require constant patching or nothing runs properly when 'upgrading' softwares. What is the result? Well, the OS applications may be free, but the system administrator type costs are not. I have concluded, in a flash of insight, that all of the non-windows OSes, save perhaps TRON (which is a Jap OS that is actually designed to simply WORK - runs most cell phones, anti-lock brakes, etc.) - the function of most free OSes softwares is to create a market for engineering services to create a functional environment with them. While even though WInblow$ is crippled slowed down artificially like molasses in a 'stock' install, at least it FUNCTIONS. Free operating systems never do. It's hell even trying to convigure the hardware, on which Windows everything in that respect is done automatically. If a bunch of morons at Micro$hit can make drivers automatically load, systems automatically configure, damn sure a bunch of tweaky inventors at 'god-knows-what-or-another' linux could do it to. Truth is, they simply have no interest in making things configure easily. It would put the 'sysadmins' who wrote the programs out of a job! When I approached Dragonfly BSD about simply offering a menu-driven interface, like WIndow$, so things could be easily configured installed, those who didn't simply ignore me made a point of laughing at me mocking me. They are simply not even interested in making it easy. They WANT it 2 B hard 2 use. It is done BY DESIGN! Sick - but true. Rather like how doctors in America inject people over over with mercury in vaccines, so they get 'disseasses' like 'autism' 'altzheimers' (just different names for mercury poisoning). Free operating systems, on average, are written specificaly to work well once configured, but the configuration to be a complete nightmare so as to create a need for 'system administrator' employees. They write it 2 B a pain in the ass, 2 assure their own job security. Just like M$ writes Windoze 2 B full of bugs, so they can keep selling the same crap over over oh but we fixed it this time - yeah right :)) I am still using the shell from Windows95. It's the only stable, AND fast shell that Microsoft has released. Even their own services like MSN Hotmail don't use their own shit. THey use BSD! I am sure, over at Hurricane Internet (their subcontractor), those BSD guys are happy to spend their days 'configuring' things for a pretty penny! HAHAHAHA - the 'unix' geeks R laughing all the way 2 the bank! They're not ripping people off via software per se, but 'services' What the world needs is a single OS that will run all softwares. Short of that, at least an OS that will run all versions of Windows software. The very first pre-IE Windows95 shell comes very close - few bugs in it, but relatively minor. It is the best product Microsoft has ever produced. We should get together release a 'toolkit' to upgrade the kernel from this early 1995 release, so it will be compatable with things like 'get special folders path' and '.net' other bullshit that 3rd programmers have written into their code 2 look 4 in the shell. Basically, take those few elements REQUIRED from the last shells, make a way 2 import only those NON-crippling functions into the first shell. 'Get special folders path' is a particularly common error, as incompatability goes. About 1 in 5 new programs expect that 'function call' or whatever. It is easy enough 2 switch shells while installing or using those programs, but it incapacitates the functionality of the other kernel things - like being able 2 move vast tracts of files around without the whole OS locking up LOL Oh notice also how if you take Windows98 upgrade it to the 'latest greatest' IE, it will lock up the computer even MORE often LOL!!! I mean, just trying 2 move some files around- everything freezes! So people are saying 'get me XP NOW!' - haha - if they just put the 95 shell on there, the fucking machines SCREAM! :) OOOH 30,000 files - can I have some more? Oh nice, 55,000 folders - yum! Yes that is common - I am always moving huge numbers of things around. I rip a lot of sites, backup customer systems, etc. Oh another thing nice would
Re: acrobatviewer
On Tue, 19 Dec 2006, Warren Block wrote: [fixing screen wrap problem] java -cp acrobat.jar com.adobe.acrobat.Viewer Exception in thread main java.lang.NoClassDefFoundError: com/apple/mrj/MRJAboutHandler It doesn't fix that, but here's a patch to fix, or at least start to fix, the most obvious problems in the AcrobatViewer shell script: --- AcrobatViewer.old Wed Dec 20 08:12:16 2006 +++ AcrobatViewer Wed Dec 20 08:21:58 2006 @@ -119,7 +119,7 @@ do #lsstring=`ls -dgon $currname` lsstring=`ls -l $currname` - islink=`expr $lsstring : .*[\]\(.*\)` + islink=`expr \$lsstring\ : \.*[]\(.*\)\` if [ ${islink:-} = -o ${islink:-0} = 0 ] then linked=false @@ -257,7 +257,7 @@ then finished=true else - testclp=`expr $thisclp : \([/]\)` + testclp=`expr \$thisclp\ : \([/]\)` if [ ${testclp:-} = -o ${testclp:-0} = 0 ] then absclp=$absclp$here/$thisclp: @@ -610,7 +610,7 @@ # linkDir=`dirname $actvm_remaining` minusLoutput=`ls -l $actvm_remaining` - minusLoutput=`expr $minusLoutput : .*[\] \(.*\)` + minusLoutput=`expr \$minusLoutput\ : .*[\] \(.*\)` while [ $minusLoutput != -a $minusLoutput != 0 ] do if [ `expr $minusLoutput : ^/` = 0 ]; then -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: small mail server
On Wednesday 20 December 2006 02:23, Robin Becker wrote: I'm looking for some advice on using one of our existing freebsd 6.x servers as a mail server for a small number (20) of users. Our existing provider gives us 1) pop3/IMAP for reading mail 2) SMTP for sending, but we need to read mail before using smtp; I guess this implies we don't need to authenticate directly. 3) web based interface for adding users and redirections etc etc 4) spam filtering (presumably based on their large user mail volume). 5) white/grey listing I would suggest postfix, spamassassin/procmail set server wide and the pop/imap server of your choice. Both postfix and spamassassin have detailed how-to's on their sites. IMHO postfix is much easier to configure than sendmail, but then I haven't used sendmail in years. Make sure you use the spamassassin binary (spamd) or it can get very slow. Spamassassin has whitelist/greylist, blacklist and RBH available. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgp7qijIKtn9n.pgp Description: PGP signature
Re: find port install options
On Wednesday, 20 December, 2006 at 12:42:09 +, Robin Becker wrote: Robin Becker wrote: [...] thread sample script. But I guess I still need to know if any other options were used during the install. /var/db/ports e.g. cat /var/db/ports/portupgrade/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for portupgrade-2.1.3.2_1,2 _OPTIONS_READ=portupgrade-2.1.3.2_1,2 WITH_BDB4=true WITHOUT_BDB1=true Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My recent Epiphany about operating systems
On 12/20/06, Terabyte Pete [EMAIL PROTECTED] wrote: 7:04 AM, Wednesday, December 20, 2006 In Winblow$, the release bundling of IE was purposely as crippleware, virus, bug delivery system 2 trap people into constantly 'upgrading'. A simple comparisson of Windows 95 side-by-side with the final Windows ME various IE 'upgrades' illustrates how the supposedly 'new improved' stuff is actually about 1/5 the speed, about 10X less reliable. The Ephiphany: A similar crippleware model exists in UNIX Linux, BSD, Dragonfly, IRIX, Open VMS, etc! But what is the method of crippling? The USER INTERFACE is purposely difficult to use, requiring vast tracts of arcane code 'switches' the user is 'supposed' to be able to remember. The OS Kernels are designed to require constant patching or nothing runs properly when 'upgrading' softwares. What is the result? Well, the OS applications may be free, but the system administrator type costs are not. I have concluded, in a flash of insight, that all of the non-windows OSes, save perhaps TRON (which is a Jap OS that is actually designed to simply WORK - runs most cell phones, anti-lock brakes, etc.) - the function of most free OSes softwares is to create a market for engineering services to create a functional environment with them. While even though WInblow$ is crippled slowed down artificially like molasses in a 'stock' install, at least it FUNCTIONS. Free operating systems never do. It's hell even trying to convigure the hardware, on which Windows everything in that respect is done automatically. If a bunch of morons at Micro$hit can make drivers automatically load, systems automatically configure, damn sure a bunch of tweaky inventors at 'god-knows-what-or-another' linux could do it to. Truth is, they simply have no interest in making things configure easily. It would put the 'sysadmins' who wrote the programs out of a job! When I approached Dragonfly BSD about simply offering a menu-driven interface, like WIndow$, so things could be easily configured installed, those who didn't simply ignore me made a point of laughing at me mocking me. They are simply not even interested in making it easy. They WANT it 2 B hard 2 use. It is done BY DESIGN! Sick - but true. Rather like how doctors in America inject people over over with mercury in vaccines, so they get 'disseasses' like 'autism' 'altzheimers' (just different names for mercury poisoning). I have no desire to get involved in a flame war, but are you sure on this one? http://www.cdc.gov/od/science/iso/concerns/thimerosal.htm Free operating systems, on average, are written specificaly to work well once configured, but the configuration to be a complete nightmare so as to create a need for 'system administrator' employees. They write it 2 B a pain in the ass, 2 assure their own job security. Just like M$ writes Windoze 2 B full of bugs, so they can keep selling the same crap over over oh but we fixed it this time - yeah right :)) I am still using the shell from Windows95. It's the only stable, AND fast shell that Microsoft has released. Even their own services like MSN Hotmail don't use their own shit. THey use BSD! I am sure, over at Hurricane Internet (their subcontractor), those BSD guys are happy to spend their days 'configuring' things for a pretty penny! HAHAHAHA - the 'unix' geeks R laughing all the way 2 the bank! They're not ripping people off via software per se, but 'services' What the world needs is a single OS that will run all softwares. Short of that, at least an OS that will run all versions of Windows software. The very first pre-IE Windows95 shell comes very close - few bugs in it, but relatively minor. It is the best product Microsoft has ever produced. We should get together release a 'toolkit' to upgrade the kernel from this early 1995 release, so it will be compatable with things like 'get special folders path' and '.net' other bullshit that 3rd programmers have written into their code 2 look 4 in the shell. Basically, take those few elements REQUIRED from the last shells, make a way 2 import only those NON-crippling functions into the first shell. 'Get special folders path' is a particularly common error, as incompatability goes. About 1 in 5 new programs expect that 'function call' or whatever. It is easy enough 2 switch shells while installing or using those programs, but it incapacitates the functionality of the other kernel things - like being able 2 move vast tracts of files around without the whole OS locking up LOL Oh notice also how if you take Windows98 upgrade it to the 'latest greatest' IE, it will lock up the computer even MORE often LOL!!! I mean, just trying 2 move some files around- everything freezes! So people are saying 'get me XP NOW!' - haha - if they just put the 95 shell on there, the fucking machines SCREAM! :) OOOH 30,000 files - can I have some more? Oh nice, 55,000 folders - yum! Yes that is common - I am always
Re: find port install options
On Wed, 20 Dec 2006, Robin Becker wrote: Robin Becker wrote: Is it possible to determine what options were used during port installation. One of the recipes I'm trying to follow calls for perl to be installed with USE_THREADS=yes. well I found out that the installed perl doesn't have threads by running a thread sample script. But I guess I still need to know if any other options were used during the install. It should show on 'perl -V' under Compile-time options. I suppose its safest to assume that I need to reinstall perl, but how easy is it to do that? I think it was installed by default. Easy, as long as you've updated ports with cvsup or portsnap. As root: cd /usr/ports/lang/perl5.8 make -DWITH_THREADS install make clean -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My recent Epiphany about operating systems
On Wed, Dec 20, 2006 at 07:38:30AM -0800, Terabyte Pete wrote: 7:04 AM, Wednesday, December 20, 2006 Goes to show you that not all Epiphanies are about revealing reality. Some are merely false lights leading one down a darkened path. jerry In Winblow$, the release bundling of IE was purposely as crippleware, virus, bug delivery system 2 trap people into constantly 'upgrading'. A simple comparisson of Windows 95 side-by-side with the final Windows ME various IE 'upgrades' illustrates how the supposedly 'new improved' stuff is actually about 1/5 the speed, about 10X less reliable. The Ephiphany: A similar crippleware model exists in UNIX Linux, BSD, Dragonfly, IRIX, Open VMS, etc! But what is the method of crippling? The USER INTERFACE is purposely difficult to use, requiring vast tracts of arcane code 'switches' the user is 'supposed' to be able to remember. The OS Kernels are designed to require constant patching or nothing runs properly when 'upgrading' softwares. What is the result? Well, the OS applications may be free, but the system administrator type costs are not. I have concluded, in a flash of insight, that all of the non-windows OSes, save perhaps TRON (which is a Jap OS that is actually designed to simply WORK - runs most cell phones, anti-lock brakes, etc.) - the function of most free OSes softwares is to create a market for engineering services to create a functional environment with them. While even though WInblow$ is crippled slowed down artificially like molasses in a 'stock' install, at least it FUNCTIONS. Free operating systems never do. It's hell even trying to convigure the hardware, on which Windows everything in that respect is done automatically. If a bunch of morons at Micro$hit can make drivers automatically load, systems automatically configure, damn sure a bunch of tweaky inventors at 'god-knows-what-or-another' linux could do it to. Truth is, they simply have no interest in making things configure easily. It would put the 'sysadmins' who wrote the programs out of a job! When I approached Dragonfly BSD about simply offering a menu-driven interface, like WIndow$, so things could be easily configured installed, those who didn't simply ignore me made a point of laughing at me mocking me. They are simply not even interested in making it easy. They WANT it 2 B hard 2 use. It is done BY DESIGN! Sick - but true. Rather like how doctors in America inject people over over with mercury in vaccines, so they get 'disseasses' like 'autism' 'altzheimers' (just different names for mercury poisoning). Free operating systems, on average, are written specificaly to work well once configured, but the configuration to be a complete nightmare so as to create a need for 'system administrator' employees. They write it 2 B a pain in the ass, 2 assure their own job security. Just like M$ writes Windoze 2 B full of bugs, so they can keep selling the same crap over over oh but we fixed it this time - yeah right :)) I am still using the shell from Windows95. It's the only stable, AND fast shell that Microsoft has released. Even their own services like MSN Hotmail don't use their own shit. THey use BSD! I am sure, over at Hurricane Internet (their subcontractor), those BSD guys are happy to spend their days 'configuring' things for a pretty penny! HAHAHAHA - the 'unix' geeks R laughing all the way 2 the bank! They're not ripping people off via software per se, but 'services' What the world needs is a single OS that will run all softwares. Short of that, at least an OS that will run all versions of Windows software. The very first pre-IE Windows95 shell comes very close - few bugs in it, but relatively minor. It is the best product Microsoft has ever produced. We should get together release a 'toolkit' to upgrade the kernel from this early 1995 release, so it will be compatable with things like 'get special folders path' and '.net' other bullshit that 3rd programmers have written into their code 2 look 4 in the shell. Basically, take those few elements REQUIRED from the last shells, make a way 2 import only those NON-crippling functions into the first shell. 'Get special folders path' is a particularly common error, as incompatability goes. About 1 in 5 new programs expect that 'function call' or whatever. It is easy enough 2 switch shells while installing or using those programs, but it incapacitates the functionality of the other kernel things - like being able 2 move vast tracts of files around without the whole OS locking up LOL Oh notice also how if you take Windows98 upgrade it to the 'latest greatest' IE, it will lock up the computer even MORE often LOL!!! I mean, just trying 2 move some files around- everything freezes! So people are saying 'get me XP NOW!' - haha - if they just put the 95
Re: find port install options
On Wed, 20 Dec 2006, Warren Block wrote: I suppose its safest to assume that I need to reinstall perl, but how easy is it to do that? I think it was installed by default. Easy, as long as you've updated ports with cvsup or portsnap. As root: [corrected by adding make deinstall] cd /usr/ports/lang/perl5.8 make deinstall make -DWITH_THREADS install make clean -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
replicating /etc/passwd on a failover machine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hey folks we are working on building a failover server. now everything is going along pretty nicely. (knock on wood) so the question of the day. is there a way to replicate the password files ? i doubt that just copying over /etc/passwd and master.passwd will work . thanks -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRYlkq9bpM15f9s9nAQKnRwP/ZXN9rExeMteW6GW60a1sECMgoxJ+s0lv v3BrIWKoqV+seWs1yPTJx8y4k46ji55wMbWHwKy3tK0d1Ok/uaJRkS8NYlcQxJJo UgDwW+sAovyG7QpLCGMJp5qCSYii1WPGa/O1NOzMjKerVIpT7AuO5s5nXWd0hg1S JuQnoqLNhL8= =MXb4 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My recent Epiphany about operating systems
If you read the original post, you're probably going to read this as well. I want to ask everyone on this list for a Christmas present. If you can't give me peace on Earth, good will toward men, or a supermodel trophy-wife for Christmas, please give me something that I know each of you are capable of. Please don't feed this Troll. Not much would make me happier this holiday season that to see this jerk's rants fall on deaf ears. Happy Holidays. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My recent Epiphany about operating systems
On Dec 20, 2006, at 11:20 AM, Andy Greenwood wrote: On 12/20/06, Terabyte Pete [EMAIL PROTECTED] wrote: 7:04 AM, Wednesday, December 20, 2006 In Winblow$, the release bundling of IE was purposely as crippleware, virus, bug delivery system 2 trap people into constantly 'upgrading'. A simple comparisson of Windows 95 side-by-side with the final Windows ME various IE 'upgrades' illustrates how the supposedly 'new improved' stuff is actually about 1/5 the speed, about 10X less reliable. The Ephiphany: A similar crippleware model exists in UNIX Linux, BSD, Dragonfly, IRIX, Open VMS, etc! But what is the method of crippling? The USER INTERFACE is purposely difficult to use, requiring vast tracts of arcane code 'switches' the user is 'supposed' to be able to remember. The OS Kernels are designed to require constant patching or nothing runs properly when 'upgrading' softwares. What is the result? Well, the OS applications may be free, but the system administrator type costs are not. I have concluded, in a flash of insight, that all of the non- windows OSes, save perhaps TRON (which is a Jap OS that is actually designed to simply WORK - runs most cell phones, anti-lock brakes, etc.) - the function of most free OSes softwares is to create a market for engineering services to create a functional environment with them. snip *shrug* another troll to eventually ignore. More people follow up to him, soon the self-anointed guardians of the list will start complaining, eventually the thread dies down (even though it would die sooner if the guardians wouldn't chime in to complain)... This is just another guy complaining because the OS isn't made to his specific expectations while at the same time not being irritated enough to sit and learn how to program his own OS or apparently learn how to configure what he has already. You already know the maturity level he's approaching the problem with when you see how he refers to Microsoft and cuts his words down to teen txt msg tlk LOL!. It's interesting to me that he knows enough of the industry to throw out names like TRON without recognizing that embedded single-purpose OS's are a different ballgame from OS's expected to handle everything from home finance software to the latest World of Warcraft client, since it adds layers upon layers of complexity as the number of lines of code is increased. Also there's the fact that OS's are driven by customers and marketing, not necessarily purpose. OS's are released when they are deemed good enough or stable enough, since overall you losing some addresses or a paper due the next day doesn't result in someone dying, unlike devices like a car computer where a software failure may potentially mean brakes not engaging properly. If he doesn't like the interface of a free operating system, try another distro. There's only a few hundred out there (it seems). What exactly are you looking for? I mean, of course it's not too simple...the closest thing you can get to that is the Mac, and that's because of interface guidelines that are (mostly) followed to keep things consistent. Linux evolves in belches and burps on winds generated by programmer itches. Something annoys the programmer, they code a solution. Programmers are not average people. Hence, you're seeing the result of a lot of eclectic priority shifts and itches that have been scratched. Is there an arrogance to their attitude? Probably. They do this for free in most cases and customize things as they can use them to make the system more user friendly, where user friendly means friendly to them. Sysadmins have paid their dues to get things working until they're comfortable with it or can get comfortable with it. Guess what...that's the price you pay for freedom and flexibility. You have to learn to use it. Don't want to do that? Pay someone to configure an interface with big shiny buttons marked INTERNET BROWSER, EMAIL, WRITE LETTERS. Isn't that what users want, someone to do the work for them? That's the real epiphany. After years of tech support, I realized I was totally wrong. I thought users wanted to learn how to use that expensive piece of equipment. I thought they had the curiosity I had, the fascination that something looking so simple was capable of making movies, writing stories, finding information...so much potential. All they needed was the knowledge to see how the puzzle fit together. I was totally wrong! What they wanted was for someone to come and DO the work for them. They wanted just an end task, and the computer was what someone pointed them to in order to do it. Set up a printer? How many times do I need to explain the same damned procedure to the same user? Ooohyou don't mean it when you ask how to do it. You want me to come over and DO it for you! Every time you screw it up,
Re: SCSI Tape Drive Problems
You can get ringing on a SCSI device from bad or loose cabling which will generate a lot of SCSI errors. There are limits to cable lengths and you need to be sure you use proper cables for every device (and rated for the SCSI bus speed.) You will do best to pull out any un-necessary hardware, use a minimal hardware setup. You should also run diagnostics from the drive manufacturer and verify the tape and drive. Last thing be sure to erase the tape before testing it. -Derek At 02:09 AM 12/20/2006, Mark Kane wrote: On Tue, Dec 19, 2006, at 23:16:45 -0600, Dan Nelson wrote: Timeouts and unexpected busfree errors like these are indicative of cabling or termination problems. I don't think DLTs auto-terminate, for example, so try putting an external terminator on the 2nd plug on the back of the unit (or if it's an internal drive with one plug, terminate the cable the drive's plugged into). Once you get those errors sorted out, see whether you still get incorrect volume full messages. Thanks very much for the replies. Both drives are external, and they both have terminators on the back. The setup is like this: The DDS autoloader is connected to the back of the Adaptec card via a new external HD68 cable and the terminator that came with the drive is on the second plug of the unit. The Sun DLT drive is connected via an external HD50 cable to an adaptor that turns it into an internal cable which is then connected to the Adaptec card internally. It has a Sun terminator on the second plug on the unit. The cable that connects the DDS autoloader is brand new. It's not a major brand name, but it's listed as double shielded, UL20276 listed, etc. The cable that connects the DLT unit is an older Adaptec one (possibly used) purchased for a few dollars locally. I could understand if that cable was a problem for writing using that drive, but having the issue on both drives like this with two separate cables just seems like it's something else. By the way, the green LEDs on both terminators are illuminated so they should be working. With the DDS drive, it does not give any errors to /var/log/messages like the DLT drive does. cpio just quits with that Internal overflow, aborting error (which doesn't happen with the DLT). Do you guys know specifically what that message means? With the DLT drive, cpio actually gives the volume full errors but with the DDS it's only Internal Overflow and nothing else anywhere that I can see. Internet searches for the Internal Overflow message have not turned up much helpful information. Thanks again. -Mark -- Internet Radio: Party107 (Trance/Electronic) - http://www.party107.com Rock 101.9 The Edge (Rock) - http://www.rock1019.net IRC: MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941) ___ 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]
Re: SCSI Tape Drive Problems
In the last episode (Dec 20), Mark Kane said: On Tue, Dec 19, 2006, at 23:16:45 -0600, Dan Nelson wrote: Timeouts and unexpected busfree errors like these are indicative of cabling or termination problems. I don't think DLTs auto-terminate, for example, so try putting an external terminator on the 2nd plug on the back of the unit (or if it's an internal drive with one plug, terminate the cable the drive's plugged into). Once you get those errors sorted out, see whether you still get incorrect volume full messages. Thanks very much for the replies. Both drives are external, and they both have terminators on the back. The setup is like this: The DDS autoloader is connected to the back of the Adaptec card via a new external HD68 cable and the terminator that came with the drive is on the second plug of the unit. The Sun DLT drive is connected via an external HD50 cable to an adaptor that turns it into an internal cable which is then connected to the Adaptec card internally. It has a Sun terminator on the second plug on the unit. The cable that connects the DDS autoloader is brand new. It's not a major brand name, but it's listed as double shielded, UL20276 listed, etc. The cable that connects the DLT unit is an older Adaptec one (possibly used) purchased for a few dollars locally. I could understand if that cable was a problem for writing using that drive, but having the issue on both drives like this with two separate cables just seems like it's something else. By the way, the green LEDs on both terminators are illuminated so they should be working. All that looks okay to me. Try reposting your question to the [EMAIL PROTECTED] list. With the DDS drive, it does not give any errors to /var/log/messages like the DLT drive does. cpio just quits with that Internal overflow, aborting error (which doesn't happen with the DLT). Do you guys know specifically what that message means? With the DLT drive, cpio actually gives the volume full errors but with the DDS it's only Internal Overflow and nothing else anywhere that I can see. Internet searches for the Internal Overflow message have not turned up much helpful information. If you look at the source to cpio, you can see in copyout.c, that message is printed if a sprintf'ed header is larger than cpio expected it to be. My guess is one of your files is over 10gb and the file size overflowed its 11-digit field. -- Dan Nelson [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: replicating /etc/passwd on a failover machine
In response to stas khromoy [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hey folks we are working on building a failover server. now everything is going along pretty nicely. (knock on wood) so the question of the day. is there a way to replicate the password files ? i doubt that just copying over /etc/passwd and master.passwd will work . Actually, it's not much harder than that. The only step you're missing is running pwd_mkdb on the files after they've been copied, you can easily add that to your failover process. Although, it may be worthwhile to investigate kerberos or LDAP if there's any chance at all that this might grow into a larger desire to replicate user accounts. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: replicating /etc/passwd on a failover machine
On Wednesday 20 December 2006 07:28, stas khromoy wrote: hey folks we are working on building a failover server. now everything is going along pretty nicely. (knock on wood) so the question of the day. is there a way to replicate the password files ? i doubt that just copying over /etc/passwd and master.passwd will work . It will work fine as long as you run pwd_mkdb after copying or changing any of the files. Also, you can use vipw to edit the list. It runs pwd_mkdb after you write and exit. See the relevant man pages for more info. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpOWUclG4h7e.pgp Description: PGP signature
nonstandard ports
Hello to all, Not long ago, I ran cvsup successfully. In the example cvs-supfile, the following opening lines exist: # base=/var/db # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of /var/db will generate this information in # /var/db/sup. Even if you are CVSupping a large number of # collections, you will be hard pressed to generate more than # ~1MB of data in this directory. You can override the # base setting on the command line with cvsup's -b base # option. This directory must exist in order to run CVSup. # # prefix=/home/ncvs # This specifies where to place the requested files. A # setting of /home/ncvs will place all of the files # requested in /home/ncvs (e.g., /home/ncvs/src/bin, # /home/ncvs/ports/archivers). The prefix directory # must exist in order to run CVSup. I attempted running cvsup with base and prefix locations other than the ones stated above; and, it did not work. However, when I edited the supfile as described above, the whole process ran to completion, successfully. Well, now I have an updated ports tree in /home/ncvs/ports instead of /usr/ports. So, my question this morning is what do I do with that? Do I treat /home/ncvs/ports as if it were /usr/ports? Do I copy the entire /home/ncvs/ports directory to /usr/ports for updated ports? Thank you in advance for directives. Z. Wade Hampton Twin Bridges, Montana ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
reposted question
Hello to all, Not long ago, I ran cvsup successfully. In the example cvs-supfile, the following opening lines exist: # base=/var/db # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of /var/db will generate this information in # /var/db/sup. Even if you are CVSupping a large number of # collections, you will be hard pressed to generate more than # ~1MB of data in this directory. You can override the # base setting on the command line with cvsup's -b base # option. This directory must exist in order to run CVSup. # # prefix=/home/ncvs # This specifies where to place the requested files. A # setting of /home/ncvs will place all of the files # requested in /home/ncvs (e.g., /home/ncvs/src/bin, # /home/ncvs/ports/archivers). The prefix directory # must exist in order to run CVSup. I attempted running cvsup with base and prefix locations other than the ones stated above; and, it did not work. However, when I edited the supfile as described above, the whole process ran to completion, successfully. Well, now I have an updated ports tree in /home/ncvs/ports instead of /usr/ports. So, my question this morning is what do I do with that? Do I treat /home/ncvs/ports as if it were /usr/ports? Do I copy the entire /home/ncvs/ports directory to /usr/ports for updated ports? Thank you in advance for directives. Z. Wade Hampton Twin Bridges, Montana ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: replicating /etc/passwd on a failover machine
On Wednesday 20 December 2006 10:28 am, stas khromoy wrote: i doubt that just copying over /etc/passwd and master.passwd will work . You'd also need to pick up /etc/{s,}pwd.db - the compiled versions of those files. -- Kirk Strauser pgplg6wDlyMbY.pgp Description: PGP signature
managing traffic from localhost with pf
I'm using pf for NAT and redirecting traffic from my home network into a transparent proxy (squid26). I'd also like to send traffic from localhost into the proxy, but everyone I ask thinks it's not possible. Direct http and ftp access is blocked here, the proxy forwards to an external one, so the whole situation is a real pain, because my gateway is the only machine without http and ftp access. Even though it's providing that for all other machines on the net. So my question is, is it possible? What would I have to do to make it possible? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My recent Epiphany about operating systems
On Wednesday 20 December 2006 16:52, Bart Silverstrim wrote: Guess what...that's the price you pay for freedom and flexibility. You have to learn to use it. Don't want to do that? Pay someone to configure an interface with big shiny buttons marked INTERNET BROWSER, EMAIL, WRITE LETTERS. Isn't that what users want, someone to do the work for them? That's the real epiphany. After years of tech support, I realized I was totally wrong. I thought users wanted to learn how to use that expensive piece of equipment. I thought they had the curiosity I had, the fascination that something looking so simple was capable of making movies, writing stories, finding information...so much potential. All they needed was the knowledge to see how the puzzle fit together. I was totally wrong! What they wanted was for someone to come and DO the work for them. They wanted just an end task, and the computer was what someone pointed them to in order to do it. Set up a printer? How many times do I need to explain the same damned procedure to the same user? Ooohyou don't mean it when you ask how to do it. You want me to come over and DO it for you! Every time you screw it up, I get to do that same thing over again. They don't care about OS's, licenses, legalities, IP, owners rights...they just want to make a brochure or look at porn or whatever else this magic black box can do. They don't care how it works or why it works. They can't even be bothered to craft emails anymore, just top post whatever crap blurps into their mind at that specific moment. Email is little more than retarded IM. Get a bounce message? Internet must be down. Fifteenth time I had to explain that before I just started telling them to forward the bounce to me and then I would magically solve the mystery by reading the bounce error right to them (how did you know that name doesn't have an email box at xyz.net?? WOW!) In the end just quit your bitching about how hard it is to learn or how people are out to rip you off by offering services when you're not willing or able to learn to do it yourself. This obviously isn't a secret cabal out to get you. You're so results oriented, then continue to focus on non-computer use results and just accept that you will need to pay someone to do what you don't want to do or can't do. I accept that if I were to dedicate my life to banking, I'd probably get more value in my investments and I'd understand much more about credit and tricks of the trade while not being able to know every last detail behind building a house. If I become a master craftsman for home building, I could build my own mansion but probably won't know necessarily what money market fund is best in the long run. Or, I can learn fairly easily to change my own oil...but it's worth fifteen bucks to me to have someone else do it faster and dispose of the oil for me. Deal with it. Life sucks. Don't like the interfaces available on free software? Don't use them. No one is forcing you to. I think no one has never, ever, put into words (to me at least) something so perfectly like Bart did above. Anyone who has worked with tech support for at least a week, can recognize the truth in those lines. I think I'll have them framed ( translated to portuguese so users won't have to ask someone to do it for them) and hang it on my office door ! Thanks Bart !! -- //| //| // |// | // // | // // -- [EMAIL PROTECTED] http://www.ipad.com.br (FreeBSD since 2.2.8 - 100% Rwindows-free) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find port install options
N.J. Mann wrote: On Wednesday, 20 December, 2006 at 12:42:09 +, Robin Becker wrote: Robin Becker wrote: [...] thread sample script. But I guess I still need to know if any other options were used during the install. /var/db/ports e.g. cat /var/db/ports/portupgrade/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for portupgrade-2.1.3.2_1,2 _OPTIONS_READ=portupgrade-2.1.3.2_1,2 WITH_BDB4=true WITHOUT_BDB1=true Cheers, Nick. unfortunately I think my perl came as part of the base install. When I look in /var/db/ports I see only gettext python python23 rsync I'm sure I have built and installed other ports, but it seems ports doesn't store the options for them automatically. In fact Dru Lavigne recommends that if using portupgrade you modify the pkgtools.conf to include the special options. So I have lots of stuff for apache/subversion etc in the make options section, but nothing about perl and as a python person I don't think I intentionally installed perl anywhere. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find port install options
Warren Block wrote: On Wed, 20 Dec 2006, Warren Block wrote: I suppose its safest to assume that I need to reinstall perl, but how easy is it to do that? I think it was installed by default. Easy, as long as you've updated ports with cvsup or portsnap. As root: [corrected by adding make deinstall] cd /usr/ports/lang/perl5.8 make deinstall make -DWITH_THREADS install make clean .. yes I understood that part :) but I have a bunch of other things dependent on perl so I guess I would need to rebuild all of those as well. And I still need to find out what options were used in building perl. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: replicating /etc/passwd on a failover machine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/20/06 9:06 AM, Kirk Strauser wrote: On Wednesday 20 December 2006 10:28 am, stas khromoy wrote: i doubt that just copying over /etc/passwd and master.passwd will work . You'd also need to pick up /etc/{s,}pwd.db - the compiled versions of those files. Dunno if this works on FreeBSD, but with OpenBSD I have successfully copied accounts between machines like this: 1. Run vipw on both machines and copy and paste the user accounts. vipw works like vi. Note that this step assumes the same environment exists on the source and destination machines. If, for example, a user's shell is bash on the source machine, then /usr/local/bin/bash must exist on the destination box as well. 2. Copy and paste the relevant user groups from /etc/group. If users are members of other groups (e.g., wheel), ensure that info matches as well. 3. On the source machine, run: rsync -avz /home/username/ destination_machine:/home This will move username's home directory over, preserving ownership and permissions for all directories and files. Note the trailing slash on the source directory. This probably needs to be run as root, which means that at least temporarily you need to go into the destination machine's /etc/ssh/sshd_config and add this line: PermitRootLogin yes and then restart sshd like this: kill -HUP `cat /var/run/sshd.pid` If you don't normally want ssh access for root, be sure to undo that change in sshd_config once you're done. dn -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFFiX6hyPxGVjntI4IRAs6PAKCk1YP2cKYWx70NxU5ZiOQyFtgHLACffFIH 27pgxgkQ+CYOaBJWD3n/2MQ= =nMBm -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recovering bsdlabel / disklabel with scan_ffs
This is not a question, just for the archives if someone encountered a similar problem. Perhaps there's an easier way to recover a lost bsdlabel / disklabel though... While trying to rip a DVD with sysutils/vobcopy on 6.2-RC1, the system suddenly froze and could not reboot anymore. Not even the boot loader would come up after this. After swapping disks (putting a brand new FreeBSD 6.2-RC1 HDD as primary and the previous disk as secondary), only /dev/ad3s1 slice would appear, but no more /dev/ad3s1a, /dev/ad3s1d, ... partitions. Running # fdisk /dev/ad3 showed inconsistant (overlapping etc...) results for all slices as well, instead of the usual output of a fully dedicated disk, which should have looked like this: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 156360582 (76347 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 10/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED Obviously, the boot sector has been badly damanged. After restoring the partition table (allocating whole disk to FreeBSD-slice), and adding the BootMgr using /usr/sbin/sysinstall, # bsdlabel /dev/ad3s1 still didn't show the old partitions. Uh-oh. Bad news: no backups, no backup or printout of bsdlabel; and I didn't exactly remember the size and layout of the partitions on that machine. Enters /usr/ports/sysutils/scan_ffs. Calling: # scan_ffs /dev/ad3s1 showed lines like these: ufs2 at 0 size 262144 mount / time Sat Apr 10 01:08:46 2004 ufs2 at 5242880 size 4194304 mount /usr time Sat Apr 10 01:08:57 2004 ... Wonderful! There's a catch here: while the offsets (at ...) are the ones to add when editing the bsdlabel (bsdlabel -e /dev/ad3s1), the sizes aren't (the partitions wouldn't fsck -n). In fact, I had to use (size*4) here, e.g.: # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD 2048 16384 8 b: 4194304 1048576 swap c: 1563605820unused0 0 # raw part, don't edit d: 16777216 52428804.2BSD 2048 16384 28552 e: 16777216 220200964.2BSD 2048 16384 28552 [...] Obviously, this had something to do with fsize being 2048 by newfs defaults (and not 512): size*2048 bytes blocks = (size*4)*512 bytes blocks Second catch: If you can't remember the SLICE coordinates, you could run scan_ffs on the raw disk with: # scan_ffs /dev/ad3 instead of # scan_ffs /dev/ad3s1 but all offsets would be off-by-(offset-of-the-slice), e.g.: ufs2 at 63 size 262144 mount / time Sat Apr 10 01:08:46 2004 (note: 63 instead of 0; 63 was start offset of the FreeBSD slice). There's another catch: GBDE encrypted partitions can't (for obvious reasons) be detected with scan_ffs. As long as you don't have two contiguous GBDE partitions, it's possible to infer offset and size from the surrounding partitions (I was lucky enough to have such a friendly layout on this machine: one GBDE partitions in the middle of the slice, and another one at the end). Fortunately, and thanks to scan_ffs and some head-scratching, I was able to restore the whole system (and all user-data), with one notable exception: fsck choked and quit on the filesystem holding /usr/local with a message like: cannot alloc 553234321 bytes for inostathead Mounting that filesystem read-only showed that there were no valuable data in there that couldn't be recreated by newfs and recompiling all ports. To summarize: scan_ffs is a real life saver, but: * Don't put two (or more) encrypted partitions side-by-side * Remember to scale the size output of scan_ffs (I had to x 4) * Infer missing information (size/offset of swap and encrypted partitions) from surrounding partitions if possible. * Back up the output of: # fdisk /dev/ad0 (and other disks) # bsdlabel /dev/ad0s1 (and other FreeBSD slices) and GBDE/GEOM keys somewhere else. * Don't be lazy backing up valuable data... ;-) scan_ffs is such an incredibly useful emergency tool, it should really be part of the fixit and freesbie CDs... ;) Good luck! Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: replicating /etc/passwd on a failover machine
Kirk Strauser wrote: i doubt that just copying over /etc/passwd and master.passwd will work . You'd also need to pick up /etc/{s,}pwd.db - the compiled versions of those files. I just read in another post that you can compile them using pwd_mkdb, that was news for me. I just want to confirm that just copying (rsyncing in our case) the .db files works just fine. We do it to a mirror of our webhosting platform, all logins work just fine on the mirrored machine. -- Robin Vley F/X Services Managed Hosting http://www.fx-services.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD fakeraid RAID10 @ Intel ICH7
Lada 'Ray' Lostak wrote: After reboot, BSD don't boot and I can see message Boot error. Nothing more. I have no clue, if this is BIOS or readed MBR/bootsector. ctrl+alt+delete works this time and I can reboot machine. So, there is some boot problem, which I was not abble to solve. When I setup just mirror RAID (2 HDD's) - all works fine. Assuming the only problem is the boot loader, you can try booting the kernel from the live CD system, mouting root from the real drives and installing ports/sysutils/extipl. It's an alternative boot loader and it got me out of a similar problem once. signature.asc Description: OpenPGP digital signature
make world for a jail
I'm trying to make world for a jail build following the recipe in http://www.onlamp.com/pub/a/bsd/2003/09/04/jails.html First off I started by updating the src tree. I copied /usr/share/examples/cvsup/stable-supfile edited the host name then I ran SERVER=`fastest_cvsup -q -c ca,us` cvsup -L2 -h $SERVER /root/bin/stable-supfile that seemd fine and stuff appeared in /usr/src as expected. mkdir /usr/jails mkdir /usr/jails/mailserver cd /usr/src make world DESTDIR=/usr/jails/mailserver Now I get an error building sendmail chmod 444 freebsd.cf rm -f freebsd.submit.cf m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 /usr/src/etc/sendmail/freebsd.submit.mc freebsd.submit.cf chmod 444 freebsd.submit.cf ERROR: Required audit group is missing, see /usr/src/UPDATING. *** Error code 1 I'm not sure what this means. I looked in UPDATING and see references to FreeBSD 6.1-RELEASE; so am I trying to build a 6.1 kernel with my 6.0 system? I'm guessing that *default release=cvs tag=RELENG_6 should have been *default release=cvs tag=RELENG_6_0 One other thing is that during the build I saw sub makes going on that had a different DESTDIR. Eg make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp par-all how do I get things built into my desired location or is the make world eventually going to put them in the right place? -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find port install options
On Wednesday December 20, 2006 at 11:50:10 (AM) Warren Block wrote: On Wed, 20 Dec 2006, Warren Block wrote: I suppose its safest to assume that I need to reinstall perl, but how easy is it to do that? I think it was installed by default. Easy, as long as you've updated ports with cvsup or portsnap. As root: [corrected by adding make deinstall] cd /usr/ports/lang/perl5.8 make deinstall make -DWITH_THREADS install make clean You could also place the necessary flags in the /etc/make.conf file. 1) /etc/make.conf 2) .if $(.CURDIR:M*/lang/perl5.8) 3) WITH_THREADS=yes 4) .endif Now any program that you use to install Perl with will use those settings. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: replicating /etc/passwd on a failover machine
On Wed, Dec 20, 2006 at 11:28:27AM -0500, stas khromoy wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hey folks we are working on building a failover server. now everything is going along pretty nicely. (knock on wood) so the question of the day. is there a way to replicate the password files ? i doubt that just copying over /etc/passwd and master.passwd will work . Almost. You just need to make sure database stuff is updated properly. Check out pwd_mkdb(8) and vipw(8) and man master.passwd and man passwd. jerry thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Modifying rc.conf postinstall
I'm new to FreeBSD and am trying to implement a kickstart environment. I have everything working except I want to modify the /etc/rc.conf postinstall. Each time I do after the reboot the rc.conf settings go back to the original settings and the new settings end up at the top with a #REMOVED before them. Is there a way to modify the rc.conf postinstall ? I'm using 6.1. Thanks in advance ! Nora ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
i lost some files
... but not to worry, my backups are up to date. but what im perplexed about is, my file system graph has never taken a hit to show the amount of data that i think i lost. its nearly flatlined! now, over the past few days, ive had some trouble with some usb devices and system crashes, and my system has forced fsck on my 300GB drive several times over the past 7 days or so. right about now, im noticing a single directory missing. is it remotely possible, that all these crashings, and probably some files were open via NFS, that this directory has been corrupted to the point where the data might be there, but just totally invisible? since i figured a full reload on that volume wont hurt me, i wipe it. df -h shows: [EMAIL PROTECTED] ~]$ df -h Filesystem SizeUsed Avail Capacity Mounted on [snip] /dev/ad4s1g227G4.0K209G 0%/opt 209 gigs available, 0% capacity... does that look correct? i forget how big the directory im looking for was, but i might have been about 15 gigs or so (eh... maybe not that big... i forget). either way, the 209 gigs has me perplexed for a bit here. anyone have some insight? thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reposted question
Well, if it were me, I'd simply do: # rm -r /home/ncvs Then I'd change prefix='home/ncvs to prefix=/usr, just so I could cvsup the ports tree if I ever wanted to. But after makeing that change, I'd run: # portsnap fetch extract And know that that next time I wanted to update the ports tree, I'd run: # portsnap fetch update Followed by (since I'd have portupgrade installed) running: # portversion -v | grep needs or some other method of dtermining which ports needed upgrading. But that's just me, and the way I would do it. There are other ways. Don Z. Wade Hampton wrote: Hello to all, Not long ago, I ran cvsup successfully. In the example cvs-supfile, the following opening lines exist: # base=/var/db # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of /var/db will generate this information in # /var/db/sup. Even if you are CVSupping a large number of # collections, you will be hard pressed to generate more than # ~1MB of data in this directory. You can override the # base setting on the command line with cvsup's -b base # option. This directory must exist in order to run CVSup. # # prefix=/home/ncvs # This specifies where to place the requested files. A # setting of /home/ncvs will place all of the files # requested in /home/ncvs (e.g., /home/ncvs/src/bin, # /home/ncvs/ports/archivers). The prefix directory # must exist in order to run CVSup. I attempted running cvsup with base and prefix locations other than the ones stated above; and, it did not work. However, when I edited the supfile as described above, the whole process ran to completion, successfully. Well, now I have an updated ports tree in /home/ncvs/ports instead of /usr/ports. So, my question this morning is what do I do with that? Do I treat /home/ncvs/ports as if it were /usr/ports? Do I copy the entire /home/ncvs/ports directory to /usr/ports for updated ports? Thank you in advance for directives. Z. Wade Hampton Twin Bridges, Montana ___ 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: managing traffic from localhost with pf
[LoN]Kamikaze [EMAIL PROTECTED] wrote: I'm using pf for NAT and redirecting traffic from my home network into a transparent proxy (squid26). I'd also like to send traffic from localhost into the proxy, but everyone I ask thinks it's not possible. Direct http and ftp access is blocked here, the proxy forwards to an external one, so the whole situation is a real pain, because my gateway is the only machine without http and ftp access. Even though it's providing that for all other machines on the net. So my question is, is it possible? What would I have to do to make it possible? Use route-to to have the outgoing traffic come in on second loX interface and redirect from there. Have a look at: http://wiki.noreply.org/noreply/TheOnionRouter/TransparentProxy#head-cb42b2ce9d6110e19b5abecf51a9629c5115c3ea-2 for an example. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: managing traffic from localhost with pf
Fabian Keil wrote: [LoN]Kamikaze [EMAIL PROTECTED] wrote: I'm using pf for NAT and redirecting traffic from my home network into a transparent proxy (squid26). I'd also like to send traffic from localhost into the proxy, ... So my question is, is it possible? What would I have to do to make it possible? Use route-to to have the outgoing traffic come in on second loX interface and redirect from there. Have a look at: http://wiki.noreply.org/noreply/TheOnionRouter/TransparentProxy#head-cb42b2ce9d6110e19b5abecf51a9629c5115c3ea-2 for an example. Fabian Thanks a lot! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .bst files installation
Saifi [EMAIL PROTECTED] writes: From: Lowell Gilbert [EMAIL PROTECTED] Subject: Re: .bst files installation Sent: 19 Dec '06 00:20 Saifi [EMAIL PROTECTED] writes: Which package in ports need to be installed in order to have .bst files installed ? The .bst files are required when specifiying the \bibliographystyle{} in .tex files. Note that you are using LaTeX, not TeX. Any version of LaTeX should do (if I remember correctly; I don't have it installed on my booted machines, and I haven't used BibTeX since the days of LaTeX 2.09). These days, the print/teTeX port is the most common way to install TeX and its common utilities. Hi Lowell: Thanks for your mail. On the FreeBSD 6.2-RC1 system, latex is already installed. Now, when I try to install teTex, it conflicts with the existing installation. bsd# make install === Installing for teTeX-3.0_1 === teTeX-3.0_1 conflicts with installed package(s): dvips-5.76 latex2e-2003.12_1 tex-3.14159_3 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/print/teTeX. Bibliographic style files are required by Bibtex and so I thought that there would be a single independent package (like mplayer codecs) that would need to be installed. Possible, but since I have teTeX installed, I can't really experiment with how the relevant ports work. I recommend following the directions listed, removing the conflicting ports, and just installing teTeX. It will do everything the installed ports do, and then some. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
squirrelmail paths issue
Hello, I'm trying to configure squirrelmail on a 6.1 box. When i go to the configtest.php page php reports that my data dir path /var/spool/squirrelmail/pref does not exist. I check in the filesystem and it does exist, permissions of 755 and accessible by the apache user. Any suggestions as to the problem appreciated. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]