Upgrade 5.4 - 6.0
Hi! Can someone tell me the proper steps for upgrading from 5.4 - 6.0? I have also stuff installed from the ports collection, eg. cyrus-imapd, clamav, etc. Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix help
Michael Sherman skrev: Hello all. Hello. I am trying to get postfix to relay mail through my ISP, without much luck though. relay=smtp-rog.mail.yahoo2.akadns.net[206.190.36.18], delay=0, status=bounced (host smtp-rog.mail.yahoo2.akadns.net[206.190.36.18] said: 530 authentication required - for help go to ^^^ http://help.yahoo.com/help/us/mail/pop/pop-11.html (in reply to MAIL FROM command)) Any ideas? Tell postfix to do authentication. Wich I belive is not possible to do with an MTA. Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing maximum number of groups in FBSD - is it feasible?
On Wed, Dec 07, 2005 at 01:48:04PM -0500, Michael P. Soulier wrote: On 12/7/05, Ian Moore [EMAIL PROTECTED] wrote: Hi, I'm toying with the idea of increasing the maximum number of groups a user can belong to on one of my servers - we have a rather complex organisation and we're hitting the 15 group limit for some people. Have you considered cascading groups? That's the normal workaround on Enterprise Unix systems like HP-UX and Solaris. Instead of putting everyong in group, do this instead. group:*:100:group1,group2 group1:*:101:user1,user2 group2:*:102:user3, user4 AFAIK FreeBSD (and Linux) does not support nested groups (I'm not sure about POSIX) :-( So you can use ACLs (as I do now), or you can recompile world/kernel with changed syslimits.h: syslimits.h:#define NGROUPS_MAX16 as I did with FreeBSD-4.X. But be careful on system upgrading. You need compile both world and kernel because these limits get compiled to libc, kernel and some static linked utilite and some static linked utilites.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error Building ICU
On Wed, Dec 07, 2005 at 12:52:16PM -0500, Gerard Seibert wrote: I am unable to build the devel/icu port. Everything goes fine until the end when this error message is displayed: /custrtrn/ ---[OK] ---/custrtrn/Test_UChar_UTF32_API ---[OK] ---/custrtrn/Test_UChar_UTF8_API ---[OK] ---/custrtrn/Test_UChar_WCHART_API ---[OK] ---/custrtrn/Test_widestrs cintltst in free(): error: page is already free Abort trap (core dumped) *** Error code 134 I had this problem. I even did send-pr. But later I investigated that devel/icu builds fine on clean system. Because I could not track which installed port causes this I run postgresql+icu in clean jail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installation
I use Linux, but for a project I am doing it involves the BSD port system so now I want to experience it for myself. As I said I have Linux and Windows with GRUB. If I try and install FreeBSD will it detect I already have grub, a swap drive? Will it also give me an option to partition it? FreeBSD doesn't detect the MBR, the MBR detects the bootable slices. So, that concept is backwards. If you mean will it overwrite GRUB, no. It will ask during installation if you want to write the FreeBSD MBR. If you want to keep Grub, just tell it not to write an MBR. You will have to tell it which pieces of disk to use as swap. That generally goes in /etc/fstab. The sysinstall utility will give you options to do whatever you want with the drive including wipe it and start over. I presume you don't want that, so study it up a bit and select the most meaningful options during boot. It is all in the handbook, which is online at freebsd.org. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD on Intel SE7500wv2
Helo, freebsd-questions. Can any one install FreeBSD on Intel SE700WV2 with dual Xeon? I was rebuild kernel with options SMP, but after reboot I see one Xeon with 2 ligical CPU (HT). In boot time BIOS say that I have 2xXeon 2.8GHz. Help please... -- Georg mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
*nix qualification
Hi All Slightly off topic sorry but Im trying to brake out of my hardware suppport role and into a more sys admin role My company will not support this so im doing this off my own back What cert would people recomend to do at home ? (This my own money here so cant afford corporate rates) I have a small home network running x86 machines So Aix is out unless can find a p-series box cheap Arden ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error Building ICU
On Thursday, December 08, 2005 3:34:31 AM, Igor Robul [EMAIL PROTECTED] Subject: Re: Error Building ICU Wrote these words of wisdom: On Wed, Dec 07, 2005 at 12:52:16PM -0500, Gerard Seibert wrote: I am unable to build the devel/icu port. Everything goes fine until the end when this error message is displayed: /custrtrn/ ---[OK] ---/custrtrn/Test_UChar_UTF32_API ---[OK] ---/custrtrn/Test_UChar_UTF8_API ---[OK] ---/custrtrn/Test_UChar_WCHART_API ---[OK] ---/custrtrn/Test_widestrs cintltst in free(): error: page is already free Abort trap (core dumped) *** Error code 134 I had this problem. I even did send-pr. But later I investigated that devel/icu builds fine on clean system. Because I could not track which installed port causes this I run postgresql+icu in clean jail. * REPLY SEPARATOR * On 10/11/2005 5:29:42 PM, Gerard Replied: That seems like a lot of work, but I will give it a try. Thanks for your assistance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.4 - 6.0
Hi there! Can someone tell me the proper steps for upgrading from 5.4 - 6.0? I have also stuff installed from the ports collection, eg. cyrus-imapd, clamav, etc. First follow the handbook for rebuilding world and kernel. The first thing you should do is cvsup your source. As far as I've understood, it's recommended to upgrade to 6.0-release first, and then to 6.0-stable if you want that. When you've upgraded the base and kernel, you can sync your portstree with portsnap or cvsup, and use either portsupgrade or portmanager to upgrade all extra packages that you have installed. If you don't have a quick machine, you might want to use the package-switch to make it check for precompiled packages before building from source. Relevant handbook refs. I think would be: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html //Torgeir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipmon syslog facility in FreeBSD 6.0
Hello! What syslog facility is ipmon using on FreeBSD 6.0? From the documentation I don't see that anything is supposed to be changed from 5.4, where it was 'security'. So on my freshly-installed FreeBSD 6.0 I made modifications to /etc/syslog.conf similar to those that work on 5.4. Basically I added this as the first uncommented line to /etc/syslog.conf security.* /var/log/ipfilter However, nothing is logged to /var/log/ipfilter. I'm using the default value for ipmon_flags in /etc/rc.conf and ps output shows that '/sbin/ipmon -Ds' is running. At the same time, ipfstat -ih shows increasing number of hits on rules which have 'log' keyword in them. The logfile /var/log/ipfilter exists and is mode 0600, owner root:wheel. When I enable all.log in syslog.conf, ipmon messages are logged to all.log. So it seems like I'm not using the correct facility for /var/log/ipfilter. How can I find out what the correct facility is? I tried reading the source, but it's beyond my comprehension (except contrib/ipfilter/Makefile, which seems to imply that it's still 'security'). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cron
I have a script that is running in root's cron. The script runs successfully, but it emails me on completion with info I don't need. Is there a command I can add to have it not mail? I don't want to shut off all crons mail, just that one job. The only thing I could find in the man pages deal with mail globally. TIA, Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com --- pgpTWqO0QRyPX.pgp Description: PGP signature
Re: MD5 discrepancy in 6.0-RELEASE/src/CHECKSUM.MD5
On 12/8/05, James Long [EMAIL PROTECTED] wrote: Inside the CHECKSUM.MD5 file, however, it says that its own checksum should be MD5 (CHECKSUM.MD5) = 6ee62cd847afff4cadf6648389c67a11 This is interesting; how can the MD5 of a file be contained inside the file itself? Or rather, how can one correctly place it there? Since the MD5 algorithm does not converge, I would think this was impossible. Is it not? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't Mount Windows NT From FreeBSD 6.0 Stable
On 12/8/05, RdBSD [EMAIL PROTECTED] wrote: Kernel Error : WARNING: userland calling deprecated sysctl, please rebuild world Do as the waning tells you: Rebuild your world. Seems your userland and kernel is out of sync. The process is described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cron
On Thursday, December 08, 2005 5:23:10 AM, Beecher Rintoul [EMAIL PROTECTED] Subject: cron Wrote these words of wisdom: I have a script that is running in root's cron. The script runs successfully, but it emails me on completion with info I don't need. Is there a command I can add to have it not mail? I don't want to shut off all crons mail, just that one job. The only thing I could find in the man pages deal with mail globally. TIA, Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com --- * REPLY SEPARATOR * On 10/11/2005 5:29:42 PM, Gerard Replied: Append this. sans quotation marks, to the end of the command: /dev/null 21 That should do the trick. -- Gerard Seibert [EMAIL PROTECTED] Only one shopping day left until tomorrow! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cron
On Thursday 08 December 2005 01:39 am, Gerard Seibert wrote: On Thursday, December 08, 2005 5:23:10 AM, Beecher Rintoul [EMAIL PROTECTED] Subject: cron Wrote these words of wisdom: I have a script that is running in root's cron. The script runs successfully, but it emails me on completion with info I don't need. Is there a command I can add to have it not mail? I don't want to shut off all crons mail, just that one job. The only thing I could find in the man pages deal with mail globally. TIA, Beech On 10/11/2005 5:29:42 PM, Gerard Replied: Append this. sans quotation marks, to the end of the command: /dev/null 21 That should do the trick. Thanks, I'll give that a try. Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com --- pgpsmdGwZGyj5.pgp Description: PGP signature
Re: hardening FreeBSD for Spamassassin
jdow wrote: From: Alex Zbyslaw [EMAIL PROTECTED] jdow wrote: http://www.surl.org/. You mean http://www.surbl.org/ The other URL works but isn't very useful :-) I did indeed mess up and leave out the b. Mea culpa. I should add thanks for the interesting post and useful information. For someone like me, without the time to keep up with all the latest trends in spam killing it's nice to be fed these tidbits every now and again. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipmon syslog facility in FreeBSD 6.0
Toomas Aas wrote: What syslog facility is ipmon using on FreeBSD 6.0? From the documentation I don't see that anything is supposed to be changed from 5.4, where it was 'security'. I found the pr bin/88780. Seems that unintentionally the syslog facility has changed to local0. I modified my syslog.conf accordingly and it does work now. -- Toomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnome2
O/H Louis J. LeBlanc έγραψε: On Wed, December 7, 2005 12:21 pm, Paul Schmehl wrote: --On Wednesday, December 07, 2005 11:13:45 -0500 Louis J. LeBlanc [EMAIL PROTECTED] wrote: quote who=Paul Schmehl Edit /etc/ttys like this: ttyv8 /usr/X11R6/sbin/gdm -nodaemon xterm on secure And gnome will start when you boot. Actually, don't the docs suggest turning OFF ttyv8? IIRC, the more recent approach is to put gdm_enable=YES (or something similar) in /etc/rc.d. Check the pkg_message file in the port directory to be sure. pkg-message points to www.freebsd.org/gnome, which doesn't say anything about startup (AFAICS) except this: Make GNOME 2.12 start when X starts. Once you have the GNOME 2.12 desktop installed, GNOME 2.12 can be started by adding the following line to ~/.xsession or ~/.xinitrc, as appropriate: exec gnome-session Yes, this detail was mentioned previously, and I did forget to repeat it ... There's nothing about starting gnome in /usr/ports/UPDATING. The Handbook suggests using ttyv8 (as I do) for xdm (section 5.6.2): ttyv8 /usr/X11R6/bin/xdm -nodaemon xterm off secure Yes, this turns the display manager running on ttyv8 off - no display manager will start up. It does, however, create the virtual terminal for gdm to start on. This is actually the default entry anyway. SNIP Section 5.7.1.2 says this: The easiest way to start GNOME is with GDM, the GNOME Display Manager. GDM, which is installed as a part of the GNOME desktop (but is disabled by default), can be enabled by adding gdm_enable=YES to /etc/rc.conf. Once you have rebooted, GNOME will start automatically once you log in -- no further configuration is necessary. In short, there's more than one way to skin a cat. Actually, I was under the impression they were just different parts of the same procedure. I believe the entry above assumes that /etc/ttys has not already been modified to start xdm (i.e. it's still off, which is the default at install). If the virtual terminal line is omitted or commented out, gdm will not have a place to run. If it is on instead of off that terminal will run xdm instead. If gdm_enable=yes is not put in /etc/rc.conf (I wrote /etc/rc.d in my last message, which was a mistake on my part), the script installed in /usr/local/etc/rc.d/ will not start gdm at startup. Thanks for the correction regarding /etc/rc.conf. Cheers. Lou Thank you all for your suggestions. I had already enabled gdm_enable=YES in /etc/rc.conf but still no change I also tried the Edit /etc/ttys like this: ttyv8 /usr/X11R6/sbin/gdm -nodaemon xterm on secure but it did not start after reboot. There was an error about not finding something (sorry i did not keep the error). So I thought to make install clean from the ports again. Now I m waiting for it to finish (takes a lot of time...) and see it again. I did that also because I did not find the script installed in /usr/local/etc/rc.d/ I'll keep you informed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Send emails with attachments from command line
Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Cheers Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: console characters/keyboard
On 12/8/05, Glenn Dawson [EMAIL PROTECTED] wrote: At 07:17 PM 12/7/2005, Aaron Peterson wrote: I have been working with a database recently that contained values with special characters. A lower case n with a tilde over it for instance. Anyway, during the conversion of the database from mysql to sqlite these special characters got corrupted. I ended up fixing them by hand since there weren't many, but during the process I realized these things: 1) My console does not print these characters, but empty box characters instead 2) I have no good way of entering these characters (that I know of) with my standard keyboard layout and language settings. So the obvious questions follow: 1) Can I somehow alter my console or add fonts so these characters are displayed properly 2) I ended up writing a perl program and giving it html entities to decode back to the special character and insert into the database, but this is very roundabout. How can I set my FreeBSD box up to be able to enter such characters manually? You can produce whatever character you like by using the alt key and the number pad. Hold down alt and type the ascii value (in base 10) on the number pad. When you release the alt key, the character will be sent as if it had been typed. Note that this only works with the number pad. I suppose keeping Xorg from intercepting these key combinations and doing nothing with them is more complicated... (I just get beeps, no characters) Any clues on that? Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnome2
O/H Louis J. LeBlanc έγραψε: On Wed, December 7, 2005 12:21 pm, Paul Schmehl wrote: --On Wednesday, December 07, 2005 11:13:45 -0500 Louis J. LeBlanc [EMAIL PROTECTED] wrote: quote who=Paul Schmehl Edit /etc/ttys like this: ttyv8 /usr/X11R6/sbin/gdm -nodaemon xterm on secure And gnome will start when you boot. Actually, don't the docs suggest turning OFF ttyv8? IIRC, the more recent approach is to put gdm_enable=YES (or something similar) in /etc/rc.d. Check the pkg_message file in the port directory to be sure. pkg-message points to www.freebsd.org/gnome, which doesn't say anything about startup (AFAICS) except this: Make GNOME 2.12 start when X starts. Once you have the GNOME 2.12 desktop installed, GNOME 2.12 can be started by adding the following line to ~/.xsession or ~/.xinitrc, as appropriate: exec gnome-session Yes, this detail was mentioned previously, and I did forget to repeat it ... There's nothing about starting gnome in /usr/ports/UPDATING. The Handbook suggests using ttyv8 (as I do) for xdm (section 5.6.2): ttyv8 /usr/X11R6/bin/xdm -nodaemon xterm off secure Yes, this turns the display manager running on ttyv8 off - no display manager will start up. It does, however, create the virtual terminal for gdm to start on. This is actually the default entry anyway. SNIP Section 5.7.1.2 says this: The easiest way to start GNOME is with GDM, the GNOME Display Manager. GDM, which is installed as a part of the GNOME desktop (but is disabled by default), can be enabled by adding gdm_enable=YES to /etc/rc.conf. Once you have rebooted, GNOME will start automatically once you log in -- no further configuration is necessary. In short, there's more than one way to skin a cat. Actually, I was under the impression they were just different parts of the same procedure. I believe the entry above assumes that /etc/ttys has not already been modified to start xdm (i.e. it's still off, which is the default at install). If the virtual terminal line is omitted or commented out, gdm will not have a place to run. If it is on instead of off that terminal will run xdm instead. If gdm_enable=yes is not put in /etc/rc.conf (I wrote /etc/rc.d in my last message, which was a mistake on my part), the script installed in /usr/local/etc/rc.d/ will not start gdm at startup. Thanks for the correction regarding /etc/rc.conf. Cheers. Lou guys, I tried the gdm_enable=YES and the exec gnome-session in another fbsd machine I have (where I had the same prob with the laptop) and it WORKS! I searched for the script and i just runned it. So I 'll tell you what will happen now with the laptop. Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Send emails with attachments from command line
On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: not rebooting on panic 5.4
Hi all, I spoke too soon. I could really use some help here. The situation is this : I have a 5.4-release HP LP1000R(SMP kernel daemonology.net) machine running 6 jails, 4 of which are currently in use, running full jails with 1.mysql 2.apache/php 3.qmail (mailtoaster 4.08) and 4. nagios. Approximately once every 12 hours the box panics without rebooting. This behaviour started after having moved +- 100 websites over from a different system. when it does not panic, the load on the system rarely exceeds 10%. Ofcourse I would prefer to figure out when the panics occur but at time my my priority is to have the machine at least reboot automatically. Regards, Ruben -Original Message- From: Ruben Bloemgarten [mailto:[EMAIL PROTECTED] Sent: December 07, 2005 8:10 PM To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: not rebooting on panic 5.4 Never mind, swap=ram. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruben Bloemgarten Sent: December 07, 2005 4:18 PM To: freebsd-questions@freebsd.org Subject: not rebooting on panic 5.4 Hi all, I was hoping someone could tell me how to enable 5.4 to reboot automagically on panics. It just hanging there isn't helping. Thanks, Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Gsm Phone Connection Problem ?
hi all. i want to send sms from computer to mobile phone. but dont know which device my phone connected to. (/dev/???) how can i learn ??? part under /dev ? is there a command to learn the device ? Regards. Bye ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kde hangs at first start...
Javier Matos [EMAIL PROTECTED] writes: Hi, I install FreeBSD 6.0 in my box and create the file xorg.conf.new with rights values. Then I try it with Xorg -config ... (and it works fine)... but when I try to start kde (writing kdm in the console as root) the screen change his resolution trying to start kde but when appear the screen where you must to type your user and password the computer hangs. I try this in two computers and obtain the same effect (and both have PCI Express graphic card). Motherboard: P5GD1_PRO (Intel 915 Chipset) Graphic card: nVidia GeForce FX 6200 128Mb Someone trying to install FreeBSD 6.0 with a PCI Express graphic have a similar problem? Try startx and see what happens. At least you will (probably) get some logs to give you more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: web content filtering with 6.0
Dave [EMAIL PROTECTED] wrote: I've got a 6.0 box running squid as a transparent proxy. I want to implement web content filtering, popup blocking, add blocking, porn site blocking and selective filtering etc. I've read some howtos on a package called dansguardian and another squidguard and adzap that linked in to squid to provide some of this functionality. The stuff i saw was for freebsd 4, nothing for 5 or 6. If anyone has web content filtering using these or other packages going under fbsd6 i'd like to know how you did it. Thanks. I use Privoxy (http://www.privoxy.org/) to block ads and to fix common web design mistakes. Privoxy is part of the ports collection (/usr/ports/www/privoxy). Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: simple shell script
On Wed, Dec 07, 2005 at 08:16:31PM -0900, Beecher Rintoul wrote: Thanks to you both, I missed the background option. Actually it just needs to run in the background to log some hits on a free webserver that I use for testing. I forget and they will cancel my account if there's no traffic for a month. The timeout also looks interesting and I'll look into it. You might want to consider using fetch, wget or curl for this application, not lynx. A simple cron job to request and download your webpage (if your webpage was google.com ; )) could be as simple as: 10 2 * * * /path/to/ftp -o /dev/null http://www.google.com/index.html /dev/null Or, using curl: 10 2 * * * /path/to/curl -s http://www.google.com/index.html /dev/null -- o--{ Will Maier }--o | jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] | | [EMAIL PROTECTED] | [EMAIL PROTECTED] | *--[ BSD Unix: Live Free or Die ]--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Copying kernel and OS
It should work fine. You need to preserve mod and access times as well as flags and permissions. If you are going to do this on a repeated basis, I'd look into something like cvsup or rsync, maybe even mirror, to keep the slow machines directory structures in sync rather than a cp -Rp. Paul. Jack Raats wrote: *** This message has been scanned by the InterScan for CSC-SSM and found to be free of known security risks. *** Is it also possible to scp both directories to the slow machine? JAck - Original Message - From: Stephen Montgomery-Smith [EMAIL PROTECTED] To: Jack Raats [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; FreeBSD Stable freebsd-stable@freebsd.org Sent: Wednesday, December 07, 2005 10:29 PM Subject: Re: Copying kernel and OS Jack Raats wrote: I've two machines running FreeBSD 6.0-STABLE. One very fast machine and one very very slow machine. On the fast machine I can compile a new kernel and OS very quickly and easily. Is it possible to transfer the compile world and kernel to the slow machine. If yes whart directories etc... do i have to transfer. Jack I do something like this. I build on the fast machine, and then use NFS to allow the slow machine to access /usr/src and /usr/obj. I have found that it is important to preserve the names of the directories, so that they are also called /usr/src and /usr/obj on the slow machine. Then I just do mergemaster, make installworld, make installkernel (in the appropriate order) on the slow machine, and it works like a charm. The entries in fstab are like this: hub2:/usr/obj/usr/objnfs rw,bg,noauto0 0 hub2:/usr/src/usr/srcnfs rw,bg,noauto0 0 where hub2 is the name of the fast machine. In /etc/exports on hub2 I have something like this /usr -maproot=root -alldirs -network 10.0.0.0 -mask 255.255.255.0 (here 10.0.0.0 is the IP addresses of my LAN) and in /etc/rc.conf on hub2 I have some lines like nfs_server_enable=YES rpcbind_enable=YES Then on the slow machine I simply type mount /usr/src mount /usr/obj -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] -- __ Paul T. Root /_ \ 1977 MGB / /|| \\ ||\/ || _ | || || || \ ||__// \__/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnome2
well somewhere in the middle of make install packets for gnome2 it stuck. I --ctrl-C-- it looked for the gdm.sh script in the /usr/local/etc/rc.d/ and there was nothing. Went to ~/.xinitric and commented exec gnome-session I only left in /etc/rc.conf the gdm_enable=YES and restarted the machine (laptop). Gnome started without any prob! beats me completely! I would like to ask you what do you think of Fluxbox and XFce and if for a windows user they are better than gnome. Thank you all. --spen-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Send emails with attachments from command line
On Thursday 08 December 2005 13:35, Igor Robul wrote: On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. Thanks Metamail needs X11 which I don't want on the server, so I've gone with mutt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Copying kernel and OS
On 2005-12-08 07:02, Jack Raats [EMAIL PROTECTED] wrote: Is it also possible to scp both directories to the slow machine? Maybe, but why do that? NFS is going to work better :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SV: Send emails with attachments from command line
-Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Ashley Moran Skickat: den 8 december 2005 16:05 Till: freebsd-questions@freebsd.org Ämne: Re: Send emails with attachments from command line On Thursday 08 December 2005 13:35, Igor Robul wrote: On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. Thanks Metamail needs X11 which I don't want on the server, so I've gone with mutt. I sometimes use: #uuencode filetosend.ext filetosend.ext | mail -s File [EMAIL PROTECTED] But not sure if thats correct. /Henrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix help
On Wednesday 07 December 2005 23:01, Michael Sherman wrote: Hello all. I am trying to get postfix to relay mail through my ISP, without much luck though. ... relayhost = smtp.broadband.rogers.com smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd Yet when I try to send any mail it gets bounced back by Rogers (which uses Yahoo for mail services) : There is a how-to here for another ISP that uses Yahoo: http://efflandt.freeshell.org/sbc-smtp-auth.html#postfix One thing that springs to mind is that by omitting the [] around smtp.broadband.rogers.com you are asking for the MX servers to be used. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MySQL forgot some of my data!
Our company has a few very large databases (9gb) which required a shut down, upgrade and restart last night, it this act has caused me all manour of headache: 1. I did a full backup of all the data (Good Idea) 2. I ran mysqladmin -uroot -p shutdown 3. I waited... and waited... and waited Twenty minutes passed and the server continued to say that it was indeed shutting down. The only problem was that it wasn't shutting down. The server's load was 0.00 and i could access mysql via the command-line client. Ctrl-C'ing the shutdown and restarting it didn't seem to help either. What's worse, logging in with the client had me freaking out when I couldn't find some of my data: mysql SELECT * FROM campaigns LIMIT 0; ERROR 1017 at line 1: Can't find file: 'campaigns.MYI' (errno: 2) After some investigation, we realised that a cron on another machine was running every minute, talking to this database, and assuming that this was the issue, we turned that stuff off too only to find that mysqladmin *STILL* wouldn't actually shut anything down. So I decided to try a few other things: # kill -s SIGTERM `cat /var/db/mysql/hostname.pid` nothing # kill `cat /var/db/mysql/hostname.pid` still nothing # kill -9 `cat /var/db/mysql/hostname.pid` That did it. Bringing the database back up though confirmed it, we'd lost a few whole tables and possibly some additional data as well. No data corruption though, just loss. A full restore from our now roughly 24hours old backup would be required. So my questions to you, deal list are: 1. Should mysqladmin shutdown take this long? a. Is this normal even with a load of 0.00? 2. Is this the best way to shut down a database of this size? 3. What is most likely to be the cause of the data loss? Thanks for any insight here. I hope this is a lesson to you all: Backups are Groovy ;-) -- democracy, taken in its narrower, purely political sense, suffers from the fact that those in economic or political power possess the means for molding public opinion to serve their own class interests. - albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
calendar scheduler
I've been searching for a web-based calendar, scheduler and message board for a small network of 15 employees. I saw one about a year ago that used bsd-apache-php and any browser could access it, but I've been unable to find it now. Any suggestions to fill the need? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple shell script
On Thursday 08 December 2005 05:39 am, Will Maier wrote: On Wed, Dec 07, 2005 at 08:16:31PM -0900, Beecher Rintoul wrote: Thanks to you both, I missed the background option. Actually it just needs to run in the background to log some hits on a free webserver that I use for testing. I forget and they will cancel my account if there's no traffic for a month. The timeout also looks interesting and I'll look into it. You might want to consider using fetch, wget or curl for this application, not lynx. A simple cron job to request and download your webpage (if your webpage was google.com ; )) could be as simple as: 10 2 * * * /path/to/ftp -o /dev/null http://www.google.com/index.html /dev/null Or, using curl: 10 2 * * * /path/to/curl -s http://www.google.com/index.html /dev/null Thanks, that is a much simpler solution. I have curl installed and I'll give it a try. Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com --- pgp7sd5r4P4Bg.pgp Description: PGP signature
Re: postfix help
On Wednesday 07 December 2005 23:32, Paul Schmehl wrote: Yahoo wants authentication. Postfix doesn't do smtp-auth between mailhosts, ... relay-host smtp-auth is pretty much an essential feature of an MTA these days, with so many ISP-assigned addresses being on blocklists. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix help
Paul Schmehl [EMAIL PROTECTED] writes: Postfix doesn't do smtp-auth between mailhosts, Eh? Is http://www.postfix.org/SASL_README.html#client_sasl wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MD5 discrepancy in 6.0-RELEASE/src/CHECKSUM.MD5
On Thursday 08 December 2005 10:33, Svein Halvor Halvorsen wrote: On 12/8/05, James Long [EMAIL PROTECTED] wrote: Inside the CHECKSUM.MD5 file, however, it says that its own checksum should be MD5 (CHECKSUM.MD5) = 6ee62cd847afff4cadf6648389c67a11 This is interesting; how can the MD5 of a file be contained inside the file itself? Or rather, how can one correctly place it there? Since the MD5 algorithm does not converge, I would think this was impossible. Is it not? Hopefully. The CHECKSUM.SHA256 file also contains a wrong entry for the CHECKSUM.MD5 but no entry for itself. Other directories have CHECKSUM.MD5 files which don't contain a hash for themselves. I guess an old CHECKSUM.MD5 file got included accidently. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/usr/disk usage
Hi all, Recently installed 6.0 on a new server. Never had a problem with a /usr FS at 2.0 Gig before, but this one seems to be filling up fast. make clean already done on ports, what else am I missing here? DOnt really want to delete source, but what else can be removed? s1# du -h -d1 2.0K./.snap 24M./bin 13M./include 31M./lib 92K./libdata 15M./libexec 248M./local 13M./sbin 183M./share 411M./src 335M./ports 126M./compat 2.0K./games 2.0K./obj 23M./X11R6 1.4G. s1# Thanks all, -GRant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntp problems (strata too high)
Hi, I am having the same problems as you. Did you find a solution ?. Regards Michael IVC 86 Brook Street London W1K 5AY Michael Wynne T +44 (0)20 7016 1655 F +44 (0)20 7016 1601 M +44 (0)7930 451 057 [EMAIL PROTECTED] Regulated by the Financial Services Authority LEGAL NOTICE The information contained in this e-mail and its attachments ('the information) is intended only for the use of the individual or entity to whom it is addressed, is private and confidential, may be privileged or otherwise protected by work product immunity or other legal rules. Access to the information by anyone else is unauthorized. If you are not the intended recipient you are kindly requested (1) to inform us immediately by return e-mail, (2) to irretrievably erase all copies of the information from your computer systems, (3) not to disclose the information to any other person, (4) to note that any dissemination, distribution or copying of the information is strictly prohibited and (5) not to take or refrain to take any action in reliance upon the information. The Internet cannot guarantee the integrity of this message or of its attachments if any. Attachments to this message have been scanned to remove viruses. IVC accepts no responsibility for these attachments once they have left our office system environment and is not liable for any message or attachment that has been modified. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntp problems (strata too high)
On 12/8/05, Michael Wynne [EMAIL PROTECTED] wrote: The information contained in this e-mail and its attachments ('the information) is intended only for the use of the individual or entity to whom it is addressed, is private and confidential, may be privileged or otherwise protected by work product immunity or other legal rules. Access to the information by anyone else is unauthorized. [...] Then why would you send it to a public mailinglist, that's archived and propagated throughout the internet, and made available to anyone through search engines and the like? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
umass on 4.11-stable
When I plug in some usb drives, I get a message that the da0 device is available and I can mount the drive, but sometimes I just see this: Dec 8 12:46:12 tern /kernel: umass0: LEXAR MEDIA JUMPDRIVE ELITE, rev 2.00/20.00, addr 2 There is no umass0 device... so how do I use this? _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MD5 discrepancy in 6.0-RELEASE/src/CHECKSUM.MD5
On Thu, Dec 08, 2005 at 11:33:14AM +0100, Svein Halvor Halvorsen wrote: On 12/8/05, James Long [EMAIL PROTECTED] wrote: Inside the CHECKSUM.MD5 file, however, it says that its own checksum should be MD5 (CHECKSUM.MD5) = 6ee62cd847afff4cadf6648389c67a11 This is interesting; how can the MD5 of a file be contained inside the file itself? Or rather, how can one correctly place it there? Since the MD5 algorithm does not converge, I would think this was impossible. Is it not? Ah, but of course. Thank you. I simply did an md5 of everything, and diff'ed it against the CHECKSUM.MD5 of everything Thanks for the dope-slap -- um, I mean edification. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Detect hardware changes
Does anyone know of a utility that can run on FreeBSD and detect the addition of new hardware? Specifically network cards? When I originally installed FreeBSD I only had a single NIC and since I installed a second but FreeBSD does not recognize it. Any ideas on how I can get FreeBSD to be aware of the new NIC? Thanks in advance, Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Detect hardware changes
On 12/8/05, Keith Bottner [EMAIL PROTECTED] wrote: Does anyone know of a utility that can run on FreeBSD and detect the addition of new hardware? Specifically network cards? When I originally installed FreeBSD I only had a single NIC and since I installed a second but FreeBSD does not recognize it. Any ideas on how I can get FreeBSD to be aware of the new NIC? I think someone replied to you (or someone with a similar problem) just the other day. Use pciconf -lv to list all hardvare. If you see none@ lines, this means that no drivers did attach to the hardware. Then you either need to recompile you kernel og load the correct kernel module or, if the hardware is not supported, either write a new driver yourself or replace the hardware (or the os). You can use the ifconfig utility to list all recognized NICs installed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade install problem
Hi! I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: # make install === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Installing for db43-4.3.29 === Generating temporary packing list === Checking if databases/db43 already installed pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded pkg_info: package bsdpan-URI-1.35 has no origin recorded === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. --- Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/disk usage
On Thu, Dec 08, 2005 at 11:41:00AM -0500, Grant Peel wrote: Hi all, Recently installed 6.0 on a new server. Never had a problem with a /usr FS at 2.0 Gig before, but this one seems to be filling up fast. make clean already done on ports, what else am I missing here? DOnt really want to delete source, but what else can be removed? s1# du -h -d1 2.0K./.snap 24M./bin 13M./include 31M./lib 92K./libdata 15M./libexec 248M./local 13M./sbin 183M./share 411M./src 335M./ports 126M./compat 2.0K./games 2.0K./obj 23M./X11R6 1.4G. That all seems about normal to me. All you can do is * Add more space * Install fewer ports * Delete src or ports Kris pgpRXrJ7U2atn.pgp Description: PGP signature
Re: umass on 4.11-stable
On Thu, Dec 08, 2005 at 10:47:53PM +0430, Lee Harr wrote: When I plug in some usb drives, I get a message that the da0 device is available and I can mount the drive, but sometimes I just see this: Dec 8 12:46:12 tern /kernel: umass0: LEXAR MEDIA JUMPDRIVE ELITE, rev 2.00/20.00, addr 2 There is no umass0 device... so how do I use this? Try a modern version of FreeBSD. Kris pgppJeF5QnuTz.pgp Description: PGP signature
Re: /usr/disk usage
On 12/8/05, Grant Peel [EMAIL PROTECTED] wrote: Recently installed 6.0 on a new server. Never had a problem with a /usr FS at 2.0 Gig before, but this one seems to be filling up fast. make clean already done on ports, what else am I missing here? DOnt really want to delete source, but what else can be removed? : 335M./ports You can delete files under /usr/ports/distfiles/ If you need to recompile a port sometime it will be downloaded again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with ral wifi driver
You're here, great! I am new to this, so please bear with me ... I've been trying to set up this Ralink Technology RT2500, identifying as ral0 on my server so that my laptop can connect to it and the internet. My gateway and firewall (pf) settings are all OK, so we can skip those, because my setup worked with regular network interfaces before I bought the wireless one. I know the Prism chipsets are preferred over the Ralink ones, but I am currently out of cash. On my server, rl0 goes to my DHCP ADSL router whereas ral0 is suppose to be 192.168.0.1 and connect to my laptop, 192.168.0.2. This is how I tried setting it up: # ifconfig ral0inet 192.168.0.1 netmask 0xff00 \ mode 11b mediaopt adhoc ssid jah wepmode on wepkey 0x316e347465 The hex key here is correct, for 1n4te. I did a echo 1n4te | hexdump -C to get it. But when doing: # ifconfig ral0 wepmode on wepkey 0x316e347465 ifconfig: SIOCS80211: Invalid argument. The same goes for: # ifconfig ral0 wepmode on wepkey 12345 ifconfig: SIOCS80211: Invalid argument. When doing: ifconfig ral0 wepmode off Then my laptop can finally see my wireless network and ping my server. But that's it. # ifconfig ral0 ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::214:85ff:fe1b:cbdf%ral0 prefixlen 64 scopeid 0x2 ether 00:14:85:1b:cb:df media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) status: no carrier ssid jah channel 14 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bintval 100 # ifconfig ral0 list scan SSID BSSID CHAN RATE S:N INT CAPS belkin54g 00:11:50:1a:1b:6d 11 54M 49:0 100 E default 00:13:46:3e:5e:58 6 54M 39:0 100 EPSB I've added if_ral_load=YES to /boot/loader.conf. The wlan module has also been loaded. This thing here works in Windows. And apparently also in OpenBSD. That's reason for me not to give up. Please, somebody who knows what's going on, please get in touch! All the best, K. Vaar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
smartfilter, linux and you
We are attempting to get Smartfilter (content filter that plugs into squid) to work on FreeBSD 6.0. A while ago, Smartfilter use to come as a port for FreeBSD, but after a while they no longer support BSD, only Linux and Solaris. I decided that now it's time to upgrade to a new version (of Smartfilter and the OS) yet again, I would like to replace the Red Had ES 3 server with a BSD box, not a newer RedHat box. Smartfilter's content plugin is designed for RHES 4, and I am trying to get it to work on 6.0 so I have run into a few problems, most which have been overcome, but this one persists. My problem that I am running into now is different then my other compiling/library problems. I did a pre-compile on the RHES 4 server, and now I am trying to compile squid on the FreeBSD 6.0 box. I can't seem to find out what library is missing here. I have done google, did a make all -dA and that's all I got down below. The other errors I could tell what was missing, this one has me scratching my head. I have tried to bypass that file to see what happens, and when I go to install it gives me the same missing library /usr/bin/ld: cannot find -lbsd on a different file. I thought that was interesting to say the least, so I know it's used in more then one spot. I have gone to the BSD handbook also and went thru the Linux compatibility section to make sure I wasn't missing anything. This is a copy of the error message below. What direction do you think it would be worthwhile for me to chase? Do you have any suggestions? Thank you for your time Jay Desjardins ranlib libmiscutil.a source='ntlmauth.c' object='ntlmauth.o' libtool=no depfile='.deps/ntlmauth.Po' tmpdepfile='.deps/ntlmauth.TPo' depmode=gcc3 /bin/sh ../cfgaux/depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -c `test -f ntlmauth.c || echo './'`ntlmauth.c rm -f libntlmauth.a /usr/bin/ar cru libntlmauth.a ntlmauth.o inet_ntoa.o ranlib libntlmauth.a Making all in scripts Making all in src source='cf_gen.c' object='cf_gen.o' libtool=no depfile='.deps/cf_gen.Po' tmpdepfile='.deps/cf_gen.TPo' depmode=gcc3 /bin/sh ../cfgaux/depcomp gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\/usr/local/squid/etc/squid.conf\ -I. -I. -I../include -I. -I. -I../include -I../include -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -c `test -f cf_gen.c || echo './'`cf_gen.c gcc -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -g -o cf_gen cf_gen.o -L../lib -lmiscutil -lm -lbsd -lnsl /usr/bin/ld: cannot find -lbsd *** Error code 1 Stop in /downloads/stuff/squid-2.5.STABLE10/src. *** Error code 1 Stop in /downloads/stuff/squid-2.5.STABLE10. -- --- Insanity is doing the same thing over and over again and expecting different results. - Albert Einstein --- Jay Desjardins Network Developer Eastern Nazarene College 23 East Elm Ave Quincy, MA 02170 (617)745-3805 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smartfilter, linux and you
On Thursday 08 December 2005 11:38, Jay Desjardins wrote: We are attempting to get Smartfilter (content filter that plugs into squid) to work on FreeBSD 6.0. A while ago, Smartfilter use to come as a port for FreeBSD, but after a while they no longer support BSD, only Linux and Solaris. I decided that now it's time to upgrade to a new version (of Smartfilter and the OS) yet again, I would like to replace the Red Had ES 3 server with a BSD box, not a newer RedHat box. Smartfilter's content plugin is designed for RHES 4, and I am trying to get it to work on 6.0 so I have run into a few problems, most which have been overcome, but this one persists. My problem that I am running into now is different then my other compiling/library problems. I did a pre-compile on the RHES 4 server, and now I am trying to compile squid on the FreeBSD 6.0 box. I can't seem to find out what library is missing here. I have done google, did a make all -dA and that's all I got down below. The other errors I could tell what was missing, this one has me scratching my head. I have tried to bypass that file to see what happens, and when I go to install it gives me the same missing library /usr/bin/ld: cannot find -lbsd on a different file. I thought that was interesting to say the least, so I know it's used in more then one spot. I have gone to the BSD handbook also and went thru the Linux compatibility section to make sure I wasn't missing anything. This is a copy of the error message below. What direction do you think it would be worthwhile for me to chase? Do you have any suggestions? Thank you for your time Jay Desjardins ranlib libmiscutil.a source='ntlmauth.c' object='ntlmauth.o' libtool=no depfile='.deps/ntlmauth.Po' tmpdepfile='.deps/ntlmauth.TPo' depmode=gcc3 /bin/sh ../cfgaux/depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -c `test -f ntlmauth.c || echo './'`ntlmauth.c rm -f libntlmauth.a /usr/bin/ar cru libntlmauth.a ntlmauth.o inet_ntoa.o ranlib libntlmauth.a Making all in scripts Making all in src source='cf_gen.c' object='cf_gen.o' libtool=no depfile='.deps/cf_gen.Po' tmpdepfile='.deps/cf_gen.TPo' depmode=gcc3 /bin/sh ../cfgaux/depcomp gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\/usr/local/squid/etc/squid.conf\ -I. -I. -I../include -I. -I. -I../include -I../include -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -c `test -f cf_gen.c || echo './'`cf_gen.c gcc -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -g -o cf_gen cf_gen.o -L../lib -lmiscutil -lm -lbsd -lnsl /usr/bin/ld: cannot find -lbsd *** Error code 1 Stop in /downloads/stuff/squid-2.5.STABLE10/src. *** Error code 1 Stop in /downloads/stuff/squid-2.5.STABLE10. find /usr/ports/*/. | grep pkg-plist | xargs grep libbsd /usr/ports/devel/./agenda-static-libs/pkg-plist:mipsel-linux/lib/libbsd-compat.a /usr/ports/devel/./linux_devtools/pkg-plist:usr/lib/libbsd-compat.a /usr/ports/devel/./linux_devtools/pkg-plist:usr/lib/libbsd.a Try installing devel/linux_devtools -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smartfilter, linux and you
In the last episode (Dec 08), Michael C. Shultz said: On Thursday 08 December 2005 11:38, Jay Desjardins wrote: We are attempting to get Smartfilter (content filter that plugs into squid) to work on FreeBSD 6.0. A while ago, Smartfilter use to come as a port for FreeBSD, but after a while they no longer support BSD, only Linux and Solaris. I decided that now it's time to upgrade to a new version (of Smartfilter and the OS) yet again, I would like to replace the Red Had ES 3 server with a BSD box, not a newer RedHat box. Smartfilter's content plugin is designed for RHES 4, and I am trying to get it to work on 6.0 so I have run into a few problems, most which have been overcome, but this one persists. gcc -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -g -o cf_gen cf_gen.o -L../lib -lmiscutil -lm -lbsd -lnsl /usr/bin/ld: cannot find -lbsd *** Error code 1 Stop in /downloads/stuff/squid-2.5.STABLE10/src. *** Error code 1 Stop in /downloads/stuff/squid-2.5.STABLE10. find /usr/ports/*/. | grep pkg-plist | xargs grep libbsd /usr/ports/devel/./agenda-static-libs/pkg-plist:mipsel-linux/lib/libbsd-compat.a /usr/ports/devel/./linux_devtools/pkg-plist:usr/lib/libbsd-compat.a /usr/ports/devel/./linux_devtools/pkg-plist:usr/lib/libbsd.a Try installing devel/linux_devtools When I'm faced with a program trying to link some unknown missing library, the first thing I do is remove it and see if there really are any unresolved symbols. On all the Linux boxes here, libbsd.a contains a single symbol named __dummy__. I'm betting you can just remove -lbsd with no ill effects. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bacula vs. Amanda vs. whatever ...
I have a home network with two FreeBSD servers (web- and file-server), a number of Windows desktops and a wireless FreeBSD laptop all connected to one another using Samba. What is the best tool to create automatic central backups? For now I just want to make backups on disk but later using an external tape drive. Some swear by Amanda, others insist Bacula works best with Samba, just curious is all. Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smartfilter, linux and you
On Thursday 08 December 2005 11:57, Dan Nelson wrote: In the last episode (Dec 08), Michael C. Shultz said: On Thursday 08 December 2005 11:38, Jay Desjardins wrote: We are attempting to get Smartfilter (content filter that plugs into squid) to work on FreeBSD 6.0. A while ago, Smartfilter use to come as a port for FreeBSD, but after a while they no longer support BSD, only Linux and Solaris. I decided that now it's time to upgrade to a new version (of Smartfilter and the OS) yet again, I would like to replace the Red Had ES 3 server with a BSD box, not a newer RedHat box. Smartfilter's content plugin is designed for RHES 4, and I am trying to get it to work on 6.0 so I have run into a few problems, most which have been overcome, but this one persists. gcc -g -O2 -Wall -DSMARTFILTER -DUNIX -D_REENTRANT -g -o cf_gen cf_gen.o -L../lib -lmiscutil -lm -lbsd -lnsl /usr/bin/ld: cannot find -lbsd *** Error code 1 Stop in /downloads/stuff/squid-2.5.STABLE10/src. *** Error code 1 Stop in /downloads/stuff/squid-2.5.STABLE10. find /usr/ports/*/. | grep pkg-plist | xargs grep libbsd /usr/ports/devel/./agenda-static-libs/pkg-plist:mipsel-linux/lib/libbsd-c ompat.a /usr/ports/devel/./linux_devtools/pkg-plist:usr/lib/libbsd-compat.a /usr/ports/devel/./linux_devtools/pkg-plist:usr/lib/libbsd.a Try installing devel/linux_devtools When I'm faced with a program trying to link some unknown missing library, the first thing I do is remove it and see if there really are any unresolved symbols. On all the Linux boxes here, libbsd.a contains a single symbol named __dummy__. I'm betting you can just remove -lbsd with no ill effects. FreeBSD version shows the same thing: nm /compat/linux/usr/lib/libbsd.a dummy.o: T __dummy__ -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnome2
--On Thursday, December 08, 2005 16:51:32 +0200 spen [EMAIL PROTECTED] wrote: well somewhere in the middle of make install packets for gnome2 it stuck. I --ctrl-C-- it looked for the gdm.sh script in the /usr/local/etc/rc.d/ and there was nothing. Went to ~/.xinitric and commented exec gnome-session I only left in /etc/rc.conf the gdm_enable=YES and restarted the machine (laptop). Gnome started without any prob! beats me completely! Download the gnome_upgrade script from freebsd: http://www.freebsd.org/gnome/gnome_upgrade.sh And run it. That may solve your problem. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix help
--On Thursday, December 08, 2005 11:24:23 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: Paul Schmehl [EMAIL PROTECTED] writes: Postfix doesn't do smtp-auth between mailhosts, Eh? Is http://www.postfix.org/SASL_README.html#client_sasl wrong? Nope. I am. Didn't realize postfix had this capability. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Detect hardware changes
I realized I had the problem when ifconfig did not pickup the network card after a reboot. I went ahead and ran pciconf -lv like you suggested and the relevant output looks like this: [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class= network subclass = ethernet [EMAIL PROTECTED]:12:0: class=0x02 card=0x00c71028 chip=0x920010b7 rev=0x78 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905C-TX Fast EtherLink for PC Management NIC' class= network subclass = ethernet The new NIC that I added is the first one and the old NIC is the second. It seems that the system is detecting it fine but ifconfig still does not display it and there does not appear to be a dev node for it as well. I added the appropriate line in rc.conf and rebooted the system hoping that would cause something to update properly but there was no change. Are there additional steps that have to be taken? Thanks for your help so far, Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Svein Halvor Halvorsen Sent: Thursday, December 08, 2005 12:48 PM To: Keith Bottner Cc: FreeBSD Questions Subject: Re: Detect hardware changes On 12/8/05, Keith Bottner [EMAIL PROTECTED] wrote: Does anyone know of a utility that can run on FreeBSD and detect the addition of new hardware? Specifically network cards? When I originally installed FreeBSD I only had a single NIC and since I installed a second but FreeBSD does not recognize it. Any ideas on how I can get FreeBSD to be aware of the new NIC? I think someone replied to you (or someone with a similar problem) just the other day. Use pciconf -lv to list all hardvare. If you see none@ lines, this means that no drivers did attach to the hardware. Then you either need to recompile you kernel og load the correct kernel module or, if the hardware is not supported, either write a new driver yourself or replace the hardware (or the os). You can use the ifconfig utility to list all recognized NICs installed. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firefox upgrade problem.
So far I've had several instances of this problem and I can't figure out what the heck is wrong. I keep getting these errors: gnome-libtool: link: CURRENT `1001' is not a nonnegative inte gnome-libtool: link: `1001:1:1001' is not valid version information Any ideas why I might be getting these? So far I've gotten it while the firefox port tries to upgrade ATK and Pango and it's always with the Gnome Libtool that's included with the build. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Detect hardware changes
On 12/8/2005 11:51, Keith Bottner seems to have typed: [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class= network subclass = ethernet Looks like this should be supported using the nge driver. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Detect hardware changes
I believe so but for some reason it is still not showing up in ifconfig or as a dev node. Do I need to do something special for FreeBSD to start recognizing it at boot? -Original Message- From: Peter Giessel [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 3:02 PM To: Keith Bottner Cc: 'FreeBSD Questions' Subject: RE: Detect hardware changes On 12/8/2005 11:51, Keith Bottner seems to have typed: [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class= network subclass = ethernet Looks like this should be supported using the nge driver. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: snip === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 snip Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Have you tried doing what the message suggests? # cd /usr/ports/databases/db43 # make deinstall # make reinstall Then go and install portupgrade... ~Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bacula vs. Amanda vs. whatever ...
On Thu, 29 Dec 2005, Kiffin Gish wrote: I have a home network with two FreeBSD servers (web- and file-server), a number of Windows desktops and a wireless FreeBSD laptop all connected to one another using Samba. What is the best tool to create automatic central backups? For now I just want to make backups on disk but later using an external tape drive. Some swear by Amanda, others insist Bacula works best with Samba, just curious is all. Amanda is the one that works with Samba. Bacula has its own client/server software. I have a similar home network. I used Bacula for over a year. I used the SQLite database for the catalog and backed up to a Raid array. I chose bacula because it allows me to have a single backup solution for both Windows and BSD machines, and the only thing I need to set up for communication is TCP/IP. I had some serious deadlocking problems with bacula recently, and was led to believe that those problems were corrected in the version that's currently in the ports collection. However I'm now having hardware problems (why did I buy a $20 RAID controller?) and am unable to make backups of any kind. I will probably give bacula another try after I fix my hardware problems. I have never tried Amanda. These are the only two solutions I know of for making automated backups of both Windows and BSD machines. I've read that bacula can make a backup that's complete enough to do a bare metal recovery on BSD. Thankfully I've never had the opportunity to test that myself. I don't believe either bacula or amanda can make a complete enough backup to do a bare metal recovery of a Windows machine because Windows locks so many critical system files while it's in operation. I wonder if a combination of Microsoft's backup utilities and Samba might accomplish this. There are several simple and good backup solutions for FreeBSD. It's those darn Windows machines that are so hard to back up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bacula vs. Amanda vs. whatever ...
Well I use amanda. It's DB doesn't need an external one like bacula so restores can be less troublesome. BUT it can't span tapes if a backup is larger than a tape It can use a virtual tape setup so it you have a nice big disk(array) you can backup to that. I'd say try amanda, if things aren't working out try bacula - it's nice to hav a choice... -- Martin On 12/29/05, Kiffin Gish [EMAIL PROTECTED] wrote: I have a home network with two FreeBSD servers (web- and file-server), a number of Windows desktops and a wireless FreeBSD laptop all connected to one another using Samba. What is the best tool to create automatic central backups? For now I just want to make backups on disk but later using an external tape drive. Some swear by Amanda, others insist Bacula works best with Samba, just curious is all. Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardening FreeBSD for Spamassassin
On Thu, Dec 08, 2005 at 01:56:52AM +0200, Vahric MUHTARYAN wrote: And I want to handle 130,000 mail/hour with using 2 or 4 P4 server with raid1 and 2 or 4 gb ram . Try pf + spamd (the FreeBSD port of the OpenBSD app) to cut out as much mail as possible before it hits spamassassin. m ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix help
Resolved! The entries for the relaying smtp server (in my case my provider) have to be identical in main.cf and in the password file ([smtp.broadband.rogers.com]) Thanks for your tips! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
--On 8. december 2005 13:35 -0800 Dan O'Connor [EMAIL PROTECTED] wrote: I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: snip === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 snip Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Have you tried doing what the message suggests? # cd /usr/ports/databases/db43 # make deinstall # make reinstall Then go and install portupgrade... ~Dan Yes. I have tried that but still after I got the same error while installing portupgrade. -Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
Have you tried doing what the message suggests? # cd /usr/ports/databases/db43 # make deinstall # make reinstall Then go and install portupgrade... ~Dan Yes. I have tried that but still after I got the same error while installing portupgrade. Hmmm... I'd try deinstalling db43, then install portupgrade--letting the portupgrade port reinstall db43... ~Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP 4M plus network printer question
On Tue, 6 Dec 2005, Dave Webster wrote: I have a FBSD server/ router connected to a switch box off which is another FBSD computer and an HP4M plus printer (JetDirect nic). Using the Handbook LPD Simple Printer setup, I'm able to print from the server using commands: lptest 20 5 | lpr -PHP4M and lpr -Plpps file.ps So far so good. When I follow the instructions to print from the other FBSD computer to this remote printer, I get nothing. The /etc/printcap on the server is: # @(#)printcap5.3 (Berkeley) 6/30/90 # $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $ lp|HP4M|local line printer:\ :sh:sd=/var/spool/output/lpd:\ :rm=HP4M:\ :rp=text:\ :if=/usr/local/libexec/ifhp lpps|HP4M|local line printer:\ :sh:sd=/var/spool/output/lpd:\ :rm=NPI1E4DCE.dwebman.com:\ :rp=raw: The /etc/printcap on the other FBSD computer is: # @(#)printcap5.3 (Berkeley) 6/30/90 # $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $ HP4M|hp|printer:\ :lp=:rm=gateway:rp=HP4M:sd=/var/spool/lpd/hp: Check the lpd-errs log file on both machines, but here's a guess: Make sure that gateway's /etc/hosts has an entry for the client machine, and that the IP address or hostname of the client is in gateway's /etc/hosts.lpd file. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bacula vs. Amanda vs. whatever ...
Quoting Kiffin Gish [EMAIL PROTECTED]: I have a home network with two FreeBSD servers (web- and file-server), a number of Windows desktops and a wireless FreeBSD laptop all connected to one another using Samba. Kiffin, I think you may run into some snags trying to use Amanda in a disk to disk backup scheme. I use it everyday and it works great. I have also used it in a mixed (Win/BSD) environment with no problems. I may suggest you look at the various rsync-based solutions for disk to disk archivinga. I've personally used rsync-backup (look on freshmeat.net) with excellent results. Bob -- Robert Lee PGP: D3EE2268 pgp.mit.edu I prefer email in plain text pgpBAT788zTvo.pgp Description: PGP signature
Re: calendar scheduler
On Dec 8, 2005, at 9:51 AM, Mark Busby wrote: I've been searching for a web-based calendar, scheduler and message board for a small network of 15 employees. I saw one about a year ago that used bsd-apache-php and any browser could access it, but I've been unable to find it now. Any suggestions to fill the need? Take a look at eGroupware. Don't remember if it's in the ports tree or not... - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Send emails with attachments from command line
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, December 09, 2005 2:23 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: SV: Send emails with attachments from command line -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Ashley Moran Skickat: den 8 december 2005 16:05 Till: freebsd-questions@freebsd.org Ämne: Re: Send emails with attachments from command line On Thursday 08 December 2005 13:35, Igor Robul wrote: On Thu, Dec 08, 2005 at 12:16:34PM +, Ashley Moran wrote: Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Look at mail/metamail also mutt can send mail with attachments in batch mode. Thanks Metamail needs X11 which I don't want on the server, so I've gone with mutt. I sometimes use: #uuencode filetosend.ext filetosend.ext | mail -s File [EMAIL PROTECTED] But not sure if thats correct. /Henrik I send all sorts of reports automagically with cat filename | uuencode filename | mail -s filename [EMAIL PROTECTED] where filename can be a shell variable etc FWIW some of the reports are perl generated Excel spreadsheets and they travel just fine to the M$ challenged. mjt --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ***This Email has been scanned for Viruses by MailMarshal.*** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL forgot some of my data!
On 12/8/05, daniel [EMAIL PROTECTED] wrote: Our company has a few very large databases (9gb) which required a shut down, mysql SELECT * FROM campaigns LIMIT 0; ERROR 1017 at line 1: Can't find file: 'campaigns.MYI' (errno: 2) Was that using MyISAM or InnoDB ? So my questions to you, deal list are: 1. Should mysqladmin shutdown take this long? a. Is this normal even with a load of 0.00? I'd say no on a Power5 with 8ish cpus and a load of 15 on a 34GB database I could stop it almost instantly using normal shutdown procedure. 2. Is this the best way to shut down a database of this size? Is there a different way per size? Guess not ;) 3. What is most likely to be the cause of the data loss? Were you using MyISAM of InnoDB? I had this issue after a restart with the only table using MyISAM. -- Joao Barros ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: simple shell script
Beech, For what it is worth, and if you are interested in another method, here is a ruby script that I found somewhere and tweaked up a bit more. (Probably not the best ruby, but it was my learning effort) It is called by cron, and does a website 'connectivity' test, ie it attempts to get the specified page. The script then generates a go/nogo email and exits. This was built to monitor a web site at an ISP that was having serious brain damage with managing the DNS records (they deleted the active list...;-( ) And it is still running as a health check to this day... Run it _without_ the -v option and it will only email when the remote site has a problem... The ruby script --8 #!/usr/local/bin/ruby require 'getoptlong' require 'open-uri' require 'net/smtp' if ARGV.empty? then puts usage: check_url.rb [-v] [-m emailaddr] url exit 1 end # specify options opts = GetoptLong.new( [ -v, GetoptLong::NO_ARGUMENT ], [ -m, GetoptLong::REQUIRED_ARGUMENT ] ) smtp_host = smtp.example.com from = [EMAIL PROTECTED] url = message = flag = 0 verbose = 0 # default this to = [EMAIL PROTECTED] # process args opts.each do |opt, arg| case opt when '-v' verbose = 1 when '-m' to = arg end end # test again, did we clobber all the args ? if ARGV.empty? then puts usage: check_url.rb [-v] [-m emailaddr] url exit 1 end # get the url in question url = ARGV[0] subject=Web monitor alert re #{url} # go and test the site begin page = open(url).read if page =~ /Error|Exception/ message = #{url} has returned either Error or Exception flag = 1 end rescue message = #{url} Unavailable\n - #{$!.message} flag = 2 end case flag when 0 if verbose mail = MAIL Subject: #{subject} #{url} is feeling OK right now. Diagnosis: Site up MAIL Net::SMTP.start(smtp_host) do |smtp| smtp.send_mail(mail, from, to) end end else mail = MAIL Subject: #{subject} Sadly, #{url} isn't feeling well right now. Diagnosis: #{message} Page : #{page} MAIL Net::SMTP.start(smtp_host) do |smtp| smtp.send_mail(mail, from, to) end end --8 end of ruby script and the cron lines (modify to suit your timing) This runs every 3 hours as is --8 # min hour date month day cmd 0 */3 * * * $HOME/bin/checkurl.rb -v -m [EMAIL PROTECTED] http://site.example.com --8 cheers mjt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beecher Rintoul Sent: Thursday, December 08, 2005 4:17 PM To: Martin Cracauer Cc: Dan Nelson; freebsd-questions@freebsd.org Subject: Re: simple shell script On Wednesday 07 December 2005 07:33 pm, Martin Cracauer wrote: Dan Nelson wrote on Wed, Dec 07, 2005 at 09:52:55PM -0600: In the last episode (Dec 07), Beecher Rintoul said: I'm trying to write a simple shell script that will launch a program (in this case lynx), wait 60 seconds and then kill it. I can get it to launch the program, but it seems to ignore anything after that. I am not a programmer so does anyone have a suggestion on this script? Any help would be appreciated. You need to background it so your script keeps running: #! /bin/sh # Launch program lynx # Store its processid for later pid=$! # 60 seconds sleep 60 # Kill backgrounded process kill -9 $pid This is probably not what Beecher wants, he/she probably needs the lynx in the foreground. In a pure shell script that is difficult because you cannot get the pid of a foreground process without reverting to `ps` which is not sportish. It's better to use a dedicated timeoput mechanism, e.g.: http://cracauer-forum.cons.org/forum/cratimeout.html Then you can do `cratimeout 6 lynx` Martin Thanks to you both, I missed the background option. Actually it just needs to run in the background to log some hits on a free webserver that I use for testing. I forget and they will cancel my account if there's no traffic for a month. The timeout also looks interesting and I'll look into it. Beech -- -- - Beech Rintoul - System Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com
Re: Dual Display
On Friday, 2 December 2005 at 22:51:08 -0500, Darren Terry wrote: I was wondering if any of you had a dual-head setup and if so what video card were you using? I have a total of 6 monitors running over three machines with a single keyboard and mouse. See http://www.lemis.com/grog/hardware.html for details. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpZhg6EuVgYu.pgp Description: PGP signature
Re: BSD vs Linux Threads
[resequenced] On Friday, 2 December 2005 at 22:27:51 -0800, Ted Mittelstaedt wrote: On Thursday, December 01, 2005 12:36 PM, Cody Holland wrote: Well in the past it was stated that on a MySQL server installed using Linux threads was faster than using the native BSD threads. I'm in the process of building a new MySQL 5 server with FreeBSD 5.4 and was wanting to know if using the Linux threads was still faster. It probably is because mysql is optimized for the Linux threading implementation. Also keep in mind that freebsd filesystems are mounted async by default, not sync by default like Linux, as a result FreeBSD always does worse in these stupid bakeoffs you read about in the trade rags. Somebody else has pointed out that this was stated the wrong way round. But what we've seen so far is probably not related to the way the file systems are mounted. You can install the linux threading package under FreeBSD's linux emulation and try it that way. I don't think this is a useful option. Linuxthreads might be, though. Keep in mind also that you are talking minute performance differences on the newest multi-gigahertz systems. It would be nice if this were true. We've seen claims of performance differences in the order of 3:1. Furthermore I will point out that unless your database is smaller than physical memory of the server, then the argument between mysql threading and non-threading is a completely moot issue since the hits to the disk will be the bottleneck. Many database systems are CPU-bound. MySQL has identified that there are some serious issues with FreeBSD at the moment. As somebody with a foot in both camps, I'm keeping an open mind about where the problem is, but certainly the threading libraries are an issue. I wish I could make a specific recommendation. Greg -- When replying to this message, please take care not to mutilate the original text. For more information, see http://www.lemis.com/email.html See complete headers for address and phone numbers. pgpXUotNG3Ncf.pgp Description: PGP signature
Re: Bacula vs. Amanda vs. whatever ...
I have a home network with two FreeBSD servers (web- and file-server), a = number of Windows desktops and a wireless FreeBSD laptop all connected to o= ne another using Samba.=20 Advantage of Amanda, if I understand well, is that you don't need to install anything on your Windows machines. I have been using Amanda to backup various Unixes and Windows for years now and it is very satisfactory. I even wrote some web interface so that Windows user could add some shares to back-up, without any sys admin help. OK that bit has not been tested with XP... Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL forgot some of my data!
daniel wrote: Our company has a few very large databases (9gb) which required a shut down, upgrade and restart last night, it this act has caused me all manour of headache: 1. I did a full backup of all the data (Good Idea) 2. I ran mysqladmin -uroot -p shutdown 3. I waited... and waited... and waited Twenty minutes passed and the server continued to say that it was indeed shutting down. The only problem was that it wasn't shutting down. The server's load was 0.00 and i could access mysql via the command-line client. Ctrl-C'ing the shutdown and restarting it didn't seem to help either. What's worse, logging in with the client had me freaking out when I couldn't find some of my data: mysql SELECT * FROM campaigns LIMIT 0; ERROR 1017 at line 1: Can't find file: 'campaigns.MYI' (errno: 2) After some investigation, we realised that a cron on another machine was running every minute, talking to this database, and assuming that this was the issue, we turned that stuff off too only to find that mysqladmin *STILL* wouldn't actually shut anything down. So I decided to try a few other things: # kill -s SIGTERM `cat /var/db/mysql/hostname.pid` nothing # kill `cat /var/db/mysql/hostname.pid` still nothing # kill -9 `cat /var/db/mysql/hostname.pid` That did it. Bringing the database back up though confirmed it, we'd lost a few whole tables and possibly some additional data as well. No data corruption though, just loss. A full restore from our now roughly 24hours old backup would be required. So my questions to you, deal list are: 1. Should mysqladmin shutdown take this long? a. Is this normal even with a load of 0.00? 2. Is this the best way to shut down a database of this size? 3. What is most likely to be the cause of the data loss? Thanks for any insight here. I hope this is a lesson to you all: Backups are Groovy ;-) I have had this problem as well on a 30gig db, I dont remember exactly what it was but I had a hunch it was something to do with maybe my hostname change, I think I changed it from 'database' to 'database.domain.com' via the 'hostname' command then edited the /etc/rc.conf file I think this stuffed up the running database pid file because it was looking for /var/db/mysql/hostname.pid instead of /var/db/mysql/hostname.domain.com.pid, but trying to bring it down manually didn't seem to work either. It could be been something else all together, but I do believe it was config changes around the system that caused it, I do believe an instant clean shutdown of MySQL is possible (I can't test for you on mine, sorry) but it might require you to really restart you setup clean. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help mounting my CD rewritable drive and floppy drive in KDE desktop
I tried mounting my CD rewritable disk from the KDE desktop by right-clicking and following the path - create new - link to device - CD writer device. When I successfully place the CD Writer icon on the desktop and tried to mount, I got the following error message: Could not mount device The reported error was: mount_cd9660: /dev/acd0 input/output error I get the same thing when attempting to mount my floppy drive. Note: I'm trying to read CDs with jpegs copied from a Windows XP box. Please help. Thanks, Enrique ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPA fails to run on 6.0
Hello pple, For a long time I have been running IP (sysutils/ipa) on 5.x through to 5.4. Then I decided to update the PC to 6.0-STABLE via cvsup. I rebuilt all ports (portupgrade -af). However, IPA simply refuses to run now. I have checked almost everything about rebuilding the port. -bash-2.05b$ sudo ipa -d Password: ipa[7125]: ipa[7125]: IPA: version 1.3.6 started by UID 0 GID 0 ipa[7125]: current umask is 0227 ipa[7125]: use configuration file /usr/local/etc/ipa.conf, parsing... ipa[7125]: file /usr/local/etc/ipa.conf is readable by group and/or other users ipa[7125]: loaded 3 accounting rules ipa[7125]: init IP Filter support ipa[7125]: make IP accounting... ipa[7125]: kipfil_read_table: ioctl(SIOCGETFS): Invalid argument ipa[7125]: cannot make IP accounting ipa[7125]: abnormal termination #-bash-2.05b$ sudo ipa -v IPA, version 1.3.6 (FreeBSD/i386 6.0-STABLE) I have been using IPA with IPFilter. I have googled and found no solution. Thanks for any insights. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ ... A booming voice says, Wrong, cretin!, and you notice that you have turned into a pile of dust. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Detect hardware changes
Have you compiled a custom kernel? Do you have the nge driver included in that kernel? * On 08/12/05 15:14 -0600, Keith Bottner wrote: I believe so but for some reason it is still not showing up in ifconfig or as a dev node. Do I need to do something special for FreeBSD to start recognizing it at boot? -Original Message- From: Peter Giessel [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 3:02 PM To: Keith Bottner Cc: 'FreeBSD Questions' Subject: RE: Detect hardware changes On 12/8/2005 11:51, Keith Bottner seems to have typed: [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class= network subclass = ethernet -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ One monk said to the other, The fish has flopped out of the net! How will it live? The other said, When you have gotten out of the net, I'll tell you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP 4M plus network printer question
Thankyou for your suggestion. I wound up with the following /etc/printcap on my remote FBSD bos: lp|HP4M|hp|printer:\ :lp=:sh:rm=10.0.10.1:rp=text:sd=/var/spool/lpd/hp:if=/usr/local/libexec/ifhp: where 10.0.10.1 is the IP of the printer not of the server machine. Everthing's printing fine now. But I do have another question. I'm using DHCP on the server to assign IP addresses to the hp printer, the LAN FBSD and hopefully another LAN FBSD for my kids. How do you put the IP addresses in /etc/hosts if they are assigned dynamically without having to edit /etc/hosts evertime the lease assignment changes? This problem has come up previously when I try to ping between machines using hostnames rather than the assigned IP addresses without telling the /etc/hosts files the actual IP addresses and what names they resolve to. Is there some way DHCP can be configured to pass on the FQDN to the LAN machines and in return receive the FQDN from these machines and use these names in conf files etc. even if the IP addresses change from session to session? Or am I going to have to use static IP address assignment? Dave On Thu, 2005-12-08 at 15:44 -0700, Warren Block wrote: On Tue, 6 Dec 2005, Dave Webster wrote: I have a FBSD server/ router connected to a switch box off which is another FBSD computer and an HP4M plus printer (JetDirect nic). Using the Handbook LPD Simple Printer setup, I'm able to print from the server using commands: lptest 20 5 | lpr -PHP4M and lpr -Plpps file.ps So far so good. When I follow the instructions to print from the other FBSD computer to this remote printer, I get nothing. The /etc/printcap on the server is: # @(#)printcap5.3 (Berkeley) 6/30/90 # $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $ lp|HP4M|local line printer:\ :sh:sd=/var/spool/output/lpd:\ :rm=HP4M:\ :rp=text:\ :if=/usr/local/libexec/ifhp lpps|HP4M|local line printer:\ :sh:sd=/var/spool/output/lpd:\ :rm=NPI1E4DCE.dwebman.com:\ :rp=raw: The /etc/printcap on the other FBSD computer is: # @(#)printcap5.3 (Berkeley) 6/30/90 # $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $ HP4M|hp|printer:\ :lp=:rm=gateway:rp=HP4M:sd=/var/spool/lpd/hp: Check the lpd-errs log file on both machines, but here's a guess: Make sure that gateway's /etc/hosts has an entry for the client machine, and that the IP address or hostname of the client is in gateway's /etc/hosts.lpd file. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache13 to 22
I'd like to upgrade Apache13 to Apache22, but I'm wondering what else I need to change or reinstall? PHP, MySQL, SquirrelMail are those I'm wondering about. Do I need reinstall them, some of them or change confics much. Or is it just removing apache13 and installing apache22? And also can I copy paste vhost rules etc. from old config or are they very different? Box I need to do this in has about 150 www-users in it so I don't like to break it for a long time. -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP 4M plus network printer question
On Thu, Dec 08, 2005 at 10:50:51PM -0800, Dave Webster wrote: [...] Everthing's printing fine now. But I do have another question. I'm using DHCP on the server to assign IP addresses to the hp printer, the LAN FBSD and hopefully another LAN FBSD for my kids. How do you put the IP addresses in /etc/hosts if they are assigned dynamically without having to edit /etc/hosts evertime the lease assignment changes? You can configure your DHCP server to assign a particular IP address for a MAC address. If you're using the isc-dhcp server, this can be done the following entry in /usr/local/etc/dhcpd.conf: host hpprinter { hardware ethernet 00:12:23:56:78:9a; fixed-address 10.0.0.1; } You'll have put in the correct MAC and IP address. -- Jonathan Chen [EMAIL PROTECTED] -- If you wish your merit to be known, acknowledge that of other people ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache13 to 22
* On 09/12/05 08:53 +0200, Perttu Laine wrote: I'd like to upgrade Apache13 to Apache22, but I'm wondering what else I need to change or reinstall? PHP, MySQL, SquirrelMail are those I'm wondering about. Do I need reinstall them, some of them or change confics much. Or is it just removing apache13 and installing apache22? And also can I copy paste vhost rules etc. from old config or are they very different? Box I need to do this in has about 150 www-users in it so I don't like to break it for a long time. Apache2 config file differs from that of 1.3.x so you will have to craft a whole new config file. Vhost rules will work mostly without any major changes. PHP (lang/php4, lang/php4-extensions, or www/mod_php4), depending on the one you use, will need to be reinstalled. MySQL and Squirrel will not require any changes that I know of. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ We can defeat gravity. The problem is the paperwork involved. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.4 - 6.0
* On 08/12/05 09:13 +0100, Sasa Stupar wrote: Hi! Can someone tell me the proper steps for upgrading from 5.4 - 6.0? I have also stuff installed from the ports collection, eg. cyrus-imapd, clamav, etc. /usr/src/UPDATING has steps to accomplish this. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Pure drivel tends to drive ordinary drivel off of the TV screen. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
--On 9. december 2005 9:33 +0300 Odhiambo Washington [EMAIL PROTECTED] wrote: * On 08/12/05 20:00 +0100, Sasa Stupar wrote: Hi! I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: # make install === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Installing for db43-4.3.29 === Generating temporary packing list === Checking if databases/db43 already installed pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded pkg_info: package bsdpan-URI-1.35 has no origin recorded === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. --- Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Hello Sasa, You have two options around this, I think; portupgrade -m FORCE_PKG_REGISTER=1 or add FORCE_PKG_REGISTER=yes to /etc/make.conf HTH -Wash I have put in make.conf to force pkg register and now when I make install I get an error: - === Registering installation for db43-4.3.29 === Returning to build of ruby18-bdb43-0.5.3 Error: shared library db43 does not exist *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. -- It looks like it can't find db43 on my system. Anything else I could try? -Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
* On 09/12/05 08:51 +0100, Sasa Stupar wrote: --On 9. december 2005 9:33 +0300 Odhiambo Washington [EMAIL PROTECTED] wrote: * On 08/12/05 20:00 +0100, Sasa Stupar wrote: Hi! I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: # make install === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Installing for db43-4.3.29 === Generating temporary packing list === Checking if databases/db43 already installed pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded pkg_info: package bsdpan-URI-1.35 has no origin recorded === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. --- Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Hello Sasa, You have two options around this, I think; portupgrade -m FORCE_PKG_REGISTER=1 or add FORCE_PKG_REGISTER=yes to /etc/make.conf HTH -Wash I have put in make.conf to force pkg register and now when I make install I get an error: - === Registering installation for db43-4.3.29 === Returning to build of ruby18-bdb43-0.5.3 Error: shared library db43 does not exist *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. -- It looks like it can't find db43 on my system. Anything else I could try? I wonder what command you are running ;) -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Avoid reality at all costs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]