Libraries not being put into hints file on reboot
Everytime my freebsd box reboots (No, I can't afford a ups that keeps me up through the 5 hour FPL blackouts g), it seems that libglib12.so.3 isn't being read by ldconfig, but the file is present. The program having the problem is bitlbee, which starts, but doesn't let you connect. bash-2.05$ telnet localhost 6667 Trying 127.0.0.1. Connected to 127.0.0.1 Escape character is '^]'. /usr/libexec/ld-elf.so.1: Shared object libglib12.so.3 not found Connection closed by foreign host. I checked ldconfig: bash-2.05a# ldconfig -r | grep glib 110:-lglib-2.0.200 = /usr/local/lib/libglib-2.0.so.200 115:-lglib-1.2.0 = /usr/local/lib/libglib-1.2.so.0 bash-2.05a# ls -l /usr/local/lib/libglib12.so.3 -rwxr-xr-x 1 root wheel 162897 Nov 30 02:47 /usr/local/lib/libglib12.so.3 However, if I reinstall the port, it works: bash-2.05a# make install | more === Installing for glib-1.2.10_10 === glib-1.2.10_10 depends on executable: pkg-config - found ...[snip]... === Running ldconfig /sbin/ldconfig -m /usr/local/lib === Registering installation for glib-1.2.10_10 bash-2.05a# telnet localhost 6667 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. :localhost NOTICE AUTH :BitlBee-IRCd initialized, please go on I have /usr/local/lib/ in /etc/ld.so.conf, and I added it to /etc/ld-elf.so.conf, but the problem still occurs every time. Has anyone run into something like this before? Thanks in advance. Why would burgulars need to look for a backdoor when they can climb in through Windows? --Norman L DeForest, in NANAE You know how dumb the average luser is? Well, half of 'em are dumber than that -- The Roadie, in NANAE ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Sun, Nov 30, 2003 at 01:23:33AM -0500, Gerard Samuel wrote: On Sunday 30 November 2003 12:01 am, Gary Kline wrote: Looks like I'm missing /usr/local/bin/php, and lang/php4 is broken. I already have the mod_php4 port installed-- and working. FUDforums2 is looking for the php bnary, if I'm interpreting the installation message correctly. Any advice, now that the code freeze is on? gary I just did complete installs of php/apache/mysql/postgresql from ports (that were pulled just this evening) about 2-3 hours ago. No problems installing them. Make sure you have the latest ports... I upgrade ports evry night so my ports tree is current. Another look at the php4 build clued me in. It was a one-line hack to the Makefile... . -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2003-11-09 - 2003-11-29
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: view postscript files from mozilla?
On Sun, 30 Nov 2003, Joe Marcus Clarke wrote: On Sun, 2003-11-30 at 01:07, Peter Ulrich Kruppa wrote: Hi! Many - especially scientific - sites publish in postscript (.ps) format. I always have to save these files to my local harddisk, before I can open them in ggv. Has anybody worked out, how these files can be rendered directly via mozilla? Checkout www/mozilla-bonobo. Great! Thanks, Uli. Joe +---+ |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: sendmail newbie question
On Sat, Nov 29, 2003 at 08:36:57PM -0500, Marty Landman wrote: [Problems sending mail...] In a moment. First I'll say what I do know: - there is a /var/mail/Marty, empty - emails to Marty go to root's mailbox with the message user unknown I don't know much. :) I did sendmails to [EMAIL PROTECTED] and [EMAIL PROTECTED] and this is what appended to /var/log/maillog Try changing your user account to 'marty' -- all lower case. Use vipw(8) to do that. In general under Unix, usernames are almost always all lower case and so are most host and domainnames. The problem is that sendmail(8) [ or any standards compliant MTA ] expects e-mail addresses to be case insensitive. The DNS copes pretty well with the host part -- if you look carefully, you'll see that the FreeBSD mailer uses '[EMAIL PROTECTED]' and '[EMAIL PROTECTED]' pretty much interchangeably. In fact, sendmail(8) will always match domainnames case insensitively, but will preserve the case of any addresses it processes. The tricky part is the username -- here sendmail just passes the username through in whatever case it gets *except* when it does final delivery (ie. when it passes the message to the local delivery agent). At that point, it maps the username to lowercase -- for historical reasons: when sendmail started out there were mail systems that didn't understand the distinction between lower case and upper case at all, and the addresses on e-mails passing through those systems would get case folded. However on unix systems, user 'Marty' is not automatically the same as user 'marty' or as user 'MARTY'. Such systems have long since vanished from the net, but I have a sneaking suspicion that even nowadays some windows mailers may decide that they know best how to capitalise names and will silently correct them for you. It is possible to set up sendmail to preserve the case of usernames but doing so would mean your mail system wouldn't be standards compliant, so I'll keep quiet on the issue -- unless anyone really does have a burning desire to know how? 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
How to determine which distribution sets were installed
Hello, is there an easy way to determine which distribution sets were installed during the FreeBSD installation and after that? I inherited a server and want to make sure what is and is not installed. Of course I can do all of this manually, but I was hoping FreeBSD keeps a log or something somewhere. Thanks! Kind regards, Paul van Berlo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw + ppp config problem
Hi guys, I need help for setting up my ipfw, at the moment Ive got 2 computers one running freebsd 4.9 stable and the other one is windows XP connecting to the internet using dial up (wich is ppp) with static ip, I already compile the kernel to enable firewall as well seting up the rc.conf and the firewall rules (firewall_rules) as describe below: rc.conf gateway_enable=YES inetd_enable=YES # # Firewall Configuration # firewall_enable=YES firewall_quiet=YES firewall_type=/usr/local/etc/firewall_rules firewall_flags=-p cpp \ -D INT_IF=rl0 \ -D INT_ADDR=192.168.0.1 \ -D INT_NET=192.168.0.0/16 \ -D EXT_IF=tun0 \ -D EXT_ADDR=202.24.54.145 \ -D EXT_NET=202.24.54.145/27 \ -D LOG_DROPPED_PACKETS \ -D ALLOW_ALL_ICMP \ -D ALLOW_ACTIVE_FTP \ -D ALLOW_TRACEROUTE \ -D LOCAL_NAME_SERVER\ -D LOCAL_TIME_SERVER\ -D LOCAL_VPN_SERVER \ -D ROUTE_INTERNAL_NET # Enable firewall debugging with8 # sysctl -w net.inet.ip.fw.verbose=1 # and look at /var/log/security # # NAT Configuration # # run NAT on the public interface #natd_enable=YES #natd_interface=tun0 #natd_flags=-log_denied -use_sockets # for testing NAT #natd_flags=$natd_flags -verbose firewall_rules #ifdef DROP_SILENT # ifdef LOG_DROPPED_PACKETS # define BLOCK_TCPdeny log # define BLOCK_UDPdeny log # define BLOCK_ICMP deny log # else # define BLOCK_TCPdeny # define BLOCK_UDPdeny # define BLOCK_ICMP deny # endif #else # ifdef LOG_DROPPED_PACKETS # define BLOCK_TCPreset log # define BLOCK_UDPunreach port log # define BLOCK_ICMP unreach filter-prohib log # else # define BLOCK_TCPreset # define BLOCK_UDPunreach port # define BLOCK_ICMP unreach filter-prohib # endif #endif /*** IP **/ // filter out all bogus packets at the external interface add 00990 skipto 2100 ip from any to EXT_ADDR in recv EXT_IF add 00999 deny all from any to any in recv EXT_IF // hand off packets to natd; they will be reinjected, with the address // translated, into the next rule #ifdef DIVERT_TO_NATD #add 01000 divert natd ip from any to any via EXT_IF #endif // prevent spoofing add 02100 deny all from INT_NET to any in via EXT_IF add 02110 deny all from EXT_NET to any in via INT_IF #ifdef ROUTE_INTERNAL_NET // allow all packets from the internal network, on any interface add 02300 allow all from INT_NET to any #else add 02300 allow all from INT_ADDR to INT_NET via INT_IF #endif #ifdef LOCAL_VPN_SERVER add 02400 allow gre from any to any via EXT_IF #endif /*** TCP / // allow all established connections add 03000 allow tcp from any to any established // allow outgoing TCP setups from the local host, and from the internal // network add 03100 allow tcp from EXT_ADDR to any out via EXT_IF //add 03110 allow tcp from INT_NET to any in recv INT_IF setup // allow the return TCP connection for FTP data session #ifdef ALLOW_ACTIVE_FTP add 03200 allow tcp from any 20 to EXT_ADDR in recv EXT_IF setup add 03210 allow tcp from any 20 to INT_NET // out xmit INT_IF setup #endif // allow SMTP to the local host add 03300 allow tcp from any to EXT_ADDR smtp in recv EXT_IF setup // allow SSH to the local host add 03400 allow tcp from any to EXT_ADDR ssh in recv EXT_IF setup #ifdef LOCAL_NAME_SERVER // allow zone transfers to the outside world add 03500 allow tcp from any to EXT_ADDR domain in recv EXT_IF setup #endif #ifdef LOCAL_VPN_SERVER // allow traffic to PPTP daemon add 03600 allow tcp from any to EXT_ADDR pptp in recv EXT_IF setup // all other TCP connections are blocked add 03900 BLOCK_TCP tcp from any to any in via EXT_IF /*** UDP / // allow client DNS queries to the outside from this machine // (domain = DNS port number) add 04000 allow udp from any domain to EXT_ADDR add 04010 allow udp from EXT_ADDR to any domain #ifdef LOCAL_NAME_SERVER // allow client DNS queries from the internal net to
Re: php4...
On Sat, Nov 29, 2003 at 09:01:22PM -0800, Gary Kline wrote: Looks like I'm missing /usr/local/bin/php, and lang/php4 is broken. I already have the mod_php4 port installed-- and working. FUDforums2 is looking for the php bnary, if I'm interpreting the installation message correctly. Any advice, now that the code freeze is on? Hmmm... % pkg_info -W /usr/local/bin/php /usr/local/bin/php was installed by package php4-4.3.4_2 % pkg_info -W /usr/local/libexec/apache/libphp4.so /usr/local/libexec/apache/libphp4.so was installed by package php4-4.3.4_2 I guess if you rip out www/mod_php4 and install lang/php4 instead, you'll get all of the bits you need. When you say 'lang/php4' is broken -- how so? I haven't had any trouble installing it from ports. It does have CONFLICTS settings so you can't install it simultaneously with any of the other php4 or php5 ports. 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: Continued 4.9-5.x upgrade problems.
On Sat, Nov 29, 2003 at 09:45:56PM -0800, Minnesota Slinky wrote: Also, does anyone know why my emails continue to be rejected from my laptop with the following error: Hi. This is the qmail-send program at radicalv.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: 216.136.204.125 failed after I sent the message. Remote host said: 550 Error: Message content rejected You've been blacklisted in SPEWS: http://www.openrbl.org/ip/216/118/91/17.htm http://www.openrbl.org/zones/SPEWS?216.118.91.17 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: How to determine which distribution sets were installed
On Sun, Nov 30, 2003 at 10:24:48AM +0100, Paul van Berlo wrote: is there an easy way to determine which distribution sets were installed during the FreeBSD installation and after that? I inherited a server and want to make sure what is and is not installed. Of course I can do all of this manually, but I was hoping FreeBSD keeps a log or something somewhere. Well, you can assume that the base system was installed or you wouldn't have a machine to run. The other stuff you can install at that stage from sysinstall(8) is basically the contents of /usr/src or /usr/ports -- so if there's stuff under those directories then you can definitely say that *more* than base was installed. However, don't assume that everything necessarily was installed through sysinstall(8) -- it's common to maintain the system sources and the ports tree using cvsup(1): see the contents of /usr/sup for a log of what has been installed. Look at the timestamps on the files under /usr/obj to see when the system was last rebuilt. Or use the 'uname' command to show when the running kernel was compiled: % uname -v The third big chunk of stuff that you can install from sysinstall(8) are pkgs -- although these are generally installed either using the pkg_* tools from a running system, or (preferably) by compiling the port. Either way, you can get a listing of what's installed by: % pkg_info -Ia (or even just 'ls -la /var/db/pkg'). See also pkg_version(1) for comparing the version numbers of what's installed with what's available in your ports tree. 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: No reference to files ???
On Sat, Nov 29, 2003 at 09:20:17PM -0500, Xpression wrote: Hi all, I'm wondering if there is a way to show man pages and access files like if they were on $PATH, I mean when I compile a package and install it, there are no reference to man pages and the executable like when I install it from the CD... I don't really understand what you're asking here. Do you mean something like -- If I have more than one version of a program installed at different locations on my $PATH, can I arrange for the man(1) command to show me the man page corresponding to the version of the program that comes first on the $PATH? If so, then: Yes. In fact it happens automatically. eg: % env PATH=/usr/local/bin:$PATH man dig | head -10 DIG(1) DIG(1) NAME dig - DNS lookup utility SYNOPSIS dig [ @server ] [ -b address ] [ -c class ] [ -f filename ] [ -k filename ] [ -p port# ] [ -t type ] [ -x addr ] [ -y name:key ] [ which is the man page for dig(1) from the bind9 port -- compare to: % man dig | head -10 DIG(1) FreeBSD General Commands Manual DIG(1) NAME dig -- send domain name query packets to name servers SYNOPSIS dig [EMAIL PROTECTED] domain [query-type] [query-class] [+query-option] [-dig-option] [%comment] DESCRIPTION which is the man page for dig(1) from the bind8 version bundled with the system. This is all controlled by the manpath(1) utility built into the man(1) command. See also /etc/manpath.config % manpath /usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/local/jdk1.4.2/man:/usr/share/perl/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.8.2/man:/usr/local/lib/perl5/5.00503/man If you want to overrule where or in what order the man command searches for man pages, you can tell it to look in specific places on the command line: % man -M /usr/local/man:/usr/X11R6/man dig If you want to see what man pages are available for a specific command: % man -a -w dig /usr/share/man/cat1/dig.1.gz (source: /usr/share/man/man1/dig.1.gz) /usr/local/man/cat1/dig.1.gz (source: /usr/local/man/man1/dig.1.gz) There's plenty of other knobs to twiddle to do with the man command, all described faithfully in various man pages, but I'll leave it as an exercise for you to find them. 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
A fast / batch way for checking mp3 and movies ?
Hi, Do to a corupted southbridge on myu old mobo I've found myself with about 50G of mp3s and movies some ok some corrupted. Does anyone know of what tools I could use to batch check them. I would need something like a list of those that are corrupted. Thanks, -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A fast / batch way for checking mp3 and movies ?
On Sunday 30 November 2003 12:58, Ion-Mihai Tetcu wrote: Do to a corupted southbridge on myu old mobo I've found myself with about 50G of mp3s and movies some ok some corrupted. Does anyone know of what tools I could use to batch check them. I would need something like a list of those that are corrupted. There's audio/mp3_check which accepts an arbitrary number of files (ie: you can wrap it in find+xargs). I'm not sure how much time this may cost though. As for video: this entirely depends on the format and what 'corrupted' means exactly. A corrupted header might be easy to find, but other than that, most (if not all) video formats allow for arbitrary lengths, which means that each frame has it's own checksum or equivalent. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
On Sunday 30 November 2003 08:54, Gary Kline wrote: Another look at the php4 build clued me in. It was a one-line hack to the Makefile... . You shouldn't hack the Makefile, cause now you have both www/mod_php4 and lang/php4 installed and screwed up dependencies. You should uninstall www/mod_php4 (just force it). Then install lang/php4. The lang/php4 port will check for the existence of an apache installation and install the apache module (which is www/mod_php4) accordingly. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: FIRST INSTALL QUESTION
On Sat, 29 Nov 2003 21:58:55 -0800 ADSBANNERS [EMAIL PROTECTED] wrote: 20031129 LAS VEGAS NV 89102 USA [EMAIL PROTECTED] SUBJECT: FIRST INSTALL QUESTION http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/ch5.html I purchased SAMS FreeBSD (4.7) in 24 Hours and everything is pretty clear, except there isn't any example (neither on freebsd.org) that precisely reflects my hardware configuration, namely.. Pentium II w/ orig 10GB HDD (now clean install WIN98SE) + 2d (HDD01) 40GB HDD which is not bootable, used only for backup (local and LAN). My updated hp Phoenix BIOS v 1.09 w/LBA support recognised the second hard drive w/o problem and it works fine. I was hoping that I could partition only the 2d hard drive and install the boot manager included on the CD (easy boot I guess) on the 2d hard drive, until I read the FAQs online that mentioned this boot manager uses the MBR - which must be located on the original, bootable hard drive (I have never used a boot manager unless Windows 98 Start-up Menu qualifies). You should install FreeBSD's boot manager (it's the easy way) on the firts disc (ad0) and on the disk on which you put FreeBSD. When booting it will promt you with something like: F1 DOS F5 Drive 2 If you'll choose F1 it will boot you win98 (and you will get here the Windows 98 Start-up Menu). If you'll choose F5 it will promt with something like: F1 DOS F2 FreeBSD F5 Drive 1 choose F2 to boot FreeBSD. man boot0cfg You might want do dig from the following link: http://www.freebsd.org/cgi/man.cgi?query=boot0cfgapropos=0sektion=0manpath=FreeBSD+5.1-RELEASE+and+Portsformat=html The FreeBSD `boot0' boot manager permits the operator to select from which disk and slice an i386 machine (PC) is booted. Note that what are referred to here as ``slices'' are typically called ``partitions'' in non-BSD documentation relating to the PC. Typically, only non-removable disks are sliced. The boot0cfg utility optionally installs the `boot0' boot manager on the specified disk; and allows various operational parameters to be config- ured. On PCs, a boot manager typically occupies sector 0 of a disk, which is known as the Master Boot Record (MBR). The MBR contains both code (to which control is passed by the PC BIOS) and data (an embedded table of defined slices). But then I noticed a reference (link above) to booting from DOS using FBSDBOOT.EXE and that got me to wondering if I could just partition ½ of the 2d hard drive for FreeBSD, install FreeBSD on that partition Yes, you could. and then boot to it using the Windows 98 Start-up Menu / DOS. Nop. It work like this: 1. The BIOS loads the code from MBR of the boot disk. 2. The MBR choose (or promt you to choose) what to load next. 3. This is where Windows 98 Start-up Menu get the control. Would FBSDBOOT.EXE find the BSD partition on the 2d hard drive? Would I just locate FBSDBOOT.EXE on the Windows partition of the 2d hard drive? Of course I'm trying to avoid partitioning the orig hard drive w/ WIN98SE, and I'd like to use the slave hard drive for both WIN98 backup and FreeBSD. Thank you. Installing FreeBSD's boot manager wil not break anything on you win98 install and doe not presume repartitionig. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD vs Samba machine account creation
Hello, Some time ago, I saw a thread on this list that had concluded that the adduser facility in FreeBSD had been amended so that samba machine accounts can be created with the required $ at the end of the desired machine user name. Is this not actually the case? I'd appreciate any information on this, please. I did check the man pages, but again, I could swear I read that thread., only because it reminded me of the problems I once had trying to get this to work some months prior. Thanks for the time. Regards, Stacey -- Stacey Roberts B. Sc (HONS) Computer Science Web: www.vickiandstacey.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Console ps2 mouse behavior control (was : Re: test)
Note: this should go on questions@, please follow up there. On Sun, 30 Nov 2003 14:07:53 +0100 Laurent Demaret [EMAIL PROTECTED] wrote: Le dimanche, 30 nov 2003, à 12:23 Europe/Paris, Dev Tugnait a écrit : its not quiet we are alive and kicking :) Good, let's see if you can kick me out from my mess ;-/ My basic purpose is to give my children a so much nice place on their pc than my one on my mac. Instead of their win98 .. So I rode lots of docs about freebsd (specialy handbook, faq, beginners), downloaded iso images of the 5.1release and started the install from cd. Everythings were almost nice the first time (with learning, reading, understanding behind) so far I tried to add wheel mouse to my configuration. It was a bad idea because the next time I started freebsd my rc.conf had a bad character (eof instead of backquote or whatever) on the 1456 th line (of a 1455 lines file). ?? 1455 lines - just curios - what did you put in there ? my desktop: it# wc -l /etc/rc.conf 21 /etc/rc.conf my router: buh# wc -l /etc/rc.conf 32 /etc/rc.conf Maybee because I made change with abiword ... Before that time I had been able to set up a good configuration for my ps2 mouse and it worked fine inside kde and even in console mode. Unable to make a new rc.conf from the bad one I made a new install of freebsd but probably not the good one as my kde taskbar don't have anymore direct to shell button. (I will have a look at that later). Alt+F2 -- konsole -- OK The main trouble I have now is to stop stupid behavior of my mouse : as soon I move it too fast or move a couple pixels to left it refuges itself on left edge of the screen. Tried to control that from kde but did not get any amelioration. Kde mouse is set to sysmouse so I would like to get a correct mouse behavior from sysinstall test mouse dialog. The best thing I can get now is with Microsoft IntelliMouse but pointer still go as quick as possible to left side of the screen, whichever protocol I use. I tried many ways to come back the first time I setted, tried to remember the good words to ask google but at least get exausted : how to configure freebsd mouse focus (to the macos one) in console mode ? auto give me the worse : each move of the mouse act as accept (or refuse ?) sysinstall dialog Is the mouse cursor moving Please send the output of: it# dmesg | grep ps2 or it# cat /var/run/dmesg.boot | grep psm man moused will give you some hints. Especilly: -d Enable debugging messages. -f Do not become a daemon and instead run as a foreground process. Useful for testing and debugging. -i info Print specified information and quit. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adaptive stealth in ipfw?
# [EMAIL PROTECTED] / 2003-11-28 12:58:33 -0500: On 11/28/03 06:11 PM, Christian Laursen sat at the `puter and typed: Louis LeBlanc [EMAIL PROTECTED] writes: I was introduced to a fantastic web site, http://www.grc.com/ which has some impressive information about security and a number of other things. Steve Gibsons 'Shields Up' web service will scan your system and tell you where your vulnerabilities lie, and explain the ports in pretty good detail. http://www.grcsucks.com/ Hmm. Interesting site. I'm sure I'll find some interesting stuff there too, but it looks like the person running the site has no greater pupose in life than character assassination. Not that he's altogether wrong. I'd have to read more and decide myself what I really think. I'm no security expert - I'm only going on what I *do* know (or think I know), so I'd just as soon not get into a flame war over who the idiot really is - I haven't much defense for myself in the security arena :). Still, if anyone *does* know the facts, I'd like to know what the case really is with the IDENT port and adaptive stealth. don't get carried away by the nonsense at grc.com. the marketroid-speak term adaptive stealth can be normally described as stateful filtering (and dropping the packets instead of rejecting them), and it means that (in case of TCP), the target machine throws away packets that: * don't have the SYN bit set (and the ACK bit unset) * are not part of an established conversation you can completely stealth a machine if it runs no publically available servers. the problem with ident is similar to FTP: the first connection goes from you out, the other party then tries to connect to you (as far as the stack is concerned, this is a completely unrelated connection). but, the question is: what is your problem? why do you need to have identd(8) running? will anything you need break without it? if not, the correct solution to your problem is IMO to *reject* connection attempts to your port 113. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adaptive stealth in ipfw?
# [EMAIL PROTECTED] / 2003-11-28 12:18:57 -0600: At 11:11 11/28/2003, Christian Laursen, wrote: Louis LeBlanc [EMAIL PROTECTED] writes: I was introduced to a fantastic web site, http://www.grc.com/ which has some impressive information about security and a number of other things. Steve Gibsons 'Shields Up' web service will scan your system and tell you where your vulnerabilities lie, and explain the ports in pretty good detail. http://www.grcsucks.com/ Hi Christian, I'd be very interested in seeing some fair criticism of what Steve Gibson is doing. However, www.GRCsucks.com seems to have a number of broken links. Where the links work, the verbiage seems to be more confusing than clarifying. Are there other sources that give valid criticism of Steve Gibson and GRC.com? there's one, it's called knowledge. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MySQL question...
Hi all, I've finished installing MySQL on FreeBSD-4.5 RELEASE, now I've to add the users to control their databases, but I'm confused...where they will write their databases or do I have to create each one, I'm running as mysql user, they will have access to /mysql sub-dir ??? Can I create a sub-dir for each user with full access to it and no access to anymore one ??? I've read the manual (Adding New Users) but it's a little confused, thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail newbie question
At 04:14 AM 11/30/2003, Matthew Seaman wrote: Try changing your user account to 'marty' -- all lower case. Use vipw(8) to do that. In general under Unix, usernames are almost always all lower case and so are most host and domainnames. Ohhh, didn't know that. Thanks Matthew, this worked. The problem is that sendmail(8) [ or any standards compliant MTA ] expects e-mail addresses to be case insensitive. I knew that emails to [EMAIL PROTECTED] [EMAIL PROTECTED] are both handled the same way, but assumed the case insensitivity was a feature of the whole enchilada if you know what I mean. The tricky part is the username -- here sendmail just passes the username through in whatever case it gets *except* when it does final delivery (ie. when it passes the message to the local delivery agent). At that point, it maps the username to lowercase [snip] However on unix systems, user 'Marty' is not automatically the same as user 'marty' or as user 'MARTY'. If I understand correctly you're saying that by and large, modern Unix systems are case sensitive but since email is not the mailbox name e.g. 'Marty' is converted to lower case at some point in processing even if mixed case is used by the person sending the email properly wrt the server's config it will still fail unless everything's all lower case because of the case conversion done behind the scenes? It is possible to set up sendmail to preserve the case of usernames but doing so would mean your mail system wouldn't be standards compliant, so I'll keep quiet on the issue -- unless anyone really does have a burning desire to know how? Not me, because that would mean [EMAIL PROTECTED] would be a different address than [EMAIL PROTECTED], right? I have to agree that this is not imo a good thing. However it would be nice if any comparisons that get poisoned by the case conversion were themselves case insensitive e.g. uid =~ /$uid/i [in Perl] so that I could still have Marty as a user on my server. This does seem to help explain why on my web accounts my uid is case insensitive. Albeit they must have an lc convertor on the front end because mixed case works as well as lower case. Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL question...
On Sunday 30 November 2003 17:36, Xpression wrote: Hi all, I've finished installing MySQL on FreeBSD-4.5 RELEASE, now I've to add the users to control their databases, but I'm confused... Right. Because this is not a FreeBSD issue but a MySQL issue. MySQL users have nothing to do with the local users for the operating system. You only need the 'mysql' user, which is created by the port, and read: http://www.mysql.com/doc/en/Privileges.html All databases will go under /var/db/mysql and the quick and dirty answer is: mysql -e GRANT ALL ON $dbname.* TO '$dbuser'@'localhost' IDENTIFIED BY '$userpasswd' -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
How to use a mirrord cvs repository
I have several machines at home at both (4) STABLE and (5) current. I as using cvsup on them to keep things current, but I thought it would be better if I would just mirror the whole cvs repository and then, on each build machine, grab the appropriate release and compile. There are several places which clearly describe how to do the cvs mirroring, but how do i use the mirror locally? I was successful in grabbing the repository. Thanks in advance. -- Stephen Corbesero Associate Professor of Computer Science Moravian College, Bethlehem, PA 18018 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use a mirrord cvs repository
On Sunday 30 November 2003 17:54, Stephen Corbesero wrote: There are several places which clearly describe how to do the cvs mirroring, but how do i use the mirror locally? I was successful in grabbing the repository.: Let's say you've mirrored the repository in /home/ncvs (like the default in cvs-supfile). On that machine, you mv /usr/src /usr/src.old. Then cd into /usr and: cvs -d/home/ncvs co -rYOUR_TAG_HERE src Edit /etc/make.conf: CVS_UPDATE= yes CVSROOT?= /home/ncvs Unset any SUP* variables to make the 'make update' target work correctly. Adjust the CVSROOT variable if you share the src mirror between machines. Have a look at the cvs(1) manpage for examples of that, allthough probably the best method is to have /home/ncvs available via NFS on the local network, because it doesn't require you to allow 'root' to ssh to other machines or setup a pserver. Remove /usr/src.old once your satisfied :) -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: sendmail newbie question
On Sun, Nov 30, 2003 at 11:48:18AM -0500, Marty Landman wrote: However on unix systems, user 'Marty' is not automatically the same as user 'marty' or as user 'MARTY'. If I understand correctly you're saying that by and large, modern Unix systems are case sensitive but since email is not the mailbox name e.g. 'Marty' is converted to lower case at some point in processing even if mixed case is used by the person sending the email properly wrt the server's config it will still fail unless everything's all lower case because of the case conversion done behind the scenes? Correct -- although Unix has been case sensitive since way back. It is possible to set up sendmail to preserve the case of usernames but doing so would mean your mail system wouldn't be standards compliant, so I'll keep quiet on the issue -- unless anyone really does have a burning desire to know how? Not me, because that would mean [EMAIL PROTECTED] would be a different address than [EMAIL PROTECTED], right? I have to agree that this is not imo a good thing. As I said above, trying to make your username mixed case will give you grief with e-mail. However, it's pretty easy to have an all lower case username and make your e-mail address appear in whatever case you want, so long as the system can map them back to your username in order to do final delivery. For sendmail, you'ld use genericstable to do the username - e-mail address translation on the outgoing messages and either aliases or virtusertable to translate e-mail address - username on the incoming stuff. Just add: FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl to your /etc/mail/`hostname`.mc (assuming you're starting by copying /etc/mail/freebsd.mc, which already has virtusertable enabled). Then create a file /etc/mail/genericstable containing: martyMarty (LHS is the username, RHS is the e-mail address: you can use the fully qualified [EMAIL PROTECTED] style if you want, or [EMAIL PROTECTED]). See aliases(5) for the syntax of the aliases file. virtusertable is just like genericstable except the columns are reversed and the e-mail address has to have an @... part: [EMAIL PROTECTED] marty Then run: # cd /etc/mail # make # make install # make restart-mta 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
lost labels
Greetings, I've encouted little difficuluty, don't know what exactly has happend, but after installing W2K on the other disk, disklabel on my primary disk disappeard /FREEBSD4.9/. Only thing I can do is to mount /dev/ad0s1 unforunately I can't access /dev/ad0s1[a-f] due to inccorect super block message. disklabel prints this: vanice# disklabel -r /dev/ad0s1 # /dev/ad0s1: type: ESDI disk: ad0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 4862 sectors/unit: 78124032 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 781240320unused0 0 # (Cyl.0 - 4862*) Is there a chance I can see my data again? Thank you Martin Vana ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
web site
Hi there, I'm IT Manager for a small company in Romania, Constanta which have a small copper/fiber network of about 40 users where I want to implement FreeBSD as default enduser platform. Currently i'm responsible for two websites: tnn.ath.cx (Tomis Nord Network) and www.freebsd.ro (which I would like to be a mirror to the www.freebsd.org). My request, if you wish to help me keep a tnn.ath.cx frame in sync with some sections in www.freebsd.org, and help me with www.freebsd.ro. Thank You Daniel Niculescu IT Manager, Netcaetera srl ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache has fallen [and it won't get up]
I must be getting somewhere cuz in the process of email working better Apache now won't come up. Last thing I did other than email config's (that shouldn't affect httpd, right?) was change my hostname in rc.conf. Then changed it right back. Rebooted [Sun Nov 30 11:14:53 2003] [alert] (EAI 7)No address associated with hostname: mod_unique_id: unable to find IPv4 address of SwamiSalami.face2interface.domain Configuration Failed This does raise a related issue in my mind, namely if it's not rc.conf that's messing me up then it could possibly be a myriad of things I did since last rebooting, maybe a week ago? Is this something one has to watch out for, i.e. problems introduced that don't manifest themselves until some arbitrary time in the future? Also [maybe an Apache not FBSD question] is there a difference between an Apache restart vs. a system reboot as far as config problems becoming manifest. I'm guessing that there is. Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
spin down ata drive
hi, i wonna spin down an ata drive which is used as backup drive so it doesnt need to run all the time. i googled the bit and found a lot of people having the same problem - but no solution :( with scsi it is no problem (i read) but ata ? is there any stable solution ? thx sebastian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache has fallen [and it won't get up]
On Sunday 30 November 2003 19:41, Marty Landman wrote: [Sun Nov 30 11:14:53 2003] [alert] (EAI 7)No address associated with hostname: mod_unique_id: unable to find IPv4 address of SwamiSalami.face2interface.domain Configuration Failed Disable mod_unique_id in httpd.conf to get it back up-and-running. The real error is probably in /etc/resolv.conf not pointing to a valid nameserver. Also [maybe an Apache not FBSD question] is there a difference between an Apache restart vs. a system reboot as far as config problems becoming manifest. I'm guessing that there is. No - there's a relation between mod_unique_id and DNS (and a relation between mod_unique_id and mod_user_track and a relation between HostNameLookups and DNS). -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
re: mplayer problem
|| || ||Just checking... do you have || ||options CPU_ENABLE_SSE ||options CPU_ATHLON_SSE_HACK || ||in your kernel config? || Neither of these are set. Alan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to determine which distribution sets were installed
On 0, Paul van Berlo [EMAIL PROTECTED] wrote: :Hello, : :is there an easy way to determine which distribution sets were installed :during the FreeBSD installation and after that? I inherited a server and :want to make sure what is and is not installed. Of course I can do all of :this manually, but I was hoping FreeBSD keeps a log or something :somewhere. I am not %100 sure, but I think you might have to do it manually. I don't think FreeBSD keeps records of what was originally chosen in /stand/sysinstall for distribution sets on a first-time installation. If you are just talking about software installed using the ports/packages collection just do pkg_info -a. Generally, this reflects what exists on the system at the current moment. But there are no guarantees, since things can be erased manually. But really finding out what was installed would be a pretty involved thing, becuase you can't guarantee the person who owned it last had not added, removed or modified anything outside the record-keeping mechanisms since he/she first installed the OS. --Allan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache has fallen [and it won't get up]
At 02:01 PM 11/30/2003, Melvyn Sopacua wrote: Disable mod_unique_id in httpd.conf to get it back up-and-running. Ok, this worked.. thank you Melvyn. The real error is probably in /etc/resolv.conf not pointing to a valid nameserver. Interesting. /etc/resolv.conf has last been changed like 10 minutes ago [not knowingly by me though]. All it says is search mshome.net nameserver 192.168.0.1 Since my workstation is delliver.mshome.net and also shares its internet connection on my lan via ics from and its ip addr on the lan is as shown, what's up do you think? Also would like to add that other intranet tools seem to still be ok including - lynx - ftp [in and out] - ssh [in] - intra-box email - ping If it's really just apache that's having the trouble I wonder if it could be a race condition? I notice that apache starts from a shell cmd when fbsd reboots. Swami: ls -l /usr/local/etc/rc.d/*.sh -r-xr-xr-- 1 root pgsql 875 Nov 11 17:24 /usr/local/etc/rc.d/010.pgsql.sh -rwxr-x--x 1 root wheel 407 Nov 12 19:33 /usr/local/etc/rc.d/apache2.sh -rwxr-xr-- 1 root wheel 144 Nov 12 16:18 /usr/local/etc/rc.d/landns.root.sh Swami: What determines the sequence in which these three scripts run? Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Order of Creation of Partions
I am preparing to do a fresh install of 4.9-RELEASE, and read in the Handbook the following recommended partitions, and the order in which they should be created: / swap /var /tmp /usr I would like to have two additional partitions, but do not see in the Handbook their ordering, relative to the above: /boot /home Thanks, Barry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Top
Hello, I have not been able to get wmtop working (it installs just fine, but no output, the screen is just blank and shows no activities). I also found gkrelltop2, but haven't been able to get it working either. Same blank screen. I can't pinpoint the problem. Has anyone been able to get either working? Another idea I had was similar to xrootconsole/roottail for printing out logs on root window, but in this one I would like to run top on my root window (so that it is viewable on all workspaces). Is that possible? Let me know if it is possible or that there is such program/script or that I am out of my mind. :) Best regards, Jonas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache has fallen [and it won't get up]
On Sunday 30 November 2003 20:56, Marty Landman wrote: At 02:01 PM 11/30/2003, Melvyn Sopacua wrote: Disable mod_unique_id in httpd.conf to get it back up-and-running. Ok, this worked.. thank you Melvyn. You're welcome (been there :). The real error is probably in /etc/resolv.conf not pointing to a valid nameserver. Interesting. /etc/resolv.conf has last been changed like 10 minutes ago [not knowingly by me though]. All it says is search mshome.net nameserver 192.168.0.1 Looks like a DHCP layout. Are you running dhclient (ie: have ifconfig_IFACE=DHCP in /etc/rc.conf)? Since my workstation is delliver.mshome.net and also shares its internet connection on my lan via ics from and its ip addr on the lan is as shown, what's up do you think? I think typing: host delliver.mshome.net *on that machine* doesn't give a valid ip address or an adress that is not on the workstation. Since you're refering to 'ics' I guess you're gateway is an MS box and doesn't run DNS or a DNS forwarder at best. Also would like to add that other intranet tools seem to still be ok including - lynx - ftp [in and out] - ssh [in] - intra-box email - ping These do not resolve the local hostname on the machine itself, which is what mod_unique_id tries to do though. If it's really just apache that's having the trouble I wonder if it could be a race condition? I notice that apache starts from a shell cmd when fbsd reboots. Swami: ls -l /usr/local/etc/rc.d/*.sh -r-xr-xr-- 1 root pgsql 875 Nov 11 17:24 /usr/local/etc/rc.d/010.pgsql.sh -rwxr-x--x 1 root wheel 407 Nov 12 19:33 /usr/local/etc/rc.d/apache2.sh -rwxr-xr-- 1 root wheel 144 Nov 12 16:18 /usr/local/etc/rc.d/landns.root.sh Swami: What determines the sequence in which these three scripts run? Exactly what you're typing: it's lexacilly sorted - to be exact: sorted according to the glob(3) implementation. If you need landns.root.sh to start first, rename it to: 010.landns.root.sh Just in case you're wondering: 000.* is used for ldconfig(8)'s shared library paths, like 'lib/mysql' and 'lib/kde3' so you might wanna steer clear of that. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: apache has fallen [and it won't get up]
On Sun, 30 Nov 2003 14:56:19 -0500 Marty Landman [EMAIL PROTECTED] wrote: Interesting. /etc/resolv.conf has last been changed like 10 minutes ago [not knowingly by me though]. All it says is search mshome.net nameserver 192.168.0.1 Since my workstation is delliver.mshome.net and also shares its internet connection on my lan via ics from and its ip addr on the lan is as shown, what's up do you think? Are you running a DHCP client on that machine? In my experience, the DHCP client that comes with FreeBSD will write a new /etc/resolv.conf file whenever it obtains a new lease. [...] If it's really just apache that's having the trouble I wonder if it could be a race condition? I notice that apache starts from a shell cmd when fbsd reboots. Swami: ls -l /usr/local/etc/rc.d/*.sh -r-xr-xr-- 1 root pgsql 875 Nov 11 17:24 /usr/local/etc/rc.d/010.pgsql.sh-rwxr-x--x 1 root wheel 407 Nov 12 19:33 /usr/local/etc/rc.d/apache2.sh-rwxr-xr-- 1 root wheel 144 Nov 12 16:18 /usr/local/etc/rc.d/landns.root.sh Swami: What determines the sequence in which these three scripts run? Alphabetical (actually ASCII) sort order. So 010.pgsql.sh will run first, then apache2.sh, then landns.root.sh. If you want, say, landns.root.sh to run first, rename it 005.landns.root.sh, or something to that effect. HTH, -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to determine which distribution sets were installed
On Sunday 30 November 2003 08:52, Allan Bowhill wrote: On 0, Paul van Berlo [EMAIL PROTECTED] wrote: :Hello, : :is there an easy way to determine which distribution sets were installed :during the FreeBSD installation and after that? I inherited a server and :want to make sure what is and is not installed. Of course I can do all of :this manually, but I was hoping FreeBSD keeps a log or something :somewhere. I am not %100 sure, but I think you might have to do it manually. I don't think FreeBSD keeps records of what was originally chosen in /stand/sysinstall for distribution sets on a first-time installation. Right - because it doesn't make sence to do so. If you choose 'developer' during the 'standard installation' but later install the XFree86 port, you essentially now have an 'X-Developer' distribution set. In a well-maintained system, /etc/make.conf should reflect any alterations to the base installation and the rest can be found in /var/db/pkg/*. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: Serial console stops working at password prompt
FYI, issue has been is solved. Created a user with a blank password so I would directly start a shell. This way I found out that there was a mismatch between terminal-settings :-/ Arien On 29-nov-03, at 14:42PM, Arien Vijn wrote: Greetings, I do have an issue with FreeBSD 5.1-RELEASE (i386) and a serial console. I can see the boot messages, console messages and a login prompt. I can type a username, after that it shows the password prompt and at that point things stop working as expected. After a while 'ps' shows that the login is the front-process (1059 in the output below) for ttyd0 but it becomes idle regardless any console input: # ps -ef | grep login 483 v0 Is 0:00.02 login [pam] (login) 1059 d0 Is+ 0:00.01 login When I kill the login process the 'getty process' is started as front-process for ttyd0: # ps -ef | grep ttyd0 1085 d0 Ss+0:00.00 /usr/libexec/getty std.9600 ttyd0 Again the login prompt appears in the terminal connected to the serial console. ps also shows that the login process raised CPU scheduling priority (''). Tests show that this process does that when waiting for a password in a VGA-console. So I guess the login process is waiting for a password but somehow it does not receive anything from the serial port. Hense it becomes idle. However, console messages (like: login: Nov 29 21:37:46 cyclone login: ROOT LOGIN (root) ON ttyv1) are redirected fine to the serial console. Does anyone have an idea what might go wrong here? Thanks in advance, Arien ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Sun, Nov 30, 2003 at 10:03:16AM +, Matthew Seaman wrote: On Sat, Nov 29, 2003 at 09:01:22PM -0800, Gary Kline wrote: Looks like I'm missing /usr/local/bin/php, and lang/php4 is broken. I already have the mod_php4 port installed-- and working. FUDforums2 is looking for the php bnary, if I'm interpreting the installation message correctly. Any advice, now that the code freeze is on? Hmmm... % pkg_info -W /usr/local/bin/php /usr/local/bin/php was installed by package php4-4.3.4_2 % pkg_info -W /usr/local/libexec/apache/libphp4.so /usr/local/libexec/apache/libphp4.so was installed by package php4-4.3.4_2 I guess if you rip out www/mod_php4 and install lang/php4 instead, you'll get all of the bits you need. When you say 'lang/php4' is broken -- how so? I haven't had any trouble installing it from ports. It does have CONFLICTS settings so you can't install it simultaneously with any of the other php4 or php5 ports. Melvyn Sopacua's advice resolved this php4 snafu. lang/php4 comes first, mod_php4 falls into place cleanly. The problem now (with BBS software not in the ports tree) is that my mysql4 and postgresql7 are not visible ... . The fudforum2/install.php script displays:: FUDforum can utilize either MySQL or PosgreSQL database to store it's data, unfortunately, your PHP does not have support for either one. Please install or load the appropriate database extension and then re-run the install script. Similar things happen with phorum-3.4.4. I've set up database hooks in both databases, but because the screen goes unpredictably blank I'm evidently messing up with my db hooks. thanks, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Sunday 30 November 2003 21:13, Gary Kline wrote: On Sun, Nov 30, 2003 at 01:40:07PM +0100, Melvyn Sopacua wrote: On Sunday 30 November 2003 08:54, Gary Kline wrote: Another look at the php4 build clued me in. It was a one-line hack to the Makefile... . You shouldn't hack the Makefile, cause now you have both www/mod_php4 and lang/php4 installed and screwed up dependencies. You should uninstall www/mod_php4 (just force it). Then install lang/php4. The lang/php4 port will check for the existence of an apache installation and install the apache module (which is www/mod_php4) accordingly. Thanks for your help. Last May when I first started working with php another genteman said to forget lang/php4 and just install mod_php4. This worked for awhile. Now that I'm trying to merge php with mysql || postresql, things are more complcated. If somebody tells you to 'forget about something', the next question should be 'why?' :). www/mod_php4: ONLY the apache module. www/php4-cgi: ONLY the CGI module lang/mod_php4-cli: ONLY the Command Line Interface lang/php4: By default the CLI module and if 'apxs' is found it will install the apache module as well. Since you now need both the CLI as well as the apache module, you should uninstall www/mod_php4 and install lang/php4. As a side note: Having a php-cli available for cronjobs is *very* convenient, that's why I always go with that port even when I've got no immediate use for it. Last time I checked www/phpgroupware requires it for cleanups and sending out alerts. Additionally you can run the test suite: cd /usr/ports/lang/php4 make test which will identify possible problems in your setup. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
On Sunday 30 November 2003 03:39 pm, Gary Kline wrote: Melvyn Sopacua's advice resolved this php4 snafu. lang/php4 comes first, mod_php4 falls into place cleanly. The problem now (with BBS software not in the ports tree) is that my mysql4 and postgresql7 are not visible ... . The fudforum2/install.php script displays:: FUDforum can utilize either MySQL or PosgreSQL database to store it's data, unfortunately, your PHP does not have support for either one. Please install or load the appropriate database extension and then re-run the install script. Similar things happen with phorum-3.4.4. I've set up database hooks in both databases, but because the screen goes unpredictably blank I'm evidently messing up with my db hooks. When I ran make install in lang/php4, I was presented with a page, to select extentions. Of which mysql is on by default, and you can select postgresql if needed to. I currently have both running smoothly with php without any problems. Just remembered... The latest php port installs postgresql-client-7.3.4_1 I had to install postgresql-7.3.4_1 separately. But for mysql it should already be in there. Create yourself a phpinfo() page and see what what with your install... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
drivers
Hi where can I learn to write drievers for freebsd Deenan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Sun, Nov 30, 2003 at 12:39:07PM -0800, Gary Kline wrote: The fudforum2/install.php script displays:: FUDforum can utilize either MySQL or PosgreSQL database to store it's data, unfortunately, your PHP does not have support for either one. Please install or load the appropriate database extension and then re-run the install script. Similar things happen with phorum-3.4.4. I've set up database hooks in both databases, but because the screen goes unpredictably blank I'm evidently messing up with my db hooks. Errr -- did you compile php4 with mysql and/or pg support? What does ?php phpinfo() ? return? You may also need the PEAR DB abstraction layer: try installing the databases/pear-DB port. 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: adaptive stealth in ipfw?
On 11/30/03 04:49 PM, Roman Neuhauser sat at the `puter and typed: SNIP Still, if anyone *does* know the facts, I'd like to know what the case really is with the IDENT port and adaptive stealth. don't get carried away by the nonsense at grc.com. the marketroid-speak term adaptive stealth can be normally described as stateful filtering (and dropping the packets instead of rejecting them), and it means that (in case of TCP), the target machine throws away packets that: * don't have the SYN bit set (and the ACK bit unset) * are not part of an established conversation I think that clears things up a little. you can completely stealth a machine if it runs no publically available servers. the problem with ident is similar to FTP: the first connection goes from you out, the other party then tries to connect to you (as far as the stack is concerned, this is a completely unrelated connection). but, the question is: what is your problem? why do you need to have identd(8) running? will anything you need break without it? if not, the correct solution to your problem is IMO to *reject* connection attempts to your port 113. I don't need identd. I'm actually doing a simple reject on port 113 already, but I figured that if I could keep the system as 'invisible' as possible, that would be best. I AM running various services, but only for my own personal/family use. And I am the only one that should be accessing all of these services from outside the firewall. I had wondered if there was enough benefit to this process to make it worth the overhead. I'm beginning to think it isn't. I've not been a security overreactor for some time, and I didn't intend this to be a return to that mindset, so I'm just going to drop this and leave the default reject on port 113. The other ports I had rejected are now simply being dropped. Other than that, I check my security mailings every day, and have had no problems for a very long time. Thanks for the feedback everyone. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ If value corrupts then absolute value corrupts absolutely. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Sunday 30 November 2003 21:39, Gary Kline wrote: FUDforum can utilize either MySQL or PosgreSQL database to store it's data, unfortunately, your PHP does not have support for either one. Please install or load the appropriate database extension and then re-run the install script. From the Makefile: # There are many ways to select which extensions you want to enable, either # in interactive mode or in batch mode. # # By default, the enabled extensions are: CTYPE, MYSQL, OVERLOAD, PCRE, POSIX, # SESSION, TOKENIZER, XML and ZLIB. This behaviour can be changed overriding # the PHP4_OPTIONS variable (e.g. PHP4_OPTIONS=EXT1 EXT2 EXT3). # # Another way is to use the WITH_EXT and WITHOUT_EXT knobs, for additional # and default extensions respectively (implies batch mode). # # The last way reads an extension file, located in ~/php4_options (the # location is overridable by the PHP4_OPTFILE variable). You may find an # example in scripts/php4_options (interactive mode only). If you make sure that no 'WITH_*' variables are set (check MAKE_ARGS in /usr/ local/etc/pkgtools.conf if you're using portupgrade and/or /etc/make.conf) then attached file, placed as /root/php4_options will get you a php installation, that will most probably forfill your needs. You will get a screen (if you don't, then there's still a WITH_* variable defined somewhere or the variable 'BATCH') which allows you to add/delete modules, the same way that /stand/sysinstall does it. Adjust as necessary. After you're done installing, the actual file (ie: with the changes you made) now resides in: /usr/ports/lang/php4/scripts/php4_options Copy that over to /root/php4_options and the next time you upgrade/install the dialog will contain your defaults and you can just select 'OK'. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === WITH_BCMATH=OFF WITH_BZIP2=ON WITH_CALENDAR=ON WITH_CDB=OFF WITH_CRACK=OFF WITH_CTYPE=ON WITH_CURL=ON WITH_DB4=OFF WITH_DBASE=OFF WITH_DBX=OFF WITH_DOMXML=ON WITH_DOMXSLT=ON WITH_EXIF=ON WITH_FILEPRO=OFF WITH_FRIBIDI=OFF WITH_FTP=ON WITH_GD=ON WITH_GDBM=OFF WITH_GETTEXT=ON WITH_GMP=OFF WITH_HYPERWAVE=OFF WITH_ICONV=ON WITH_IMAP=OFF WITH_INIFILE=ON WITH_INTERBASE=OFF WITH_MBSTRING=ON WITH_MCAL=OFF WITH_MCVE=OFF WITH_MCRYPT=ON WITH_MHASH=ON WITH_MIME=ON WITH_MING=ON WITH_MNOGOSEARCH=OFF WITH_MYSQL=ON WITH_NCURSES=ON WITH_OPENLDAP=ON WITH_OPENSSL=ON WITH_ORACLE=OFF WITH_OVERLOAD=ON WITH_PCNTL=ON WITH_PCRE=ON WITH_PDFLIB=ON WITH_POSIX=ON WITH_POSTGRESQL=OFF WITH_PSPELL=OFF WITH_READLINE=OFF WITH_RECODE=OFF WITH_SESSION=ON WITH_SHMOP=OFF WITH_SNMP=OFF WITH_SOCKETS=ON WITH_SYBASEDB=OFF WITH_SYBASECT=OFF WITH_SYSVSEM=OFF WITH_SYSVSHM=OFF WITH_TOKENIZER=ON WITH_UNIXODBC=OFF WITH_WDDX=OFF WITH_XML=ON WITH_XMLRPC=ON WITH_XSLT=OFF WITH_YAZ=OFF WITH_YP=OFF WITH_ZIP=ON WITH_ZLIB=ON pgp0.pgp Description: signature
Re: php4...
On Sunday 30 November 2003 21:53, Matthew Seaman wrote: You may also need the PEAR DB abstraction layer: try installing the databases/pear-DB port. That's FUD :) IE: FUDforum doesn't require PEAR::DB. http://fud.prohost.org/doc/d/html/installation.html#install.verify.config -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: freebsd 4.8-STABLE hangs on boot with no error message
I'm running freebsd 4.8-STABLE, I installed it a little while ago and it has been running fine as my broadband router for a few weeks now, no problems. This morning there was a powercut, and when I came to the machine and attached a monitor, I discovered that it was making it through the BIOS, getting to the spinning -\|/-\|/ prompt, where it freezes on the first | every time. Uh-oh. That's bad. That shows the system is trying and failing to read the kernel from your hard drive. If so, first thing to try is running fsck on your root partition: # fsck -y /dev/ad0s1a Thought I'd just reply to say how this one panned out in case it helps anyone trawling the archives in the future: I booted off the CD, ran fsck, got bad super block messages. Unable to fix it by recommended methods, I was becoming frustrated and came close to wiping the disk for a reinstall. Instead I put it in one of my other machines, and it booted my system fine. Then into a third machine, that worked fine as well. Once it was clear that the disk was not the cause of the problem, I began to poke around a lot in the BSD machine, and eventually found that what had happened was that the powercut had caused the CMOS to flip the type option for my hard disk from normal to auto (not really a noticeable difference imho!), changing this back meant it worked fine again. So just one of those random incidents really! Thanks for the help given :) Neil. Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs http://www.yahoo.co.uk/robbiewilliams ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Order of Creation of Partions
On Sun, Nov 30, 2003 at 03:02:10PM -0500, Barry Skidmore wrote: I am preparing to do a fresh install of 4.9-RELEASE, and read in the Handbook the following recommended partitions, and the order in which they should be created: / swap /var /tmp /usr I would like to have two additional partitions, but do not see in the Handbook their ordering, relative to the above: /boot /home Any way you like. sysinstall(8) doesn't give you the option, but if you use disklabel(8), other than the first three partitions -- da0s1a (root), da0s1b (swap) and da0s1c (whole disk -- never used as such) you can create partitions from da0s1d upto a maximum of da0s1h and mount them as whatever filesystems you want. Once you've got the root and swap partitions sorted, how you lay out the rest makes little difference. There are minor gains to be made by placing the most heavily used partitions towards the outer cylinders of the disk, but that doesn't apply on RAID5 or RAID0 (striped) disk arrays, and the amount gained hardly justifies the effort spent tweaking things. Layout is more a matter of individual taste than anything. Two points though: i) Don't put /boot on a separate partition. /boot contains stuff that is essential for booting the system, and as such *has* to be part of the root filesystem. ii) It's not so much the order of creation of the partitions that counts, but the order they lie across the drive. You don't even have to make the b, d, e, f, g, h partitions lie in cylinder order, although it would be perverse to shuffle them around arbitrarily. Putting the root 'a' partition anywhere except starting at cylinder 1 is asking for trouble though -- this is one of those conventions that practically has the force of law. 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: php4...
On Sunday 30 November 2003 22:01, Melvyn Sopacua wrote: Adjust as necessary. After you're done installing, the actual file (ie: with the changes you made) now resides in: /usr/ports/lang/php4/scripts/php4_options Copy that over to /root/php4_options and the next time you upgrade/install the dialog will contain your defaults and you can just select 'OK'. While I just hacked together a possible solution for this problem, I noticed I made an error here. The scripts/php4_options file is just a default and is not modified. The modifications are written to work/Makefile.inc and have a different form than the options file. Basically - you need to remember yourself which modifications you made and modify /root/php4_options yourself. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: drivers
Deenan Vythilingam wrote: Hi where can I learn to write drievers for freebsd Look here: http://www.freebsd.org/docs.html#books ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Gstreamer-plugins
Hello, In installing gstreamer-plugins, I activated all plugins within the Makefile. The output is as below: ... long list of added plugin... rebuilding user_registry loaded 122 plugins with 296 features Abort trap (core dumped) *** Error code 134 Stop in /usr/ports/multimedia/gstreamer-plugins. Then I used the gdb to trace the gst-register.core: # gdb gst-register gst-register.core ... long list of reading and loading symbols Reading symbols from /usr/libexec/ld-elf.so.1...done. Loaded symbols for /usr/libexec/ld-elf.so.1 #0 0x283dc3e3 in kill () from /usr/lib/libc.so.5 -- Some time ago I remembered on the list (on questions@ or gnome@) someone said that one of the plugins conflicted with another. I can't find it in my search of archives. Does anyone remember what plugin I need to comment out in reinstalling gstreamer-plugins? I could be wrong and this error could be something else, what can I do? Best regards, Jonas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Information on compiler runtime environment
Hi, I'm looking for information on the runtime environment required to embed the 'main'-routine of a pascal compiler in. It was sort of working in the A.out time but now I'm trying to convert to ELF. Looking at the GCC-linking process I see a lot of crt(1,i,n,begin,end} files being bound. But the how and what of all the details are still a mistery to me. Where can I find info about all this?? Thanx, --Willem Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: MySQL question...
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Melvyn Sopacua Sent: Monday, 1 December 2003 3:54 AM To: FreeBSD-questions Cc: Xpression Subject: Re: MySQL question... snip All databases will go under /var/db/mysql and the quick and dirty answer is: mysql -e GRANT ALL ON $dbname.* TO '$dbuser'@'localhost' IDENTIFIED BY '$userpasswd' -- Melvyn Something I've wondered is why the default location for the MySQL databasi is /var/db/mysql? Yes /var/db seems to make sense, but most /var filesystems would be fairly small. Is it generally common practice to create a symbolic link to somewhere on, say, /usr to store the databasi? Dave ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re: mplayer problem
|| || ||Just checking... do you have || ||options CPU_ENABLE_SSE ||options CPU_ATHLON_SSE_HACK || ||in your kernel config? || Neither of these are set. That could be the problem. I have an athlon and could not get mplayer to do much of anything before I build a kernel with those options. It's worth a try, anyhow. _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL question...
On Sunday 30 November 2003 22:57, DG wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Melvyn Sopacua Sent: Monday, 1 December 2003 3:54 AM To: FreeBSD-questions Cc: Xpression Subject: Re: MySQL question... snip All databases will go under /var/db/mysql and the quick and dirty answer is: mysql -e GRANT ALL ON $dbname.* TO '$dbuser'@'localhost' IDENTIFIED BY '$userpasswd' -- Melvyn Something I've wondered is why the default location for the MySQL databasi is /var/db/mysql? Yes /var/db seems to make sense, but most /var filesystems would be fairly small. By tradition /var is for 'variable data'. By tradition, /var has been used for mail and news and as such do not require large partitions unless you run binary newsgroups. Therefore most /var partitions are small. However - I agree that the chosen default is not up-to-par with the use of MySQL, especially since you would take smaller fragment size for a /var partition if you have a busy mail- or newsserver and that certainly won't benefit MySQL. Is it generally common practice to create a symbolic link to somewhere on, say, /usr to store the databasi? If you know beforehand that you're going to run a mysql database with large databases (or use innodb which will never shrink!), than it's wise to create a large partition /var/db/mysql on boot. Otherwise you can set the DB_DIR variable during installation of MySQL to f.e.: /usr/local/var/mysql which is not unheard of. On my workstation I use /usr/db/mysql, but on my workstation I also have a 15G /usr partition. Whichever you choose, it's best to choose a DB_DIR ending in /mysql, so you can always decide to add another disk and mount that as $DB_DIR. By the way: don't underestimate the size of the binary logs, especially with large inserts. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: FIRST INSTALL QUESTION
SUBJECT: FIRST INSTALL QUESTION http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/ch5.html I was hoping that I could partition only the 2d hard drive and install the boot manager included on the CD (easy boot I guess) on the 2d hard drive, until I read the FAQs online that mentioned this boot manager uses the MBR - which must be located on the original, bootable hard drive (I have never used a boot manager unless Windows 98 Start-up Menu qualifies). Just a little clarification here. Maybe that is all you need to figure it out. When the BIOS boots first, before anything on the disk gets going, it tries to hand control over to boot managers on its list of bootable devices. Usually nowdays that list is, in order: The floppy drive, the CD, the first hard drive. If it doesn't gind anything on the floppy, it goes to the CD, if it finds nothing there for booting, it goes to the HD. So, the first HD has to have something there to accept the handoff from the BIOS. This is the MBR. Generally a basic MBR, like the default one in FreeBSD does a couple of minor things and then looks for bootable slices. It looks at the boot block of each disk slice on each disk that it can talk with. It then gives you a menu and lets you select which of those slices to boot from. The default FreeBSD MBR is very functional but very basic. It only knows names for a few types of bootable slices. But, it can set up and hand off controll to any of them that follow standard boot brocedures - even if it doesn't have a name for it. When the MBR hands off control, the slice boot record takes over and continues booting - mainly brings in a kernel to get things really going. In FreeBSD this is done with two utilities. Fdisk not only makes the slices of a disk, but it also installs the MBR if told to and it marks slices as bootable or not. THen disklabel, divides the slices in to partitions and it also writes the boot record in to the slice if told to do so. This can all be done from the sysinstall utility during initial installation because it invokes these utilities when needed with the needed switches and parameters. All you have to do is tell it if the disk needs an MBR and if the slice should be bootable. Of course, if you have enough of a system running to boot at least to single user mode and run fdisk and disklabel yourself, you can run these as you please. This is especially so when you are setting up a second disk - possibly as some type of backup or development disk. Note that some sort of MBR that knows how to boot all the possible slice types (eg be able to hand of control to the slice boot block) must be on the first disk.If the WIn-98 MBR can boot the FreeBSD slice, then it is fine. I have heard that Win-98 won't do that. But, the FreeBSD MBR will boot the Win-98, Win-95, Win-XP, etc slices just as well as it does a FreeBSD slice. It just calls the Win-9x slices MSDOS and the XP unknown or something like that, but it works. jerry But then I noticed a reference (link above) to booting from DOS using FBSDBOOT.EXE and that got me to wondering if I could just partition ½ of the 2d hard drive for FreeBSD, install FreeBSD on that partition and then boot to it using the Windows 98 Start-up Menu / DOS. Would FBSDBOOT.EXE find the BSD partition on the 2d hard drive? Would I just locate FBSDBOOT.EXE on the Windows partition of the 2d hard drive? Of course I'm trying to avoid partitioning the orig hard drive w/ WIN98SE, and I'd like to use the slave hard drive for both WIN98 backup and FreeBSD. Thank you. --rs ~+ ___ [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]
Trouble mounting USB device
Hi, I am using FreeBSD 5.1 I've checked my GENERIC kernel to see if it had device scbus and device da in the SCSI peripheral section, and it's listed with other SCSI devices. I checked the boot message for usb and umass and this is the output. umass0: vendor 0x090a product 0x1001, rev 1.00/1.00, addr 2 uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 10 at device 7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 Also, the usbd is loaded by default. In the dev/ directory their is no da files, I only have usb and usb0. If you have any comments I would greatly appreciate it. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD vs Samba machine account creation
At 1:12 PM + 11/30/03, Stacey Roberts wrote: Hello, Some time ago, I saw a thread on this list that had concluded that the adduser facility in FreeBSD had been amended so that samba machine accounts can be created with the required $ at the end of the desired machine user name. The 'pw' command was changed in freebsd-current to allow a '$' to be the last character of a userid or group name. This was done in January, and MFC-ed to freebsd-stable in February. This change is more significant in freebsd-current than freebsd-stable, because 'adduser' is a perl-script in freebsd-stable. It does not use the 'pw' command. In freebsd-current, 'adduser' was rewritten (because perl is no longer in the base system), and the rewrite depends on the 'pw' command. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [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 determine which distribution sets were installed
On 0, Melvyn Sopacua [EMAIL PROTECTED] wrote: :On Sunday 30 November 2003 08:52, Allan Bowhill wrote: : : On 0, Paul van Berlo [EMAIL PROTECTED] wrote: : :Hello, : : : :is there an easy way to determine which distribution sets were installed : :during the FreeBSD installation and after that? I inherited a server and : :want to make sure what is and is not installed. Of course I can do all of : :this manually, but I was hoping FreeBSD keeps a log or something : :somewhere. : : I am not %100 sure, but I think you might have to do it manually. I : don't think FreeBSD keeps records of what was originally chosen : in /stand/sysinstall for distribution sets on a first-time installation. : :Right - because it doesn't make sence to do so. :If you choose 'developer' during the 'standard installation' but later install :the XFree86 port, you essentially now have an 'X-Developer' distribution set. : :In a well-maintained system, /etc/make.conf should reflect any alterations to :the base installation and the rest can be found in /var/db/pkg/*. Well, there are definitely _options_ in /etc/make.conf that I would look at, since really the job of that file is to set defaults for make, and associated functions to build software. And don't forget to look for things that are actually activated when the system runs. /etc/rc.conf(.local), /usr/local/etc/rc.d, and /etc/crontab and cron files in user accounts, too. Those can be a problem. One thing I can't quite remember is if stuff that goes to console during /stand/sysinstall installation actually gets logged in /var/log/messages*. I don't think it does, but it wouldn't hurt to look at the logfiles to see what kind of installation activity went on recently. And then there may be some boot time options, like LKMs that get configured in one of the /boot files, I think /boot/defaults/loader.conf and /boot/loader.conf would be places to look. Obviously, if /usr/obj exists with craploads .o files, it is evidence an attempt has been made to rebuild the system from sources, and if cvsup records can be found, then the sources have been updated using that method. Then there are kernel modifications which can be found in /sys/i386/conf. There are other places to look. /usr/X11R6/bin is one place. Some people don't use ports or packages when they install X. They just get the sources outside the ports/packages system, and then build and install X on the box directly. It never gets recorded in /var/db/pkg. Same for other software. I suspect what you do depends on how paranoid you are about the system. Personally, I would back it all up, zap the filesystem, and rebuild from scratch with -stable. That would take less time and energy than checking all the nooks and crannies. -- Allan Bowhill [EMAIL PROTECTED] George Orwell was an optimist. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache has fallen [and it won't get up]
At 03:20 PM 11/30/2003, Melvyn Sopacua wrote: Interesting. /etc/resolv.conf has last been changed like 10 minutes ago [not knowingly by me though]. All it says is search mshome.net nameserver 192.168.0.1 Looks like a DHCP layout. Are you running dhclient (ie: have ifconfig_IFACE=DHCP in /etc/rc.conf)? Nope, just an ifconfig_ep0 assignment for my nic. Since my workstation is delliver.mshome.net and also shares its internet connection on my lan via ics from and its ip addr on the lan is as shown, what's up do you think? I think typing: host delliver.mshome.net *on that machine* doesn't give a valid ip address or an adress that is not on the workstation. Actually I got the corrent ip's for each of my four windoz boxes by querying each with their name on mshome.net. Since you're refering to 'ics' I guess you're gateway is an MS box and doesn't run DNS or a DNS forwarder at best. Right, I think. It's a windoz xp home edition box getting dns via dial-up. At least I think I'm saying that correctly. These do not resolve the local hostname on the machine itself, which is what mod_unique_id tries to do though. The apache manual entry for mod_unique_id didn't say a whole lot. This must be a default and I wonder if it's something I will eventually miss. What's it do, or can you point to a more in depth explanation I can read? If you need landns.root.sh to start first, rename it to: 010.landns.root.sh Don't know whether I needed it but did. Didn't help apache to be able to run mod_unique_id but then you probably already knew that. :) Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcp on one of 2 nics
- Original Message - From: Ken Vescovi Sent: Thursday, November 27, 2003 9:31 PM I think I can handle the dhcp config, it's just a matter of solving the first problem. There are no errors in dmesg,but they are both using irq11 as follows: pcic0 irq 11 at device 3.0 on pci0 pcic1 irq 11 at device 3.1 on pci0 Memory allocation is different for each. 0x8800 0x88001000 If the cards and/or motherboard are older, I suspect you need to find out how to set the interrupt to different values for each card. When setting those interrupts, you must not conflict with any other interrupts that are in use by other hardware. However this advice may be null and void because as I understand it, some newer stuff will actually share interrupts. Good Luck, Drew Drew Tomlinson wrote: Redirected to -questions. - Original Message - From: Ken Vescovi [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 10:06 PM I finally got cable modem access here in the backwoods of west-central PA. I want to set up my Dell Latitude running 4.8 as a gateway doing PAT and using ipfw. I have 2, 3c589c cards and need one to get an address from the cable company via DHCP. The other nic will be configured as the gateway for my home net. Problem one: Card 2 is recognized, but I get this message No free Configuration for card 3Com corp' and no device id is assigned. It doesn't matter which slot the card is in, it seems to only recognize the first and give it device id ep0. I removed the 'default' setting from pcic1 in the kernel config as follows: device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 But it's still not recognized. Any suggestions? I don't really know about this one but I don't any changes are needed in your kernel config. You must have the right driver compiled in as it recognizes one card. If the cards aren't plug-n-play, are you sure both cards are set up to use different interrupts and memory areas? Are both cards seen in your dmesg output? Problem 2 is how do I configure one nic for dhcp and the other for static. I can do the static config, but how do I config the system to have static on card 1 and dhcp on card 2? man rc.conf and man dhclient. You use rc.conf to specify settings for each NIC and dhclient will get setup info from a DHCP server. HTH, Drew -- Ken Vescovi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache has fallen [and it won't get up]
On Monday 01 December 2003 01:39, Marty Landman wrote: I think typing: host delliver.mshome.net *on that machine* doesn't give a valid ip address or an adress that is not on the workstation. Actually I got the corrent ip's for each of my four windoz boxes by querying each with their name on mshome.net. Since you're refering to 'ics' I guess you're gateway is an MS box and doesn't run DNS or a DNS forwarder at best. Right, I think. It's a windoz xp home edition box getting dns via dial-up. At least I think I'm saying that correctly. I checked your original message again. It says something about some SwamiSalami hostname. Is that by any chance the 'ServerName' of the main server? That is what mod_unique_id is trying to resolve. If no ServerName is set, it takes the hostname of the computer. The apache manual entry for mod_unique_id didn't say a whole lot. This must be a default and I wonder if it's something I will eventually miss. What's it do, or can you point to a more in depth explanation I can read? It creates a unique id for every request. This is used by mod_usertrack to generate a session id. There are some other modules that also use this feature, but I can't think of any off-hand. It's also convenient if you use an log-analyzer that checks whether there are duplicate lines. You can log the created id in a separate field and thus make sure that the same file requested twice within a second, from the same host, by the same browser (think /images/spacer.gif) is something else then a duplicate logline in the file. In a nutshell: if you don't care about mod_usertrack or wrongly detected duplicate loglines, you have no use for mod_unique_id. Any other apache module requiring it, will complain soon enough, but since you have it running without - you seem to have no such dependency. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
On Sun, Nov 30, 2003 at 10:53:43PM +0100, Melvyn Sopacua wrote: On Sunday 30 November 2003 22:01, Melvyn Sopacua wrote: Adjust as necessary. After you're done installing, the actual file (ie: with the changes you made) now resides in: /usr/ports/lang/php4/scripts/php4_options Copy that over to /root/php4_options and the next time you upgrade/install the dialog will contain your defaults and you can just select 'OK'. While I just hacked together a possible solution for this problem, I noticed I made an error here. The scripts/php4_options file is just a default and is not modified. The modifications are written to work/Makefile.inc and have a different form than the options file. Basically - you need to remember yourself which modifications you made and modify /root/php4_options yourself. Yipes! No wonder no FUD port has been done! I have a one-line php test file in /usr/local/www/data/hello.php; *with* mod_php4, several pages of system data shows up, but with only php4, I have the option to Download or Cancell. This is using lynx. With mod_php4 and pointing mozilla at localhost/~kline/FUDforum2/install.php a frame pops up and asks what I want to do with the file. If I download, the installation file winds up in ~kline. If I point php at it from the CLI:: pp 17:23 tao [2344] php install.php html body bgcolor=white FUDforum can utilize either MySQL or PosgreSQL database to store it's data, unfortunately, your PHP does not have support for either one. Please install or load the appropriate database extension and then re-run the install script. /body /html So, looks like I'm still going in circles. Got to be something simple... maybe!! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting USB device
I've checked my GENERIC kernel to see if it had device scbus and device da in the SCSI peripheral section, and it's listed with other SCSI devices. I checked the boot message for usb and umass and this is the output. If it's a USB 2 device, you *MIGHT* have better luck if you add device ehci to the kernel configuration. I believe that is required for typical USB 2 mass storage devices. Whether or not it's possible for such a device to not work at all - even in USB 1 mode - without ehci support I don't know. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Remove ^M characters from xhtml file
I've downloaded a couple of .xhtml files and they have ^M characters all through it. I tried the col -b name newname command on these files but when I do that it erases the whole document. Any ideas? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Sunday 30 November 2003 08:29 pm, Gary Kline wrote: Yipes! No wonder no FUD port has been done! I have a one-line php test file in /usr/local/www/data/hello.php; *with* mod_php4, several pages of system data shows up, but with only php4, I have the option to Download or Cancell. This is using lynx. With mod_php4 and pointing mozilla at localhost/~kline/FUDforum2/install.php a frame pops up and asks what I want to do with the file. If I download, the installation file winds up in ~kline. Im guessing its Apache. You should have these entries in /usr/local/etc/apache/httpd.conf and if not, enter them and restart apache - LoadModule php4_modulelibexec/apache/libphp4.so AddModule mod_php4.c IfModule mod_dir.c IfModule mod_php3.c IfModule mod_php4.c DirectoryIndex index.php index.php3 index.html index.htm /IfModule IfModule !mod_php4.c DirectoryIndex index.php3 index.html /IfModule /IfModule IfModule !mod_php3.c IfModule mod_php4.c DirectoryIndex index.php index.html /IfModule IfModule !mod_php4.c DirectoryIndex index.html /IfModule /IfModule /IfModule IfModule mod_php3.c AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s /IfModule IfModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps /IfModule ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SOLVED: Can't install gaim on FreeBSD 4.x
On 11/25/03 22:06, David Gerard wrote: Has anyone got gaim 0.71 or later working on FreeBSD 4.x? What did you do to get it working? The answer, short form: Sacrifice Linuxism-infested w33n0rs to the Great God Knuth. Ha! Only kidding. [*] The answer, longer form: Gaim requires perl 5.8 or higher just to be installed - its 'l33t++ custom configurator thingy requires it. The 5.005 that comes with FreeBSD 4.8 is not sufficient. So: - cvsupit your ports - install Perl 5.8.1 (we installed from the package, it works fine) - make install Gaim - make deinstall/make install libatk and libgtk along the way (we did actually have the right versions installed - it just didn't *think* we did) - force install on Gaim (it won't actually let you remove the old version) - put in a symlink from libatk-1.0.so.400 to libatk-1.0.so.200, because the install process trashes the latter. The answer, as just ranted in my LiveJournal: http://www.livejournal.com/users/reddragdiva/106318.html - d. [*] I would need to catch them first. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove ^M characters from xhtml file
On Sun, 30 Nov 2003 21:16:02 -0600, Bryan Cassidy [EMAIL PROTECTED] wrote: I've downloaded a couple of .xhtml files and they have ^M characters all through it. I tried the col -b name newname command on these files but when I do that it erases the whole document. Any ideas? dos2unix (converters/unix2dos in ports) is an easy route (dos2unix name). Also you can use the tr command (tr -d '\r' name newname). -- Robin Schoonover (aka End) # # You hear the moon howling at you. # -- NetHack ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove ^M characters from xhtml file
On Sun, Nov 30, 2003 at 09:16:02PM -0600, Bryan Cassidy wrote: I've downloaded a couple of .xhtml files and they have ^M characters all through it. I tried the col -b name newname command on these files but when I do that it erases the whole document. Any ideas? There's a port called dos2unix of unix2dos that you could let loos on it. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove ^M characters from xhtml file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry about sending you a e-mail directly. The tr -d '/r' name newname worked perfect. Thanks. On Sun, 30 Nov 2003 19:17:46 -0700 Robin Schoonover [EMAIL PROTECTED] wrote: On Sun, 30 Nov 2003 21:16:02 -0600, Bryan Cassidy [EMAIL PROTECTED] wrote: I've downloaded a couple of .xhtml files and they have ^M characters all through it. I tried the col -b name newname command on these files but when I do that it erases the whole document. Any ideas? dos2unix (converters/unix2dos in ports) is an easy route (dos2unix name). Also you can use the tr command (tr -d '\r' name newname). -- Robin Schoonover (aka End) # # You hear the moon howling at you. # -- NetHack ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/yrWJm8uTTHnDH3ERAoMmAJ4wNxUHEGTzOImkD9rxR+rAsb3c9gCghBha OstE8EoA4n4FaKIa+lTp2mw= =83Sy -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove ^M characters from xhtml file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, I take that back. It worked on 1 file and then ir started erasing the contents of the file. On Sun, 30 Nov 2003 21:29:13 -0600 Bryan Cassidy [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry about sending you a e-mail directly. The tr -d '/r' name newname worked perfect. Thanks. On Sun, 30 Nov 2003 19:17:46 -0700 Robin Schoonover [EMAIL PROTECTED] wrote: On Sun, 30 Nov 2003 21:16:02 -0600, Bryan Cassidy [EMAIL PROTECTED] wrote: I've downloaded a couple of .xhtml files and they have ^M characters all through it. I tried the col -b name newname command on these files but when I do that it erases the whole document. Any ideas? dos2unix (converters/unix2dos in ports) is an easy route (dos2unix name). Also you can use the tr command (tr -d '\r' name newname). -- Robin Schoonover (aka End) # # You hear the moon howling at you. # -- NetHack ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/yrWJm8uTTHnDH3ERAoMmAJ4wNxUHEGTzOImkD9rxR+rAsb3c9gCghBha OstE8EoA4n4FaKIa+lTp2mw= =83Sy -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/yrf1m8uTTHnDH3ERAuZHAJ9cJmkgPKcH4M7SfFByydaH97I1JgCgoN5T o/kW51mvb28bn9tR0bZGGAg= =rTBp -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache has fallen [and it won't get up]
At 08:16 PM 11/30/2003, Melvyn Sopacua wrote: I checked your original message again. It says something about some SwamiSalami hostname. Yes. It's a cartoon character from my local newspaper; other than also being the hostname for my fbsd box probably off-topic for this list. Is that by any chance the 'ServerName' of the main server? That is what mod_unique_id is trying to resolve. If no ServerName is set, it takes the hostname of the computer. I've specified in httpd.conf ServerName 192.168.0.7:80 In a VirtualHost directive VirtualHost * ServerName SwamiSalami.face2interface.domain ServerAlias SwamiSalami /VirtualHost Ok, I changed the ServerName to SwamiSalami.face2interface.domain too but that still yields the same error when trying to load mod_unique_id. In a nutshell: if you don't care about mod_usertrack or wrongly detected duplicate loglines, you have no use for mod_unique_id. This is a sandbox I'm developing, and have been more involved lately in learning the needed overhead skills than my actual development tasks. FWIW, regarding this idea of connecting tons of computers together, i.e. the internet thing -- at this point I'm feeling it's all way too complicated and will never work. Oh, wait a minute.. Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Monday 01 December 2003 02:29, Gary Kline wrote: Yipes! No wonder no FUD port has been done! You mean this? (I'm still trying to improve this, but need a hack on bsd.php.mk to make it more user-friendly). Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ fudforum.sh. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
[ inlined since it was stripped ] On Monday 01 December 2003 02:29, Gary Kline wrote: Yipes! No wonder no FUD port has been done! You mean this? (I'm still trying to improve this, but need a hack on bsd.php.mk to make it more user-friendly). Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ fudforum.sh. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering sh file. Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-descr # pkg-message # pkg-plist # echo x - Makefile sed 's/^X//' Makefile 'END-of-Makefile' X# New ports collection makefile for: FUDForum X# Date created:30 Nov 2003 X# Whom:Melvyn Sopacua X# X# $Id$ X# $FreeBSD$ X# X XPORTNAME= fudforum XPORTVERSION= 2.6.0.r8 XCATEGORIES=www XMASTER_SITES= http://fud.prohost.org/download/ X# http://fud.prohost.org/download/FUDforum_zl_2-6-0RC8.tar.bz2 XDISTNAME= FUDforum_zl_${PORTVERSION:S/.r/RC/:S/./-/g} X XMAINTAINER=[EMAIL PROTECTED] XCOMMENT= A robust, fully customizable and extremely scalable forums package X XWRKSRC=${WRKDIR}/FUDforum2 XNO_BUILD= yes XUSE_BZIP2= yes X XFUDDIR?= www/data-dist/${PORTNAME} XPLIST_SUB+=FUDDIR=${FUDDIR} XDB_TYPE?= mysql4 X X.if ${DB_TYPE} == mysql4 XLIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client X.else X.if ${DB_TYPE} == mysql3 XLIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client X.else X.if ${DB_TYPE} == pgsql XLIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql-client X.endif X.endif X.endif XWANT_PHP_CLI= yes XWANT_PHP_WEB= yes X XFUDDOCS= COPYING CREDITS README X X.include bsd.port.pre.mk X.include ${.CURDIR}/../../lang/php4/bsd.php.mk X Xpre-extract: X @${ECHO_MSG} You can select the Database to use by defining DB_TYPE X @${ECHO_MSG} Default: mysql4 X @${ECHO_MSG} X @${ECHO_MSG} You can select the installation directory by setting X @${ECHO_MSG} FUDDIR relative to ${PREFIX} X @${ECHO_MSG} Default: www/data-dist/${PORTNAME} X @${ECHO_MSG} X Xdo-install: X @${MKDIR} ${PREFIX}/${FUDDIR} X ${CP} ${WRKSRC}/*.php ${PREFIX}/${FUDDIR} X.if !defined(NOPORTDOCS) X @${ECHO_MSG} Installing Documentation into ${DOCSDIR} X @${ECHO_MSG} X @${MKDIR} ${DOCSDIR} X.for f in ${FUDDOCS} X @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}/ X.endfor X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include bsd.port.post.mk END-of-Makefile echo x - distinfo sed 's/^X//' distinfo 'END-of-distinfo' XMD5 (FUDforum_zl_2-6-0RC8.tar.bz2) = e5543f56b961c840c2de9abdc59ef714 END-of-distinfo echo x - pkg-descr sed 's/^X//' pkg-descr 'END-of-pkg-descr' XFUDforum is a highly customizable forum package, with a large feature set. The Xeasy to use administration control panel allows the administrator to easily Xconfigure and control the many features available. The forum also includes an Xinteractive help package, which helps to familiarize users with the full Xpotential of FUDforum. X XWWW: http://fud.prohost.org/ END-of-pkg-descr echo x - pkg-message sed 's/^X//' pkg-message 'END-of-pkg-message' X* X* Installation Instructions * X* X X1) This step applies ONLY to users who's PHP has a memory limit. X X Make sure that the directory the install script is in is either writable by X the webserver or that a fudforum_archive file exists and is writable by X the webserver. The latter applies only to users on servers WITHOUT X safe_mode. X X2) Using your web browser run the install.php script. In a default install, X run: X http://localhost/fudforum/install.php X X3) The install wizard will then take you through 5 steps at the end of which X you will have a working FUDforum installed on your server. X X* X* Uninstall Instructions * X* X XRun the uninstall.php script PRIOR to pkg_delete/pkg_deinstall to remove the Xdirectories and files created by the install.php script. X END-of-pkg-message echo x - pkg-plist sed 's/^X//' pkg-plist 'END-of-pkg-plist' X%%PORTDOCS%%share/doc/fudforum/COPYING X%%PORTDOCS%%share/doc/fudforum/CREDITS X%%PORTDOCS%%share/doc/fudforum/README X%%FUDDIR%%/install.php X%%FUDDIR%%/uninstall.php [EMAIL PROTECTED] %%FUDDIR%% [EMAIL PROTECTED] share/doc/fudforum END-of-pkg-plist
Re: Remove ^M characters from xhtml file
On Sunday 30 November 2003 10:39 pm, Bryan Cassidy wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, I take that back. It worked on 1 file and then ir started erasing the contents of the file. perl -pi -e s:^M::g filenames Usually works for me. Picked it up from http://www.freebsddiary.org/control-m.php ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove ^M characters from xhtml file
On Monday 01 December 2003 04:39, Bryan Cassidy wrote: Well, I take that back. It worked on 1 file and then ir started erasing the contents of the file. On Sun, 30 Nov 2003 21:29:13 -0600 Bryan Cassidy [EMAIL PROTECTED] wrote: Sorry about sending you a e-mail directly. The tr -d '/r' name Robin Schoonover [EMAIL PROTECTED] wrote: name). Also you can use the tr command (tr -d '\r' name Spot the difference. Another way: perl -pi.bak -e 's/\r$//' *.xhtml BTW: why is this even an issue that needs a solution? XHTML doesn't care one way or the other, since all linear spacing is folded into one space. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Solved [Re: delete first partition XP and reformat as ufs - kernel not found]
Hi there, Hoping that this will help somebody else: Deleting the XP boot partition that came first on disk (the FreeBSD was the last) and changing its type to FreeBSD FS render my laptop unbootable. I got the prompt when trying to boot FreeBSD: FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: The problem was that the new XP partition, not yet labeled, was still marked as bootable, as well as the real bootable FreeBSD partition. Flipping that flag off repair the problem! QUESTION: Where I can find an explanation of the syntax for previous prompt (boot2 prompt according to handbook) ? All my attempts to redirect the boot to search in the correct partition failed. Thanks a lot, /Dorin. PS. Please CC me, I am not subscribed to questions list. Thank you! __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache has fallen [and it won't get up]
On Monday 01 December 2003 03:14, Marty Landman wrote: Is that by any chance the 'ServerName' of the main server? That is what mod_unique_id is trying to resolve. If no ServerName is set, it takes the hostname of the computer. I've specified in httpd.conf ServerName 192.168.0.7:80 Drop the :80 there. In fact - since you're overriding it below, it's not even used. In a VirtualHost directive VirtualHost * ServerName SwamiSalami.face2interface.domain If this is litterally what you have, then it's no surprise as '.domain' is not a valid 'country' (TLD or Top Level Domain in DNS terms). My guess is, you should have: ServerName swamisalami.face2interface.com (Educated guess really: swamisalami.face2interface.com has address 216.157.5.252) I seem to be getting too used to people obscuring their actual host names with fabrications for privacy reasons (rantcould we just all stick to example.com for that?/rant). -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: Remove ^M characters from xhtml file
On Nov 30, 2003, at 6:53 PM, Melvyn Sopacua wrote: Another way: perl -pi.bak -e 's/\r$//' *.xhtml BTW: why is this even an issue that needs a solution? XHTML doesn't care one way or the other, since all linear spacing is folded into one space. It's distracting to look at all that stuff if you're editing in vi, for example. But for yet one more solution, you can search and replace ^M as Control V Control M in vi. I also use perl -pi s#\\r#\\n#g filename all the time. -- Paul Beard paulbeard.no-ip.org/movabletype/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcp on one of 2 nics
Based on my reading thus far, that's the problem as I see it too. I'm trying to find out how to set the interrupts. Not sure where to set them though. Looking through my current kernel config (LINT and default too) and pccard.conf doesn't seem to give me the info I need or I'm missing something. I'm not a freebsd expert, (networking background) so any help is appreciated. Thanks for your input. Ken Drew Tomlinson wrote: - Original Message - From: Ken Vescovi Sent: Thursday, November 27, 2003 9:31 PM I think I can handle the dhcp config, it's just a matter of solving the first problem. There are no errors in dmesg,but they are both using irq11 as follows: pcic0 irq 11 at device 3.0 on pci0 pcic1 irq 11 at device 3.1 on pci0 Memory allocation is different for each. 0x8800 0x88001000 If the cards and/or motherboard are older, I suspect you need to find out how to set the interrupt to different values for each card. When setting those interrupts, you must not conflict with any other interrupts that are in use by other hardware. However this advice may be null and void because as I understand it, some newer stuff will actually share interrupts. Good Luck, Drew Drew Tomlinson wrote: Redirected to -questions. - Original Message - From: Ken Vescovi [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 10:06 PM I finally got cable modem access here in the backwoods of west-central PA. I want to set up my Dell Latitude running 4.8 as a gateway doing PAT and using ipfw. I have 2, 3c589c cards and need one to get an address from the cable company via DHCP. The other nic will be configured as the gateway for my home net. Problem one: Card 2 is recognized, but I get this message No free Configuration for card 3Com corp' and no device id is assigned. It doesn't matter which slot the card is in, it seems to only recognize the first and give it device id ep0. I removed the 'default' setting from pcic1 in the kernel config as follows: device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 But it's still not recognized. Any suggestions? I don't really know about this one but I don't any changes are needed in your kernel config. You must have the right driver compiled in as it recognizes one card. If the cards aren't plug-n-play, are you sure both cards are set up to use different interrupts and memory areas? Are both cards seen in your dmesg output? Problem 2 is how do I configure one nic for dhcp and the other for static. I can do the static config, but how do I config the system to have static on card 1 and dhcp on card 2? man rc.conf and man dhclient. You use rc.conf to specify settings for each NIC and dhclient will get setup info from a DHCP server. HTH, Drew -- Ken Vescovi -- Ken Vescovi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lost labels
On Sun, Nov 30, 2003 at 06:42:07PM +0100, martin wrote: Greetings, I've encouted little difficuluty, don't know what exactly has happend, but after installing W2K on the other disk, disklabel on my primary disk disappeard /FREEBSD4.9/. Only thing I can do is to mount /dev/ad0s1 unforunately I can't access /dev/ad0s1[a-f] due to inccorect super block message. disklabel prints this: vanice# disklabel -r /dev/ad0s1 # /dev/ad0s1: type: ESDI disk: ad0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 4862 sectors/unit: 78124032 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 781240320unused0 0 # (Cyl.0 - 4862*) Is there a chance I can see my data again? Thank you Martin Vana You could try letting fsck loos on those slices. Just type the slices after the command. *If* any fail then you could add -p (preen) and -f (force) before the slice. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Raid Array Stripe Size Investigation
After some initial trouble getting my FreeBSD box up and running, I'm happy to report that I've been able to conduct a few empirical tests on IDE hardware RAID array stripe size and performance. I decided to do these benchmarks when I noticed a lack of this information on the web and as part of the mailing list. Information on the setup of the tests and results can be found here: http://www.ocf.berkeley.edu/~rchopra/RaidResults.html If anyone would care to add some insight into why Bonnie and IOZone are/aren't good benchmarks for such a test, feel free to share. Also, I didn't bother to write any conclusions to the tests; I merely generated the data. As with everything RAID, there's no 'best' configuration, and it doesn't seem like there was a clear winner as a result. I also doubt whether you could draw any conclusions about the OS and hardware driver implementation. As far as single-user systems go, I don't think you'd see any difference performance-wise regardless of stripe size. If someone can suggest a methodology for multi-user testing, I'd consider giving it a go. NOTE: I do still have a question about large disks. My 4x200 RAID5 array (~550GB) won't load if I tell sysinstall to use the entire disk as one slice, with partitions amongst that slice. Given the large size of the array, I ignored warnings about '# of cylinders' but I'm still curious why I can't use the whole disk as one bootable slice. Any suggestions? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove ^M characters from xhtml file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, why have a BUNCH of ^M characters in your file if you don't *need* them? If there is no point in having these characters I want them removed. BTW, your command worked fine. I've tried it on several files and it works just fine. Thanks. On Mon, 1 Dec 2003 03:53:00 +0100 Melvyn Sopacua [EMAIL PROTECTED] wrote: On Monday 01 December 2003 04:39, Bryan Cassidy wrote: Well, I take that back. It worked on 1 file and then ir started erasing the contents of the file. On Sun, 30 Nov 2003 21:29:13 -0600 Bryan Cassidy [EMAIL PROTECTED] wrote: Sorry about sending you a e-mail directly. The tr -d '/r' name Robin Schoonover [EMAIL PROTECTED] wrote: name). Also you can use the tr command (tr -d '\r' name Spot the difference. Another way: perl -pi.bak -e 's/\r$//' *.xhtml BTW: why is this even an issue that needs a solution? XHTML doesn't care one way or the other, since all linear spacing is folded into one space.-- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386=== -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/ysX4m8uTTHnDH3ERAuv7AKCyUppGcn1gttFeGPQKRaHcMSqfMgCdFpJd T0jXqXZgUEFi5gsM0DkkgSo= =eors -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Sun, Nov 30, 2003 at 09:12:03PM -0500, Gerard Samuel wrote: On Sunday 30 November 2003 08:29 pm, Gary Kline wrote: Yipes! No wonder no FUD port has been done! I have a one-line php test file in /usr/local/www/data/hello.php; *with* mod_php4, several pages of system data shows up, but with only php4, I have the option to Download or Cancell. This is using lynx. With mod_php4 and pointing mozilla at localhost/~kline/FUDforum2/install.php a frame pops up and asks what I want to do with the file. If I download, the installation file winds up in ~kline. Im guessing its Apache. You should have these entries in /usr/local/etc/apache/httpd.conf and if not, enter them and restart apache - LoadModule php4_modulelibexec/apache/libphp4.so AddModule mod_php4.c IfModule mod_dir.c IfModule mod_php3.c [[ ... ]] /IfModule I thought I had these and I do; I dropped these in last May... -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
a watchdog program in FreeBSD?
Hello. I have a STMicroelectronic USB Dual-mode Camera that shipped with a Windows watchdog program. When truned on it detects moves, and alarm for possible human move. It is useful to guard the house. I've been using it for sometime. Now I wish to use in in FreeBSD. Would it be difficult to find drives and watchdog programs for it? I didn't find one in the port collection. _ MSN Messenger: http://messenger.msn.com/cn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Mon, Dec 01, 2003 at 03:39:37AM +0100, Melvyn Sopacua wrote: On Monday 01 December 2003 02:29, Gary Kline wrote: Yipes! No wonder no FUD port has been done! You mean this? (I'm still trying to improve this, but need a hack on bsd.php.mk to make it more user-friendly). Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ fudforum.sh. -- Melvyn fudforum.sh?? Hm, looks like I grabbed the wrong .bz2 tarball. Can you point me at the right URL and which files to download? I have FUD 2.0.6RC7. Figured that should be stable enough... thanks much. gary PS: tar - tyvf yields:: pp 19:45 tao [2354] tar -tyvf FUDforum_zl_2-6-0RC7.tar.bz2 drwxr-xr-x forum/hosting 0 Nov 21 08:57 2003 FUDforum2/ -rw-r--r-- forum/hosting 18395 Jun 17 16:00 2002 FUDforum2/COPYING -rw-r--r-- forum/hosting 2360 Jun 5 16:07 2003 FUDforum2/CREDITS -rw-r--r-- forum/hosting 1736 Jul 30 18:26 2003 FUDforum2/README -rw-r--r-- forum/hosting 5428 Oct 9 07:34 2003 FUDforum2/uninstall.php -rw-r--r-- forum/hosting 1378855 Nov 21 08:57 2003 FUDforum2/install.php -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Monday 01 December 2003 04:50, Gary Kline wrote: On Mon, Dec 01, 2003 at 03:39:37AM +0100, Melvyn Sopacua wrote: On Monday 01 December 2003 02:29, Gary Kline wrote: Yipes! No wonder no FUD port has been done! You mean this? (I'm still trying to improve this, but need a hack on bsd.php.mk to make it more user-friendly). Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ fudforum.sh. -- Melvyn fudforum.sh?? Hm, looks like I grabbed the wrong .bz2 No - the mailinglist software stripped the attachment. It was a shar archive (see my message 5 minutes later), which is commonly used to distribute new ports or proposals for that. What I did after I proposed this software to you, is create a port for it, and find out for myself what issues would arise if a port would be created. It's a pretty straight-forward port actually which doesn't need much magic. The only annoying thing is that there's no way currently for a port to determine which php extensions have actually been compiled into php, other then guessing if the mysql library is there, then probably the php build has the mysql extension as well, which is not necessarily the case. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
general updating and staying current questions...
This is likely alredy answered elsewhere... but... what methods are there for keeping up to date with BSD-STABLE? OK, I get using cvsup for ports, how about for the source tree? same deal? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
On Mon, Dec 01, 2003 at 05:06:38AM +0100, Melvyn Sopacua wrote: On Monday 01 December 2003 04:50, Gary Kline wrote: On Mon, Dec 01, 2003 at 03:39:37AM +0100, Melvyn Sopacua wrote: On Monday 01 December 2003 02:29, Gary Kline wrote: Yipes! No wonder no FUD port has been done! You mean this? (I'm still trying to improve this, but need a hack on bsd.php.mk to make it more user-friendly). Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ fudforum.sh. -- Melvyn fudforum.sh?? Hm, looks like I grabbed the wrong .bz2 No - the mailinglist software stripped the attachment. It was a shar archive (see my message 5 minutes later), which is commonly used to distribute new ports or proposals for that. What I did after I proposed this software to you, is create a port for it, and find out for myself what issues would arise if a port would be created. It's a pretty straight-forward port actually which doesn't need much magic. The only annoying thing is that there's no way currently for a port to determine which php extensions have actually been compiled into php, other then guessing if the mysql library is there, then probably the php build has the mysql extension as well, which is not necessarily the case. From the 3-D dos-style window that appears during php4 and mod_php4, both have mysql as defalt extensions. (postgresql7 is not a default, so I added it.) I'd like to have at least a few opensrc BBS/message board suites available for FBSD. phpbb and phorum are two I've tried. After a week of mis-tries (last May) I finally got phpbb-2.0.4 working. phpbb died inexplicably when I upgraded a week ago. The trouble with phorum is that my browser display goes white after only the first two or three installation steps. Can you send me a tarball of your port off-list? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
100 MHz pentium: can that play avi-file movies?
Hi, 100 MHz pentium with up-to-date FreeBSD-stable; would that allow me to play avi-file movies with mplayer or equivalent media player? Videocard is a Riva TNT2 with 16 Mb. Thanks, Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100 MHz pentium: can that play avi-file movies?
100 MHz pentium with up-to-date FreeBSD-stable; would that allow me to play avi-file movies with mplayer or equivalent media player? Videocard is a Riva TNT2 with 16 Mb. Depends on codec/resolution/bitrate. But if you wish to play MPEG-4 movies with DVD like resolution and bitrates in the 500-1500 range with, I would say no... mplayer is fast, but not that fast. At least I do not believe so. I could be wrong. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sharing a printer to windows clients
Ian Todd [EMAIL PROTECTED] writes: Ive installed a printer and shared it on my bsd box.I can see and install the printer from my windows pc.But when i want to print i get access denied.Where do you set the permissions for the printer? That depends on how you're sharing it. For a Samba installation, I have: [lp] comment = Lowell's printer guest ok = Yes max print jobs = 1 printable = Yes in smb.conf. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mozila Thunderbird and local mail
Hello, Is it possible to use Mozilla Thunderbird email client to receive from your local /var/mail/username like kmail/evolution/sylpheed can? Or does one have to use procmail to deliver them into thunderbird's directory? Best regards, Jonas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100 MHz pentium: can that play avi-file movies?
Rob wrote: Hi, 100 MHz pentium with up-to-date FreeBSD-stable; would that allow me to play avi-file movies with mplayer or equivalent media player? Videocard is a Riva TNT2 with 16 Mb. Thanks, Rob. To many unknowns. I have a dual p200 with around 196 meg of ram and the usual services running and I would get coughs and sputters on and off. Also mplayer will let you know if your system is slow when you play it. If it does work unacceptably then maybe shutdown some services, use a window manager that uses low resources. You might be able to use the svga (or what ever that driver is called) driver so that you don't have to use X. Another tip might be to burn the AVI to CD or a file system that is not part of the primary HD so that you don't have bottle necks with swap files and other stuffs during the IO process. Oh, and I have a Riva TNT with maybe 16 meg of RAM. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove ^M characters from xhtml file
On Sun, 30 Nov 2003, Bryan Cassidy wrote: I've downloaded a couple of .xhtml files and they have ^M characters all through it. I tried the col -b name newname command on these files but when I do that it erases the whole document. Any ideas? perl -pi -e s#\r##g filespecs If it is just one or two files it might be just as easy to search and replace \r with nothing in your text editor (depending on your text editor). -- Lars Eighner [EMAIL PROTECTED] -finger for geek code- http://www.io.com/~eighner/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Solved [Re: delete first partition XP and reformat as ufs - kernel not found]
On Sun, 30 Nov 2003, Dorin H [EMAIL PROTECTED] wrote: Hi there, Hoping that this will help somebody else: Deleting the XP boot partition that came first on disk (the FreeBSD was the last) and changing its type to FreeBSD FS render my laptop unbootable. I got the prompt when trying to boot FreeBSD: FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: The problem was that the new XP partition, not yet labeled, was still marked as bootable, as well as the real bootable FreeBSD partition. Flipping that flag off repair the problem! QUESTION: Where I can find an explanation of the syntax for previous prompt (boot2 prompt according to handbook) ? All my attempts to redirect the boot to search in the correct partition failed. Thanks a lot, /Dorin. The second stage FreeBSD boostrap program, boot2, assumes that the the slice being booted is the FreeBSD slice with the active partition flag set or (if no FreeBSD slice has the active partition flag) the first FreeBSD slice. If you have two FreeBSD slices on a single disk and your MBR (master bootstrap record) program does not rewrite the MBR with the active flag set for the selected slice before it runs boot2, either because you have disabled that feature with the boot0cfg command or because you are not using the FreeBSD boot0 MBR program, then boot2 could very easily try to boot the wrong slice. If I understand your email, you must have run afoul of the fragile assumptions made by boot2. What program were you using for the master bootstrap? Do you know which slice had the active partition flag? Dan Strick [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mozilla metaport ??? [was:] view postscript files from mozilla?
I just wondered, if it would make sense to create some kind of mozilla metaport (could be called FBSD-mozilla or gnome-mozilla), that sets up all known plugins, wrappers, fonts - perhaps also languages and some themes - automagically. Thus the naive user - like me - could install a fully qualified and state-of-the-art browser without having to experiment with different kinds of mozilla with and without linux, jdk's and so on. Regards, Uli. +---+ |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: Gstreamer-plugins - update
Update - I forgot to do a backtrace and I was able to find out that it was the avifile that was causing the gst-register (for gstreamer-plugins) to crash at end of installation. After uninstalling avifile, gstreamer-plugins installed just fine. Who should I send this bug report to? To portmaintainer or to gstreamer developers? Best regards, Jonas On Sunday 30 November 2003 13:56, Jonas Manalive wrote: Hello, In installing gstreamer-plugins, I activated all plugins within the Makefile. The output is as below: ... long list of added plugin... rebuilding user_registry loaded 122 plugins with 296 features Abort trap (core dumped) *** Error code 134 Stop in /usr/ports/multimedia/gstreamer-plugins. Then I used the gdb to trace the gst-register.core: # gdb gst-register gst-register.core ... long list of reading and loading symbols Reading symbols from /usr/libexec/ld-elf.so.1...done. Loaded symbols for /usr/libexec/ld-elf.so.1 #0 0x283dc3e3 in kill () from /usr/lib/libc.so.5 -- Some time ago I remembered on the list (on questions@ or gnome@) someone said that one of the plugins conflicted with another. I can't find it in my search of archives. Does anyone remember what plugin I need to comment out in reinstalling gstreamer-plugins? I could be wrong and this error could be something else, what can I do? Best regards, Jonas ___ [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: mozilla metaport ??? [was:] view postscript files from mozilla?
On Mon, Dec 01, 2003 at 07:03:01AM +0100, Peter Ulrich Kruppa wrote: I just wondered, if it would make sense to create some kind of mozilla metaport (could be called FBSD-mozilla or gnome-mozilla), that sets up all known plugins, wrappers, fonts - perhaps also languages and some themes - automagically. Thus the naive user - like me - could install a fully qualified and state-of-the-art browser without having to experiment with different kinds of mozilla with and without linux, jdk's and so on. I'd sure buy into this! After spending hours fumbling around with linux-jdk ... . (*mumble*) It's probably the porters wsho understand what fits with what and could best put together this kind of metaport. echo to stdout things like: THIS will not work with THAT because of x, y, z. Or refuse (unless -f [forced) to portupgrade quasi-stable versions of linujx-mozilla-devel to non-stable alpha versions. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]