How to answer mails to me@all my domains?
Hello! A silly question probably. How do I get FreeBSD, or Postfix, to give me all e-mails sent to me@all the domains in my nameserver? Can /etc/aliases do this, or something else? Thanks guys, Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Solved: Re: What to use for conio?
[Also posted the news group] The problem was to capture key presses from a vtty (including such function keys as your keymap will allow) so they do not echo - as you might want to do in developing a full-screen text-mode interface or a simple console-type game. Here is my solution in demo form, It turns out this highly system dependent. Any real application would probably need to do some signal handling, and for some things (such as entering text in a box) translation to a more human readable form would be desirable. This seems to work or seems to be subject to being made to work for the printable and control characters in an Xterm, but is hopeless with function keys in X. I have not, and probably will not further investigate that because my project deals with text-mode terminals. With -lc, this compiles without warnings in -Wall -pedantic. However, it uses %p format in printf which seems to be undocumented in the man. I have no idea what I am doing. #include stdio.h #include termios.h #include sys/types.h #include sys/uio.h #include unistd.h char *k; int getkey (void); ssize_t read(int d, void *buf, size_t nbytes); int main (void) { int knum; knum = getkey(); printf (knum is %i \n,knum); printf (value is %p \n,k); return 0; } int getkey (void) { struct termios unwhacked, whacked; int knoc; fflush(0); tcgetattr(0,unwhacked); /* get terminal state */ whacked = unwhacked; /* save state for restore */ whacked.c_lflag = ~ICANON;/* turn off cannical input */ whacked.c_lflag = ~ECHO; /* turn off echoing */ whacked.c_cc[VMIN] = 1;/* capture at least 1 character */ whacked.c_cc[VTIME] = 1; /* and of them that come quick */ tcsetattr(0,TCSANOW,whacked); /* whack the terminal with new flags now */ knoc = read (0,k,6); tcsetattr(0,TCSANOW,unwhacked); /* unwhack the terminal */ return knoc; } -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Own Install CD with custom kernel
Hi, I'm working currently on a custom FreeBSD install CD with included I4B. But I have my problems and every try takes about 8 hours to rebuild the CDs again so hopefully I'll get some help here to speed it up a little :) What I did: Prepared my environment like (checkout cvs, copy files, created patch etc. - default FreeBSD CD builds fine) It seems that sysinstall will not install per default the new kernel. For a non SMP system (like mine) it is I4B. So it seems to me that I must change /usr/src/usr.sbin/sysinstall to do this. I attached the patch to this email. cd /usr/src/release make release CHROOTDIR=/home/storage/ownfreebsd BUILDNAME=FreeBSD-I4B \ CVSROOT=/home/storage/ncvs RELEASETAG=RELENG_6 MAKE_ISOS=1 \ KERNEL_FLAGS=-j4 WORLD_FLAGS=-j4 \ LOCAL_PATCHES=/root/patch.diff PATCH_FLAGS=-p1 \ KERNELS=I4B I4BSMP GENERIC SMP |tee /root/build.log Then I execute the make release command and some hours later I got all the ISO I need to install my new system. Ok so far so good. Now I booted with the new created ISO and try to install from it. I checked if the right kernel is select in the distribution selection and yes that is fine. But at the installation itself it seems that sysinstall is not copying the kernel to the right place. I got the following message (debugging messages in sysinstall are enabled): DEBUG: installFixupKernel: Install I4B kernel DEBUG: Executing command 'mv /boot/I4B /boot/kernel' mv: rename /boot/I4B to /boot/kernel: No such file or directory DEBUG: Command 'mv /boot/I4B /boot/kernel' ressturns status of 1 I checked now the the installed system and there is absolutly no kernel installed. (no /boot/GENERIC, no /boot/I4B or anything else) I'm sure that I must oversaw something in sysinstall to change but I cannot find it. What must I change now that sysinstall install my custom kernel? Thx a lot for help! Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook diff -Nur src.orig/usr.sbin/sysinstall/Makefile src/usr.sbin/sysinstall/Makefile --- src.orig/usr.sbin/sysinstall/Makefile 2006-03-11 19:52:47.0 +0100 +++ src/usr.sbin/sysinstall/Makefile 2007-09-05 07:38:50.0 +0200 @@ -50,6 +50,9 @@ .if exists(${.CURDIR}/../../sys/${MACHINE}/conf/SMP) CFLAGS+=-DWITH_SMP .endif +.if exists(${.CURDIR}/../../sys/${MACHINE}/conf/I4B) +CFLAGS+=-DWITH_I4B +.endif DPADD+= ${LIBDEVINFO} LDADD+= -ldevinfo .endif diff -Nur src.orig/usr.sbin/sysinstall/dist.c src/usr.sbin/sysinstall/dist.c --- src.orig/usr.sbin/sysinstall/dist.c 2007-03-30 21:21:56.0 +0200 +++ src/usr.sbin/sysinstall/dist.c 2007-09-06 01:37:43.0 +0200 @@ -100,8 +100,16 @@ static Distribution KernelDistTable[] = { DTE_TARBALL(GENERIC, KernelDists, KERNEL_GENERIC, /boot), #ifdef WITH_SMP +#ifdef WITH_I4B +DTE_TARBALL(I4BSMP, KernelDists, KERNEL_I4BSMP, /boot), +#else DTE_TARBALL(SMP, KernelDists, KERNEL_SMP, /boot), #endif +#else +#ifdef WITH_I4B +DTE_TARBALL(I4B, KernelDists, KERNEL_I4B, /boot), +#endif +#endif DTE_END, }; @@ -216,11 +224,19 @@ selectKernel(void) { #ifdef WITH_SMP +#ifdef WITH_I4B +return DIST_KERNEL_I4B; +#else /* select default kernel based on deduced cpu count */ return NCpus 1 ? DIST_KERNEL_SMP : DIST_KERNEL_GENERIC; +#endif +#else +#ifdef WITH_I4B +return DIST_KERNEL_I4B; #else return DIST_KERNEL_GENERIC; #endif +#endif } int diff -Nur src.orig/usr.sbin/sysinstall/dist.h src/usr.sbin/sysinstall/dist.h --- src.orig/usr.sbin/sysinstall/dist.h 2006-03-11 19:52:47.0 +0100 +++ src/usr.sbin/sysinstall/dist.h 2007-09-06 01:31:31.0 +0200 @@ -74,6 +74,8 @@ /* Subtypes for KERNEL distribution */ #define DIST_KERNEL_GENERIC 0x1 #define DIST_KERNEL_SMP 0x2 +#define DIST_KERNEL_I4B 0x4 +#define DIST_KERNEL_I4BSMP 0x8 #define DIST_KERNEL_ALL 0xF /* Canned distribution sets */ diff -Nur src.orig/usr.sbin/sysinstall/install.c src/usr.sbin/sysinstall/install.c --- src.orig/usr.sbin/sysinstall/install.c 2006-12-31 19:34:58.0 +0100 +++ src/usr.sbin/sysinstall/install.c 2007-09-15 09:27:35.0 +0200 @@ -910,13 +910,30 @@ * NB: we assume any existing kernel has been saved * already and the /boot/kernel we remove is empty. */ + msgDebug(installFixupKernel: Remove /boot/kernel\n); vsystem(rm -rf /boot/kernel); -#if WITH_SMP - if (dists DIST_KERNEL_SMP) + + msgDebug(installFixupKernel: Checking for SMP and I4B\n); + if (dists DIST_KERNEL_I4BSMP) + { + msgDebug(installFixupKernel: Install I4BSMP kernel\n); + vsystem(mv /boot/I4BSMP /boot/kernel); + } + else if (dists DIST_KERNEL_SMP) + { + msgDebug(installFixupKernel: Install SMP kernel\n); vsystem(mv /boot/SMP /boot/kernel); + } + else if (dists DIST_KERNEL_I4B) + { + msgDebug(installFixupKernel:
Re: linux-firefox dies after xorg update
On Saturday 15 September 2007 19:10:02 Andrew Pantyukhin wrote: On Sat, Sep 15, 2007 at 02:51:08PM +, beni wrote: Hi, After updating xorg to 7.3 (and adding a new ServerFlags section to my /etc/X11/xorg.conf to put ignoreABI to on to get kdm back), now my linux-firefox does not start any more. It dies with the following error : [EMAIL PROTECTED] /usr/home/beni]$ linux-firefox /home/beni/.gtkrc-2.0:12: Unable to find include file: ~/.gtkrc.mine The program 'firefox-bin' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 102 error_code 8 request_code 145 minor_code 3) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Any ideas as where to look and what to change to get Firefox back ? Thanks for any help. I'm running 6.2-Stable with linux-firefox 2.0.0.6. Everything works fine here. Are you sure you've updated all of your ports? Yes, my ports are up to date. And I just did a make deinstall and a make reinstall in www/linux-firefox. But I still get the same error when launching firefox. -- Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to answer mails to me@all my domains?
look at /usr/local/etc/postfix/virtual and man 5 virtual it will explain how to handle virtual domains and direct anything to any mail account you want Kyrre Nygård wrote: Hello! A silly question probably. How do I get FreeBSD, or Postfix, to give me all e-mails sent to me@all the domains in my nameserver? Can /etc/aliases do this, or something else? Thanks guys, Kyrre ___ 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: How to answer mails to me@all my domains?
Eric wrote: look at /usr/local/etc/postfix/virtual and man 5 virtual it will explain how to handle virtual domains and direct anything to any mail account you want I really appreciate it man, thanks a lot! -- Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg errs after updating ports
Quoting from /usr/ports/UPDATING (which may itself have been updated after you did your ports download, so you may not yet have this advice on your hard disk): Users of nvidia-driver will have to make sure Composite extension is turned off and start Xorg with the following command: $ startx -- -ignoreABI The -ignoreABI option is a Xorg option. If you're using gdm, kdm or xdm, you will have to modify your configuration file so that Xorg starts with this option. An updated nvidia-driver should be released soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg errs after updating ports
An updated nvidia-driver should be released soon. I know one of the issues is some kernel mods nvidia needs but regardless is their any kind of ETA? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/random question
On Sunday 16 September 2007 03:01:26 RW wrote: Essentially what has happened is that /dev/random has been abandoned in favour of a better /dev/urandom, and that seems to be a bit high-handed to me. Not high-handed. Logical. The difference between /dev/random and /dev/urandom was that /dev/random could block IO if it didn't have enough entropy and /dev/urandom guaranteed to not block. The underlying algorithm creating the random was at the discretion of the implementers. So what you had was a highway (urandom) and a road with traffic lights (random). The need for the traffic lights has been removed, so there is no logic in not calling it a highway. People travelling the random road, will simply account for the possibility a traffic light comes up, which never does. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg errs after updating ports
Aryeh Friedman [EMAIL PROTECTED] writes: An updated nvidia-driver should be released soon. I know one of the issues is some kernel mods nvidia needs but regardless is their any kind of ETA? Kernel modifications are not needed for this. NVidia don't release their development schedules to us, but I would guess it's most likely to be weeks, not days or months. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg errs after updating ports
On Sun, Sep 16, 2007 at 08:45:29AM -0400, Lowell Gilbert wrote: Quoting from /usr/ports/UPDATING (which may itself have been updated after you did your ports download, so you may not yet have this advice on your hard disk): Users of nvidia-driver will have to make sure Composite extension is turned off and start Xorg with the following command: $ startx -- -ignoreABI The -ignoreABI option is a Xorg option. If you're using gdm, kdm or xdm, you will have to modify your configuration file so that Xorg starts with this option. An updated nvidia-driver should be released soon. I thought from the parent post that he was using the nv driver (the free Xorg one: nv(4x)) and not the commercial one which I believe is named nvidia in xorg.conf. -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Telnet smtp
On Sunday 16 September 2007 16:28:02 Bill Banks wrote: How do I turn on telnet for smtp? Im installing qmail Telnet for SMTP? Are you trying to connect to port 25 (SMTP) using a telnet client for testing purposes? Don't install telnetd (telnet server), just use a telnet client: telnet hostname 25 If the SMTP server is running and not blocked by a firewall, you should be able to connect to it that way on port 25. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Telnet smtp
How do I turn on telnet for smtp? Im installing qmail --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Telnet smtp
I cant do telnet sarah.ourweb.net 25 try it from your --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Pollywog Sent: Sunday, September 16, 2007 12:40 PM To: freebsd-questions@freebsd.org Subject: Re: Telnet smtp On Sunday 16 September 2007 16:28:02 Bill Banks wrote: How do I turn on telnet for smtp? Im installing qmail Telnet for SMTP? Are you trying to connect to port 25 (SMTP) using a telnet client for testing purposes? Don't install telnetd (telnet server), just use a telnet client: telnet hostname 25 If the SMTP server is running and not blocked by a firewall, you should be able to connect to it that way on port 25. ___ 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]
Lack of Core Dumps on signal 11
FreeBSD 6.2-RELEASE-p4 The setup I have used for earlier versions to obtain core dumps on processes that receive signals is no longer working. /var/log/ messages no longer shows core dumped for the entries and nothing appears in the core dump directory. sysctl.conf has: kern.sugid_coredump=1 kern.corefile=/usr/var/crash/%N.core /usr/var/crash has permissions of 777. There are no symlinks in the path. Symlinks didn't work in earlier versions. I need to keep all the core dumps in one directory so they can be found easily. Otherwise they end up all over the place and are qutie difficult to find. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Telnet smtp
On Sep 16, 2007, at 11:55 AM, Bill Banks wrote: I cant do telnet sarah.ourweb.net 25 It appears that sarah.ourweb.net, 216.236.255.132, isn't listening on port 25. Hold on, let me do a more complete scan. (If you get indications of a scan from 72.64.112/29 please don't treat is as abuse). You are running telnetd, but that only listens on port 23. If you want to listen on port 25 you need to be running a mailserver. Have you configured or enabled sendmail (or some other MTA) to listen for mail from the outside world? What makes you believe that your system should be listening for SMTP traffic. As an aside, since you are already running sshd, there really is no need to run telnetd. I would recommend turning that off if there isn't a compelling need to run it. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg errs after updating ports
Frank Shute [EMAIL PROTECTED] writes: On Sun, Sep 16, 2007 at 08:45:29AM -0400, Lowell Gilbert wrote: Quoting from /usr/ports/UPDATING (which may itself have been updated after you did your ports download, so you may not yet have this advice on your hard disk): Users of nvidia-driver will have to make sure Composite extension is turned off and start Xorg with the following command: $ startx -- -ignoreABI The -ignoreABI option is a Xorg option. If you're using gdm, kdm or xdm, you will have to modify your configuration file so that Xorg starts with this option. An updated nvidia-driver should be released soon. I thought from the parent post that he was using the nv driver (the free Xorg one: nv(4x)) and not the commercial one which I believe is named nvidia in xorg.conf. Hmm. Yes, I think you're right. Nonetheless, the workaround will be the same until the xf86-video-nv port is rebuilt to the new X.Org ABI. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Telnet smtp
im running qmail --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeffrey Goldberg Sent: Sunday, September 16, 2007 1:34 PM To: Bill Banks Cc: freebsd-questions@freebsd.org Subject: Re: Telnet smtp On Sep 16, 2007, at 11:55 AM, Bill Banks wrote: I cant do telnet sarah.ourweb.net 25 It appears that sarah.ourweb.net, 216.236.255.132, isn't listening on port 25. Hold on, let me do a more complete scan. (If you get indications of a scan from 72.64.112/29 please don't treat is as abuse). You are running telnetd, but that only listens on port 23. If you want to listen on port 25 you need to be running a mailserver. Have you configured or enabled sendmail (or some other MTA) to listen for mail from the outside world? What makes you believe that your system should be listening for SMTP traffic. As an aside, since you are already running sshd, there really is no need to run telnetd. I would recommend turning that off if there isn't a compelling need to run it. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ 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: remote [ssh] Backspace] key gives me ^?
Gary Kline wrote: On Fri, Sep 14, 2007 at 07:12:04PM -0600, Chad Perrin wrote: On Sat, Sep 15, 2007 at 01:28:22PM -0700, Gary Kline wrote: Trying to use stty failed... . What terminal emulator are you using? It may be that, as was the case with me when I was using aterm, I needed to use stty *and* needed to change a configuration in the aterm makefile. It's possible that stty alone won't do it, but stty in combination with something else *will*. Sounds entirely rational. Because here and with CTWM I have simple xterms; on my new tao runnning Gnome as a manager, I use Konsole. Entrely to get the BEL in vi/nvi. Are you getting audiable bell in vi/nvi when using xterm? I think I didn't get that last sentence. I find that if I use Settings - Keyboard and then select FreeBSD Console, I come fairly close. Then [Backspace] backs up, but the characters are not erased as I space backways. UsingTerminal, it defaults to this. Characters are not erased for me when I hit backspace in vi. In vim, they are. Anther indicator thata Garrett is right is that by doing an ssh -X tao, X gives me X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 100 (X_ChangeKeyboardMapping) Serial number of failed request: 7 Current serial number in output stream: 12 q3 20:06 tao [5032] If this gives annybody a clue, I'd be much obliged for some insights. . Would you please try running stty erase '^H' erase2 '^?' in Konsole with default terminal settings and tell me how it behaves? gary -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Brian K. Reid: In computer science, we stand on each other's feet. ___ 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: remote [ssh] Backspace] key gives me ^?
On Sun, Sep 16, 2007 at 08:40:00PM +0300, Jordan Gordeev wrote: Gary Kline wrote: I find that if I use Settings - Keyboard and then select FreeBSD Console, I come fairly close. Then [Backspace] backs up, but the characters are not erased as I space backways. UsingTerminal, it defaults to this. Characters are not erased for me when I hit backspace in vi. In vim, they are. Yeah . . . I'm pretty sure that's normal behavior for vi/nvi. Using backspace, then hitting ESC to return to command mode, might cause the backspace text to disappear. Typing after backspacing might overwrite the backspaced text without having to leave insert mode, too. I'm going on memory, here, and may be mistaken -- I didn't use nvi for very long before going back to Vim. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] W. Somerset Maugham: The ability to quote is a serviceable substitute for wit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Good FreeBSD Supported Gigabit Ethernet Card?
Fri, 14 Sep 2007 02:17:47 -0400, Steve Bertrand wrote: I'm looking to eventually upgrade my home network to all gigabit so I'm going to start by purchasing a few NICs for some old servers I just received. I know there are quite a few supported by FreeBSD6 which I found ( http://www.freebsd.org/releases/6.0R/hardware-i386.html#ETHERNET ) but I'm wondering if there is any real benefit in buying a $40 or $50 NIC like the Netgear GA311 or just get a $20 NIC like the D-Link DFE-530TX+. The use will probably be a firewall, proxy, file server, and DVR. http://www.EagleBit.com/Netgear_GA311_Gigabit_PCI_Card_p/eb-400-00357.htm I have a few Netgear GA311's in production, and although I haven't done any benchmarking, I know that they work rock solid operating atop the re driver in my backup infrastructure: backup# uname -a FreeBSD backup 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Mon Mar 5 16:57:55 EST 2007 backup# ifconfig re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING I can't speak of D-Link however. Aside from the NIC's, I have found some performance issues with NetGear GigE managed switches though, whereas they seem to slowly loose throughput width after a few months without a reboot. In gigabit networks if_re is not very stable card - needs disabling TXCSUM(ifconfig re0 -txcsum) - it's not great choice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building a new workstation - dual or quad-core CPU for FreeBSD 7?
Windows XP, which will be primarily used for gaming, and FreeBSD 7.0 for everything else. I wanted to ask if the new ULE scheduler will benefit from having four cores on the CPU, meaning that if I have many concurrent tasks, is it able to efficiently spread the load over all available cores? won't standard schedules do the same? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What about NAT graphical tools?
Is there any ported application capable to allow the user to configure a NAT (Network Address Translation) service in a graphical interface way? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/random question
On Sun, 16 Sep 2007 15:21:38 +0200 Mel [EMAIL PROTECTED] wrote: On Sunday 16 September 2007 03:01:26 RW wrote: Essentially what has happened is that /dev/random has been abandoned in favour of a better /dev/urandom, and that seems to be a bit high-handed to me. Not high-handed. Logical. The difference between /dev/random and /dev/urandom was that /dev/random could block IO if it didn't have enough entropy and /dev/urandom guaranteed to not block. The underlying algorithm creating the random was at the discretion of the implementers. AFAIK it's all at the discretion of the implementers, unless someone can quote a standard. So what you had was a highway (urandom) and a road with traffic lights (random). The need for the traffic lights has been removed, so there is no logic in not calling it a highway. Wasn't the highway /dev/urandom? People travelling the random road, will simply account for the possibility a traffic light comes up, which never does. That's a poor analogy because they haven't improved /dev/random so it doesn't block, they've taken a /dev/urandom implementation and renamed it. In terms of your analogy they've blocked off the road, diverted everyone onto the highway, and renamed it to main street. Using Yarrow for /dev/random is not an intrinsically bad idea, but it is controversial. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Good FreeBSD Supported Gigabit Ethernet Card?
Andrey Slusar writes: In gigabit networks if_re is not very stable card - needs disabling TXCSUM(ifconfig re0 -txcsum) - it's not great choice. (Wired) RealTek(-based) cards in general have a very bad reputation under FreeBsd. See the archives for examples. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What about NAT graphical tools?
Administrador Nodo CITMATEL Las Tunas wrote: Is there any ported application capable to allow the user to configure a NAT (Network Address Translation) service in a graphical interface way? If all you want is a Freebsd Firewall with gui setup have a look at http://www.pfsense.com/ or http://m0n0.ch/wall/ I believe both can run from CDROM if you just want to trial them. if you mean for a stock freebsd then i dont know sorry. Vince ___ 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]
Multiple NICs - custom protocol development
I have a host on my local 192.168.0 / 24 subnet that works fine in getting to the Internet via a default route.via a wireless connection. I want to develop some custom link protocols and I have placed two Ethernet NICs in the box. I want to be able to send packets from one NIC to the other and maintain the link to the Internet. I've tried a large number of things via rc.conf but when I ping of the cards it is not going out the interface; it just gets looped back. (I test this by disconnecting the crossover cable between the two cards.) My current rc.conf has the following attempt, but this fails. # router_enable=Yes gateway_enable=Yes # Ethernet 1: ifconfig_xl0=inet 192.168.1.1 netmask 255.255.255.0 # Ethernet 2 ifconfig_rl0=inet 192.168.2.1 netmask 255.255.255.0 # # Set up loop between the two ethernet cards static_routes xtor, rtox route_rtox = -host 192.168.1.1 192.168.2.1 route_xtor = -host 192.168.2.1 192.168.1.1 Can I do what I want or must I have a second development box? -- Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/random question
On Sunday 16 September 2007 22:55:50 RW wrote: On Sun, 16 Sep 2007 15:21:38 +0200 Mel [EMAIL PROTECTED] wrote: People travelling the random road, will simply account for the possibility a traffic light comes up, which never does. That's a poor analogy because they haven't improved /dev/random so it doesn't block, they've taken a /dev/urandom implementation and renamed it. In terms of your analogy they've blocked off the road, diverted everyone onto the highway, and renamed it to main street. No, cause then you'll notice the difference. Guess it was a bad analogy then. An applicatation using /dev/random doesn't see the difference. It was necessary at the time, because systems couldn't produce enough entropy, so they could put the application on hold till more was available. All the application wants is randomness and it accounts for the fact that it can be blocked, yet it never gets blocked so it's happy(tm) either way. Also, I can't see how you can usefully improve on /dev/random other then getting rid of the blocking, so applications don't have to account for it. Using Yarrow for /dev/random is not an intrinsically bad idea, but it is controversial. Removing /dev/random all together would be controversial. This is just backwards compatibility. Nothing changed as far as a consumer of /dev/random is concerned. It's not like an application SIGSEVS cause it got excited it never got blocked in the passed hour. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to answer mails to me@all my domains?
Eric wrote: look at /usr/local/etc/postfix/virtual and man 5 virtual it will explain how to handle virtual domains and direct anything to any mail account you want All I had to do was to add the domain to mydestinations! Thanks again! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/random question
On Sun, 16 Sep 2007 23:51:56 +0200 Mel [EMAIL PROTECTED] wrote: On Sunday 16 September 2007 22:55:50 RW wrote: On Sun, 16 Sep 2007 15:21:38 +0200 An applicatation using /dev/random doesn't see the difference. It was necessary at the time, because systems couldn't produce enough entropy, so they could put the application on hold till more was available. All the application wants is randomness and it accounts for the fact that it can be blocked, yet it never gets blocked so it's happy(tm) either way. Also, I can't see how you can usefully improve on /dev/random other then getting rid of the blocking, so applications don't have to account for it. Using Yarrow for /dev/random is not an intrinsically bad idea, but it is controversial. Removing /dev/random all together would be controversial. This is just backwards compatibility. Nothing changed as far as a consumer of /dev/random is concerned. It's not about interfaces or performance - it's about security. The difference is that Yarrow is a PRNG that reuses the same 160 bits of entropy until it reseeds itself. A traditional /dev/random will output fewer random bits than it get in as interrupt entropy (a good implementation will be conservative about this). A lot of people prefer the latter approach for critical things like key generation. This is just off the top of my head, but for example, say I want to create a data dvd that's encrypted with a unique keyfile. I may have a script that starts like this: # Create a dvd image file prefilled with random bits dd if=/dev/urandom of=./dvd bs=1m count=4480 # Create a random 512-bit keyfile dd if=/dev/random of=./keyfile bs=64 count=1 With FreeBSD 6.2 both files will be filled by Yarrow and it's likely that the end of ./dvd and the whole of ./keyfile will come from the same Yarrow pseudo-random sequence. If enough of the random data survives at the end of the dvd it may allow an attack against the PRNG. As things stand, Yarrow is secure, but it might not be a few years from now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote [ssh] Backspace] key gives me ^?
On Sun, Sep 16, 2007 at 08:40:00PM +0300, Jordan Gordeev wrote: Gary Kline wrote: On Fri, Sep 14, 2007 at 07:12:04PM -0600, Chad Perrin wrote: On Sat, Sep 15, 2007 at 01:28:22PM -0700, Gary Kline wrote: Trying to use stty failed... . What terminal emulator are you using? It may be that, as was the case with me when I was using aterm, I needed to use stty *and* needed to change a configuration in the aterm makefile. It's possible that stty alone won't do it, but stty in combination with something else *will*. Sounds entirely rational. Because here and with CTWM I have simple xterms; on my new tao runnning Gnome as a manager, I use Konsole. Entrely to get the BEL in vi/nvi. Are you getting audiable bell in vi/nvi when using xterm? I think I didn't get that last sentence. No. For some reason, when I use Gnome or KDE, the system speaker goes dead. Hitting ESC in nvi does not work, and because I only watch the keyboard and not te screen, I rely on the audio feedback. (I used to use Suns at work and turned on click to make certain that I actually hit a key. It drove my co-workers batty, but that was just until we moved into offices!) Nutshell, I will either buy a fancyy clicky keyboard or write a CLICK Driver.Meanehile, unless I set Konsole to ring the WAV belll, no *ding*. I find that if I use Settings - Keyboard and then select FreeBSD Console, I come fairly close. Then [Backspace] backs up, but the characters are not erased as I space backways. UsingTerminal, it defaults to this. Characters are not erased for me when I hit backspace in vi. In vim, they are. Zounds! same here. I'm working in my old tao running ctwm, and yup, same thing with vi/nvi. vim does erase. '\b' ' ' '\b' was how I coded it tone time. The thing I don't like about vim is that I foul up with 'u' undo's. Is there some magic to makr vim behave more like the old vi? Hmph! Anther indicator thata Garrett is right is that by doing an ssh -X tao, X gives me X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 100 (X_ChangeKeyboardMapping) Serial number of failed request: 7 Current serial number in output stream: 12 q3 20:06 tao [5032] If this gives annybody a clue, I'd be much obliged for some insights. . Would you please try running stty erase '^H' erase2 '^?' in Konsole with default terminal settings and tell me how it behaves? Well, in the dfault mode with keyboard == Xterm 4, it backs up and erases in command-ln mode, but both vi and vi still run into the ^? characters. Even given you stty cms. However, if I set the keyboard to freebsd, the first in the list, it erases wit bakspace. In vi, tho, as you noted above, it does not blank the character; in vim it both backs up then forward to blank, then backwards. (Be nice to understand what's going on without days of digging into the code!) gary gary -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Brian K. Reid: In computer science, we stand on each other's feet. ___ 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] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote [ssh] Backspace] key gives me ^?
On Sat, Sep 15, 2007 at 02:31:40PM -0600, Chad Perrin wrote: On Sun, Sep 16, 2007 at 08:40:00PM +0300, Jordan Gordeev wrote: Gary Kline wrote: I find that if I use Settings - Keyboard and then select FreeBSD Console, I come fairly close. Then [Backspace] backs up, but the characters are not erased as I space backways. UsingTerminal, it defaults to this. Characters are not erased for me when I hit backspace in vi. In vim, they are. Yeah . . . I'm pretty sure that's normal behavior for vi/nvi. Using backspace, then hitting ESC to return to command mode, might cause the backspace text to disappear. Typing after backspacing might overwrite the backspaced text without having to leave insert mode, too. I'm going on memory, here, and may be mistaken -- I didn't use nvi for very long before going back to Vim. There are Lots of thing I like about vim, but after having fouled up with the undo's and lost some critical writing or code, I went back to what I've usedsince Bill Joy pointed me at vi. vi only takes ONE hand, emacs takesat least 8 hands and a few spare thumbs!!! gary -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] W. Somerset Maugham: The ability to quote is a serviceable substitute for wit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Telnet smtp
--On September 16, 2007 1:39:52 PM -0400 Bill Banks [EMAIL PROTECTED] wrote: im running qmail First of all, stop top-posting. It's very confusing. Second, if you really do have qmail running (did you verify using ps -auxw | grep qmail? that's only one part of troubleshooting your problem. 1) Is qmail actually running? 2) Is qmail configured to listen on FQHN:25? 3) Is port 25 blocked by your firewall? 4) Is port 25 blocked by someone else's firewall? 5) If all of the above is ok, is qmail not responding for some reason? IOW, you have only begun to troubleshoot. Saying im running qmail is meaningless. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: flash plugin after xorg update
On Sun, 16 Sep 2007 17:16:43 -0400 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: Hi, not sure if these two are really related, only know that my flash plugin doesnt work after I update xorg and re-enter x windows. I first re-install plugins by deleting the old plugs directory and then running nsplugwrapper -v -a -i, anyhow, here is the error message: Hi, flash broke for me* when I upgraded nspluginwrapper (definitely before touching xorg 7.3) . I fixed it by running the nsplugginwrapper command to install **AS ROOT** . Don't ask me why it doesnt work as my normal user... *(my symptoms were a bit different though, it would just time out when calling flash... so each flash object in a page would take 40 seconds or sosllooo brooowwwsssiiinnn :-) ) good luck, B _ {Beto|Norberto|Numard} Meijome If you were supposed to understand it, we wouldn't call it 'code'. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux-firefox dies after xorg update
On Sat, 15 Sep 2007 14:51:08 + beni [EMAIL PROTECTED] wrote: I'm running 6.2-Stable with linux-firefox 2.0.0.6. I'm curious... do you mind if I ask why are you using linux-firefox? if it is due to flash, it works just as well with native firefox. (and yes, i went over to 7.3 with zilch issues.) B _ {Beto|Norberto|Numard} Meijome Law of Conservation of Perversity: we can't make something simpler without making something else more complex I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Telnet smtp
On Sun, 16 Sep 2007 12:55:02 -0400 Bill Banks [EMAIL PROTECTED] wrote: I cant do telnet sarah.ourweb.net 25 try it from your $ telnet sarah.ourweb.net 25 Trying 216.236.255.132... Connected to sarah.ourweb.net. Escape character is '^]'. 220 sarah.ourweb.net ESMTP helo xxx.example.com 250 sarah.ourweb.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is there any way of turning muttrc list into an evolution or other mail alias database?
This may be a bit off the wall, but does anybody have a tool to take my dozens of mutt aliases and turn them into an evolution -style database format? (if not, is there any universal address-book app that I could use?) tia, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
1. i am implementing PPPoE_Client when we click on disconnect in diap-up box will the PPP send terminate-request if yes how please? 2. will the PPP inform network layer when it close the connection if yes please tell how ? 3. what must be be maximum idle time so that no packets from IP then PPP can close the connection?. 4. i am not using header compression (i.e, i am not supporting header compression )in LCP and IPCP is that ok?. Get the freedom to save as many mails as you wish. To know how, go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID Controller Recommendations: ARC-1210 or 9650SE-4LPML
On Sep 6, 2007, at 5:59 AM, Johan Hendriks wrote: Do not go for the adaptec 1210! That was not one of the choices given. The ARC-1210 is a different device from a different manufacturer -- Areca. Chad I have the same model, and it always give errors on /dev/ad6 First I thought it was the drive itself but after swapping that one with another one still /dev/ad6 errors. Also swapping ad4 to ad6 /dev/ad6 errors out and freezes the system. Long story short it is an unstable product under FreeBSD Current and 6.x I use a 3ware card now and no problems what so ever. Regards, Johan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]