Re: MySQL 4.0.16 + PHP 4.3.4
Thank you Jez! This was still a bit of a battle . . . until I grasped that mod_php was expecting Apache to have been build from a port! Or, at least it was expecting Apache's files to be located thus. So I killed my existing Apache, installed a new one from a port, and that's that. I hate the GNU layout but it's nothing some symbolic links can't handle. Thanks again, The Bean --- Jez Hancock [EMAIL PROTECTED] wrote: On Mon, Dec 15, 2003 at 01:38:21PM -0800, Chris wrote: You know, it never occured to me that there were individual Apache modules in the ports. Thanks Josh! Doesn't look like it would help in this case, though, as the mod_php port is for Apache 1.3, and I need 2.0. I believe you can force the mod_php4 port to install for apache2 using 'WITH_APACHE2'. Having said this though last time I looked the mod_php4 port automatically detects what version of apache you're running so you don't even need to use WITH_APACHE2. Here it is - in /usr/ports/lang/php4/Makefile (which the mod_php4 make process uses): .if exists(${LOCALBASE}/include/apache2/apr.h) WITH_APACHE2= yes .endif -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/- ipfw peruser traffic logging __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU type
How do I know what type of CPU (Model, Mhz, etc...) do I have without rebooting my FreeBSD box? Is there any command to show this kind of information? dmesg | grep CPU ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR
On Tue, Dec 16, 2003 at 08:44:08AM -0800, hugle wrote: MS # make; make depend; make install at step 4, you should do: make depend make make install Well, why not make depend all install? Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
HI, I would like to know where i can find the list of RFCs supported in the TCP/IP stack of FreeBSD 4.9 release. Can you help me get the info? Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CGI_Lite module installation to perl 5.8.2
Hi there, I solved it by wrapping relevant parts of code (dealing with manifypods that generates man pages from MAN1POD, MAN3POD) in no strict; CODE_GOES_HERE; use strict; in MM_Unix.pm and MM_Any.pm. On Tuesday 16 December 2003 02:32, Martin Hudec wrote: On Tuesday 16 December 2003 00:57, Martin Hudec wrote: I am trying to install CGI_Lite for Perl 5.8.2, both manual install and CPAN shell install failed with following message during perl Makefile.PL: Can't use string ( ) as a HASH ref while strict refs in use at /usr/local/ lib/perl5/5.8.2/ExtUtils/MM_Unix.pm line 503. -- : :. kind regards :.. Martin Hudec :.: :.: =w= http://www.aeternal.net :.: =m= +421.907.303393 :.: [EMAIL PROTECTED] [EMAIL PROTECTED] :.: :.: When you want something, all the universe :.: conspires in helping you to achieve it. :.: - The Alchemist (Paulo Coelho) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multiple dumps to single tape
On Tue, 16 Dec 2003 09:55 am, David Bear wrote: if I am writing multiple dumps to a single tape, is it wise to have mt write a setmark after dumping each file system? There is no real need to do this. If you want to write dump after dump onto a tape in the one session use the /dev/nsa0 device. This device is the same as /dev/sa0 but doesnt rewind between sessions. So the tape will be ready for the next dump automatically. If you are using the tape to archive data and want to write multiple dumps to tape over different sessions then you can position the tape drive to the end of the tape by using the mt eom command. Make sure that you note what sessions are on the tape so that you can use the mt fsf command to get the data off later. Remember that mt fsf x goes forward x files, it doesnt go to x file. As with everything important try it out first. Nothing is worse than being bitten on the glaven by your own laziness with the hurting and the embarassment and the oy. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: socket: no buffer space available
On Mon, 2003-12-15 at 16:15, Andrew Thomson wrote: I've got a perl script doing some p5-sybase stuff for me.. However after a while, it fails with the following error message: ..socket: No buffer space available... I've seen other reports from other uses getting this problem however no clear responses on a fix. I had a similar problem on a (5.1-RELEASE) box with a: bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2002 mem 0xfcd2 -0xfcd2,0xfcd3-0xfcd3 irq 5 at device 0.0 on pci2 As well as the no buffer space problem, there were watchguard timeout measures. This may not be your problem, but its worth ruling out. The fix was a kernel src patch for the bge driver. Jason RHYBUDD: Mae'r wybodaeth sydd yn y neges E-Bost yma yn gyfrinachol ac mae'n bosib y bydd yn gyfreithiol freintiedig. Os nad y sawl a fydd yn darllen y neges yma yw'r sawl y bwriadwyd yr e-bost ar ei gyfer, fe'ch hysbysir drwy hyn y gwaherddir defnyddio'r neges, ei rhannu, ei dosbarthu neu ei hatgynhyrchu gennych chi eich hun neu ar eich anogaeth. Os cawsoch y neges yma trwy amryfusedd, a fyddech cystal â rhoi gwybod i ni ar unwaith a dychwelyd y neges wreiddiol. Nid yw'r wybodaeth sydd yn y neges yma o reidrwydd yn cynrychioli polisi a threfn weithredu'r Cyngor. Os cewch gan y Cyngor hwn ddeunydd heb i chi ofyn amdano neu ddeunydd tramgwyddus rhowch wybod i ni ar unwaith. Diolch CAUTION: The information in this E-Mail message is confidential and may be legally privileged. If the reader of this message is not the intended recipient you are hereby notified that any use, dissemination, distribution or reproduction of this message by you or at your instigation is prohibited. If you have received this message in error please notify us immediately and return the original message to us. The information in this message does not necessarily represent Council policy or procedure. In the instance of receiving unsolicited or offensive mail from this Council please notify us immediately. Where information of a sensitive or highly confidential nature is to be communicated, you will be informed that this information will be sent to you in writing and not by E-Mail, unless secure arrangements are made. Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Having problems with 'pcm' and on-board Crystal Sound
David Kelly wrote: On Dec 15, 2003, at 5:18 PM, [EMAIL PROTECTED] wrote: (2) If I let the boot loader.conf bring in 'snd_pcm' before the kernel starts, it won't see the sound chips at all you will need csa bridge driver for use with Crystal's sound chips. put in your loader.conf: snd_csa_load=YES snd_pcm_load=YES if you have cmi4281 chipset, replace snd_csa_load with snd_csa4281_load. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dlink DGE 550t drivers
Hi. I recently puchased the above card and I found out there were no FreeBSD drivers included although linux ones were. The manufacturer doesn't list this drivers either. Where can I get them? Regards, Nicholas Muchiri Waterstone Enterprises Nairobi, Kenya ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Windows client - internet connection sharing
Is it possible to set up a freebsd server connected to an ADSL line to provide internet access via LAN to a number of Windows clients. I don't know where to start. Any information in this regard will be greatly appreciated. Thanks Gareth Bailey ___ Look Good, Feel Good www.healthiest.co.za ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Windows client - internet connection sharing
Yes this is done all the time. Start by reading the FBSD handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gareth Bailey Sent: Monday, December 15, 2003 12:40 PM To: [EMAIL PROTECTED] Subject: Windows client - internet connection sharing Is it possible to set up a freebsd server connected to an ADSL line to provide internet access via LAN to a number of Windows clients. I don't know where to start. Any information in this regard will be greatly appreciated. Thanks Gareth Bailey ___ Look Good, Feel Good www.healthiest.co.za ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb wheel mouse
i have a ms intellimouse optical usb mouse and i can't get the wheel to work in X. here is my InputDevice section in XF86Config: Section InputDevice Identifier IntelliMouse Explorer Driver mouse Option Device/dev/sysmouse Option Protocol Auto Option Buttons 7 Option ZAxisMapping 6 7 EndSection i am running FreeBSD-5.0 Release and XFree86 4.2.1 TIA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: awk question, maybe
man head and man tail At 05:30 PM 12/15/2003, you wrote: i would like to do something like df | awk '{print $1}' to capture all the current file systems. But I would like to strip off the first and last lines, since these are generally -- not needed. the goal is to write a generalized script that can feed dump with all the file systems on a box. any pointers? -- David Bear phone: 480-965-8257 fax:480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 Beware the IP portfolio, everyone will be suspect of trespassing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Headless System via serial port?
On Tue, Dec 16, 2003 at 12:00:14AM -0600, Minnesota Slinky wrote: Is that all you did to get it working? It goes through the boot process just fine over the terminal, but kernel hands the login back over to vidconsole again right away. I even tried changing the -P to a -Dh, still nothing. Same effect. You also need to turn on ttyd0 in /etc/ttys: ttyd0 /usr/libexec/getty std.9600 vt100 on secure Then send init a HUP. Ceri -- pgp0.pgp Description: PGP signature
Re: CPU type
How do I know what type of CPU (Model, Mhz, etc...) do I have without rebooting my FreeBSD box? Is there any command to show this kind of information? Thank you. Well, sysctl(8) will tell you a lot of stuff. sysctl -a -e | more or sysctl -a -e | grep hw or name a more specific variable on the sysctl call. auch as sysctl hw.model jerry -- Best regards, flux mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re:
I would like to know where i can find the list of RFCs supported in the TCP/IP stack of FreeBSD 4.9 release. Can you help me get the info? It may be more helpful if you asked wether FreeBSD's TCP/IP stack implemented RFC xyz or not. Do you have something special in mind? Generally speaking, FreeBSD's TCP/IP stack is very complete and one of the most standards compliant implementation known today. Cheers. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: new freebsdzine URL?
On Mon, Dec 15, 2003 at 11:30:01PM -0600, Jay Sern Liew wrote: Does anyone know the URL to the FreeBSD website started by the same guys who started FreeBSD`zine(which is now dead)? I've been there, I made a mistake not bookmarking it, and now I can't find it. Thanks. http://bsdnews.org/ Ceri -- pgp0.pgp Description: PGP signature
bash bug or something else?
Hello all. I have a little problem in here. Actulay i think, that bash doesn't caount good, look: cat bin/users | wc -l 1877 so the file contains 1877 lines cat bin/users: #!/bin/sh /sbin/ipfw -q delete 2001 /dev/null 21 /sbin/ipfw -q add 2001 count ip from 192.168.0.1 to not me in via fxp0 /dev/null 21 /sbin/ipfw -q delete 2002 /dev/null 21 /sbin/ipfw -q add 2002 count ip from not me to 192.168.0.1 out via fxp0 /dev/null 21 /sbin/ipfw -q delete 2003 /dev/null 21 /sbin/ipfw -q add 2003 count ip from 192.168.0.111 to not me in via fxp0 /dev/null 21 /sbin/ipfw -q delete 2004 /dev/null 21 /sbin/ipfw -q add 2004 count ip from not me to 192.168.0.111 out via fxp0 /dev/null 21 * * /sbin/ipfw -q add 2935 count ip from 192.168.5.63 to not me in via fxp0 /dev/null 21 /sbin/ipfw -q delete 2936 /dev/null 21 /sbin/ipfw -q add 2936 count ip from not me to 192.168.5.63 out via fxp0 /dev/null 21 /sbin/ipfw -q delete 2937 /dev/null 21 /sbin/ipfw -q add 2937 count ip from 192.168.5.99 to not me in via fxp0 /dev/null 21 /sbin/ipfw -q delete 2938 /dev/null 21 /sbin/ipfw -q add 2938 count ip from not me to 192.168.5.99 out via fxp0 /dev/null 21 so I should have 938 rules in my firewall. 938 * 2=1876 + 1 = 1877 lines in the script (1 rule for delete rule and one for add rule + rule at the top '#!/bin/sh') but when adding this rules to the ipfw ruleset i have: ipfw show 2000-2938 | wc -l 809 so somehere my 938-809=129 rules had just gone somewhere. I'm using bash in here.. could that be a bug in bash ? bash --version GNU bash, version 2.05b.0(1)-release (i386-portbld-freebsd4.9) btw, when i look into ipfw and can't find some rules in it.. for example there goes rule nr 2001,2002,2003,2004,2005,2008 so i have no rule with number 2006 and 2007 but they exist in my script. after running this script other time i got ipfw show 2000-2938 | wc -l 814 one more time : ipfw show 2000-2938 | wc -l 836 But I have not changed anything in my script. -- Best regards,Hugle ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Windows client - internet connection sharing
On Mon, Dec 15, 2003 at 07:40:14PM +0200, Gareth Bailey wrote: Is it possible to set up a freebsd server connected to an ADSL line to provide internet access via LAN to a number of Windows clients. I don't know where to start. Any information in this regard will be greatly appreciated. Yes, absolutely. However, there are such a huge number of variations on possible ways of doing that that it's impossible to describe everything you'ld need to know in a simple e-mail. Lets look at a few questions you'ld need to answer: 1) ADSL router or modem? This is all about how you interface your FreeBSD system to ADSL -- the basic choice is between a router: a standalone unit which you plug the phone line into one side of, and an ethernet cable into the other -- or a modem: this is a device that plugs into a serial or USB port on your FreeBSD box. Routers will work entirely independently of your FreeBSD machine. Since your connection to them is via ethernet, there's practically no compatibility problems. Depending on how much money you spend, your can get routers which provide packet filtering, network and port address translation, DNS, DHCP and various other capabilities -- although if you go to the expense of buying a really capable router there's not much left to do for your FreeBSD box. Modems are the other end of this scale: you need to find a device for which appropriate drivers are available under FreeBSD. Once you've got the modem connected up, you'll need to use the attached FreeBSD box to provide appropriate functionality to make a practicable ADSL connection. This includes running PPPoA or PPPoE (A = ATM, E = Ethernet: all ADSL in the UK is PPPoA, other countries do things differently) to establish networking into your service provider. You would use the standard FreeBSD stuff to do NAT and firewall packet filtering, and you can install DHCP servers and so forth. Effectively the FreeBSD box + modem takes the place of the standalone router above. 2) What sort of address space do you want to have assigned to you from your ISP? The cheapest ADSL accounts give you a single Internet-routable IP number, usually assigned via DHCP. There can be an implicit assumption that you've basically got just one machine you want to have net access, although this is becoming less common nowadays. Lots of ISPs will give you two addresses: this is intended to give you an address for the router box, plus an address for a real PC. Next step up is to get that one or two addresses permanently assigned to you. Beyond that, you can get a routed connection -- you get a small net block permanently assigned to you, as well as the single IP used for the WAN side of your router. This enables you to set up a 'DMZ' network, and for instance have several servers visible on the Internet. Many ISPs will have local policies forbidding you from running servers of various sorts, mostly as a way of protecting the ISP from the awful consequences of allowing Windoze machines out on the open Internet in the hands of the clueless. 3) A consequential decision related to the above: do you want some or all of your Windows (or other) LAN machines to have Internet routable addresses or to run Internet visible services? There's several ways of doing this: DMZ network -- classic firewall design. Here the Internet accessible machines are kept on a separate small sub-net, and you have a second packet-filtering router (generally a machine with a couple of network cards, running natd and ipfw or similar) between that and your private internal network. Packet filtering bridge -- similar to the above, except that the DMZ is and the internal private stuff are now technically on the same subnet, and your packet filter serves to separate public and private parts of the subnet. This is a much harder setup to get working effectively and securely than either of the other two, so use only as a last resort. NAT address proxying -- your NAT gateway has one or more IP addresses assigned and the NAT gateway knows how to forward incoming connections to an internal server. Or you run proxy servers on the Internet visible addresses which will accept incoming connections and relay them to the real servers on the internal network. Taken to the extreme, you could use this sort of setup to do load balancing and other fancy networking tricks, but you'ld probably have to spend $$$ to by the right sort of hardware load balancing kit needed. 4) From the point of view of the private side of your network, the FreeBSD box should minimally appear as the default gateway to the Internet. You can assign IP addresses and other configuration parameters to each machine manually or you can run various
narrowed down but still not working (Re: Having problems with 'pcm' and on-board Crystal Sound)
Thank you for helping. I'm getting this problem narrowed down. I'm using the custom kernel w/o any sound drivers compiled-in. Having loader.conf do both (and only these): snd_csa_load=YES snd_pcm_load=YES dmesg shows these getting loaded ahead of the kernel booting, but the sound chips do not get detected at all e.g. those unknown WSS/SB lines in dmesg I included in my previous e-mail. When I have loader.conf do snd_driver_load=YES, I see that 'mss' is saying 0x530 is busy while booting (I know about the old-style 4-bytes-before i/o port address it is trying to find), but later on we see 'pcm' can detect the sound chips. At this time 'cat /dev/sndstat' shows: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: CS423x-PCI at io 0x534 irq 11 drq 1:0 bufsz 4096 (1p/1r/0v channels duplex default) which agrees with IBM's specs for this model 300PL. I then use the 'play' app to test this with a .wav file (say, one that SDL installs), and we get the msg on the console: pcm0:play:0: play interrupt timeout, channel dead Okay at least I know what to put into loader.conf now: snd_mss_load=YES snd_pcm_load=YES 'cat /dev/sndstat' still shows the same info as above. But the console also shows the timeout problem each every time something wants to play thru it. There is no man page for mss, but the man for pcm suggests that these particular Crystal Audio chips are directly supported, and now it seems I need mss also to get the hooks in right. OSS works with the same 'play' app and SDL .wav file, so I'm quite sure we have a problem in mss/pcm somewhere. I'm not afraid of hacking some code if someone can give me some hints. ;) I really appreciate it. -- Paul Seniura System Specialist State of Okla. D.O.T. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Windows client - internet connection sharing
YES, it is possible. You probably want to start at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routin g.html. Otherwise, there are many howtos and tutorials on setting up a gateway. There is also an option in /stand/sysinstall under networking to 'make this computer act as a gateway,' which you may want to check out. HTH Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Bailey Sent: Monday, December 15, 2003 11:40 AM To: [EMAIL PROTECTED] Subject: Windows client - internet connection sharing Is it possible to set up a freebsd server connected to an ADSL line to provide internet access via LAN to a number of Windows clients. I don't know where to start. Any information in this regard will be greatly appreciated. Thanks Gareth Bailey ___ Look Good, Feel Good www.healthiest.co.za ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Transparent filtering and ipfilter
Date: 16 dec 2003 I'm interested in configuring Filtering Bridges (as described in the Alex Dupre howto) using 4.9-RELEASE. I'd like to know: - Filtering bridges is supported with ipfilter? - ipfilter is more portable, but what are its limits with bridges? - What about adv/disav of ipfilter vs ipfw? thanks in advance Roberto ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Headless System via serial port?
Hey! That worked. I have it setup as -Dh in my boot.config file and added the lines you mentioned. Everything works great! Thanks greatly for the help! Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 -Original Message- From: Ceri Davies [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 8:44 AM To: Minnesota Slinky Cc: 'Bill Schoolcraft'; [EMAIL PROTECTED] Subject: Re: Headless System via serial port? On Tue, Dec 16, 2003 at 12:00:14AM -0600, Minnesota Slinky wrote: Is that all you did to get it working? It goes through the boot process just fine over the terminal, but kernel hands the login back over to vidconsole again right away. I even tried changing the -P to a -Dh, still nothing. Same effect. You also need to turn on ttyd0 in /etc/ttys: ttyd0 /usr/libexec/getty std.9600 vt100 on secure Then send init a HUP. Ceri -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network booting?
Hello all, I looked in the handbook, and didn't see anything about doing a network boot on a PC from a freebsd server. Is this at all a possibility? Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU type
--- flux [EMAIL PROTECTED] wrote: How do I know what type of CPU (Model, Mhz, etc...) do I have without rebooting my FreeBSD box? Is there any command to show this kind of information? Thank you. -- Best regards, flux mailto:[EMAIL PROTECTED] #more /var/run/dmesg.boot __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network booting?
On 16 Dec, Eric F Crist wrote: Hello all, I looked in the handbook, and didn't see anything about doing a network boot on a PC from a freebsd server. Is this at all a possibility? Besides the handbook there are a lot of useful books and articles: http://www.freebsd.org/docs.html#articles search for the PXE Booting article and look at all the available articles ;) Phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Installation troubles
-Original Message- From: fbsd_user [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 10:24 AM To: michael Alexander Subject: RE: Installation troubles Stop and think about your question, what is the purpose of raid? FBSD has no problem using an normal scsi hard drive as install target. Raid has very special purpose in life, and holding the operating system is not one of them. I actually thought that the OS really should reside on a Raid array, so that in the case of a disk failure your system doesn't fully crash and require a reinstall. Would I run into this same issue with a supported IDE raid card? Since this will be a mission critical server (mail server w/imap) we don't want to lose any time because of drive failures. The raid card is listed as being supported at the site. Leaving the raid card in while installing FBSD on IDE drive should work also. You can also read the list of supported devices at www.freebsd.org maybe your card is not supported at all. Any how that is my option based on my experience, for what ever that is worth. -Original Message- From: michael Alexander [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 10:57 AM To: [EMAIL PROTECTED] Subject: RE: Installation troubles Thanks, I will try that. Does FBSD not support raid targets very well during install? -Mike -Original Message- From: fbsd_user [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 9:37 AM To: michael Alexander Subject: RE: Installation troubles If I understand your environment correctly, you are trying to use the scsi raid hard drive as the target to install FBSD on. I think FBSD can use that scsi raid device for data storage after FBSD is installed on an IDE hard drive. Just for an learning experience, I would add an IDE HD to the pc, remove the scsi card, and try installing FBSD again. After FBSD is installed on the IDE HD replace the scsi raid card and check the var/run/dmesg.boot file which contains a copy of all the probe messages from the booting process and look to see if FBSD found your scsi card. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of michael Alexander Sent: Tuesday, December 16, 2003 9:46 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Installation troubles I find no virus boot detection options in the bios on this machine (I have seen it on our workstation machines, so I know what you are talking about) Just to confirm that the raid is working (since I did add drives and rebuild it all since it was last used) I just began another Netware install, and it is happily going along, created a dos partition and formatted it. Next possibility? Thanks, Mike -Original Message- From: fbsd_user [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 5:17 PM To: michael Alexander; [EMAIL PROTECTED] Subject: RE: Installation troubles Check your system bio's and turn off virus boot detection. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of michael Alexander Sent: Monday, December 15, 2003 5:17 PM To: [EMAIL PROTECTED] Subject: Installation troubles Hi, I am trying to install FreeBSD (have tried 4.9, and the 5.1 ISO's) It hangs at: Waiting 15 seconds for SCSI devices to settle My hardware: Intel NA440BX MB, 512MB ram, dual PIII 350 processors Mylex Acceleraid 250(DAC960) Latest bios/firmware downloaded and installed on both MB and Raid card last week. ISO's downloaded last week as well. I know the raid card works, I had netware installed on the machine prior to moving it to new hardware. If there was an option to install unlisted drivers at the initial setup screen, where I am suppose to remove drivers that do not apply, then I might be able to continue on and get this installed. I selected FreeBSD because it seemed to be abit more up to date with releases of other software we would be running (Sendmail 8.12.10, etc) Any suggestions where to begin troubleshooting the install? I did download the latest drivers for the card as well, but all the install instructions I've found assume there is already a working FreeBSD system, which I do not have. (FWIW, Redhat 9 also is failing to install, it locks up loading its DAC960 driver -never even gets to any sort of config) Thank you, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network booting?
On Tue, Dec 16, 2003 at 10:13:18AM -0600, Eric F Crist wrote: Hello all, I looked in the handbook, and didn't see anything about doing a network boot on a PC from a freebsd server. Is this at all a possibility? A member of our local Unix users group presented a talk on this subject not too long ago. You may find the slides useful. http://www.chuug.org/talks/20030722/netboot.pdf Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist Office: 434-982-2975 Financial AnalysisE-Mail: [EMAIL PROTECTED] University of VirginiaMessenger Mail: Carruthers Hall Man invented language to satisfy his deep need to complain. -- Lily Tomlin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Solved [Re: delete first partition XP and reformat as ufs - kernel not found]
--- Dan Strick [EMAIL PROTECTED] wrote: On Mon, 1 Dec 2003, Dorin H [EMAIL PROTECTED] wrote: snip If no RTFM is available, point me to the source files. I am not familiar with the FreeBSD kernel sources, but I'll have no problem reading some code. snip This may not be exactly correct. See the section 8 man page for boot. (i.e. Do man boot.) The source is in /usr/src/sys/boot/i386. The information is there (boot(8)). Thank you for reminding me that 10 minutes spent reading the whole man page saves some hours of hair-pulling struggle. If I understand this and your previous emails on this subject, you began with this MBR partition/slice table arrangement: ad0s1 XP ad0s2 FreeBSD and everything worked fine. Then you changed the MBR partitions to: ad0s1 XP ad0s2 Debian swap ad0s3 Debian / ad0s4 FreeBSD and FreeBSD would not boot correctly because the file /etc/fstab, created during the initial FreeBSD installation process, still had /dev/ad0s2 where it now needed to have /dev/ad0s4 because you renumbered its MBR partition. Then you fixed that and everything seemed to work fine until you decided to reuse the XP partition for more FreeBSD disk space. So you changed your MBR partition table to: ad0s1 FreeBSD (addtitional file system space) ad0s2 Debian swap ad0s3 Debian / ad0s4 FreeBSD (the operating system) and FreeBSD would no longer boot. This might be due to boot1 confusion. Each partition in the MBR has a flag byte and a type byte. The 0x80 bit in the flag byte marks the partition as active. Normally at most one partition has the active bit set. A non-interactive MBR bootstrap program typically boots whichever partition has the active bit set. I couldn't present it better. And yes, the problem was due to order of partitions marked as bootable: BOOTABLE ad0s1 FreeBSD (not used) ad0s2 Debian swap ad0s3 Debian / BOOTABLE ad0s4 FreeBSD (the operating system) Trying to boot ad0s1 failed of course. At the promp: FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: I did again the experiment: 1. marked ad0s1 as bootable 2. reboot 3. again the promt (from which the slice info is missing ! that tricked me) Supplying this solve the booting problem! | vvv boot: 0:ad(0,4,a)/kernel (Still pending: I have to see how can I make it find the loader.conf also :) ) The FreeBSD boot1 program, the program loaded by the MBR bootstrap, is not hardwired with the number of the MBR partition in which it was installed (perhaps it ought to be). Instead it uses the first MBR partition of FreeBSD type with the active bit set. If no FreeBSD MBR partition has the active bit set, the boot1 program chooses the first FreeBSD MBR partition. This normally works correctly even if you have more than one bootable FreeBSD MBR partition because the FreeBSD boot0 MBR program normally rewrites the MBR record with the appropriate active bit set before it invokes the FreeBSD boot1 program. You say that you are using Debian lilo for your MBR bootstrap program rather than the FreeBSD boot0 program. Totally new to FreeBSD boot process, so using Debian LILO felt safer at that time. I don't know much about lilo, but I am guessing that it does not set the active partition in the MBR partition table before it boots a partition. Then the boot1 program tries to load the boot2 program from ad0s1 instead of ad0s4. I will try investigate the problem. Though I remember reading something like this somewhere... I can't find the source to mention it here. Workaround: you can make ad0s4 the only active FreeBSD partition with the fdisk program. If nothing else changes that, boot1 will correctly boot ad0s4. Yes, the workaround is correct. It was the solution. Thank you for your explanations, /Dorin. PS. It is so nice to be able to compile again the ports stuff on my machine :) (ad0s1a = /usr/ports, ad0s1d=/usr/src ;) ) __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Email problem
- Original Message - From: samy lancher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 15, 2003 2:03 PM Subject: Email problem Hello all, I have 4.5 freebsd server with apache, php and mysql. i wrote a simple php program using mail(). The mail() function returns true without any error. but the problem is the email is never delivered. I viewed the log file for mail(/var/log/maillog) and i saw the following error: Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): Permission denied. I would be really thankful if someone could tell me where i am doing wrong. In php.ini, i have set sendmail_path = /usr/sbin/sendmail. thanks in advance. Naveen. Change the group that http is running under to smmsp via the httpd.conf and it should run. I don't know if this the best approach to this problem, but it will allow the httpd to access the clientmqueue folder. Be warned, if you're using mailman for mailing lists, it will have to be recompiled with the proper gid or it will fail out. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Load new drivers during install
Is there a way to load updated or additional drivers during initial install? (like redhats 'expert' install option) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Email problem
hello steve, httpd belongs to user:www and group:www; is it ok if i change only the group to smmsp? does it effect the webserver in any way? the webserver and email server is working fine now. i am worried if the change might have any bad effect. thanks, Naveen. Micheal Patterson [EMAIL PROTECTED] wrote: - Original Message - From: samy lancher To: Sent: Monday, December 15, 2003 2:03 PM Subject: Email problem Hello all, I have 4.5 freebsd server with apache, php and mysql. i wrote a simple php program using mail(). The mail() function returns true without any error. but the problem is the email is never delivered. I viewed the log file for mail(/var/log/maillog) and i saw the following error: Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): Permission denied. I would be really thankful if someone could tell me where i am doing wrong. In php.ini, i have set sendmail_path = /usr/sbin/sendmail. thanks in advance. Naveen. Change the group that http is running under to smmsp via the httpd.conf and it should run. I don't know if this the best approach to this problem, but it will allow the httpd to access the clientmqueue folder. Be warned, if you're using mailman for mailing lists, it will have to be recompiled with the proper gid or it will fail out. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load new drivers during install
On Tue, 16 Dec 2003 11:44:26 -0600 michael Alexander [EMAIL PROTECTED] wrote: Is there a way to load updated or additional drivers during initial install? (like redhats 'expert' install option) If I understand your question right there is no direct way. You could set in sysinstall's Options menu another Release Name (e.g. 4.8-RELEASE-p8 for stable or 5.1-RELEASE-p11, etc.) and rebuild after install, but that could lead to problems esp. if you install a 5.x with 4.x sysinstall or the other way. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sharity-light/winxp issues
hi all i almost have sharity-light working well enough to be able to map a windows share to my freebsd5.1 box. the two machines are: 1. Freebsd 5.1-RELEASE, DHCP but i'm using dyndns.org to map the address of 'machine1.gotdns.org' to this machine, ipfilter enabled 2. Windows Xp pro, DHCP but i'm using dyndns.org to map the address of 'machine2.gotdns.org' to this machine, windows xp built in firewall turned on i'm able to successfully map a windows share on the winxp machine using as root: shlight //24.24.24.24/files /mnt/win -U username -P password in order to do this i had to disable the built in windows firewall on the winxp box. is there a way to do this without having to disable the built in windows firewall entirely? or is there a way to set up a stateful connection from a specific ip address using the windows built in firewall? (i doubt it) also - if you notice, i've had to use the 24.24.24.24 ip address in my line above. i have to use the ip address, and to put the following line in my /etc/hosts to get this working 24.24.24.24 machine2.gotdns.org machine2 i'd really like to use 'machine2' or machine2.gotnds.org' in my sharity-light command, but it doesn't seem to like it (says either machine name doesn't exist or is too long). this kind of defeats the purpose of using dyndns.org for dhcp mapping to a hostname. is there any way around this, so i don't have to edit my /etc/hosts every time my ip address changes? any comments welcome... -- FreeBSD 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 21:30:51 CDT 2003 12:00PM up 22 days, 9:12, 5 users, load averages: 0.01, 0.09, 0.19 Oh, I don't blame Congress. If I had $600 billion at my disposal, I'd be irresponsible, too. -- Lichty Wagner pgp0.pgp Description: PGP signature
fetch / wget problem
Hi! I'm trying to write a script which gets a file from remote FTP server. The FTP username contains dots and this cannot be changed. There are two firewalls involved, one running on the same server where I'm doing this (ipfilter, using ipnat ftp proxy) and one between this server and the FTP server. The FTP server itself is in internal network using RFC1918 addresses and a port in firewall is being forwarded to this server. I think that firewalls are configured correctly, because I can successfully get the file manually, using the 'ftp' command. However, when I try this command: fetch ftp://user.name:[EMAIL PROTECTED]/directory/file.ext I get an error message: fetch: ftp://user.name:[EMAIL PROTECTED]/directory/file.ext: Host not found. I suspect that fetch, seeing a dot in username, attempts to 'resolve' the entire URL, instead of just the part after @. Is there a known workaround to this? I also tried wget, which succeeds to connect, but then, no matter what I do, insists on using passive mode. wget ftp://user.name:[EMAIL PROTECTED]/directory/file.ext Connecting to server.mydomain.com[12.34.56.78]:2100... connected. Logging in as user.name ... Logged in! == SYST ... done.== PWD ... done. == TYPE I ... done. == CWD /directory ... done. == PASV ... and then the process just hangs. I suspect it would work if I could somehow tell wget to NOT use passive mode. I initially had FTP_PASSIVE_MODE environment variable set, but removing this didn't affect wget's behaviour. Any ideas? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * RUNTIME ERROR 6D at 417A:32CF : Incompetent user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Email problem
- Original Message - From: samy lancher [EMAIL PROTECTED] To: Micheal Patterson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 11:57 AM Subject: Re: Email problem hello steve, httpd belongs to user:www and group:www; is it ok if i change only the group to smmsp? does it effect the webserver in any way? the webserver and email server is working fine now. i am worried if the change might have any bad effect. thanks, Naveen. I've not noticed any ill effects as of yet with a group of smmsp. To be honest, it's a catch all until I can come up with a better way. I've just not found that way yet. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load new drivers during install
--- Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: On Tue, 16 Dec 2003 11:44:26 -0600 michael Alexander [EMAIL PROTECTED] wrote: Is there a way to load updated or additional drivers during initial install? (like redhats 'expert' install option) Not tested, but you can load a kld from floppy using Sysinstall/Configure/Load KLD (scroll down, it is the last option). I don't know if this requires some live system features to be already installed (corresponding to a postupgrade action), but you can give it a try. /Dorin. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetch / wget problem
- Original Message - From: Toomas Aas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 12:38 PM Subject: fetch / wget problem Hi! I'm trying to write a script which gets a file from remote FTP server. The FTP username contains dots and this cannot be changed. There are two firewalls involved, one running on the same server where I'm doing this (ipfilter, using ipnat ftp proxy) and one between this server and the FTP server. The FTP server itself is in internal network using RFC1918 addresses and a port in firewall is being forwarded to this server. I think that firewalls are configured correctly, because I can successfully get the file manually, using the 'ftp' command. However, when I try this command: fetch ftp://user.name:[EMAIL PROTECTED]/directory/file.ext I get an error message: fetch: ftp://user.name:[EMAIL PROTECTED]/directory/file.ext: Host not found. I suspect that fetch, seeing a dot in username, attempts to 'resolve' the entire URL, instead of just the part after @. Is there a known workaround to this? I also tried wget, which succeeds to connect, but then, no matter what I do, insists on using passive mode. wget ftp://user.name:[EMAIL PROTECTED]/directory/file.ext Connecting to server.mydomain.com[12.34.56.78]:2100... connected. Logging in as user.name ... Logged in! == SYST ... done.== PWD ... done. == TYPE I ... done. == CWD /directory ... done. == PASV ... and then the process just hangs. I suspect it would work if I could somehow tell wget to NOT use passive mode. I initially had FTP_PASSIVE_MODE environment variable set, but removing this didn't affect wget's behaviour. Any ideas? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * RUNTIME ERROR 6D at 417A:32CF : Incompetent user You may be able to do this with a .netrc in the user folder that's running the script. In .netrc, you'll have: machine ftp server name login loginname password password Then you can script it with the exact commands that you'd use to get the file if you did it manually. For example, if you wanted /etc/test.sh and you wanted to store it in /root/down and the remote site was ftp.foo.com you'd do: Contents of .netrc --- machine ftp.foo.com login joe.user pass password --- Then, in your script, let's say autofetch.sh you'd have: #!/bin/sh ftp EOF open ftp.foo.com cd /etc/ lcd /root/down ascii get test.sh bye EOF --- Now, you've got a scripted ftp session from within FreeBSD. As long as the servernames in the script and .netrc match, ftp will use the info from .netrc to make the connection. Of course, you'd want to make certain that the .netrc file is NOT world readable. Perhaps not even group readable if there are other users of the system. Hope it helps. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetch / wget problem
Hi! fetch ftp://user.name:[EMAIL PROTECTED]/directory/file.ext Have you tried using %2E instead of the dot? This gets me past the resolve problem, but the FTP server doesn't seem to like the user called user%2Ename. Anyway, I found a way that works, using CURL: curl -P fxp0 \ ftp://user.name:[EMAIL PROTECTED]/directory/file.ext \ file.ext The key here was -P interface - without that, CURL also tried to use passive mode. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Abstain from wine, women and song; mostly song. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
REPOST: null device in linux jail root
Surely, *someone* who reads this list has upgraded the linux_base port, and figured out the proper way to respond to this prompt. ___ Hi, I installed Linux compatibility when I installed FBSD 4.8, but I've never really done anything with it. While portupgrading , I was presented with a prompt that I don't know how to respond to: You need to create the null device in your jail root environment. Run the following commands outside the jail root environment, and then press enter: mkdir -m 0755 -p Jail Root dir/dev rm -f Jail Root dir//compat/linux/dev/null mknod Jail Root dir//compat/linux/dev/null c 2 2 chmod 666 Jail Root dir//compat/linux/dev/null I found that this prompt comes from the makefile in the linux-base port, which I don't have access to at the moment, so I can't quote it exactly. Clueless, I just pressed enter at the prompt, thinking I could always go back and do it later, or deinstall the port and reinstall it when I learn what to do. I know what a jail is, but how do I know what my Jail Root dir is? Also, why the double slashes in the last 3 lines? What do they mean? What is the proper way to deal with this prompt? -- Thanks, Charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetch / wget problem
Just a thought, try escaping the . with a \... fetch: ftp://user\.name:[EMAIL PROTECTED]/directory/file.ext: I recently had to do that, and it seemed to work. Lance At 12:38 PM 12/16/2003, you wrote: Hi! I'm trying to write a script which gets a file from remote FTP server. The FTP username contains dots and this cannot be changed. There are two firewalls involved, one running on the same server where I'm doing this (ipfilter, using ipnat ftp proxy) and one between this server and the FTP server. The FTP server itself is in internal network using RFC1918 addresses and a port in firewall is being forwarded to this server. I think that firewalls are configured correctly, because I can successfully get the file manually, using the 'ftp' command. However, when I try this command: fetch ftp://user.name:[EMAIL PROTECTED]/directory/file.ext I get an error message: fetch: ftp://user.name:[EMAIL PROTECTED]/directory/file.ext: Host not found. I suspect that fetch, seeing a dot in username, attempts to 'resolve' the entire URL, instead of just the part after @. Is there a known workaround to this? I also tried wget, which succeeds to connect, but then, no matter what I do, insists on using passive mode. wget ftp://user.name:[EMAIL PROTECTED]/directory/file.ext Connecting to server.mydomain.com[12.34.56.78]:2100... connected. Logging in as user.name ... Logged in! == SYST ... done.== PWD ... done. == TYPE I ... done. == CWD /directory ... done. == PASV ... and then the process just hangs. I suspect it would work if I could somehow tell wget to NOT use passive mode. I initially had FTP_PASSIVE_MODE environment variable set, but removing this didn't affect wget's behaviour. Any ideas? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * RUNTIME ERROR 6D at 417A:32CF : Incompetent user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetch / wget problem
Just a thought, try escaping the . with a \... I actually did try that, but it didn't seem to have any effect on the end result. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * All wiyht. Rho sritched mg kegboawd awound? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sharity-light/winxp issues
--- Redmond Militante [EMAIL PROTECTED] wrote: hi all i almost have sharity-light working well enough to be able to map a windows share to my freebsd5.1 box. the two machines are: 1. Freebsd 5.1-RELEASE, DHCP but i'm using dyndns.org to map the address of 'machine1.gotdns.org' to this machine, ipfilter enabled 2. Windows Xp pro, DHCP but i'm using dyndns.org to map the address of 'machine2.gotdns.org' to this machine, windows xp built in firewall turned on i'm able to successfully map a windows share on the winxp machine using as root: shlight //24.24.24.24/files /mnt/win -U username -P password in order to do this i had to disable the built in windows firewall on the winxp box. is there a way to do this without having to disable the built in windows firewall entirely? snip This is a little offtopic, but you can configure the Win firewall to pass connections for the file sharing service (the Server) (if I remember it correctly is 443) (see control panel, network conns, properties for local connection, advanced, settings and add port) Hope this helps, /Dorin. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DOS of named
Hi, what measures can I take against this irregular appearing Denial-Of-Service attacks of named which is filling my logfiles (messages, daemon, all.log) with messages like sysquery: no addrs found for root NS for minutes at a rate of 4000 lines/sec? I'm using named 8.3.3-REL on FBSD-5.0R. There is no indication that ipfw is blocking anything as denied packets are logged by default. (Well, at least not from any name servers.) This phenomenon happens irregularly after a few days/weeks/months. This last event, for example, happend after 4 days uptime, the one before after over 42 days. Searching in the archives pointed me to a) some issue with the named.cache file which I updated weeks ago and which is still up-to-date b) the firewall blocking the answer from a root-server (see above) c) and of course the arrogance of a developer suggesting to use a larger filesystem for logs as nothing is wrong with an application logging every error. Thus, nothing to solve the problem or to find the true cause. An nslookup 198.41.0.4 a.root-servers.net. produces Authoritative answers can be found from: 198.in-addr.arpanameserver = chia.ARIN.NET 198.in-addr.arpanameserver = dill.ARIN.NET 198.in-addr.arpanameserver = henna.ARIN.NET 198.in-addr.arpanameserver = indigo.ARIN.NET 198.in-addr.arpanameserver = epazote.ARIN.NET 198.in-addr.arpanameserver = figwort.ARIN.NET 198.in-addr.arpanameserver = ginseng.ARIN.NET *** Can't find server name for address 198.41.0.4: No information *** Default servers are not available Tcpdump shows the following transfer, nothing more: tcpdump: listening on tun0 20:47:47.288874 80.128.176.76.63384 198.41.0.4.domain: 18833+ PTR? 4.0.41.198.in-addr.arpa. (41) 0x 4500 0045 9dbf 4011 15ef 5080 b04c[EMAIL PROTECTED] 0x0010 c629 0004 f798 0035 0031 0b4a 4991 0100.).5.1.JI... 0x0020 0001 0134 0130 0234 3103.4.0.41. 0x0030 3139 3807 696e 2d61 6464 7204 6172 7061198.in-addr.arpa 0x0040 0c00 01 . 20:47:47.443400 198.41.0.4.domain 80.128.176.76.63384: 18833- 0/7/0 (194) (DF) 0x 4500 00de 4000 3411 7f15 c629 0004[EMAIL PROTECTED]).. 0x0010 5080 b04c 0035 f798 00ca 7663 4991 8100P..L.5vcI... 0x0020 0001 0007 0134 0130 0234 3103.4.0.41. 0x0030 3139 3807 696e 2d61 6464 7204 6172 7061198.in-addr.arpa 0x0040 0c00 01c0 1300 0200 0100 0151 8000.Q.. 0x0050 0f04 6368 6961 0441 5249 4e03 4e45 5400..chia.ARIN.NET. 0x0060 c013 0002 0001 0001 5180 0007 0464 696cQdil 0x0070 6cc0 3ac0 1300 0200 0100 0151 8000 0805l.:Q 0x0080 6865 6e6e 61c0 3ac0 1300 0200 0100 0151henna.:Q 0x0090 8000 0906 696e 6469 676f c03a c013 0002indigo.: 0x00a0 0001 0001 5180 000a 0765 7061 7a6f 7465Qepazote 0x00b0 c03a c013 0002 0001 0001 5180 000a 0766.:Qf 0x00c0 6967 776f 7274 c03a c013 0002 0001 0001igwort.: 0x00d0 5180 000a 0767 696e 7365 6e67 c03a Qginseng.: ^C Thanks in advance, Robert PS: BTW, is there a search engine on freebsd.org for the archives or do I have to stay with google, which becomes less usable each day?) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New name for Floppy disk devices?
OK, so sometimes serial devices that one would expect to have names in /dev like sio0 or sio1 are now called cuaa0 or cuaa1 (for reasons beyond my understanding). Now I can see my floppy disk in the dmesg output, but there doesn't appear to be an fdc0 in /dev. Did floppy disk devices get renamed, too, or is it hiding somewhere else, or did it, for some unknown reason, just vanish? I'm trying to create a floppy disk boot pair, and can't write to a device I can't find. Help? -Lyman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: REPOST: null device in linux jail root
On Tue, Dec 16, 2003 at 01:15:07PM -0600, Charles Howse wrote: Surely, *someone* who reads this list has upgraded the linux_base port, and figured out the proper way to respond to this prompt. I apply for item A but not item B -- in other words, I also don't have a clue why this happened to me today on my -CURRENT machine (so it's not -STABLE only). From my reading of the port Makefile, it appears that it first creates the device node and then tests to see if it exists, but apparently that test fails -- the message *should* be harmless, but the best thing to do is to make the maintainer of the port aware of the problem, which in this case is the general ports list ([EMAIL PROTECTED]) -- CC'd. --Stijn [rest of email quoted for reference, but please don't top post next time] ___ Hi, I installed Linux compatibility when I installed FBSD 4.8, but I've never really done anything with it. While portupgrading , I was presented with a prompt that I don't know how to respond to: You need to create the null device in your jail root environment. Run the following commands outside the jail root environment, and then press enter: mkdir -m 0755 -p Jail Root dir/dev rm -f Jail Root dir//compat/linux/dev/null mknod Jail Root dir//compat/linux/dev/null c 2 2 chmod 666 Jail Root dir//compat/linux/dev/null I found that this prompt comes from the makefile in the linux-base port, which I don't have access to at the moment, so I can't quote it exactly. Clueless, I just pressed enter at the prompt, thinking I could always go back and do it later, or deinstall the port and reinstall it when I learn what to do. ? I know what a jail is, but how do I know what my Jail Root dir is? Also, why the double slashes in the last 3 lines? ?What do they mean? What is the proper way to deal with this prompt? -- Thanks, Charles -- Linux has many different distributions, meaning that you can probably find one that is exactly what you want (I even found one that looked like a Unix system). -- Mike Meyer, from a posting at [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
ACPI is the culprit! (Re: Having problems with 'pcm' and on-board Crystal Sound)
A private e-mail to me mentioned a similar problem on the -current maillist: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=696541+0+current/freebsd-current After reading that thread, I added a line to device.hints to keep ACPI completely disabled: hint.acpi.0.disabled=1 and kept these lines in loader.conf: snd_mss_load=YES snd_pcm_load=YES By golly, IBM Crystal Audio[tm] is working now! And it's even way better than OSS! ;) ...at least with the little bit I've tested so far... (crossing fingers whatever else come in pairs) The system feels 'heavier' now -- I bet it is due to irqs not being so fast (edge/level triggers) as with ACPI enabled? Thank y'all for helping, really appreciate it. -- Paul Seniura System Specialist State of Okla. D.O.T. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re:(UPDATED DETAILS)Re:VinumquestionIncompatiblesectorsizes
A good and diciplined user woul have waited for a knowledgeable answer, but I can't get no rest until this is solved so I tried to follow the steps in Replacing a failed Vinum drive and managed to get a drive up and running to replace the faulty one. Now the current status of my vinum is: *** Revive of raid.p0.s0 has stalled *** And when I start it with start raid.p0.s0 I get the message: Can't start raid.p0.s0: Input/Output error (5) *** Warning: configuration updates are disabled. *** I certainly hope I didn't increase the damage during the eves events, and that there still are some hope left. //Joachim -- | I managed to access the /var/messages file, I have removed anything | that I for sure know you wouldn't be interested in, please find the | other anwsers down in the mail. | | /var/log/messages: | Dec 13 09:00:00 big newsyslog[786]: logfile turned over due to | size100K | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read | fsbn 237565992 of 237565992-237566023 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 237565992 of | 237565992-237566023 status=7f error=7f | Dec 13 12:46:05 big kernel: vinum: raid.p0.s1 is crashed by force | Dec 13 12:46:05 big kernel: vinum: raid.p0 is corrupt | Dec 13 12:46:05 big kernel: fatal:raid.p0.s1 read error, block | 237565929 for 16384 bytes | Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 475130592 | for 16384 bytes | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read | fsbn 238506216 of 238506216-238506247 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 238506216 of | 238506216-238506247 status=7f error=7f | Dec 13 12:46:05 big kernel: fatal:raid.p0.s1 read error, block | 238506153 for 16384 bytes | Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 477011872 | for 16384 bytes | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=write | fsbn 71 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=write fsbn 71 | status=7f error=7f | Dec 13 12:46:05 big kernel: vinum: Can't write config to /dev/ad4s1e, | error 5 | Dec 13 12:46:05 big kernel: vinum: drive b is down | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=write | fsbn 237565992 of 237565992-237566023 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=write fsbn 237565992 | of 237565992-237566023 status=7f error=7f | Dec 13 12:46:05 big kernel: vinum: raid.p0.s1 is stale by force | Dec 13 12:46:05 big kernel: fatal :raid.p0.s1 write error, block | 237565929 for 16384 bytes | Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 475130592 | for 16384 bytes | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=write | fsbn 238506216 of 238506216-238506247 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=write fsbn 238506216 | of 238506216-238506247 status=7f error=7f | Dec 13 12:46:05 big kernel: fatal :raid.p0.s1 write error, block | 238506153 for 16384 bytes | Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 477011872 | for 16384 bytes | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read | fsbn 238506280 of 238506280-238506311 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 238506280 of | 238506280-238506311 status=7f error=7f | Dec 13 12:46:05 big kernel: vinum: raid.p0.s1 is crashed by force | Dec 13 12:46:05 big kernel: fatal:raid.p0.s1 read error, block | 238506217 for 16384 bytes | Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 477011936 | for 16384 bytes | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=write | fsbn 238506280 of 238506280-238506311 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=write fsbn 238506280 | of 238506280-238506311 status=7f error=7f | Dec 13 12:46:05 big kernel: vinum: raid.p0.s1 is stale by force | Dec 13 12:46:05 big kernel: fatal :raid.p0.s1 write error, block | 238506217 for 16384 bytes | Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 477011936 | for 16384 bytes | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read | fsbn 1 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 1 status=7f | error=7f | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read | fsbn 0 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 0 status=7f | error=7f | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read | fsbn 64 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 64 status=7f | error=7f | Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read | fsbn 63 | Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 63 status=7f | error=7f | Dec 13 12:46:05 big kernel: vinum: raid.p0.s0 is stale by force | Dec 13 12:46:05 big kernel: vinum: raid.p0 is faulty | Dec 13 12:46:05 big kernel: vinum: raid is down | cut | Dec 16 00:25:28 big kernel: atapci1: Promise PDC20269 UDMA133 | controller port
Changing /etc/termcap in 4.8 - How can I?
I have tried to add an extra entry to /etc/termcap: rxvt-cygwin-native|rxvt terminal emulator (native MS Windows/Cygwin):\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\ :ac=+\257,\256-^0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376:\ :tc=rxvt-mono: to try to get linedrawing characters working correctly in my connection from my work computer (cygwin/ssh) to my freebsd machine at home. 1) I edited the file as root and put it just after the existing 'rxvt' entry. 2) I then went into /usr/share/misc and did `cap_mkdb termcap` to update termcap.db. However, when I try to `setenv TERM rxvt-cygwin-native`in tcsh, I get the error: tcsh: Cannot open /etc/termcap. tcsh: using dumb terminal settings. Which is the same error if I try to set TERM to something like aoeuaoeu which doesn't exist in the termcap. Is there some step I'm missing here to make tcsh recognize the new termcap info? Is termcap cached somewhere that I haven't updated or something? -- Jim Ramsay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Radeon DVI
I have an ATI Radeon 9700 w/ VGA/DVI outputs on my FreeBSD 5.1 machine that I've been using with only the VGA port for some months. Now that I happen to have a MacOSX machine at my desk as well, I'd -like- to substitute a flat panel DVI monitor and use one of the new Belkin OmniView SOHO DVI/USB KVM switches for the two machines. I've seen the mailing list postings regarding use of ATI DVI cards with XFree86, so this appears to feasible with a few caveats in mind. This new flat panel monitor will be my only one. That is, I don't plan on a dual-headed system w/ Xinerama (the old VGA will be recycled). Now the real question... Will the flat panel work with the FreeBSD console?? Does the console initialize the DVI output on the Radeon?? Mind you, I'm not worrying about XFree86. But I want to have a working display (it's my only one) even when X11 isn't running. I haven't bought the flat panel yet and I don't have one to experiment with. Bill -- William Bloom [EMAIL PROTECTED] (602) 604-3100 Eldorado Computing, Inc. 5353 North 16th Street, Suite 400 Phoenix, Az 85016 http://www.eldocomp.com -- CONFIDENTIALITY NOTICE -- This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Release Tag and Branch Tag and Upgread ..
Hi Everybody , I know that all FreeBSD version have Branch on code tree . Now I'm using to keep up-to-date FreeBSD witch CVSup and buildworld method . I'm using 4.9 or 5.1 versions . in stable-supfile I setted *default release=cvs tag=RELENG_4_9 I know that, this method for only security advisories and other seriously critical fixes ... What is going on if I set it RELENG_4 ?! Do I have to use it ? What about RELEASE Tag ?! When Do I have to use this type of update for example Can I use it when I want to upgread my FreeBSD 4.9 RELESE to FreeBSD 5.1 or FreeBSD 5.0 RELEASE to Freebsd 5.1 RELEASE ... I wonder about CURRENT Branch , How FreeBSD CURRENT users can keep-up-to date their src tree and system because all of those updates looks like for STABLE or RELEASE ?!! Last question is ; Some body said that you I did not need to make buildworld every time ?! I want to know When need to make buildworld process ?! Thanks Vahric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FREE MONEY FOR COLLEGE!!
FREE MONEY FOR COLLEGE! At long last, here's the Fastest, Easiest, and Most Intelligent Scholarship-Finder ever created - Period! The Unique Scholarship Grant Guide is the only resource in the WORLD to give you DIRECT access to over 20 of the Web's Top Scholarship databases - INSTANTLY! See 21st century technology in action at http://www.scholarshipgrantguide.com/?dragons4u_fq It's amazing! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
process accounting
In the /stand/sysinstall/ under post configure is see option for process accounting. What is this? How can I find info about what this is and how to use it? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems with device detection on Vaio laptop
Hello! I have some problems with this rather loaded laptop (dmesg.boot attached). As can be seen from dmesg.boot, neither the FireWire nor the WiFi are enabled at boot: fwohci0: Ricoh R5C551 mem 0xe0211000-0xe02117ff at device 5.1 on pci2 fwohci0: latency timer 1 - 32. fwohci0: cache size 12 - 12. fwohci0: failed to enable memory mapping! fwohci0: Could not map memory device_probe_and_attach: fwohci0 attach returned 6 [...] ath0: Atheros 5212 mem 0xe020-0xe020 irq 9 at device 11.0 on pci2 pcib1: device ath0 requested decoded memory range 0xe020-0xe020 ath0: cannot map register space However, kldunload-ing the snd_ich module and then kldload-ing it back leads to the following reprobing, which finds the firewire device(s), but, unfortunately, still leaves ath0 disabled: pcm0: detached pcm0: Intel ICH4 (82801DB) port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xe0100800-0xe01008ff,0xe0100c00-0xe0100dff irq 9 at device 31.5 on pci0 pcm0: Analog Devices AD1981B AC97 Codec (id = 0x41445374) pcm0: Codec features headphone, 20 bit DAC, 5 bit master volume, no 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, AMAP, reserved 4 pcm0: sndbuf_setmap 27b000, 4000; 0xd6c9c000 - 27b000 pcm0: sndbuf_setmap 29b000, 4000; 0xd6ca - 29b000 pcm0: measured ac97 link rate at 48003 Hz, will use 48000 Hz fwohci0: Ricoh R5C551 mem 0xe0211000-0xe02117ff at device 5.1 on pci2 fwohci0: latency timer 32 - 32. fwohci0: cache size 0 - 8. pcib1: device fwohci0 requested decoded memory range 0xe0211000-0xe02117ff pcib1: matched entry for 2.5.INTB (source \\_SB_.PCI0.LPCB.LNKG) pcib1: slot 5 INTB is routed to irq 9 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 08:00:46:03:01:7a:95:99 fwohci0: resetting OHCI...done (loop=0) fwohci0: fwphy_rddata: 0x2 loop=29, retry=0 fwohci0: fwphy_rddata: 0x3 loop=1, retry=0 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: fwphy_rddata: 0x5 loop=1, retry=0 fwohci0: Enable 1394a Enhancements fwohci0: fwphy_rddata: 0x5 loop=1, retry=0 fwohci0: fwphy_rddata: 0x2 loop=1, retry=0 fwohci0: fwphy_rddata: 0x4 loop=1, retry=0 fwohci0: fwphy_rddata: 0x4 loop=1, retry=0 fwohci0: fwphy_rddata: 0x4 loop=1, retry=0 fwohci0: Link S400, max_rec 2048 bytes. fwohci0: BUS_OPT 0xf064a022 - 0xf864a022 fwohci0: fwohci_set_intr: 1 firewire0: IEEE1394(FireWire) bus on fwohci0 fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: 0a:00:46:7a:95:99 fwe0: bpf attached sbp0: SBP-2/SCSI over FireWire on firewire0 sbp_attach (cold=0) fwohci0: Initiate bus reset fwohci0: fwphy_rddata: 0x1 loop=1, retry=0 fwohci0: fwphy_rddata: 0x1 loop=1, retry=0 fwohci0: BUS reset sbp_post_busreset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me) fwohci0: fw_set_bus_manager: 0-0 (loop=0) firewire0: bus manager 0 (me) send phy_config root_node=-1 gap_count=5 fwohci0: maxdesc: 2 fwohci0: start AT DMA status=0 ath0: Atheros 5212 mem 0xe020-0xe020 irq 9 at device 11.0 on pci2 pcib1: device ath0 requested decoded memory range 0xe020-0xe020 ath0: cannot map register space device_probe_and_attach: ath0 attach returned 6 Current DB 0 ch = 0 Current OP KEY INT BR len Addr Depend Stat: Cnt 0c725000 OUTL ST2 ALL ALL12 0c725080 8411:0001 RUN,ACTIVE, ack complete(11) 0x00e0 0x0045 0xffba 0x bus_explore done sbp_post_explore (sbp_cold=1) Why is it neccessary to reload snd_ich to enable FW? What other animal/bird to shake to enable the Atheros card? Not as important, but no sound ever comes out, despite seemingly reassuring detection and the content of the /dev/sndstat: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: CS423x at io 0x534 irq 5 drq 1:0 bufsz 4096 (1p/1r/0v channels duplex default) Thanks a lot for any clues! -mi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sending email via PHP mail command in jail
Just in case anyone was following this thread, esmtp in the ports works beautifully. Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
comparison of files
hello, I have been trying to write a shell script that will compare 2 files and generate a 3rd. i have a list of abusive IP's generated by our router. I want to compare it against a list of known abuse IPs ..and have it create a file of repeat offenders. ive tired to use comm to compare file1 against file2 doing something like comm -12i file1 file2 file3 however it doesnt seem to workany suggestions ? thank you for all your help in advance -- Brent Bailey CCNA Bmyster LLC Computer Networking and Webhosting Network Engineer, Webmaster, President http://www.bmyster.com [EMAIL PROTECTED] 207-247-8330 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: comparison of files
On Tue, 16 Dec 2003 16:31:22 -0500 (EST) Brent Bailey [EMAIL PROTECTED] wrote: hello, I have been trying to write a shell script that will compare 2 files and generate a 3rd. i have a list of abusive IP's generated by our router. I want to compare it against a list of known abuse IPs ..and have it create a file of repeat offenders. ive tired to use comm to compare file1 against file2 doing something like comm -12i file1 file2 file3 however it doesnt seem to workany suggestions ? Are file1 and file2 sorted? -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Headless System via serial port?
MS == Minnesota Slinky [EMAIL PROTECTED] writes: MS terminal. Everything loaded fine, until the login prompt. Last thing I MS saw was the current time and date on hyperterm. On the monitor was the MS login screen. I couldn't even log in via ssh. If I boot with a MS keyboard/mouse, I get a normal system and I can log in via ssh. you need to tell the system to offer a login prompt on the serial line. edit your /etc/ttys and enable the ttyd0 and kill -HUP 1 to activate your changes. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D.Khera Communications, Inc. Internet: [EMAIL PROTECTED] Rockville, MD +1-869-4449x806 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: comparison of files
On Tue, 16 Dec 2003 16:38:15 -0500 (EST) Brent Bailey [EMAIL PROTECTED] wrote: yes sorted in numerical order by IP -- Brent Bailey CCNA Bmyster LLC Computer Networking and Webhosting Network Engineer, Webmaster, President http://www.bmyster.com [EMAIL PROTECTED] 207-247-8330 On Tue, 16 Dec 2003 16:31:22 -0500 (EST) Brent Bailey [EMAIL PROTECTED] wrote: hello, I have been trying to write a shell script that will compare 2 files and generate a 3rd. i have a list of abusive IP's generated by our router. I want to compare it against a list of known abuse IPs ..and have it create a file of repeat offenders. ive tired to use comm to compare file1 against file2 doing something like comm -12i file1 file2 file3 however it doesnt seem to workany suggestions ? Are file1 and file2 sorted? -Chris Sorry, it doesnt seem to work isn't a lot to go on. What output did you expect, and what output did you actually get? Have you tried different options to 'comm'? If the list contains only numeric IP addresses, the '-i' option isn't going to do you much good, for example. Have you tried 'diff file1 file2'? Do you get the output that seems reasonable from that? -Chris P.S. please keep [EMAIL PROTECTED] CC'ed, and please don't top-post. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: process accounting
In the last episode (Dec 16), fbsd_user said: In the /stand/sysinstall/ under post configure is see option for process accounting. What is this? How can I find info about what this is and how to use it? Each process that gets run will be logged into /var/account/acct. You can use the 'lastcomm' command to list the records, and the 'sa' command to summarize them. See the lastcomm and sa manpages for more info. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Anonymous FTP
During the original install of FBSD the sysinstall process gives you option to activate anonymous FTP. After FBSD install is complete there is no way to get sysinstall to give that option again. This looks like short coming of sysinstall process. I see /var/ftp and sub-directories beneath it, with an copy of passwd, group and ls and date commands. What is going here? How does inted.conf ftp statement knows to use that area on /var ? Where can I find written description on how sysinstall set up anonymous FTP? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anonymous FTP
On Tue, Dec 16, 2003 at 04:57:28PM -0500, fbsd_user wrote: I see /var/ftp and sub-directories beneath it, with an copy of passwd, group and ls and date commands. What is going here? How does inted.conf ftp statement knows to use that area on /var ? Where can I find written description on how sysinstall set up anonymous FTP? This is described in the ftpd(8) man page. The anonymous FTP behaviour requires that there be a ftp UID in the password file and is triggered by the remote user logging in as anonymous or ftp. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Trouble with installing FreeBSD to a laptop
Hi. I'm having some troubles with installing FreeBSD on my laptop. I've tried both FreeBSD 5.1-RC1 and FreeBSD 5.2-RC1, and the installation fails both times, though differently. My laptop is a HP Omnibook XE3 and according to this webpage ( http://gerda.univie.ac.at/freebsd-laptops/index.pl?action=show_laptop_detaillaptop=37 ) it should work. So onto the interesting stuff.. It doesn't really fail on installing, it's more accurate to say that it fails while loading the kernel and starting the different devices. It fails with: Fatal double fault: eip = 0xc07c7a40 esp = 0xc91e3000 ebp = 0xc91e4800 cpuid = 0; apic id = 00 panic: double fault cpuid = 0; Now, I've been programming ASM for a few years, and I recognize the registers, eip, esp and ebp and the hex-values that has been put on them, but i can't seem to figure out the why the kernel panics (I'm just guessing that it does, am I correct?) -- When the 5.1 kernel fails, it spouts out some jibberish that i think might have something to do with the CD beeing bad, I won't get into that one right now as i should probably investigate that case a little myself before i post it to the list. -- The funny part is that I've installed FreeBSD 5.1-RC1 to this exact same computer before (5.1-RC1 that is), but a job required me to install winXP and that was done, on a short time basis. Now that I want to go back to FreeBSD.. well. I've probably made my point clear. I can't get it in. Does someone have any idea about this error message, or can help me with at least understandig why the kernel panics? (Assuming that it does... It syncs the discs right afterwards and then reboots after 5 minutes of idling.) -- Sincerely Odd Rune Strømmen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sending email via PHP mail command in jail
On Tue, Dec 16, 2003 at 02:05:04PM -0700, Brent Wiese wrote: Just in case anyone was following this thread, esmtp in the ports works beautifully. Has that sorted you out then? I was thinking you could make use of the php.ini setting: sendmail_path to set the sendmail_path on a per-user / vhost basis in your httpd.conf file: virtualhost ip:port servername domain.com ... other directives php_admin_value sendmail_path sendmail -f [EMAIL PROTECTED] /virtualhost For this to work in Exim - sorry don't know about postfix - you'd need to add the user the httpd was running as (www) as a 'trusted_user' in the Exim config - no doubt this would be the same in postfix. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and SATA
Robert Wall wrote: I've got a Serial ATA setup, nice shiny new Dell machine here. I'm attemptiong to do a floppy-based FreeBSD install. I get through loading the kern disk, and it prompts me to insert the mfsroot disk. When I insert the mfsroot disk, it does a hardware probe, and chokes. It tells me that filesystem / is full, and tosses up a kernel panic. I believe the message is not going anywhere without my init. Does anybody have any ideas as to what might be wrong here? not sure about freebsd support for sata but at least some bioses have option to make sata look like ide (look for legacy or something like that) erik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Postfix and FreeBSD question
Hello everyone. I am in the process of setting up a Mail server that will be running FreeBSD 4.9 and postfix. My question is that, by default, FreeBSD has sendmail up and running. I seem to vaguely remember that there were a few extra steps that were needed to remove and install postfix correctly. I quickly read a README_FILE for postfix, but it was not really clear. Thus, I was hoping to ask some questions here and get some additional feedback about this particular setup. I appreciate the help. Jason P.S. I am planning to install postfix through ports. :) mail2web - Check your email from the web at http://mail2web.com/ . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix and FreeBSD question
[EMAIL PROTECTED] wrote: My question is that, by default, FreeBSD has sendmail up and running. I seem to vaguely remember that there were a few extra steps that were needed to remove and install postfix correctly. yes, there is. in /etc/rc.conf, disable sedmail by including this line: sendmail_enable=NONE this will disable sendmail's incoming and outgoing mailing functions. once you have postfix installed, my personal preference is to symlink /usr/local/sbin/postfix to /usr/local/etc/rc.d/postfix (postfix binary accepts start/stop args in compliance with freebsd's rc architecture) rather than using the rc.conf to start postfix at boot time. you can use rc.conf by enabling sendmail but with different startup flags. during postfix port installation, you'll be prompted for the correct usage. the former method is perhaps more cleaner and less convoluting. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix and FreeBSD question
P.S. I am planning to install postfix through ports. :) Fine :-) The port will do all the FreeBSD specific things for you (some are automated, for the others you get detailed instructions which you can re-read in either the pkg-message file in the port's directory). For the rest of the setup, you should consult the Postfix documentation and have a look at the example files: Pretty much everything is already there and merely needs to be modified or enabled by you. Simon signature.asc Description: Digital signature
Re: identity using send-pr with dynamic address
Hanspeter Roth [EMAIL PROTECTED] writes: I only succeeded to send a problem report after setting the hostname to the current public internet hostname (according the dialup IP address). Is there a better way to send prs from system with dynamic IP address? You should be able to send PRs with *any* DNS name that maps to your address. If you want a permanent one, there are some free dynamic DNS services out there. If you just want to set the hostname automatically, note that dhclient will do it automatically if the DHCP server sends the hostname to it (and if not, you can probably script something up fairly easily). -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Release usage statistics
On a whim: Can anybody tell me how the statistics like http://www.FreeBSD.org/statistic/release_usage/images/percent_2003-12.gif are generated? -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org pgp0.pgp Description: signature
Re: frustration
On Tue, 16 Dec 2003, richard michael bagstad wrote: i find this frustrating. on your website (page http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports- using.html) the following tells me that 'from cd' and 'from internet' are exactly the same... it does not tell me the directory of (ie.) lsof. it simply tells me to 'make install'. please help a poor green newbie. The difference they are talking about is after you've given the 'make install' command in /usr/ports/sysutils/lsof. The ports system looks for the distfile in /usr/ports/distfiles. If you've already copied the distfile in there manually (from a CD or someplace else), it proceeds to build the port. The internet version is where it doesn't find the distfile in /usr/ports/distfiles. Then it uses your net connection to find one and download it. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: comparison of files
Brent Bailey wrote: hello, I have been trying to write a shell script that will compare 2 files and generate a 3rd. i have a list of abusive IP's generated by our router. I want to compare it against a list of known abuse IPs ..and have it create a file of repeat offenders. ive tired to use comm to compare file1 against file2 doing something like comm -12i file1 file2 file3 however it doesnt seem to workany suggestions ? thank you for all your help in advance You need to sort the files first...see below for difference in comm behavior... Script started on Tue Dec 16 20:27:59 2003 freeb# cat blacklist1 192.168.1.2 192.168.1.1 192.168.1.10 freeb# cat blacklist2 192.168.1.1 192.168.1.10 freeb# comm -i12 blacklist1 blacklist2 freeb# sort blacklist1 blacklist1_sorted freeb# sort blacklist2 blacklist2_sorted freeb# comm -i12 blacklist1_sorted blacklist2_sorted 192.168.1.1 192.168.1.10 Script done on Tue Dec 16 20:29:14 2003 Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hardware testing - e.g. memory - on old hardware
Like most geeks[1] I have a pile of roting hardware at home... Someone yesterday mentioned (vaguely) about utilities for testing hardware - especially RAM - but presumably this could be extended to other hardware - that would 1) tell you if it is OK. 2) isolate and by some mechanism make unusable sections of memory perminantly damaged. I figured this would be quite usefull for redundant hardware (where age and lack of replacement parts might tempt one to hold onto hardware as long as possible) anyone have any idea if there is such a beasty? [1] I have a theory about geeks there are geek-wannabes, geeks, ubergeeks and Gnurus... and the process is progressive and non-linear -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New name for Floppy disk devices?
Have you read the creating and using floppy disks section of the Handbook? The device name is '/dev/fd0'. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/floppies.html Hope that helps. - Murray On Tue, Dec 16, 2003 at 01:12:40PM -0700, Dr. Lyman Hazelton wrote: OK, so sometimes serial devices that one would expect to have names in /dev like sio0 or sio1 are now called cuaa0 or cuaa1 (for reasons beyond my understanding). Now I can see my floppy disk in the dmesg output, but there doesn't appear to be an fdc0 in /dev. Did floppy disk devices get renamed, too, or is it hiding somewhere else, or did it, for some unknown reason, just vanish? I'm trying to create a floppy disk boot pair, and can't write to a device I can't find. Help? -Lyman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix and FreeBSD question
Simon Barner wrote: P.S. I am planning to install postfix through ports. :) Fine :-) The port will do all the FreeBSD specific things for you (some are automated, for the others you get detailed instructions which you can re-read in either the pkg-message file in the port's directory). Yes I believe the port does the correct things for you, but changing your MTA is also documented in the FreeBSD Handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html Cheers Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I need several Linux developers to fill positions
what is the best way to post jobs. TechProSearchHiring Technology Professionals in Silicon Valley TSN Member Kirk Vorsatz Principal- Technology Group TechProSearch Recruiter of the Year at Hall Kinion 2000, 2001, 2002 U.S. Recruiter of the Year at Hall Kinion 2000, 2001, 2002 Chairman's Club Winner 1998, 1999, 2000, 2001, 2002 [EMAIL PROTECTED] www.techsearchnetwork.com under http://www.techsearchnetwork.com%20%20under%20construction/ construction tel: tel2: fax: mobile: 650-375-5880 888-375-5880 650-240-1393 650-245-7043 http://www.plaxo.com/signature Powered by Plaxo http://www.plaxo.com/signature Want a signature like this? https://www.plaxo.com/add_me?u=17180085661v0=418196k0=1701802404 Add me to your address book... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware testing - e.g. memory - on old hardware
paul van den bergen wrote: Like most geeks[1] I have a pile of roting hardware at home... Someone yesterday mentioned (vaguely) about utilities for testing hardware - especially RAM - but presumably this could be extended to other hardware - that would 1) tell you if it is OK. This is possible, as long as the old hardware supports the RAM you are testing. With the evolution of RAM standards over the last few years, and the incompatibilities even among straight SDRAM (PC66/100, High-density chips not supported on older systems) it may not do you any good. 2) isolate and by some mechanism make unusable sections of memory perminantly damaged. No Can Do. If there's bad sections, you toss the DIMM/SIMM/Module. I figured this would be quite usefull for redundant hardware (where age and lack of replacement parts might tempt one to hold onto hardware as long as possible) anyone have any idea if there is such a beasty? [1] I have a theory about geeks there are geek-wannabes, geeks, ubergeeks and Gnurus... and the process is progressive and non-linear Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need several Linux developers to fill positions
On Tuesday, 16 December 2003 at 17:48:12 -0800, Kirk Vorsatz wrote: what is the best way to post jobs. If you're looking for FreeBSD developers, use the FreeBSD-jobs mailing lists. I don't know that you'll find many Linux developers there, though. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: identity using send-pr with dynamic address
Hi Hanspeter, although you seem to already have set up your email mail, the following article of mine might help you anyway: http://home.leo.org/~barner/freebsd/articles/mailsetup/article.html Simon (Yes, I really should do the final tweaks RSN and submit it to the documentation project) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade HELP !?!?!??! desperate !?!?!
I just finished upgrading a freebsd 4.6 machine to the newest RELEASE using CVSUP and the whole buildworld procedure. the compiling went ok ..and the system is up ,,,however there are a few problems... ... apache is giving me an error saying shared library libmm.so.12 can not be found. i am at 4.9-stable, and cvsupped and portupgraded today. i core when trying to start apache. ldd $(type -path httpd) shows that one of the libraries on which apache depends (/usr/local/lib/libmm.so.13) hasn't been rebuilt since august. # ldd $(type -path httpd) /usr/local/sbin/httpd: libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x280ab000) libmm.so.13 = /usr/local/lib/libmm.so.13 (0x280c4000) libc.so.4 = /usr/lib/libc.so.4 (0x280c8000) # ls -l /usr/lib/libcrypt.so.2 /usr/local/lib/libmm.so.13 /usr/lib/libc.so.4 -r--r--r-- 1 root wheel 589808 Nov 6 06:37 /usr/lib/libc.so.4 -r--r--r-- 1 root wheel 28720 Nov 6 06:36 /usr/lib/libcrypt.so.2 -rw-r--r-- 1 root wheel 16676 Aug 27 01:51 /usr/local/lib/libmm.so.13 so libmm.so.13 is a bit old. i would rebuild, but can't figure out who builds it. clue-by-four please randy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb wheel mouse
marcelo cardoso martinelli wrote: i have a ms intellimouse optical usb mouse and i can't get the wheel to work in X. here is my InputDevice section in XF86Config: Section InputDevice Identifier IntelliMouse Explorer Driver mouse Option Device /dev/sysmouse Option ProtocolAuto Option Buttons 7 Option ZAxisMapping6 7 EndSection i am running FreeBSD-5.0 Release and XFree86 4.2.1 TIA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] From a freeBSD install/writeup I'm working on: The fix for the wheel involved setting an option or two: appending '-z4' to the moused command string in the Mouse section of /etc/usbd.conf New Line: attach /usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid -z4; /usr/sbin/vidcontrol -m on and adding the following line to the InputDevice section of the XF86Config file: Option Buttons 6 See http://www.gsoft.com.au/~doconnor/x-wheel.html for further info or Google for 'FreeBSD X wheel mouse' for further information. This also allowed the 'wheel press' button to work as well. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: frustration
richard michael bagstad wrote: i find this frustrating. on your website (page http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports- using.html) the following tells me that 'from cd' and 'from internet' are exactly the same... it does not tell me the directory of (ie.) lsof. it simply tells me to 'make install'. please help a poor green newbie. 4.5.2.1 Installing Ports from a CD-ROM The FreeBSD Project's official CD-ROM images no longer include distfiles. They take up a lot of room that is better used for precompiled packages. CD-ROM products such as the FreeBSD PowerPak do include distfiles, and you can order these sets from a vendor such as the FreeBSD Mall . This section assumes you have such a FreeBSD CD-ROM set. Place your FreeBSD CD-ROM in the drive. Mount it on /cdrom . (If you use a different mount point, the install will not work.) To begin, change to the directory for the port you want to install: #cd /usr/ports/sysutils/lsof Once inside the lsof directory, you will see the port skeleton. The next step is to compile, or ``build'', the port. This is done by simply typing make at the prompt. Once you have done so, you should see something like this: #make lsof_4.57D.freebsd.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from file:/cdrom/ports/distfiles/. === Extracting for lsof-4.57 ... [extraction output snipped] ... Checksum OK for lsof_4.57D.freebsd.tar.gz. === Patching for lsof-4.57 === Applying FreeBSD patches for lsof-4.57 === Configuring for lsof-4.57 ... [configure output snipped] ... === Building for lsof-4.57 ... [compilation output snipped] ... # Notice that once the compile is complete you are returned to your prompt. The next step is to install the port. In order to install it, you simply need to tack one word onto the make command, and that word is install : #make install === Installing for lsof-4.57 ... [installation output snipped] ... === Generating temporary packing list === Compressing manual pages for lsof-4.57 === Registering installation for lsof-4.57 === SECURITY NOTE: This port has installed the following binaries which execute with increased privileges. # Once you are returned to your prompt, you should be able to run the application you just installed. Since lsof is a program that runs with increased privileges, a security warning is shown. During the building and installation of ports, you should take heed of any other warnings that may appear. Note: You can save an extra step by just running make install instead of make and make install as two separate steps. Note: Some shells keep a cache of the commands that are available in the directories listed in the PATH environment variable, to speed up lookup operations for the executable file of these commands. If you are using one of these shells, you might have to use the rehash command after installing a port, before the newly installed commands can be used. This is true for both shells that are part of the base-system (such as tcsh ) and shells that are available as ports (for instance, shells/zsh ). Note: Please be aware that the licenses of a few ports do not allow for inclusion on the CD-ROM. This could be because a registration form needs to be filled out before downloading or redistribution is not allowed, or for another reason. If you wish to install a port not included on the CD-ROM, you will need to be online in order to do so (see the next section ). 4.5.2.2 Installing Ports from the Internet As with the last section, this section makes an assumption that you have a working Internet connection. If you do not, you will need to perform the CD-ROM installation , or put a copy of the distfile into /usr/ports/distfiles manually. Installing a port from the Internet is done exactly the same way as it would be if you were installing from a CD-ROM. The only difference between the two is that the distfile is downloaded from the Internet instead of read from the CD-ROM. The steps involved are identical: #make install lsof_4.57D.freebsd.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. Receiving lsof_4.57D.freebsd.tar.gz (439860 bytes): 100% 439860 bytes transferred in 18.0 seconds (23.90 kBps) === Extracting for lsof-4.57 ... [extraction output snipped] ... Checksum OK for lsof_4.57D.freebsd.tar.gz. === Patching for lsof-4.57 === Applying FreeBSD patches for lsof-4.57 === Configuring for lsof-4.57 ... [configure output snipped] ... === Building for lsof-4.57 ... [compilation output snipped] ... === Installing for lsof-4.57 ... [installation output snipped] ... === Generating temporary packing list === Compressing manual pages for lsof-4.57 === Registering installation for lsof-4.57 === SECURITY NOTE: This port has installed the following binaries which
training
Is there a course to get trained in FreeBSD? Buck Jones webmaster [EMAIL PROTECTED] www.buck-jones.com http://www.buck-jones.com/ 619-308-8065 Mandi my digital assistant 619-334-7430 fax or [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Could you Please add to FREEBSD FAQ for us Newbies
On Tue, Dec 16, 2003 at 05:21:18PM -0600, [EMAIL PROTECTED] wrote: The impotence of setting your computers time and date when Using make world. That is something you can hardly ignore... Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE, Gnome not coming down via cvsup
Hi all, I run cvsup to get the ports collection updates about once or twice a week. I noticed that the list of ports on the FreeBSD website has separate categories for KDE and Gnome. However, when I cvsup with 'ports-all' in my cvsup file, I don't get these directories in /usr/ports/. Is this an issue for some reason, or just a silly oversight of mine? NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DOS of named
On Tue, Dec 16, 2003 at 10:01:33PM +0100, Robert Eckardt wrote: Hi, what measures can I take against this irregular appearing Denial-Of-Service attacks of named which is filling my logfiles (messages, daemon, all.log) with messages like sysquery: no addrs found for root NS for minutes at a rate of 4000 lines/sec? I'm using named 8.3.3-REL on FBSD-5.0R. Both are very old and have a number of known problems. Upgrade to the latest versions. Kris pgp0.pgp Description: PGP signature
Re: training
On Tue, Dec 16, 2003 at 07:34:18PM -0800, Buck Jones wrote: Is there a course to get trained in FreeBSD? Some companies offer this..they're listed on the website. Kris pgp0.pgp Description: PGP signature
port failures
I've seen a couple of port failures.. I'm all cvsup'ed and have been trying daily the passed couple of days.. I've tried removing the distfiles frequently too.. Anyone else? ajt. 1011# make install clean Imlib2-Perl-1.0.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.muhri.net/. Receiving Imlib2-Perl-1.0.0.tar.gz (32611 bytes): 100% 32611 bytes transferred in 0.0 seconds (6.35 MBps) === Extracting for p5-Imlib2-1.0.0 Checksum mismatch for Imlib2-Perl-1.0.0.tar.gz. === Refetch for 1 more times files: Imlib2-Perl-1.0.0.tar.gz Imlib2-Perl-1.0.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.muhri.net/. Checksum mismatch for Imlib2-Perl-1.0.0.tar.gz. === Giving up on fetching files: Imlib2-Perl-1.0.0.tar.gz Make sure the Makefile and distinfo file (/usr/ports/graphics/p5-Imlib2/distinfo) are up to date. If you are absolutely sure you want to override this check, type make NO_CHECKSUM=yes [other args]. *** Error code 1 Stop in /usr/ports/graphics/p5-Imlib2. *** Error code 1 Stop in /usr/ports/graphics/p5-Imlib2. 1011# cd /usr/ports/x11/eterm/ 1011# rm /usr/ports/distfiles/Eterm-0.9.2.tar.gz 1011# make install clean Eterm-0.9.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.eterm.org/download/. Receiving Eterm-0.9.2.tar.gz (698262 bytes): 100% 698262 bytes transferred in 0.1 seconds (8.26 MBps) === Extracting for eterm-0.9.2 Checksum mismatch for Eterm-0.9.2.tar.gz. === Refetch for 1 more times files: Eterm-0.9.2.tar.gz Eterm-0.9.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.eterm.org/download/. Checksum mismatch for Eterm-0.9.2.tar.gz. === Giving up on fetching files: Eterm-0.9.2.tar.gz Make sure the Makefile and distinfo file (/usr/ports/x11/eterm/distinfo) are up to date. If you are absolutely sure you want to override this check, type make NO_CHECKSUM=yes [other args]. *** Error code 1 Stop in /usr/ports/x11/eterm. *** Error code 1 Stop in /usr/ports/x11/eterm. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: training
At Tue, 16 Dec 2003 it looks like Kris Kennaway composed: On Tue, Dec 16, 2003 at 07:34:18PM -0800, Buck Jones wrote: Is there a course to get trained in FreeBSD? Some companies offer this..they're listed on the website. Here is a college that does, I took the first two semesters of Cisco and used there site. I was a student and of course had a password at the time. http://netacad.losmedanos.net/ It was two semesters ago and they were using FreeBSD-4.x I think, may of even been 3.x come to think of it. Look at the link on the top called: Unix Networking CNT 901 (BSD) -- |--Word-Wrap-At-72-Please--| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ UNIX, A Way Of Life._\_v ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble with installing FreeBSD to a laptop
Yet another little update, now it fails with the exact same panic during the actual install process, sysinstall recieves a signal 11 and poof...away it goes. The only documentation i've found is an old mail that says that panic: double fault was an known error back in FreeBSD 2.2.2, occuring when a user had 48 megs of RAM installed... I have 512, it shouldn't have anything at all to do with eachother, this I'm sure of. -- Yet another sleepless night.. Odd Rune Strømmen To: Odd Rune Strømmen [EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 12:06 AM Just thought i'd give a little update, i disabled ACPI for the boot and, strangely enough, the panic didn't occur, i turn it back on and it's there agian. I would still like to know what the heck it was though, as i see no logical link between Advanced Configuration and Power Interface and this panic... -- Still fiddeling on... Odd Rune Strømmen To: [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 11:38 PM Hi. I'm having some troubles with installing FreeBSD on my laptop. I've tried both FreeBSD 5.1-RC1 and FreeBSD 5.2-RC1, and the installation fails both times, though differently. My laptop is a HP Omnibook XE3 and according to this webpage ( http://gerda.univie.ac.at/freebsd-laptops/index.pl?action=show_laptop_detaillaptop=37 ) it should work. So onto the interesting stuff.. It doesn't really fail on installing, it's more accurate to say that it fails while loading the kernel and starting the different devices. It fails with: Fatal double fault: eip = 0xc07c7a40 esp = 0xc91e3000 ebp = 0xc91e4800 cpuid = 0; apic id = 00 panic: double fault cpuid = 0; Now, I've been programming ASM for a few years, and I recognize the registers, eip, esp and ebp and the hex-values that has been put on them, but i can't seem to figure out the why the kernel panics (I'm just guessing that it does, am I correct?) -- When the 5.1 kernel fails, it spouts out some jibberish that i think might have something to do with the CD beeing bad, I won't get into that one right now as i should probably investigate that case a little myself before i post it to the list. -- The funny part is that I've installed FreeBSD 5.1-RC1 to this exact same computer before (5.1-RC1 that is), but a job required me to install winXP and that was done, on a short time basis. Now that I want to go back to FreeBSD.. well. I've probably made my point clear. I can't get it in. Does someone have any idea about this error message, or can help me with at least understandig why the kernel panics? (Assuming that it does... It syncs the discs right afterwards and then reboots after 5 minutes of idling.) -- Sincerely Odd Rune Strømmen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]