need advice on routing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ! I have a question not FreeBSD specific, but since I'm going to use FreeBSD to achieve what I need, I wanted your advice. I just arrived in a new company and their network has 2 xDSL connexions to the Net. I was wondering what would be the best setup using FreeBSD as a gateway: - - should I make FreeBSD use the 2 connections as the same time (to have twice the bandwidth), with bandwidth management for important services we host - - or should I install 2 FreeBSD gateways, one for each connection (lan -- net; public_ip_pool -- net) and make them communicate within a local LAN (separate from the main one). I need the main lan to be able to communicate with the public_ip_pool. - - or something else ... ? If I had only one connection, I would build a LAN+DMZ+gateway, but I never really worked with 2 connections. If you have any advice concerning this, working under FreeBSD of course, please let me know. Best regards. - -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/VYNAY3Hnhkr+5cQRAjJQAKCFZwgc3Sa4m3R3y/ybo8YlhVMEyACfV+8p iBy3dAI3EobGJggyRHVmE/o= =8Rrt -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Daemonnews?
Virtually, this is no question for freebsd-questions -- but are there any problems with {daily,ezine,www}.daemonnews.org? [as you see, I love tcsh :-) ] I can't connect to 204.152.186.46 anymore. Best regards Konrad Heuer ([EMAIL PROTECTED]) ___ ___ GWDG / __/__ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__//___// Germany ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .ko files in /boot/kernel
On Wed, Sep 03, 2003 at 12:03:22AM -0400, Seamus Abshere typed: /boot/kernel is full of .ko files for kernel options that I did not select. Why are they there? Are they in use? You can check which modules are loaded with kldstat(8) [/boot/kernel]#ls -l kernel -r-xr-xr-x 1 root wheel 2317346 Jul 2 16:11 kernel I'm proud of this (supposedly) 2.3MB kernel, and I want to make sure that I have actually optimized my machine and not made a stupid mistake that does the opposite. Thanks again, Seamus ___ [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]
host and hostname
Hi... (B (BI am still a newbie...and practicing how to get use to FreeBSD and UNIX... (B (BI have a question: (BWhy is it when I invoke the command "host", this comes out "host not found, (Btry again". (BBut if I invoke the "hostname" command it displays my hostname and Domain... (B (BCan someone point me to some information about it aside from the man (Bpages... (B (BThank you, (B (BRommel B. Ikeda (B (B___ (B[EMAIL PROTECTED] mailing list (Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions (BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .ko files in /boot/kernel
On Wed, 3 Sep 2003 13:33, Seamus Abshere wrote: /boot/kernel is full of .ko files for kernel options that I did not select. Why are they there? Are they in use? [/boot/kernel]#ls -l kernel -r-xr-xr-x 1 root wheel 2317346 Jul 2 16:11 kernel I'm proud of this (supposedly) 2.3MB kernel, and I want to make sure that I have actually optimized my machine and not made a stupid mistake that does the opposite. I don't really want to sound cynical ;) But; how much memory do you have? Your kernel is about 2Mb smaller than the one I'm using but the difference represents about 0.4% of my total memory which I suspect is almost always incompletely used. Could I ever see eany effective difference with an optimised kernel? And of course if I ever add anything I'd have to remember to take the time to recompile -- and as I get older remembering is not so easy! Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkg_add -r through Proxy/Firewall?
Hi, Sitting behind a firewall that doesn't allow direkt ftp (neither active nor passive) I'm looking for a way to fetch packages (i.e. pkg_add -r) from the Internet. What's possible though is doing http or ftp through a proxy server. So, how do I instruct pkg_add to download packages either via ftp or http through a proxy? Thanks much in advance for your help, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Win2k to racoon Cookbook
Crist J. Clark [EMAIL PROTECTED] writes: The FreeBSD/racoon to FreeBSD/racoon is up and I must say, is rely cool. Now if I could get the Win2k running over IPsec, it would be great. Where'd those howto's get to? Anyone got something like this going? I have running a W2k/racoon/wifi setup with authentification via certificates. I use fixed IP addresses. The big problem is the setup of the windows client because of the GUI. The documentation on http://myhome.spu.edu/cdietlein/ipsec/ was realy helpfull. Dokumentation via screenshoot. Set it up as described in the document and read the racoon error messages. At my setup session I try and try and try and was so frustrated that I leave the office to get a cup of coffee. After I returned the connection was up and running. ;-) If you want to show someone the ugliness of windows, let him setup ipsec. There is also a tool called «ipsecmon» (I think) under w2k which may help you. Bis dann Matthias -- Matthias Teege -- http://www.mteege.de make world not war PGP-Key auf Anfrage ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: host and hostname
On Wed, 3 Sep 2003, Rommel B. Ikeda wrote: Hi... I am still a newbie...and practicing how to get use to FreeBSD and UNIX... I have a question: Why is it when I invoke the command host, this comes out host not found, try again. host selects information from the internet about registered domains, try # host freebsd.org But if I invoke the hostname command it displays my hostname and Domain... hostname reads your local /etc/rc.conf file. Regards, Uli. Can someone point me to some information about it aside from the man pages... Thank you, Rommel B. Ikeda ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Daemonnews?
On Wed, Sep 03, 2003 at 08:51:28AM +0200, Konrad Heuer wrote: Virtually, this is no question for freebsd-questions -- but are there any problems with {daily,ezine,www}.daemonnews.org? [as you see, I love tcsh :-) ] I can't connect to 204.152.186.46 anymore. Indeed there are some problems with DaemonNews. ;( You may ask at IRC: irc.FreeNode.net - #DaemonNews Cheers, gregory -- Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F pgp0.pgp Description: PGP signature
Re: host and hostname
On Wed, Sep 03, 2003 at 10:07:12AM +0200, Peter Ulrich Kruppa typed: On Wed, 3 Sep 2003, Rommel B. Ikeda wrote: Hi... I am still a newbie...and practicing how to get use to FreeBSD and UNIX... I have a question: Why is it when I invoke the command host, this comes out host not found, try again. host selects information from the internet about registered domains, try # host freebsd.org But if I invoke the hostname command it displays my hostname and Domain... hostname reads your local /etc/rc.conf file. Actually, it reads or sets sysctl kern.hostname Can someone point me to some information about it aside from the man pages... What's wrong with the manpages? They are very clear on this subject. If you want to get used to FreeBSD and Unix, get used to reading manpages. Ruben Thank you, Rommel B. Ikeda ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [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]
hotkey/menu to start Eterm
Hi, (B (BI have been trying to configure my system that it can read/write Japanese (BCharacters... (B (BThe I stumbled on this address http://www.redundancy.org/fbsd_japanese.html (B (BI have already installed the following ports as written in the site: (B/usr/ports/japanese/Canna (B/usr/ports/japanese/Eterm (B/usr/ports/japanese/kinput2-canna (B/usr/ports/japanese/alias-fonts (B/usr/ports/japanese/nvi-euc-jp (B/usr/ports/japanese/w3m (B/usr/ports/japanese/xyaku (B (BI have already Move /usr/local/etc/rc.d/canna.sh.sample to canna.sh. (B (BPut "kinput2 " and "xyaku " into .xsession file. (B (BEdit the "Files" section of XF86Config. Insert the following line: (B (BFontPath "/usr/X11R6/lib/X11/fonts/local/" (B (BBUT I DO NOT WHAT IS THE MEANING OF FOLLOWING: (B- Change your hotkey/menu item to start Eterm to the following: (B (BXMODIFIERS='@im=kinput2' LANG=ja_JP.EUC LANGUAGE=en_US Eterm (B (BCan anyone give me idea on what this means... (B (BThank You, (B (BRommel Ikeda (B (B___ (B[EMAIL PROTECTED] mailing list (Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions (BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unable to install mailman from ports
Hi list, I am trying to install mailman from the ports tree. Make install ends with: ... Compiling /usr/local/mailman/Mailman/htmlformat.py ... Compiling /usr/local/mailman/Mailman/i18n.py ... Compiling /usr/local/mailman/Mailman/versions.py ... Traceback (most recent call last): File bin/update, line 48, in ? from Mailman import MailList File /usr/local/mailman/Mailman/MailList.py, line 49, in ? from Mailman.Archiver import Archiver File /usr/local/mailman/Mailman/Archiver/__init__.py, line 17, in ? from Archiver import * File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 36, in ? from Mailman.i18n import _ File /usr/local/mailman/Mailman/i18n.py, line 52, in ? set_language() File /usr/local/mailman/Mailman/i18n.py, line 34, in set_language _translation = gettext.translation('mailman', mm_cfg.MESSAGES_DIR, AttributeError: 'module' object has no attribute 'MESSAGES_DIR' *** Error code 1 Stop in /usr/ports/mail/mailman/work/mailman-2.1.2. *** Error code 1 Stop in /usr/ports/mail/mailman. What's wrong here? Can someone please help?? -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XF86 Multiple Head video cards
Ted Wisniewski wrote: Hi, Can anyone recommend a Multi-head video card (the more heads the better, I am thinking 4 heads if possible) that will work with XF86 and FreeBSD 4.8 or 5.1. The sooner the better. I may be able to get some Free FreeBSD press out of the results.. I can't recommend a Multi-head card, because I only got one (geforce 4 ti4200). Dual-head is possible with the nvidia driver. The driver itself is a pain if you got other nvidia stuff in your computer (nforce(2)), because it just looks at the vendor id and not on the device class. The ide controller doesn't like that if acpi is enabled. Adding the line to the driver fixed it and the system runs fine now. Hendrik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Huge processes (was: Re: Large memory issues)
Irvine Short wrote: On Wed, 27 Aug 2003, David Landgren wrote: Irvine Short wrote: I then found that this: options MAXDSIZ=(2048*1024*1024) options MAXSSIZ=(128*1024*1024) (and also 64MB) options DFLDSIZ=(512*1024*1024) worked fine but not as expected - limit reports datasize unlimited. I've managed to crank it up as far as options MAXDSIZ=(3568*1024*1024) Cool! Although I tried 3500 it blew up too... Bah! Just for the record, I read those figures from a discarded kernel configuration file, and the above values (3568MB max data size for a process) don't work. The highest value I've been able to boot correctly with is (only) 2816Mb. There's probably a few more megabytes that can be eked out, but I'm pretty sure that 3072 fails. The error is something to do with the kernel being able to map the largest-sized process into memory. It blows up at boot-time with some sort of vmalloc or kmalloc error. I searched the archives when I was working on this, and came across a kernel developer who replied to someone having simuilar difficulties and they said why would you want to do something like that? His reasoning being that the left-over memory would be better used by the OS for caching and buffering anyway. I don't really consider that as a good answer, at least not for modern machines with large amounts of RAM. I have a 4Gb RAM server running Squid, and nothing else. Squid represents a very specialised problem domain and has elaborate algorithms to decide what to keep in RAM, and what, and when, to write out to disk. Much more so than the OS, which is tuned to deal with the common case. When it's time for an object to be written out to disk, it should be written out quickly, so that the RAM can be freed up and given to something else more deserving of being cached. As it happens, the SCSI controller has a large slab of RAM on it too, so there's even less point for the OS to hold onto it for too long in disk buffers. As it is, I never see the Cache and Buf values in top(1) rise about 85M and 199M respectively. I take that to mean that the OS isn't using the extra memory either. I've looked around at sysctl settings and the source and the documentation suggests that modifying anything to do with VM settings is akin to meddling with the affairs of wizards. This seems to me then, when adding in another 20Mb for sundry housekeeping processes, that just under a gig of RAM is going wasted. I could easily cache another 5 web objects *in RAM* if I could make it available to Squid. So if there's something that can be done about huge maximum process sizes, I'd love to hear about it. I'd *really* like to be able to have a 3.5Gb process in a 4Gb machine. 512Mb ought to be enough for everything else. I've become skilled in not running anything else on that server that could possibly chew up RAM and upset Squid. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_add -r through Proxy/Firewall?
On Wed, Sep 03, 2003 at 09:45:49AM +0200, [EMAIL PROTECTED] wrote: Sitting behind a firewall that doesn't allow direkt ftp (neither active nor passive) I'm looking for a way to fetch packages (i.e. pkg_add -r) from the Internet. What's possible though is doing http or ftp through a proxy server. So, how do I instruct pkg_add to download packages either via ftp or http through a proxy? Set FTP_PROXY in your environment to the URL giving the scheme, hostname and port number of your proxy. eg: % setenv FTP_PROXY ftp://ftp-proxy.example.com:3128/ Depending on your precise setup, you might need to use FTP_LOGIN, FTP_PASSWORD and FTP_PASSIVE_MODE as well. See the fetch(3) man page for details. 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
Re: Daemonnews?
On Wed, Sep 03, 2003 at 10:27:41AM +0200, Grzegorz Czaplinski wrote: On Wed, Sep 03, 2003 at 08:51:28AM +0200, Konrad Heuer wrote: Virtually, this is no question for freebsd-questions -- but are there any problems with {daily,ezine,www}.daemonnews.org? [as you see, I love tcsh :-) ] I can't connect to 204.152.186.46 anymore. Indeed there are some problems with DaemonNews. ;( You may ask at IRC: irc.FreeNode.net - #DaemonNews They may be sick of people asking; could you summarize at all? Thanks, Ceri -- User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR? Iniaes: Sure, I can accept all forms of payment. -- www.chatterboxchallenge.com pgp0.pgp Description: PGP signature
Configuration files after portupgrade horde and imp
Hi lists, I just upgraded horde and php on our server via portupgrade. After the upgrade nothing was working anymore, it was impossible to login to horde anymore. I noticed that my horde/imp configuration files had been replced by the default files. My old files had been saved as filename.bak. Is this expected behaviour? Wouldn't it be better to leave the config files intact and install the new ones as filename.dist.new or something similar? This way the application would still be working after the upgrade and i would have time to inspect the new default config files for changes without being disturbed by users complaining that they can't use their webmail interface anymore? Kind regards, -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
simicq 0.8.3 cannot be built from ports openoffice
alertdialog.cpp: In method `AlertDialog::AlertDialog(QWidget *, bool = false)': alertdialog.cpp:54: invalid use of undefined type `class XOSD' ../mainwin.h:126: forward declaration of `class XOSD' alertdialog.cpp: In method `void AlertDialog::apply(ICQUser *)': alertdialog.cpp:147: invalid use of undefined type `class XOSD' ../mainwin.h:126: forward declaration of `class XOSD' gmake[3]: *** [alertdialog.o] Error 1 gmake[3]: Leaving directory `/usr/ports/net/simicq/work/sim-0.8.3/sim/ui' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/simicq/work/sim-0.8.3/sim' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/simicq/work/sim-0.8.3' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/simicq. *** Error code 1 Stop in /usr/ports/net/simicq. that's happening when portupgrade-ing is there any way I can solve the problem and the second problem: I have installed openoffice as a package, it works ok until I try to open doc files, then it says error loading document; error creating object; the file could not be created with txt files it works fine, but also cannot save them (nor any other file) when google-ing around I have found out that is a major bug signalled by many other people, so I wonder if I portupgrade openoffice to the latest version, this problem will still persist ? thanks, petre -- 2:05PM up 31 days, 23 mins, 1 user, load averages: 0.45, 0.35, 0.42 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tar question
I'm a little confused about the arguments for tar. I want to tar the contents of a directory and save that .tgz file for backup purposes. Problem is, when I copy larry.tgz to /disk2 and: Tar xvfz larry.tgz It creates the /disk2 file structure within /disk2. # cd # ls /disk2 # freebsd larry (directories) # tar cvfz larry.tgz /disk2 # cp larry.tgz /disk2 # cd /disk2 # tar xvfz larry.tgz # ls # freebsd larry disk2 (directories) How can I make tar not create the directory structure within the same directory? Does that make sense? I tried tar cvfzP, no joy. Man tar didn't have anything that jumped out at me, but I could have missed or misunderstood something. If the solution is in the man page, I would appreciate a reference to the section, so I can re-read it to understand. Thanks, Charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tar question
On Wed, 3 Sep 2003, Charles Howse wrote: I'm a little confused about the arguments for tar. I want to tar the contents of a directory and save that .tgz file for backup purposes. Problem is, when I copy larry.tgz to /disk2 and: Tar xvfz larry.tgz It creates the /disk2 file structure within /disk2. # cd # ls /disk2 # freebsd larry (directories) # tar cvfz larry.tgz /disk2 # cp larry.tgz /disk2 # cd /disk2 # tar xvfz larry.tgz # ls # freebsd larry disk2 (directories) How can I make tar not create the directory structure within the same directory? Does that make sense? I tried tar cvfzP, no joy. Man tar didn't have anything that jumped out at me, but I could have missed or misunderstood something. If the solution is in the man page, I would appreciate a reference to the section, so I can re-read it to understand. My suggestion is: tar cvCfz /disk2 larry.tgz . tar will cd to /disk2 before interpreting the dot - thus the content of /disk2 will be archived, but without a leading disk2 in the table of contents. Regards Konrad Heuer ([EMAIL PROTECTED]) ___ ___ GWDG / __/__ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__//___// Germany ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tar question
On Wednesday 03 September 2003 13:22, Charles Howse wrote: I'm a little confused about the arguments for tar. I want to tar the contents of a directory and save that .tgz file for backup purposes. Problem is, when I copy larry.tgz to /disk2 and: Tar xvfz larry.tgz It creates the /disk2 file structure within /disk2. # cd # ls /disk2 # freebsd larry (directories) # tar cvfz larry.tgz /disk2 # cp larry.tgz /disk2 # cd /disk2 # tar xvfz larry.tgz # ls # freebsd larry disk2 (directories) How can I make tar not create the directory structure within the same directory? Does that make sense? What about : cd /disk2 tar -cvfz larry.tgz * grtz, Daan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports
Hello I have a question concerning the ports : For my Base System I have decided to stick with RELENG_5_1 as tag for my cvsup-supfile. Should there be any problems if I use . for the Ports-Collection ? I know what is the difference between these tags when applied to the base system but what is the difference when applied to the ports ? And do I understand correctly that the state of my ports collection determines which version of a program I get when I type make and not the development status of the software ? (An Example would be : I have an old ports collection and built software version 0.13 from it. Now there is version 0.20 avaiable. Will make download and build 0.13 or 0.20 ?) Regards Stefan Malte Schumacher ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Tar question
My suggestion is: tar cvCfz /disk2 larry.tgz . tar will cd to /disk2 before interpreting the dot - thus the content of /disk2 will be archived, but without a leading disk2 in the table of contents. Perfect! I saw the C argument in man tar, but didn't make the connection. Thanks very much! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
3c905b-tx not working
To all: I have just installed FreeBSD 5.0 on a Pent. 200 MMX w/192 MB RAM and 3 8 GB HDs (SCSI-using AHA-2940U). My NIC is a 3c905b-tx. The MB is set to non-plug-and-play. While booting the NIC shows link on my hub, but no activity (duh), but as soon as the kernel sends configuration parameters to the NIC it goes offline...no link lights or anything. I know the NIC works fine as I was using it with Win98SE just minutes before loading FreeBSD 5.0. I use the NICs config prog to check all the settings and they all appear to be fine. This is only my fourth install of FreeBSD so I am quite the novice, but I have never ran in to an issue with the NIC doing this before... Please help!! V/R, Wilson Steiger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports
Hi, I have a question concerning the ports : For my Base System I have decided to stick with RELENG_5_1 as tag for my cvsup-supfile. Should there be any problems if I use . for the Ports-Collection ? I know what is the difference between these tags when applied to the base system but what is the difference when applied to the ports ? For the ports collection there is only one branch `.'. The ports support both FreeBSD -stable and -current, but if you are lucky, even older version might work (but they are not officially supported, and I remember a problem with one of the pkg_* tools that did not support a certian command line option). And do I understand correctly that the state of my ports collection determines which version of a program I get when I type make and not the development status of the software ? Yes, somebody needs to do the work and update the port to the lastest version of the programm. (An Example would be : I have an old ports collection and built software version 0.13 from it. Now there is version 0.20 avaiable. Will make download and build 0.13 or 0.20 ?) It will build 0.13. You can try and update your ports collection and see if somebody has already done that work, or you could try it yourself: The porters' handbook might be a good start: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ Regards, Simon signature.asc Description: Digital signature
RE: 3c905b-tx not working
I have just installed FreeBSD 5.0 on a Pent. 200 MMX w/192 MB RAM and 3 8 GB HDs (SCSI-using AHA-2940U). My NIC is a 3c905b-tx. The MB is set to non-plug-and-play. While booting the NIC shows link on my hub, but no activity (duh), but as soon as the kernel sends configuration parameters to the NIC it goes offline...no link lights or anything. I know the NIC works fine as I was using it with Win98SE just minutes before loading FreeBSD 5.0. I use the NICs config prog to check all the settings and they all appear to be fine. This is only my fourth install of FreeBSD so I am quite the novice, but I have never ran in to an issue with the NIC doing this before... Did you compile your kernel with support for: Device xl (3Com 3c50x nics) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 3c905b-tx not working
I have just installed FreeBSD 5.0 on a Pent. 200 MMX w/192 MB RAM and 3 8 GB HDs (SCSI-using AHA-2940U). My NIC is a 3c905b-tx. The MB is set to non-plug-and-play. While booting the NIC shows link on my hub, but no activity (duh), but as soon as the kernel sends configuration parameters to the NIC it goes offline...no link lights or anything. I know the NIC works fine as I was using it with Win98SE just minutes before loading FreeBSD 5.0. I use the NICs config prog to check all the settings and they all appear to be fine. This is only my fourth install of FreeBSD so I am quite the novice, but I have never ran in to an issue with the NIC doing this before... Ooops! I meant: Did you compile your kernel with support for: Device xl (3Com 3c90x nics) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Orinoco usb wireless
I googled around a bit, but couldn't find a direct answer, I want to know if any of the USB based orinoco wireless adapters are suppored under -STABLE. Thanks, -James ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ghost for FreeBSD
use g4u to make a copy of your HD to a local ftp server off your original drive. You can then restore it that way too. i.e you dont need both drives in at the same time. ---Mike At 10:56 AM 30/08/2003 -1000, Vincent Poy wrote: I have a question regarding this as well. Let's say that my FreeBSD is running on a Dell Inspiron 8200 notebook with a Fujitsu 2.5 4200rpm 60GB HD which has 116280 cylinders/16 heads/63 sectors per track/ 512 bytes per sector. I just recently bought a Hitachi TravelStar 7K60 7200rpm 60GB HD which has 116280 cylinders/16 heads/63 sectors per track, 512 bytes per sector but the problem is I can't use g4u as I have to remove the FDD from the bay to add the 2nd HDD to the system. So this appears that both drives are 100% identical in size and parameters. What do I need to do to completely copy the entire drive from the old drive to the new drive under FreeBSD? Thanks. Cheers, Vince - [EMAIL PROTECTED] - Vice President __ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[] [EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin On Sat, 30 Aug 2003, Mike Tancsa wrote: Sorry, didnt mean to hit send so quickly. What I meant to say is that g4u will do what you want. Also, take a look at just plain old dump and restore. If you want to have an image of what is on your partition as well as have incremental backups it works really well too. ---Mike At 10:29 AM 30/08/2003 -0400, Mike Tancsa wrote: Hi, take a look at g4u/ It works really well http://www.feyrer.de/g4u/ ---Mike At 03:02 PM 30/08/2003 +0200, Stefan Malte Schumacher wrote: Hi Well, just like the subject says I am for a program or a backup approach simillar to the one I am currently using. I boot with a Dos-Bootdisk and use Ghost to backup my Linux-Partitions to a FAT-Partition and then distribute the images around different computers on the network. I would like to be able to something like this with FreeBSD. I have had a look at Ghost 4 Unix but this is mainly oriented towards deploying images via the network while I just want to store the files locally. The advantage of Ghost and Ghost4Unix is that is is very easy to restore the system even if it so messed up that it wont boot. How can I do this ? Bye Stefan ___ [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] ___ [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]
Re: Ghost for FreeBSD
g4u doesn't work too well as I don't have another ftp server locally other then the FreeBSD machine itself. I already figured out how to do it and a better way that can be done via cron automatically... 12.3.1 Using sysinstall(8) Navigating Sysinstall You may use /stand/sysinstall to partition and label a new disk using its easy to use menus. Either login as user root or use the su command. Run /stand/sysinstall and enter the Configure menu. Within the FreeBSD Configuration Menu, scroll down and select the Fdisk option. fdisk Partition Editor Once inside fdisk, we can type A to use the entire disk for FreeBSD. When asked if you want to ``remain cooperative with any future possible operating systems'', answer YES. Write the changes to the disk using W. Now exit the FDISK editor by typing q. Next you will be asked about the Master Boot Record. Since you are adding a disk to an already running system, choose None. Disk Label Editor Next, you need to exit sysinstall and start it again. Follow the directions above, although this time choose the Label option. This will enter the Disk Label Editor. This is where you will create the traditional BSD partitions. A disk can have up to eight partitions, labeled a-h. A few of the partition labels have special uses. The a partition is used for the root partition (/). Thus only your system disk (e.g, the disk you boot from) should have an a partition. The b partition is used for swap partitions, and you may have many disks with swap partitions. The c partition addresses the entire disk in dedicated mode, or the entire FreeBSD slice in slice mode. The other partitions are for general use. sysinstall's Label editor favors the e partition for non-root, non-swap partitions. Within the Label editor, create a single file system by typing C. When prompted if this will be a FS (file system) or swap, choose FS and type in a mount point (e.g, /mnt). When adding a disk in post-install mode, sysinstall will not create entries in /etc/fstab for you, so the mount point you specify is not important. In this stage, specify / for the mountpoint to get the a partition and then change the mountpoint to /mnt/root before exiting or writing in the label editor. You are now ready to write the new label to the disk and create a file system on it. Do this by typing W. Ignore any errors from sysinstall that it could not mount the new partition. Exit the Label Editor and sysinstall completely. After this: mkdir /mnt mkdir /mnt/root mkdir /mnt/var mkdir /mnt/usr /sbin/mount /dev/ad1s1a /mnt/root /sbin/mount /dev/ad1s1e /mnt/var /sbin/mount /dev/ad1s1f /mnt/usr cd /mnt/root /sbin/dump -L -f- /|restore -rf- cd /mnt/var /sbin/dump -L -f- /var|restore -rf- cd /mnt/usr /sbin/dump -L -f- /usr|restore -rf- Cheers, Vince - [EMAIL PROTECTED] - Vice President __ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[] [EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin On Wed, 3 Sep 2003, Mike Tancsa wrote: use g4u to make a copy of your HD to a local ftp server off your original drive. You can then restore it that way too. i.e you dont need both drives in at the same time. ---Mike At 10:56 AM 30/08/2003 -1000, Vincent Poy wrote: I have a question regarding this as well. Let's say that my FreeBSD is running on a Dell Inspiron 8200 notebook with a Fujitsu 2.5 4200rpm 60GB HD which has 116280 cylinders/16 heads/63 sectors per track/ 512 bytes per sector. I just recently bought a Hitachi TravelStar 7K60 7200rpm 60GB HD which has 116280 cylinders/16 heads/63 sectors per track, 512 bytes per sector but the problem is I can't use g4u as I have to remove the FDD from the bay to add the 2nd HDD to the system. So this appears that both drives are 100% identical in size and parameters. What do I need to do to completely copy the entire drive from the old drive to the new drive under FreeBSD? Thanks. Cheers, Vince - [EMAIL PROTECTED] - Vice President __ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[] [EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin On Sat, 30 Aug 2003, Mike Tancsa wrote: Sorry, didnt mean to hit send so quickly. What I meant to say is that g4u will do what you want. Also, take a look at just plain old dump and restore. If you want to have an image of what is on your partition as well as have
Re: ipfw with four interfaces
Try having the very first rule divert ip from any to any to natd Then, you can configure NATD to only effect RFC1918 packets by adding a -u to the command line. NAT will take the packet, process it if it's an RFC 1918 address, if not, allow it to pass and then reinject it into the firewall at rule 2 (or next available rule) and continue processing the ruleset. Like I described I allready use this flag. The problem with having divert at the top is that I get thrown off my ssh connection every time when I try to reload natd or ipfw. Does it matter if I allow ssh from my network before I divert packets to natd? I've not been awake for long and have had little to no Mt Dew yet so don't hold this against me. Without going over this for awhile, which I recommend when doing a firewall, this may be something in the neighborhood that you're looking for. In your /usr/local/etc/natd.sh #!/bin/sh natd -interface xl2 -s -m -u Or if you start it from rc.conf: natd_flags=-s -m -u I use a natd config file with all these flags so that is taken care of. The -s tells it to use sockets so that FTP doesn't get broken. You may not need this. The -m tells natd to attempt to use the same socket as the originating host. The -u tells natd to only translate RFC 1918 packets. In your firewall rules file: ### # more fwrules fwcmd=/sbin/ipfw extif=xl2 dmzif=fxp0 lanif=xl0 motorif=xl1 # # $fwcmd -f flush # # #NATD Divert $fwcmd add 1 divert natd all from any to any via xl2 # #You want blocked outbound ports to match early on in the firewall. # # Blocking ports out to Internet that I don't like: $fwcmd add 100 deny tcp from any to any 135-139 out via $extif $fwcmd add 100 deny tcp from any to any 445 out via $extif # #Then your allows: # #Network Allows $fwcmd add 300 allow ip from any to any via $extif $fwcmd add 300 allow ip from any to any via $dmxif $fwcmd add 300 allow ip from any to any via $lanif $fwcmd add 300 allow ip from any to any via $motorif Hm.. You really mean I should add that first allow line there? This four rules together is basically the same as ipfw add allow ip from any to any isn't it? # Allow http to the whole dmz from Internet: $fwcmd add 400 allow tcp from any to w.x.y.80/28 http via $extif # # Allow smtp and pop3 to the mailserver from Internet: $fwcmd add 500 allow tcp from any to w.x.y.84 smtp,pop3 via $extif Aren't these two rules overlapping the first 300 rule? #Lastly, your denies # #Network Denies # # Default Block $fwcmd add 65000 deny ip from any to any Hope this helps you out. Haven't been able to try them out yet, but I don't feel allowing The first 300 rule will probably help me having the firewall allowing traffic for me, but I wasn't really planning to allow everything in. And will deny rules have effect when the traffic allready is allowed? Arvinn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RAID1 is DEGRADED, but which disk is faulty?
Hi How do you tell which disk has problems in a hardware RAID1 array? My machine has been up for nearly six months, and only the last three weeks of messages logs are retained. There is nothing any in the last three weeks of system logs about any kind of hardware error, or warning, or anything mentioning ar0, ad4, or ad6. atacontrol is showing a DEGRADED status of the mirror: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED How does one tell which disk is faulty? Or is it possible that they've become out of sync and need rebuilding, in which case which one do I detach and reattach? I'm scared to reboot as it's a running server. What can I do Cheers Jesse PS: FreeBSD 4.6.2-RELEASE atapci1: Promise ATA100 controller port 0xdc00-0xdc3f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 mem 0xdffe-0xdfff irq 11 at device 16.0 on pci0 ar0: 76293MB ATA RAID1 array [9726/255/63] status: READY subdisks: 0 READY ad4: 76319MB ST380021A [155061/16/63] at ata2-master UDMA100 1 READY ad6: 76319MB ST380021A [155061/16/63] at ata3-master UDMA100 # atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 LG DVD-ROM DRD-8160B/1.01 ATA/ATAPI rev 0 Slave: no device present ATA channel 2: Master: ad4 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Non working dvdrom drive.
I have the same problem with my FreeBSD 5.1-R system on an Intel 865 chipset box. I have two hard drives on one IDE channel and a CD-R/W and CD-ROM on the other. FreeBSD always recognizes the CD drive that is jumpered master and throws the Retries Exceeded error for the slave, regardless of which drive is master and which is slave. I've just ignored this problem so far as it isn't mission-critical, but it seems like a shared problem is a good one to solve. Any advice from this list would be heartily appreciated! ...Robert I have installed FreeBSD-4.8-stable on my Intel 815 chipset Pentium III box. It has a hard drive (Seagate ST-340014A)jumpered as primary master and a DVDROM (Asus E616) jumpered as the primary slave. I also have a CDWriter (Samsung SW-212B) on the secondary master. When FreeBSD Boots up it throws out an error while identifying the DVDROM Drive as ATA Device Identification Retries Exceeded. If i change the places of the DVDROM and cdwriter then the dvdrom works fine but the same error occurs for the cdwriter which is now primary slave. The firmware of the DVDROM is updated to the latest release and so in the MotherBoard BIOS (Fujitsu-siemens D1184). All the drives works fine in Windows as well as NetBSD and Linux. I would be very grateful to anyone who would please guide to get all my drives working under FreeBSD. -- Robert Froese, RPF Assistant Professor, Forest Biometrics School of Forest Resources and Environmental Science Michigan Technological University, Houghton MI. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 3c905b-tx not working
Rather odd. I ONLY use 3c90x NICS on all my machines (FBSD 5.x included) and they work great. What output do you get from running /usr/sbin/ifconfig at the command prompt? You didn't specify whether you were running the GENERIC kernel but I assume this is so. When you installed (assuming you did so through CD-based sysinstall), did you by chance skip the chance to set up network interfaces? If so you can either run sysinstall again (don't need to reinstall the whole system, just choose to set up networking from main menu) or you can do it manually by adding one of these to your /etc/rc.conf: if using dhcp: ifconfig_xl0=dhcp if using manual addressing: ifconfig_xl0=inet your ip address netmask your netmask defaultrouter=ip address of gateway Hope this helps, VS On Wed, 3 Sep 2003 20:48:09 +0900 Steiger, N. Wilson, (GS-12E)(TRNG) ATG WESTPAC [EMAIL PROTECTED] wrote: To all: I have just installed FreeBSD 5.0 on a Pent. 200 MMX w/192 MB RAM and 3 8 GB HDs (SCSI-using AHA-2940U). My NIC is a 3c905b-tx. The MB is set to non-plug-and-play. While booting the NIC shows link on my hub, but no activity (duh), but as soon as the kernel sends configuration parameters to the NIC it goes offline...no link lights or anything. I know the NIC works fine as I was using it with Win98SE just minutes before loading FreeBSD 5.0. I use the NICs config prog to check all the settings and they all appear to be fine. This is only my fourth install of FreeBSD so I am quite the novice, but I have never ran in to an issue with the NIC doing this before... Please help!! V/R, Wilson Steiger ___ [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]
Re: 3c905b-tx not working
Oops. that should have read /sbin/ifconfig not /usr/sbin/ifconfig. Sorry any confusion :) On Wed, 3 Sep 2003 09:00:43 -0400 Val Smith [EMAIL PROTECTED] wrote: Rather odd. I ONLY use 3c90x NICS on all my machines (FBSD 5.x included) and they work great. What output do you get from running /usr/sbin/ifconfig at the command prompt? You didn't specify whether you were running the GENERIC kernel but I assume this is so. When you installed (assuming you did so through CD-based sysinstall), did you by chance skip the chance to set up network interfaces? If so you can either run sysinstall again (don't need to reinstall the whole system, just choose to set up networking from main menu) or you can do it manually by adding one of these to your /etc/rc.conf: if using dhcp: ifconfig_xl0=dhcp if using manual addressing: ifconfig_xl0=inet your ip address netmask your netmask defaultrouter=ip address of gateway Hope this helps, VS On Wed, 3 Sep 2003 20:48:09 +0900 Steiger, N. Wilson, (GS-12E)(TRNG) ATG WESTPAC [EMAIL PROTECTED] wrote: To all: I have just installed FreeBSD 5.0 on a Pent. 200 MMX w/192 MB RAM and 3 8 GB HDs (SCSI-using AHA-2940U). My NIC is a 3c905b-tx. The MB is set to non-plug-and-play. While booting the NIC shows link on my hub, but no activity (duh), but as soon as the kernel sends configuration parameters to the NIC it goes offline...no link lights or anything. I know the NIC works fine as I was using it with Win98SE just minutes before loading FreeBSD 5.0. I use the NICs config prog to check all the settings and they all appear to be fine. This is only my fourth install of FreeBSD so I am quite the novice, but I have never ran in to an issue with the NIC doing this before... Please help!! V/R, Wilson Steiger ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Non working dvdrom drive.
Robert Froese [EMAIL PROTECTED] top-posted: I have the same problem with my FreeBSD 5.1-R system on an Intel 865 chipset box. I have two hard drives on one IDE channel and a CD-R/W and CD-ROM on the other. FreeBSD always recognizes the CD drive that is jumpered master and throws the Retries Exceeded error for the slave, regardless of which drive is master and which is slave. That sounds like a cabling problem, actually... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ghost for FreeBSD
- Original Message - From: Vincent Poy [EMAIL PROTECTED] To: Mike Tancsa [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 2:22 PM Subject: Re: Ghost for FreeBSD cd /mnt/root /sbin/dump -L -f- /|restore -rf- cd /mnt/var /sbin/dump -L -f- /var|restore -rf- cd /mnt/usr /sbin/dump -L -f- /usr|restore -rf- I have heard this before, but I never understand this part. :) How does creating a /mnt/root directory, and restoring in that directory get my / slice back? Then the restored data will just sit in /mnt/root! What good does it there? Or should I create /mnt/root as partition, about equal in size to the root partition, and then restore therein, and do the old switcheroo in /etc/fstab later, to make it the root partion? I have successfully restored /var and /usr, on occasion; but that is rather easy, as they can be unmounted. With the root partition, that is not possible, of course. Short of having to switch cables on harddisks, is there a software method that will allow me to restore/switch the root partion? Thanks! - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID1 is DEGRADED, but which disk is faulty?
Try rebuilding the array... atacontrol rebuild ar0 See if that helps... Peter Elsner At 10:45 PM 9/3/2003 +1000, you wrote: Hi How do you tell which disk has problems in a hardware RAID1 array? My machine has been up for nearly six months, and only the last three weeks of messages logs are retained. There is nothing any in the last three weeks of system logs about any kind of hardware error, or warning, or anything mentioning ar0, ad4, or ad6. atacontrol is showing a DEGRADED status of the mirror: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED How does one tell which disk is faulty? Or is it possible that they've become out of sync and need rebuilding, in which case which one do I detach and reattach? I'm scared to reboot as it's a running server. What can I do Cheers Jesse PS: FreeBSD 4.6.2-RELEASE atapci1: Promise ATA100 controller port 0xdc00-0xdc3f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 mem 0xdffe-0xdfff irq 11 at device 16.0 on pci0 ar0: 76293MB ATA RAID1 array [9726/255/63] status: READY subdisks: 0 READY ad4: 76319MB ST380021A [155061/16/63] at ata2-master UDMA100 1 READY ad6: 76319MB ST380021A [155061/16/63] at ata3-master UDMA100 # atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 LG DVD-ROM DRD-8160B/1.01 ATA/ATAPI rev 0 Slave: no device present ATA channel 2: Master: ad4 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID1 is DEGRADED, but which disk is faulty?
Hmmm, doesn't look good: # atacontrol rebuild ar0 atacontrol: ioctl(ATARAIDREBUILD): Operation not supported by device any other ideas? Note that I used the Promise chip's firmware to initially build the mirror, so I trust that this is a RAID capable ATA controller (from the rebuild section of the atacontrol man page) Thanks Jesse At 8:12 -0500 3/9/2003, Peter Elsner wrote: Try rebuilding the array... atacontrol rebuild ar0 See if that helps... Peter Elsner At 10:45 PM 9/3/2003 +1000, you wrote: Hi How do you tell which disk has problems in a hardware RAID1 array? My machine has been up for nearly six months, and only the last three weeks of messages logs are retained. There is nothing any in the last three weeks of system logs about any kind of hardware error, or warning, or anything mentioning ar0, ad4, or ad6. atacontrol is showing a DEGRADED status of the mirror: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED How does one tell which disk is faulty? Or is it possible that they've become out of sync and need rebuilding, in which case which one do I detach and reattach? I'm scared to reboot as it's a running server. What can I do Cheers Jesse PS: FreeBSD 4.6.2-RELEASE atapci1: Promise ATA100 controller port 0xdc00-0xdc3f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 mem 0xdffe-0xdfff irq 11 at device 16.0 on pci0 ar0: 76293MB ATA RAID1 array [9726/255/63] status: READY subdisks: 0 READY ad4: 76319MB ST380021A [155061/16/63] at ata2-master UDMA100 1 READY ad6: 76319MB ST380021A [155061/16/63] at ata3-master UDMA100 # atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 LG DVD-ROM DRD-8160B/1.01 ATA/ATAPI rev 0 Slave: no device present ATA channel 2: Master: ad4 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone -- ::: Jesse Reynolds +61 (0)414 669 790 ::: AIM - jessedreynolds ::: ::: Virtual Artists Pty Ltd, Adelaide ::: http://www.va.com.au ::: ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Raid Implemntation
HI, We having free BSD 4.8 Server for backup, we are copying and write all in CDs. Is there is any provision for a) implementing disk mirroring in Free BSD server (for both System Datafiles) b) Is it possible to make any backup NIS server, which will backup the data will come up when Primary server goes down. Can you please revert with details. Thanking you Rathan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Raid Implemntation
HI, We having free BSD 4.8 Server for backup, we are copying and write all in CDs. Is there is any provision for a)implementing disk mirroring in Free BSD server (for both System Datafiles) Yes. Look up 'vinum' in the handbook. b)Is it possible to make any backup NIS server, which will backup the data will come up when Primary server goes down. I think it is a bit more complicated than you state it. Better let someone else answer that. Can you please revert with details. ?? Do you mean 'reply' with details? jerry Thanking you Rathan ___ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync problem
Thank you Malcolm I'll try this one... On Tue, 2003-09-02 at 17:59, Malcolm Kay wrote: On Tue, 2 Sep 2003 23:27, Guy Van Sanden wrote: Hello I'm using rsync to sort of mirror two 40GB disks (once a day). All partitions work as expected, but root is weird (and as you can see below, I sort of made it too small). I use this command: /usr/local/bin/rsync -ax --delete / /mirror/rootfs But this is what I'm getting: df -m Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s1a 154 717051%/ /dev/ad1s1a 154 138 497%/mirror/rootfs So, there's a 67 MB difference between both. I started out wite a cleanly formatted mirror (UFS2) My system is FreeBSD 5.0 RELEASE-p11 Thanks for any help Guy I expect rsync does not recognise hard linked files as such and makes separate images of each directory link. Looking through /stand on my 4.8 system I see that this would create about 60Mb extra. You might do better with dump and restore: # cd /miiror/rootfs # dump -0 -a -f - / | restore -r -f - Malcolm ___ [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]
Booting bit-by-bit (rc.conf broken)
My rc.conf file appears to be broken in some way, and this is preventing my system from booting. It boots to a heavily resticted system, with only the / file system mounted and the statically linked binaries available. Problem is, I can't edit my rc.conf or remove it. Is their any way I can either selectivly execute statements in the rc.conf during bootup (similar to the old dos method), or a way I can force login, so I can remove the damaged rc.conf. Thanks Colin. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ghost for FreeBSD
On Wed, Sep 03, 2003 at 01:12:25PM + or thereabouts, Mark wrote: - Original Message - From: Vincent Poy [EMAIL PROTECTED] To: Mike Tancsa [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 2:22 PM Subject: Re: Ghost for FreeBSD cd /mnt/root /sbin/dump -L -f- /|restore -rf- cd /mnt/var /sbin/dump -L -f- /var|restore -rf- cd /mnt/usr /sbin/dump -L -f- /usr|restore -rf- I have heard this before, but I never understand this part. :) How does creating a /mnt/root directory, and restoring in that directory get my / slice back? Then the restored data will just sit in /mnt/root! What good does it there? Or should I create /mnt/root as partition, about equal in size to the root partition, and then restore therein, and do the old switcheroo in /etc/fstab later, to make it the root partion? I have successfully restored /var and /usr, on occasion; but that is rather easy, as they can be unmounted. With the root partition, that is not possible, of course. Short of having to switch cables on harddisks, is there a software method that will allow me to restore/switch the root partion? To mirror the root partition to another: # mkdir /mnt/root # mount /dev/ROOT-MIRROR-DEV /mnt/root # cd /mnt/root # /sbin/dump -f- / | restore -rf- You will not *need* to umount the root partition. (If you wanted to hot-swap between them, I'm not sure it's possible on FBSD. There is a ``pivot_root'' syscall on linux, though.) To mirror another partition, do mostly the same thing, but replace / with the partition in the dump line (and make sure the correct destination is mounted on your current directory for the restore). Dump/restore is pretty much the accepted way of doing this. -- Josh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting bit-by-bit (rc.conf broken)
On Wed, 3 Sep 2003, Colin Watson wrote: My rc.conf file appears to be broken in some way, and this is preventing my system from booting. It boots to a heavily resticted system, with only the / file system mounted and the statically linked binaries available. Problem is, I can't edit my rc.conf or remove it. Is their any way I can either selectivly execute statements in the rc.conf during bootup (similar to the old dos method), or a way I can force login, so I can remove the damaged rc.conf. swapon -a mount -a vi /etc/rc.conf Although I doubt this is what's broken. rc.conf doesn't run it contains variables that are used by other scripts to turn services and other things on or off. Ken Thanks Colin. ___ [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]
Re: Booting bit-by-bit (rc.conf broken)
[Format recovered] On Wed, Sep 03, 2003 at 03:05:22PM +0100 or thereabouts, Colin Watson wrote: My rc.conf file appears to be broken in some way, and this is preventing my system from booting. It boots to a heavily resticted system, with only the / file system mounted and the statically linked binaries available. Problem is, I can't edit my rc.conf or remove it. Is their any way I can either selectivly execute statements in the rc.conf during bootup (similar to the old dos method), or a way I can force login, so I can remove the damaged rc.conf. Yes. # fsck -p # mount -uw / # vi /etc/rc.conf# or any other editor or # mv /etc/rc.conf /etc/rc.conf.BROKEN # mount -ur / # exit or # reboot -- Josh Thanks Colin. ___ [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]
Re: Tar question
I'm a little confused about the arguments for tar. I want to tar the contents of a directory and save that .tgz file for backup purposes. Problem is, when I copy larry.tgz to /disk2 and: Tar xvfz larry.tgz It creates the /disk2 file structure within /disk2. # cd # ls /disk2 # freebsd larry (directories) # tar cvfz larry.tgz /disk2 # cp larry.tgz /disk2 # cd /disk2 # tar xvfz larry.tgz # ls # freebsd larry disk2 (directories) How can I make tar not create the directory structure within the same directory? Does that make sense? I tried tar cvfzP, no joy. Just cd in to the lowest level of directory structure you want to preserve and do the tar from there. So your example above would morph to: # cd # ls /disk2 # freebsd larry (directories) # cd /disk2 # tar cvfz ../larry.tgz * # # cp ../larry.tgz /disk3 (NOTE: using disk3 for clarity - to avoid the # cd /disk3 issue of replacing copies of the same file) # tar xvfz /larry.tgz # ls # freebsd larry (directories) larry.tgz There are possibly other ways using switches, but this makes most sense. jerry Man tar didn't have anything that jumped out at me, but I could have missed or misunderstood something. If the solution is in the man page, I would appreciate a reference to the section, so I can re-read it to understand. Thanks, Charles ___ [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]
Re: Ghost for FreeBSD
- Original Message - From: Joshua Oreman [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 4:08 PM Subject: Re: Ghost for FreeBSD cd /mnt/root /sbin/dump -L -f- /|restore -rf- cd /mnt/var /sbin/dump -L -f- /var|restore -rf- cd /mnt/usr /sbin/dump -L -f- /usr|restore -rf- I have heard this before, but I never understand this part. :) How does creating a /mnt/root directory, and restoring in that directory get my / slice back? Then the restored data will just sit in /mnt/root! What good does it there? Or should I create /mnt/root as partition, about equal in size to the root To mirror the root partition to another: # mkdir /mnt/root # mount /dev/ROOT-MIRROR-DEV /mnt/root # cd /mnt/root # /sbin/dump -f- / | restore -rf- You will not *need* to umount the root partition. Ok; what you have done is made a dump on the root mirror device; great! But how do I now tell FreeBSD to use that restored partition as /? Edit /etc/fstab to effect the change for the next boot? I have a nagging suspicion it will then still boot off the old / slice. - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
codepages, koi-8 r - ? why only english?
Hi FreeBSD community. I have a question for you How can I add some other languages to my FreeBSD. I am russian, so how can I add russian codepages? How can I use koi-8 r? How I can configure my FreeBSD to support russian codepage? What I should do in my KDE? Thank's. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail is sleepy
Hi, When I boot, I get what I assume are timeouts when loading sendmail. Sendmail_submit My unqualified hostname (larry) unknown; sleeping for retry Unable to qualify my hostname, using short name Sendmail-clientmqueue My unqualified hostname (larry) unknown; sleeping for retry Unable to qualify my hostname, using short name How can I make these go away? Here is my /etc/rc.conf # -- sysinstall generated deltas -- # Tue Aug 12 07:29:34 2003 # Created: Tue Aug 12 07:29:34 2003 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=192.168.254.254 hostname=larry ifconfig_tx0=inet 192.168.254.3 netmask 255.255.255.0 kern_securelevel_enable=NO linux_enable=NO moused_enable=NO moused_type=NO nfs_reserved_port_only=YES saver=daemon sendmail_enable=NO sshd_enable=NO usbd_enable=NO ntpdate_enable=YES ntpdate_flags=time.nist.gov xntpd_enable=YES syslogd_enable=YES syslogd_flags=-ss clear_tmp_enable=YES inetd_flags=-wW -a 192.168.254.3 Thanks, Charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[FAQ pointer] Re: Booting bit-by-bit (rc.conf broken)
Colin Watson [EMAIL PROTECTED] writes: My rc.conf file appears to be broken in some way, and this is preventing my system from booting. It boots to a heavily resticted system, with only the / file system mounted and the statically linked binaries available. Problem is, I can't edit my rc.conf or remove it. Is their any way I can either selectivly execute statements in the rc.conf during bootup (similar to the old dos method), or a way I can force login, so I can remove the damaged rc.conf. I made a mistake in rc.conf, or another startup file, and now I cannot edit it because the filesystem is read-only. What should I do? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Suggestions to a command line editor
Well I've been using FreeBSD for the past maybe 4 years now. I've been using ee (don't laugh) to do all my editing on the command line. Im looking to grow out of ee into something else. Naturally, something that can open/edit files. And if possible, I've heard of editors with color syntax highlighting, search/replace, and other voodoo, that ee isn't capable of. In general, I edit FreeBSD system files, php/html and related files. Any suggestions are welcome, while I look through the ports to see if anything jumps out at me... Thanks for any tips you may provide... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Suggestions to a command line editor
Well I've been using FreeBSD for the past maybe 4 years now. I've been using ee (don't laugh) to do all my editing on the command line. Im looking to grow out of ee into something else. Naturally, something that can open/edit files. And if possible, I've heard of editors with color syntax highlighting, search/replace, and other voodoo, that ee isn't capable of. In general, I edit FreeBSD system files, php/html and related files. flame proof suit on I would suggest vi/vim/emacs to start with. More voodo than you can shake a large stick at /flame -- w: http://www.jvds.com | Linux + FreeBSD Servers from $15/mo e: [EMAIL PROTECTED]| Totally Customizable Technology t: +447919 373537 | Forums t: 1-888-327-6330 | http://forums.jvds.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Suggestions to a command line editor
You can use VIM (vi improved). I consider it the best editor, with full syntax highliting, etc. You can find it in the /usr/ports/editors/vim I suppose. A more easy to use editor but not so powerfull is pico, ported from linux. Gerard Samuel wrote: Well I've been using FreeBSD for the past maybe 4 years now. I've been using ee (don't laugh) to do all my editing on the command line. Im looking to grow out of ee into something else. Naturally, something that can open/edit files. And if possible, I've heard of editors with color syntax highlighting, search/replace, and other voodoo, that ee isn't capable of. In general, I edit FreeBSD system files, php/html and related files. Any suggestions are welcome, while I look through the ports to see if anything jumps out at me... Thanks for any tips you may provide... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
Re: Ghost for FreeBSD
On Wed, Sep 03, 2003 at 02:27:03PM + or thereabouts, Mark wrote: - Original Message - From: Joshua Oreman [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 4:08 PM Subject: Re: Ghost for FreeBSD cd /mnt/root /sbin/dump -L -f- /|restore -rf- cd /mnt/var /sbin/dump -L -f- /var|restore -rf- cd /mnt/usr /sbin/dump -L -f- /usr|restore -rf- I have heard this before, but I never understand this part. :) How does creating a /mnt/root directory, and restoring in that directory get my / slice back? Then the restored data will just sit in /mnt/root! What good does it there? Or should I create /mnt/root as partition, about equal in size to the root To mirror the root partition to another: # mkdir /mnt/root # mount /dev/ROOT-MIRROR-DEV /mnt/root # cd /mnt/root # /sbin/dump -f- / | restore -rf- You will not *need* to umount the root partition. Ok; what you have done is made a dump on the root mirror device; great! But how do I now tell FreeBSD to use that restored partition as /? Edit /etc/fstab to effect the change for the next boot? I have a nagging suspicion it will then still boot off the old / slice. Ah, that's right. You have to edit /etc/fstab *AND* tell the kernel. I'm not sure exactly what you need to do to boot from a different root device; maybe someone will fille me in? -- Josh - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting bit-by-bit (rc.conf broken)
My rc.conf file appears to be broken in some way, and this is preventing my system from booting. It boots to a heavily resticted system, with only the / file system mounted and the statically linked binaries available. Problem is, I can't edit my rc.conf or remove it. Is their any way I can either selectivly execute statements in the rc.conf during bootup (similar to the old dos method), or a way I can force login, so I can remove the damaged rc.conf. First, please break your lines at around 72 characters. It makes it much easier for some of us to read ant to respond to. If you can't figure out how to set your Email client for that, just hit ENTER(RETURN) like people used to have to do on a typewriter. Second, you will have to boot in to single user, do a manual fsck, remount the root file system and then the others if needed and then [use vi to] edit your rc.conf file. There is lots of stuff in the documentation on booting single user, etc but briefly: - Force a boot - when you get the message, something like 'press space to stop or any other key to boot immediately' then hit the spacebar. - type boot -s and let it finish - when it asks for a shell hit ENTER and do the following. - fsck -p - mount -u / - mount -a - swapon -a - vi /etc/rc.conf and write it out 'ESC:wq' when you are done. - shutdown -r now(or just CTRL-D - I'm superstitious about boots) If that did it, you're fine. If not, you may have to go back to single user again and do some more editing. jerry Thanks Colin. ___ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail is sleepy
Did you enter your hostname and ip address in /etc/resolv.conf? I don't if it will fix your problem; but is helps when many applications complain about the hostname. Andrew Gould On Wednesday 03 September 2003 09:32 am, Charles Howse wrote: Hi, When I boot, I get what I assume are timeouts when loading sendmail. Sendmail_submit My unqualified hostname (larry) unknown; sleeping for retry Unable to qualify my hostname, using short name Sendmail-clientmqueue My unqualified hostname (larry) unknown; sleeping for retry Unable to qualify my hostname, using short name How can I make these go away? Here is my /etc/rc.conf # -- sysinstall generated deltas -- # Tue Aug 12 07:29:34 2003 # Created: Tue Aug 12 07:29:34 2003 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=192.168.254.254 hostname=larry ifconfig_tx0=inet 192.168.254.3 netmask 255.255.255.0 kern_securelevel_enable=NO linux_enable=NO moused_enable=NO moused_type=NO nfs_reserved_port_only=YES saver=daemon sendmail_enable=NO sshd_enable=NO usbd_enable=NO ntpdate_enable=YES ntpdate_flags=time.nist.gov xntpd_enable=YES syslogd_enable=YES syslogd_flags=-ss clear_tmp_enable=YES inetd_flags=-wW -a 192.168.254.3 Thanks, Charles ___ [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]
Re: Suggestions to a command line editor
Hi, A more easy to use editor but not so powerfull is pico, ported from linux. Pico has a cousin, GNU nano. I love it. http://www.nano-editor.org/ Buhbye... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Suggestions to a command line editor
If you are serious about editing, it is probably wise to at least be proficient in ed and vi. Everything else beyond that is eye candy. no editor wars intended. Ed will dig you out of deep holes when all you have is your root fs and everything else has gone to hades in a handbasket. Vi will do everything else and not eat up every system resource in town. Both are pretty much standard on every current form of *nix. Anything else will be iffy, and if not standard you will have to roll in your own toolkit. If you are the admin on the machine, no problem. If you aren't,.maybe. Good Luck Bob Keys ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail is sleepy
Did you enter your hostname and ip address in /etc/resolv.conf? I don't if it will fix your problem; but is helps when many applications complain about the hostname. Andrew Gould Uh, no I didn't. Man resolv.conf doesn't say anything about how to do that, and it's never been necessary. I might add that I *think* this behavior began when I upgraded to 4.8-p4. I don't remember it doing this in -p3. BTW, I should add that I have not touched any configuration for sendmail. I have need only for sendmail to send the daily reports to a user account on the same machine, and I check that account via popa3d from my XP box. On Wednesday 03 September 2003 09:32 am, Charles Howse wrote: Hi, When I boot, I get what I assume are timeouts when loading sendmail. Sendmail_submit My unqualified hostname (larry) unknown; sleeping for retry Unable to qualify my hostname, using short name Sendmail-clientmqueue My unqualified hostname (larry) unknown; sleeping for retry Unable to qualify my hostname, using short name How can I make these go away? Here is my /etc/rc.conf # -- sysinstall generated deltas -- # Tue Aug 12 07:29:34 2003 # Created: Tue Aug 12 07:29:34 2003 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=192.168.254.254 hostname=larry ifconfig_tx0=inet 192.168.254.3 netmask 255.255.255.0 kern_securelevel_enable=NO linux_enable=NO moused_enable=NO moused_type=NO nfs_reserved_port_only=YES saver=daemon sendmail_enable=NO sshd_enable=NO usbd_enable=NO ntpdate_enable=YES ntpdate_flags=time.nist.gov xntpd_enable=YES syslogd_enable=YES syslogd_flags=-ss clear_tmp_enable=YES inetd_flags=-wW -a 192.168.254.3 Thanks, Charles ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: emulators/vmware2 broken...
Hi, Someone could help me with this !? Some advise !? Some place where can I find a solution !? Regards, Alexandre Alexandre Biancalana wrote: Hi All, I'm fighting with the following problem to install emulators/vmware2. cc -O -pipe -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmwa e2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmwar 2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -DCDEV_MAJOR_=200 -DSMP -DAPIC_IO -D_KERNEL -Wall -Wre undant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual - format-extensions -ansi -DKLD_MODULE -nostdinc -I- -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-onl /include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/wo k/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/includ -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/../inc ude -I/usr/include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/ports/emulators/vmw re2/work/vmware-distrib/vmmon-only/freebsd/hostif.c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: In function `FindMPN': /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:184: invalid operands to binary /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:188: invalid type argument of `una y *' /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: In function `HostIF_LookupUserMPN : /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: warning: `pte' might be used ninitialized in this function /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: In function `HostIF_LockPage': /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: warning: `pte' might be used ninitialized in this function /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: warning: `pte' might be used ninitialized in this function /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: In function `CheckFunc': /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: warning: `pte' might be used ninitialized in this function *** Error code 1 Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only. *** Error code 1 Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only. *** Error code 1 Stop in /usr/ports/emulators/vmware2/work/vmware-distrib. *** Error code 1 Stop in /usr/ports/emulators/vmware2. *** Error code 1 Stop in /usr/ports/emulators/vmware2. That's my machine: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-PRERELEASE #0: Sat Aug 30 17:49:40 BRT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/Cruel Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 860884854 Hz CPU: Intel Pentium III (860.88-MHz 686-class CPU) Origin = GenuineIntel Id = 0x686 Stepping = 6 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 268091392 (261808K bytes) avail memory = 257105920 (251080K bytes) Preloaded elf kernel kernel at 0xc03b5000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fbc30 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 agp0: Intel 82820 host to AGP bridge mem 0xf400-0xf7ff at device 0.0 on pci0 pcib1: PCI to PCI bridge (vendor=8086 device=250f) at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: NVidia Riva Ultra Vanta TNT2 graphics accelerator at 0.0 irq 9 pcib2: Intel 82801AA (ICH) Hub to PCI bridge at device 30.0 on pci0 pci2: PCI bus on pcib2 xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xec80-0xecff mem 0xfbfffc00-0xfbfffc7f irq 5 at device 12.0 on pci2 xl0: Ethernet address: 00:b0:d0:50:c9:a7 miibus0: MII bus on xl0 xlphy0: 3c905C 10/100 internal PHY on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: Intel 82801AA (ICH) PCI to LPC bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH ATA66 controller port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82801AA (ICH) USB controller port 0xff80-0xff9f irq 11 at
Re: codepages, koi-8 r - ? why only english?
From: Alex Zivenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 6:33 PM Subject: codepages, koi-8 r - ? why only english? Hi FreeBSD community. I have a question for you How can I add some other languages to my FreeBSD. I am russian, so how can I add russian codepages? How can I use koi-8 r? How I can configure my FreeBSD to support russian codepage? 1. Via sysinstall (system console settings): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html 2. By hand, with good explanaition at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/l10n.html See, this is all Handbook, so do your homework please... What I should do in my KDE? I think this is also in handbook. HTH, Igor Thank's. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Suggestions to a command line editor
On Wed, Sep 03, 2003 at 10:50:47AM -0400 or thereabouts, Gerard Samuel wrote: Well I've been using FreeBSD for the past maybe 4 years now. I've been using ee (don't laugh) to do all my editing on the command line. Im looking to grow out of ee into something else. Naturally, something that can open/edit files. And if possible, I've heard of editors with color syntax highlighting, search/replace, and other voodoo, that ee isn't capable of. In general, I edit FreeBSD system files, php/html and related files. Any suggestions are welcome, while I look through the ports to see if anything jumps out at me... Thanks for any tips you may provide... I like emacs (actually xemacs) though I'm sure others think differently. Vim is good too. -- Josh ___ [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]
Re: Unable to install mailman from ports
HR == Heinrich Rebehn [EMAIL PROTECTED] writes: HR Hi list, HR I am trying to install mailman from the ports tree. HR Make install ends with: Works for me with the latest python port installed... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D.Khera Communications, Inc. Internet: [EMAIL PROTECTED] Rockville, MD +1-240-453-8497 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: playing a DVD with mplayer
On Tue, 2 Sep 2003 08:36:37 + Ganael Laplanche [EMAIL PROTECTED] wrote: Hi, Isn't there a mean to launch the full DVD and to navigate through the in a graphical way (as ogle or xine) ? You can define WITH_GUI when you build the port (see the Makefile). I also think that there are some graphical frontends in ports/multimedia that you might want to look at. But as I've never used any gui for mplayer I don't know if they bring in any additional functionality. Note that if you use the command line you can put options in ~/.mplayer/config so most of the time you just have to enter something like mplayer -dvd 1 to watch a movie. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Old proliant memory detection
Hi all, I'm running 4.8-RELEASE on an ancient Dual P.Pro proliant, and its not correctly detecting how much RAM i have, is there a way to tell FreeBSD the correct amount? I'm sure i saw something on the list about this a while back but my googling hasnt come up with anything. :( Thanks Vince. --- Vince Hoffman Systems Administrator Euro RSCG Circle (London) P: 020 7959 7576 M: 0777 5822213 Icq: 50905590 PGP ID: 0xC859C861 A vacuum is a hell of a lot better than some of the stuff that nature replaces it with. -- Tennessee Williams --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Question
Hi my name is Karina! Yesterday someone put me in charge of a server (it seems that is a Firewall) with FreeBSD 4.2-Release version, the first thing I have told to do is to change de IP address and the defaultrouter, so I edited the next files: /etc/hosts /etc/rc.conf And I rebooted the server so that the changes take effect. The first thing I did was to check if the changes were made, with the ipconfig -a command, and yes, the changes were made. I only changed the IP address of one of the two interfaces (xI1). I don't know why but I keep receiving the next errors: egw ipmon[55]:17:30:47.435327 xI1 @0:16 b 146.250.4.9 --- 146.250.4.1 PR icmp len 20 21504 icmp 8/0 OUT egw ipmon[55]:17:30:47.435327 xI1 @0:16 b 146.250.4.9 --- 146.250.17.4,53 PR udp len 20 21504 icmp 8/0 OUT egw /kernel:arp:146.250.4.1 is on xI1 but got reply from ethernet address of interface xI0 on xI0 Where egw is the hostname 146.250.4.9 is the IP address of the interface xI1 146.250.4.1 is the defaultrouter 192.168.200.1 is the IP address of the interface xl0 This server has 2 network interfaces xI0 and xI1. Can you please help me!! Thanks in advance! =) Karina Sayuri Hoshiko Escobedo UNIX Administrator, Customer Access RACOM Administration Ericsson Telecom S.A. de C.V. Ericsson Global IT Services SSC Mexico Phone: (+52) 1103 0700 Fax: (+52) 1103 0708 mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
saving kernel output
hi all is another way to save kernel output without dumb terminal or old PC/XT till boot ? i read serialconsole-setup in handbook, but i think way without serial console for example something like dmesg, but if kernel fails i want have saved output too thank and bye -- - Radko Keves ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
applications
A friend recommends your OS over Linux for my home system. I've taken a 2 day Linux Admin course, and know just about that much. I don't see a quick answer on your webpages to my questions. Where can I find Fortran Basic A Database similar to Access Spreadsheets Pkzip I hear a lot about the system being a server, but all I need to do is browse the web and use email similar to Netscape. How easy is it to set up? -- Douglas L. Love, Database Administrator [EMAIL PROTECTED] UMUC Faculty Recruitment SFSC Room 3271FPhone: 301 985 7071 3501 University Blvd. East Fax: 301 985 7075 Adelphi, MD 20783 For more information, look at http://www.umuc.edu/faculty/faq.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail is sleepy
On Wed, 2003-09-03 at 10:32, Charles Howse wrote: Hi, When I boot, I get what I assume are timeouts when loading sendmail. Sendmail_submit My unqualified hostname (larry) unknown; sleeping for retry Unable to qualify my hostname, using short name Sendmail-clientmqueue My unqualified hostname (larry) unknown; sleeping for retry Unable to qualify my hostname, using short name How can I make these go away? Hi Charles, I have had this problems on both my FreeBSD boxes as well, and never found a good solution. Here is the relevant parts of my rc.conf: sendmail_enable=NONE sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_msp_queue_enable=NO hostname=jake Here's my periodic.conf: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO Here is my hosts file: ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain 127.0.0.1 jake 192.168.56.5elwood Now for some permissions: -$ ls -al /usr/sbin/mailwrapper -r--r--r-- 1 root wheel 5432 Aug 13 10:20 /usr/sbin/mailwrapper -$ ls -al /usr/sbin/sendmail lrwxr-xr-x 1 root wheel 21 Aug 13 10:20 /usr/sbin/sendmail - /usr/sbin/mailwrapper You will see the solution that I found (chmod a-x /usr/sbin/mailwrapper). This is a dirty hack, but it did the trick. I don't use sendmail at all. Let me know if you find a proper solution for this. -- Adam McLaurin [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Ghost for FreeBSD
On Wed, Sep 03, 2003 at 07:58:35AM -0700, Joshua Oreman typed: SNIP Ok; what you have done is made a dump on the root mirror device; great! But how do I now tell FreeBSD to use that restored partition as /? Edit /etc/fstab to effect the change for the next boot? I have a nagging suspicion it will then still boot off the old / slice. Ah, that's right. You have to edit /etc/fstab *AND* tell the kernel. I'm not sure exactly what you need to do to boot from a different root device; maybe someone will fille me in? You'll have to edit /etc/fstab on the mirror root partition. Then you'll have to tell the BIOS to boot disk1 instead of disk0. If your BIOS doesn't support this, you're out of luck. You'll have to switch cables then. If it does, no kernel changes necessary. Ruben -- Josh - Mark ___ [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]
Re: Suggestions to a command line editor
Gerard Samuel wrote: Well I've been using FreeBSD for the past maybe 4 years now. I've been using ee (don't laugh) to do all my editing on the command line. Im looking to grow out of ee into something else. Naturally, something that can open/edit files. And if possible, I've heard of editors with color syntax highlighting, search/replace, and other voodoo, that ee isn't capable of. In general, I edit FreeBSD system files, php/html and related files. Any suggestions are welcome, while I look through the ports to see if anything jumps out at me... Thanks for any tips you may provide... Thanks to all those that replied. Im going to take a shot at vim-lite, and see where it leads me. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: applications
On Wed, Sep 03, 2003 at 12:01:58PM -0400 or thereabouts, Doug Love wrote: A friend recommends your OS over Linux for my home system. I've taken a 2 day Linux Admin course, and know just about that much. I don't see a quick answer on your webpages to my questions. Where can I find Fortran Basic Search the ports; I don't know about those languages. A Database similar to Access But without the pretty interface? Try MySQL. With a pretty web-based interface? MySQL + phpmyadmin. Spreadsheets Gnumeric or OpenOffice spreadsheet or KSpread (part of KOffice) Pkzip There's a program called `zip' and one called `unzip' in ports. I hear a lot about the system being a server, but all I need to do is browse the web and use email similar to Netscape. How easy is it to set up? Pretty easy. For Web browser use KDE Konqueror, Mozilla, Galeon, Opera, or Dillo; for mail use KMail, Mozilla, Thunderbird (not in ports yet but should be someday), Sylpheed, or Evolution; if you want console-based email (VERY clean but a bit... err... different) try mutt or pine. By your program descriptions above it seems you've come from Windows. I think you'll find the KDE desktop most familiar (GNOME works too). -- Josh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail is sleepy
Hi Charles, I have had this problems on both my FreeBSD boxes as well, and never found a good solution. Ouch! I hate to hear that. Can you confirm my suspicion that this did not occur prior to 4.8-RELEASE-p4? Seems to me that the reason for the p4 patch was something to do with sendmail security. I'm sure it's in the UPDATING file, I'm too lazy to check right now. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID1 is DEGRADED, but which disk is faulty?
On Wed, Sep 03, 2003 at 10:45:05PM +1000, jesse reynolds typed: Hi How do you tell which disk has problems in a hardware RAID1 array? My machine has been up for nearly six months, and only the last three weeks of messages logs are retained. There is nothing any in the last three weeks of system logs about any kind of hardware error, or warning, or anything mentioning ar0, ad4, or ad6. atacontrol is showing a DEGRADED status of the mirror: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED How does one tell which disk is faulty? Or is it possible that they've become out of sync and need rebuilding, in which case which one do I detach and reattach? I'm scared to reboot as it's a running server. What can I do You can try this: umount /dev/ar0 fsck -f -n /dev/ad4 fsck -f -n /dev/ad6 This way (hopefully) you'll be able to establish which one of the disks in the array has developed problems. Then reboot and rebuild the array from the other disk using the controllers firmware. Ruben Cheers Jesse PS: FreeBSD 4.6.2-RELEASE atapci1: Promise ATA100 controller port 0xdc00-0xdc3f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 mem 0xdffe-0xdfff irq 11 at device 16.0 on pci0 ar0: 76293MB ATA RAID1 array [9726/255/63] status: READY subdisks: 0 READY ad4: 76319MB ST380021A [155061/16/63] at ata2-master UDMA100 1 READY ad6: 76319MB ST380021A [155061/16/63] at ata3-master UDMA100 # atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 LG DVD-ROM DRD-8160B/1.01 ATA/ATAPI rev 0 Slave: no device present ATA channel 2: Master: ad4 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ___ [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]
Re: applications
On Wed, 3 Sep 2003 09:26:30 -0700, Joshua Oreman [EMAIL PROTECTED] said: On Wed, Sep 03, 2003 at 12:01:58PM -0400 or thereabouts, Doug Love wrote: A friend recommends your OS over Linux for my home system. I've taken a 2 day Linux Admin course, and know just about that much. I don't see a quick answer on your webpages to my questions. Where can I find Fortran Basic Search the ports; I don't know about those languages. Here's a web page with links to the various categories in which the 9037+ applications ported to FreeBSD can be found: URL: http://www.freebsd.org/ports/index.html In addition to the search function on that page, Google, Google Groups and any other search engine you like may be of help. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: applications
On Wed, 2003-09-03 at 12:01, Doug Love wrote: A friend recommends your OS over Linux for my home system. I've taken a 2 day Linux Admin course, and know just about that much. I don't see a quick answer on your webpages to my questions. Where can I find Fortran Basic A Database similar to Access Spreadsheets Pkzip You can search the FreeBSD ports collection here: http://www.freebsd.org/ports/ http://www.freshports.org/ As for databases, I'd recommend using PostgreSQL with a nice GUI/web frontend. There are several available that works on FreeBSD, including PGAccess and phpPgAdmin. However, I would NEVER consider PostgreSQL to be similar to Access. That'd be a huge insult to PostgreSQL. For spreadsheet, there's none better than gnumeric2. I think you'll be very happy with that one. For compression utilities, you'll find yourself using tar, bzip2, gzip, zip, and unzip, which are all included in the base OS. There's also a RAR compression tool in the ports, if you need it. I hear a lot about the system being a server, but all I need to do is browse the web and use email similar to Netscape. How easy is it to set up? FreeBSD is a fantastic OS for a workstation. For web browsing, I'd recommend either Galeon2 or Epiphany, depending on your needs. For email, go for either Evolution or Sylpheed, or the new Thunderbird port (once it's available). It's quite simple to set up, and there are dozens of pages out there to pretty much hold your hand on every step. You'll just need to make the effort to search and read! -- Adam McLaurin [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Old proliant memory detection
+--- On Wednesday, September 03, 2003 11:31, | Vince Hoffman proclaimed: | | Hi all, | I'm running 4.8-RELEASE on an ancient Dual P.Pro proliant, and its | not correctly detecting how much RAM i have, is there a way to tell | FreeBSD the correct amount? I'm sure i saw something on the list about | this a while back but my googling hasnt come up with anything. :( | Yeah, I have a couple old Proliant 5000R's, and this was always a problem for me. I added this statement to my kernel config to make it detect and use all of the memory: optionsMAXMEM=(128*1024) In this case, the 128 represents the amount of RAM you have in MB. From LINT: # MAXMEM specifies the amount of RAM on the machine; if this is not # specified, FreeBSD will first read the amount of memory from the CMOS # RAM, so the amount of memory will initially be limited to 64MB or 16MB # depending on the BIOS. If the BIOS reports 64MB, a memory probe will # then attempt to detect the installed amount of RAM. If this probe # fails to detect 64MB RAM you will have to use the MAXMEM option. # The amount is in kilobytes, so for a machine with 128MB of RAM, it would # be 131072 (128 * 1024). -- Mike perl -e 'print unpack(u,88V]N=%C=\!I;F9O(EN(AE861EG,*);' pgp0.pgp Description: signature
RE: Old proliant memory detection
+--- On Wednesday, September 03, 2003 11:31, | Vince Hoffman proclaimed: | | Hi all, | I'm running 4.8-RELEASE on an ancient Dual P.Pro proliant, and its | not correctly detecting how much RAM i have, is there a way to tell | FreeBSD the correct amount? I'm sure i saw something on the list about | this a while back but my googling hasnt come up with anything. :( | Yeah, I have a couple old Proliant 5000R's, and this was always a problem for me. I added this statement to my kernel config to make it detect and use all of the memory: optionsMAXMEM=(128*1024) In this case, the 128 represents the amount of RAM you have in MB. Just the thing. Thanks very much. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: applications
On Wed, Sep 03, 2003 at 12:01:58PM -0400, Doug Love wrote: A friend recommends your OS over Linux for my home system. I've taken a 2 day Linux Admin course, and know just about that much. I don't see a quick answer on your webpages to my questions. Where can I find Fortran f77 -- part of gcc, comes with the base system. Basic Various ports: http://www.freebsd.org/cgi/url.cgi?ports/lang/bwbasic/pkg-descr http://www.freebsd.org/cgi/url.cgi?ports/lang/pbasic/pkg-descr http://www.freebsd.org/cgi/url.cgi?ports/lang/yabasic/pkg-descr A Database similar to Access Well, there are a few to choose from in http://www.freebsd.org/ports/databases.html. The most popular are: http://www.freebsd.org/cgi/url.cgi?ports/databases/mysql40-server/pkg-descr http://www.freebsd.org/cgi/url.cgi?ports/databases/postgresql7/pkg-descr But those are full-featured RDBMSes, and probably a bit too heavyweight for your purposes. Spreadsheets http://www.freebsd.org/cgi/url.cgi?ports/math/gnumeric2/pkg-descr http://www.freebsd.org/cgi/url.cgi?ports/editors/openoffice/pkg-descr Pkzip http://www.freebsd.org/cgi/url.cgi?ports/archivers/zip/pkg-descr I hear a lot about the system being a server, but all I need to do is browse the web and use email similar to Netscape. How easy is it to set up? In my opinion, not that hard at all. Of course I've been using FreeBSD day in, day out for many years so I would say that, wouldn't I? It will be a learning experience if you've never used a Unixoid system before -- in which case, it would be a good idea to pick up one of the many fine FreeBSD guide books of which a selection can be found here: http://www.freebsdmall.com/cgi-bin/fm/search?id=qoBA4QWCmv_pc=6 Greg Lehey's The Complete FreeBSD, 4th Ed. is I think the latest available, but there are 3 or 4 alternatives covering similar ground, such as FreeBSD Unleashed by Michael Urban or Absolute BSD: The Ultimate Guide to FreeBSD by Michael Lucas. Not forgetting the Handbook, which is on-line at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html 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
Re: .ko files in /boot/kernel
Malcolm Kay wrote: [ ... ] But; how much memory do you have? Your kernel is about 2Mb smaller than the one I'm using but the difference represents about 0.4% of my total memory which I suspect is almost always incompletely used. Could I ever see [any] effective difference with an optimised kernel? Yes, although the difference is likely to not be noticable for most tasks. However, saving memory is sort of like reducing the amount that a bicycle weighs. A difference of a few hundred grams won't be noticable most of the time compared with ~50 kg of the rider+bike, but for some trips-- particularly over the long hau;-- every little bit helps. There's more to the analogy: reducing the size of the kernel is more useful than saving memory elsewhere in much the same way that reducing the weight of bicycle tires counts more than reducing the weight of the frame. Reducing tire weight affects not just total mass but the amount of rotational interia as well. Reducing the size of the kernel rather than some random userland process (like /bin/sh) reduces the amount of wired down memory and saves KVA. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuration files after portupgrade horde and imp
Le Mer 3 sep 03 à 11:48:01 +0200, Heinrich Rebehn [EMAIL PROTECTED] écrivait : Hi lists, Hello, I just upgraded horde and php on our server via portupgrade. After the upgrade nothing was working anymore, it was impossible to login to horde anymore. I noticed that my horde/imp configuration files had been replced by the default files. My old files had been saved as filename.bak. Is this expected behaviour? Wouldn't it be better to leave the config files intact and install the new ones as filename.dist.new or something similar? This way the application would still be working after the upgrade and i would have time to inspect the new default config files for changes without being disturbed by users complaining that they can't use their webmail interface anymore? This is a known problem, and unfortunately, I have not yet found a satisfying solution. Usually, the configuration files of a release n don't work anymore with release n+1. Previous configuration files are backuped as .previous, and I personally use gvimdiff to copy changes to the new files. Actually, we would need a kind of mergemaster... Any better ideas or patches are welcome! Regards, -- Th. Thomas. pgp0.pgp Description: PGP signature
postgresql port install problem due to libintl.so.4
Alex, I'm having the same problem you had below. Did you find a fix? I haven't tested it yet, but as a quick fix to get it to build, I created a soft link to /usr/local/lib/libintl.so.5 I installed gettext as suggested, but that didn't fix it. Any suggestions? Thanks Peter Brezny purplecat.net Subject: Re: Error, make, postgresql From: [EMAIL PROTECTED] (Lowell Gilbert) Newsgroups: freebsd.questions Organization: TAC News Gateway Date: Aug 05 2003 00:15:54 References: 1 Alex Zivenko [EMAIL PROTECTED] writes: I have an error making postgresql. All files I have in my /usr/ports/distfiles dir. After command make -D FORCE_PKG_REGISTER it runs, but giving error: Shared library intl.4 not found What shall I do? In the latest ports, at least, libintl.so.4 comes from the gettext port, which is only a dependency of the postgresql ports if you are building nls support. The mechanisms vary somewhat between the various postgresql ports, and you didn't mention which one you were trying, so there isn't any more we can tell you at the moment. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Peter Brezny purplecat.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: applications
On Wednesday 03 September 2003 11:01 am, Doug Love wrote: A friend recommends your OS over Linux for my home system. I've taken a 2 day Linux Admin course, and know just about that much. I don't see a quick answer on your webpages to my questions. Where can I find Fortran Basic A Database similar to Access There are no products similar to MS Access. MS Access is a **desktop** database with good connectivity and some **nifty** RAD/GUI tools. Even with Codeweaver's CrossOffice 2.0, however, MS Access has memory problems running on Linux. (This is from personal experience.) Database servers include PostgreSQL and MySQL (there are others). If you tend to push your hardware limits, I recommend PostgreSQL on FreeBSD over either database on Linux. (I've tried both databases on Linux and FreeBSD on the same hardware. Your Mileage May Vary.) Privilege administration is easier in MySQL since it allows the use of wildcards in place of database and table names. MySQL, however, does not have a boolean (true/false, yes/no) data type. ODBC drivers are available for both PostgreSQL and MySQL. Using MS Access as a GUI, client to PostgreSQL or MySQL works very well for applications and data analysis; but is not a good choice for database server administration. Spreadsheets Spreadsheet programs include gnumeric, OpenOffice and Kspread. Pkzip There are various compression utilities. I actually prefer to use gzip on the command line in both FreeBSD and Windows. There is also a GUI gzip for Windows: wingz. I hear a lot about the system being a server, but all I need to do is browse the web and use email similar to Netscape. How easy is it to set up? Install a desktop and run Mozilla, which is at the core of Netscape. It will look very familiar. It includes the browser, email client, etc. Be Advised: There is a Supply-Side Economics aspect to FreeBSD. You may find that the possibilities increase your needs.;-) -- Douglas L. Love, Database Administrator [EMAIL PROTECTED] UMUC Faculty Recruitment SFSC Room 3271FPhone: 301 985 7071 3501 University Blvd. East Fax: 301 985 7075 Adelphi, MD 20783 Have fun, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to start gnome?
I just loaded Gnome 2.2.2 from ports. Does anyone know the command to put into .xinitrc to run gnome2? I tried the following: exec gnome exec gnome2 They do not work. Thanks in advance, Ron Clark __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Host system type: i386-unknown-freebsd5.1
Seamus Abshere wrote: When I run ./configure on my machine, I get this: checking host system type... i386-unknown-freebsd5.1 If the unknown were *known*, what else could this say? architecture-vendor-OS That's the vendor part; some of the ports use portbld, I believe. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start gnome?
On Wed, Sep 03, 2003 at 10:58:51AM -0700, Ronnie Clark wrote: I just loaded Gnome 2.2.2 from ports. Does anyone know the command to put into .xinitrc to run gnome2? I tried the following: exec gnome exec gnome2 They do not work. To run it from the command line, gdm. To run at boot, as the docs say: - Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm hanging or restarting constantly. Instead, copy the included gdm.sh.sample script to gdm.sh, and restart. This script is found, by default, in /usr/X11R6/etc/rc.d. HTH. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start gnome?
On Wed, Sep 03, 2003 at 10:58:51AM -0700 or thereabouts, Ronnie Clark wrote: I just loaded Gnome 2.2.2 from ports. Does anyone know the command to put into .xinitrc to run gnome2? I tried the following: exec gnome exec gnome2 They do not work. exec gnome-session perhaps? -- Josh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Raid Implemntation
Rathan Varghese wrote: a) implementing disk mirroring in Free BSD server (for both System Datafiles) This has already been answered. vinum, ccd. b) Is it possible to make any backup NIS server, which will backup the data will come up when Primary server goes down. Yes, it's possible to promote a backup NIS server to be the master if the master NIS server goes down. Normally, that level of failover doesn't need to happen: if you have a problem and the master goes down, the clone server stays up read-only while you fix the master. You'd promote the backup/clone NIS server only if you couldn't fix or restore the master... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer quicktime killing me
Monah Baki wrote: Hi, I got mplayer and openquicktime running 3 days ago, don't know how I did and I can't seem to replicate the procedure. I'm running 5.1/Windowmaker, and I know I need to install from ports: multimedia/openquicktime multimedia/mplayer www/mplayer-plugin www/mozilla (1.4) Reading config file /usr/local/share/mplayer/mplayer.conf: no such file or directory Can't load font bitmap: iso-8859-1-a.raw You have to install mplayer-fonts, too. Or make user-install in the ports to generate a config. Hendrik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to Get Public IP From LinkSys Router?
I need to get my public IP address from a LinkSys cable router and don't have any idea where to start. The LinkSys is doing NAT and my FBSD box in on the private network on the inside. What commands and/or ports are there that would provide the public IP address from the command line so I pass the IP to a script? Any ideas? Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to Get Public IP From LinkSys Router?
I need to get my public IP address from a LinkSys cable router and don't have any idea where to start. The LinkSys is doing NAT and my FBSD box in on the private network on the inside. What commands and/or ports are there that would provide the public IP address from the command line so I pass the IP to a script? Any ideas? The way I do it with my router (BEFW11S4 V2) is to use lynx to download the HTML status page from the router and extract the public IP address. I do this in a cron job every 15 minutes, and when it notices an IP change, it fires off my dynamic DNS updates. -- Matt Emmerton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File permissions suddenly change for /dev/null.
On Tue, 2 Sep 2003, Ed Alley wrote: I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null gets mysteriously changed by some unknown process to: crw--- 1 root wheel 2, 2 Sep 2 11:20 /dev/null On Tue, 2 Sep 2003, David Landgren wrote: ..., the moral of the story is, what have you installed recently? On Tue, 2 Sep 2003, Matthew Seaman wrote: ... It would have to be a root-owned process ... On Tue, 2 Sep 2003, Scott Kupferschmidt wrote: I had the same problem and still unable to figure it out.. I thankyou all for the above comments. They were helpful to me in finding the problem: When I thought about it for a time I realized that it happens on days that I was doing administrative work as ROOT! It was NETSCAPE! running under root. It turns out that I periodically tweak our router via Netscape. If I happen to be logged in as root on my FreeBSD terminal when I log into the router with Netscape, then after I'm finished with my work and close Netscape, I find that the permissions on /dev/null have been reset to: crw---. I'm running Netscape-4.76. I also have a late version of Mozilla installed which doesn't seem to mangle the file permissions on /dev/null the way Netscape does. I also don't need to be logged in as root when I run Netscape to tweak the router, it just happens that when I'm doing other administrative stuff I think to look at the router also. (:-) Ed Alley [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding freebsd boot to grub
On Wed, 03 Sep 2003 12:16:39 -0700 Desmond Lee [EMAIL PROTECTED] wrote: | Hello | | I was originally running win98 and freebsd4.8 on a box with 2 hard | drives. 1 disk had win98 and the other had freebsd. Everything worked | fine. But I then installed redhat 9.0 on the first disk with win 98. Now | the Grub only knows how to boot dos and linux, but no freebsd. There is | a article about this on the freebsd page: | http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/ch3.html. | This is almost the same scenario as me. However, I do not want to do a | complete install of all 3 operating systems. Is it possible to just | reinstall freebsd on my 2nd hard drive again and get grub to recognize | it is there? | | Thanks | | Desmond What I did in menu.lst : # For booting FreeBSD title FreeBSD 5.1 root (hd1,0,a)# second hd, slice0, part a = '/' makeactive chainloader +1 mess-mate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to run a program as a daemon
I am running tmda-ofmipd for my smtp server and occasionally it dies. I wonder how I could set it up to run so that if it dies for some reason, it will start up again. Right now, it starts in my rc.local like so; /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd The only way I can think of doing it is to set up a crontab entry to a program that would check if it is still running, and if it is not, then have it start it again. I was hoping there is an easier way, maybe by putting it in inetd.conf or something... -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding freebsd boot to grub
On Wed, Sep 03, 2003 at 12:16:39PM -0700 or thereabouts, Desmond Lee wrote: Hello I was originally running win98 and freebsd4.8 on a box with 2 hard drives. 1 disk had win98 and the other had freebsd. Everything worked fine. But I then installed redhat 9.0 on the first disk with win 98. Now the Grub only knows how to boot dos and linux, but no freebsd. There is a article about this on the freebsd page: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/ch3.html. This is almost the same scenario as me. However, I do not want to do a complete install of all 3 operating systems. Is it possible to just reinstall freebsd on my 2nd hard drive again and get grub to recognize it is there? See what DOS and Linux do. If one of those actually boots FreeBSD, rename it. If not, do this at the grub prompt (assuming your FBSD slice is (hd1,1) in GRUB): grub rootnoverify (hd1,1) grub chainloader +1 grub boot -or- (this one's better) grub root (hd1,1,a) grub kernel /boot/loader grub boot -- Josh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to run a program as a daemon
On Wed, Sep 03, 2003 at 03:42:59PM -0400 or thereabouts, David Banning wrote: I am running tmda-ofmipd for my smtp server and occasionally it dies. I wonder how I could set it up to run so that if it dies for some reason, it will start up again. Right now, it starts in my rc.local like so; /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd The only way I can think of doing it is to set up a crontab entry to a program that would check if it is still running, and if it is not, then have it start it again. I was hoping there is an easier way, maybe by putting it in inetd.conf or something... You can use /etc/ttys for this (despite the name). -- Josh -- ___ [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]
Re: how to run a program as a daemon
David Banning wrote: I am running tmda-ofmipd for my smtp server and occasionally it dies. I wonder how I could set it up to run so that if it dies for some reason, it will start up again. Right now, it starts in my rc.local like so; /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd Look at DJB's daemontools, perhaps. But the general idea is that you have a monitor script which looks like: #! /bin/sh while : ; do /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd echo TMDA daemon died! Restarting in 5 seconds... sleep 5 done -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with dhclient....
I have looked through all the help files that I can find, handbook and such (along with the Complete FreeBSD book).. And I just can't seem to solve this problem: I am setting up high speed internet for a Cable Modem. My cable provider uses a DHCP setup, thus I have to use dhclient. I am running an NC100 ethernet card (using the tulip.o driver) - That seems to be working fine (As it will obtain the DHCP information from my router when it is setup). However, whenever I set my router to bridging (as I want to be able to connect to the box when I'm away from home, and NATting doesn't work real well for that), the box can't seem to use DHCP to get it's information. My ISP provisions for 3 IP addresses, and I'm only using one other (and I have checked to make sure that any previous are released from the modem itself). I'm pulling an IP of 0.0.0.0 when I use ifconfig. I've also went through my rc.conf file to make sure everything is setup.it seems okay. Any ideas? Am I missing something obvious? Thanks in advance for the help! (Please send email directly back to this email address if any other information is needed, or you have a suggestion!) Replyto:[EMAIL PROTECTED] Chris. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Swiger Sent: Wednesday, September 03, 2003 2:56 PM To: David Banning Cc: [EMAIL PROTECTED] Subject: Re: how to run a program as a daemon David Banning wrote: I am running tmda-ofmipd for my smtp server and occasionally it dies. I wonder how I could set it up to run so that if it dies for some reason, it will start up again. Right now, it starts in my rc.local like so; /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd Look at DJB's daemontools, perhaps. But the general idea is that you have a monitor script which looks like: #! /bin/sh while : ; do /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd echo TMDA daemon died! Restarting in 5 seconds... sleep 5 done -- -Chuck ___ [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]
Re: how to run a program as a daemon
You can use /etc/ttys for this (despite the name). Oh my! How clever. That had never occurred to me. I chose the crontab entry method to keep the daemon half of SpamAssassin running. This is more elegant. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]