backup static routes for freebsd (default)
Hello, I have a gatway box running freebsd 4.8 and several links to the internet via different ISP's. This box is connected directly to one of the ISP's but also has access to the other gatways via the LAN. I would like to setup static backup (default) routes such that when and if the main link goes down, the default route for this box is automatically changed to point to another router on the LAN.I am having trouble implementing this on freebsd. Any ideas? Ezra Banoba Systems Administrator/Programmer Computer Froniters International Plot 32 Lumumba Avenue www.cfi.co.ug +256 031260485 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ISDN ppp 128K
Help me please. I have problem with up 128K via ISDN under FreeBSD 4.7 I use W6692 based ISDN card (iwic0). One link work correctly. See below my configuration and logs. isdnd.rc --- system acctall = on# generate info for everything acctfile= /var/log/isdnd.acct # name location of accounting file useacctfile = yes # generate accouting info to file isdntime = on monitor-allowed = off # global switch: monitor on/off entry name= WBDU0 usrdevicename = rbch usrdeviceunit = 0 isdncontroller = 0 isdnchannel = -1 local-phone-incoming= 1234567 remote-phone-incoming = * local-phone-dialout = 1234567 # This *MUST* be your local number remote-phone-dialout= 711 # ppp(8) will override this remdial-handling= first dialin-reaction = ignore dialout-type= normal b1protocol = hdlc idletime-incoming = 900 # Should be larger than ppp's timeout idletime-outgoing = 900 # Should be larger than ppp's timeout unitlength = 0 unitlengthsrc = conf dialretries = 1 dialrandincr= off recoverytime= 1 # Should be smaller than ppp's redial direction = out entry name= WBDU1 usrdevicename = rbch usrdeviceunit = 1 isdncontroller = 0 isdnchannel = -1 local-phone-incoming= 1234567 remote-phone-incoming = * local-phone-dialout = 1234567 # This *MUST* be your local number remote-phone-dialout= 711 # ppp(8) will override this remdial-handling= first dialin-reaction = ignore dialout-type= normal b1protocol = hdlc idletime-incoming = 900 # Should be larger than ppp's timeout idletime-outgoing = 900 # Should be larger than ppp's timeout unitlength = 0 unitlengthsrc = conf dialretries = 1 dialrandincr= off recoverytime= 1 # Should be smaller than ppp's redial direction = out --- ppp.conf --- default: isdn: set phone 711 # Replace this with your ISPs phone number set authname optima # Replace these with your login name password. set authkey xxx # This profile assumes you're using PAP or CHAP. set reconnect 5 10 set redial 5 10 set lqrperiod 45 disable pred1 deflate mppe deny pred1 deflate mppe set dial set login set logout set hangup set device /dev/i4brbch0 /dev/i4brbch1 # Raw B-channel devices set speed sync # ISDN is synchronous set ifaddr 195.248.173.185/32 0.0.0.1/0 0 0 link * set cd 25 add! default hisaddr set mrru 1500 # Multilink mode please clone 1,2 # Two new links link deflink rm# And get rid of the original one link * set mode ddial # Automatically manage the second link set server /var/run/ppp/ppp-isdn 0177 # The diagnostic port (-rw---) --- I have: --- on startup system: i4b-L2 F_ILL: FSM function F_ILL executing i4b-L2 i4b_next_l2state: FSM illegal state, state = ST_EST_AW_TEI, event = EV_DLESTRQ! ppp.log: Phase: 1: /dev/i4brbch0: CD detected Phase: 1: carrier - login Phase: 1: login - lcp Phase: 2: /dev/i4brbch1: CD detected Phase: 2: carrier - login Phase: 2: login - lcp Phase: bundle: Authenticate Phase: 1: his = PAP, mine = none Phase: Pap Output: optima Phase: Pap Input: SUCCESS () Phase: mp: Listening on /var/run/ppp--01-414d4d50 Phase: First link: 1 Phase: 1: lcp - open Phase: bundle: Network Warning: ipv4_Input: IPCP not open - packet dropped Phase: 2: his = PAP, mine = none Phase: Pap Output: optima Phase: Pap Input: SUCCESS () Phase: 2: lcp - open Warning: ipv4_Input: IPCP not open - packet dropped last message repeated 12 times Warning: Oops - MP frag 693 should have a begin flag Warning: Oops - MP frag 697 should have a begin flag Warning: ipv4_Input: IPCP not open - packet dropped Warning: ipv4_Input: IPCP not open - packet dropped Warning: Oops - MP frag 705 should have a begin flag Warning: Oops - MP frag 709 should have a begin flag Warning: ipv4_Input: IPCP not open - packet dropped ifconfig: tun0: flags=8010POINTOPOINT,MULTICAST mtu 1524 Opened by PID 60 In ppp.conf I am changed set mrru 1500 on set mrru 1500 set mru 1504 on set mrru 1500 set mru 1500 on set mrru 1500 set mru 1504 set mtu 1500 on set mrru 1500 set mru 1500 set mtu 1500 and I have one result (see
X won't start
Hi, X no more start after a crash with root. Error Knotify, kdeinit, etc.. pid... As user all goes well. What can I do ?? Thanks for your help. mess-mate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: FreeBSD tool for network bandwidthmeasure ?
- Original Message - From: Kenzo [EMAIL PROTECTED] To: Jez Hancock [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 8:01 AM Subject: Re: FreeBSD tool for network bandwidthmeasure ? I'll have to say, MRTG and Ntop. MRTG will give you an idea of network traffic and Ntop will monitor who is creating all the traffic. /usr/ports/net/mrtg /usr/ports/net/ntop - Original Message - From: Jez Hancock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 5:30 AM Subject: Re: FreeBSD tool for network bandwidthmeasure ? On Mon, Aug 04, 2003 at 10:34:20PM -0700, dt wrote: Hello, Is there any standard (or non) FreeBSD tool that is used to measure a current network throughput/bandwidth? And also, what are the requirements to do so, and do I need to be root to run, or do I need to load a special kernel module? trafshow displays network throughput in an ncurses frontend in a console. I don't think there are any special requirements for trafshow - perhaps you need to have the bpf option enabled in the kernel (which it is by default?). Install it and try it it's in the ports under /usr/ports/net/trafshow. ipfw can count network traffic using different rules, so for example you could count all traffic bound for a certain address or interface using something like: ipfw add count all from any to 192.168.0.1 80 ipfw can also (very usefully) count traffic on a per uid basis. ipfw does have to be enabled in the kernel though. See the handbook for more info on this. -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD tool for network bandwidthmeasure ?
Is there any standard (or non) FreeBSD tool that is used to measure a current network throughput/bandwidth? And also, what are the requirements to do so, and do I need to be root to run, or do I need to load a special kernel module? Just run systat -if 1 That will tell you what you want to know. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help with make release from -CURRENT to -STABLE
I'm trying to make my own floppy release to add support for a wireless NIC that I need to install FreeBSD on a small laptop. My problem is that I'm running 5.1-RELEASE on the build machine, but I want to build a 4.8-RELEASE system for the laptop. I've read through release(7) and I pretty much follow what's going on. However, I don't really understand at which point I'm actually supposed to be building the release. I'm loosely following the example from the man page: cd /usr/src cvs diff -u /path/to/local.patch make buildworld cd release make release CHROOTDIR=/local3/release BUILDNAME=5.0-CURRENT \ CVSROOT=/host/cvs/usr/home/ncvs LOCAL_PATCHES=/path/to/local.patch In my case, I've cvsup'ed the cvs collection to /usr/src, moved /usr/src to /usr/src-5.1 (to get my usual version out of the way), rm -rf'ed /usr/obj, then used export CVSROOT=/usr/cvs cd /usr; cvs co -rRELENG_4_8 src to flesh out the source tree I want to build. After making my edits, I did the cvs diff to make a patch for later use. The next step in the example is to make buildworld, but that (unsurprisingly) fails fairly early into the build. This is where I'm getting confused. Which world am I supposed to be building: the 5.1 that is running on the build machine, or the 4.8 that I'm wanting to use for the release? Thanks, -- Kirk Strauser The Strauser Group Open. Solutions. Simple. http://www.strausergroup.com/ pgp0.pgp Description: PGP signature
Re: FreeBSD tool for network bandwidthmeasure ?
On Mon, Aug 04, 2003 at 10:34:20PM -0700, dt wrote: Hello, Is there any standard (or non) FreeBSD tool that is used to measure a current network throughput/bandwidth? And also, what are the requirements to do so, and do I need to be root to run, or do I need to load a special kernel module? There are dozens of these in ports. netstat is one from the base system that springs to mind. Kris pgp0.pgp Description: PGP signature
Re: dri falling back to software in 4.8-stable
On Monday 04 August 2003 07:02 pm, [EMAIL PROTECTED] wrote: [CC'd for anyone who may need this resolution] Hi Carl, Yes, I actually did determine the resolution to the problem. Since I had been running the system since 4.7-release, I used the drm-kmod package in the ports tree to get the DRI support. An undocumented (as far as I can tell) change from 4.7-stable to 4.8-stable includes the drm kernel module in the kernel module sources, and the drm-kmod port is depricated. If you remove the drm-kmod startup script from /usr/local/etc/rc.d, optionaly pkg_delete the drm-kmod package, and rebuild your kernel with options drm and agp added, you should have hardware support upon loading the new kernel. I've browsed through the UPDATING file from my last source update and I've found no mention of this change between 4.7-release and 4.8-release. Does anyone know why? (my being dense is a perfectly valid reason) I also discovered that you must install the -stable sources *from cvs*, and then make the /usr/src/sys/modules/drm directory in order for drm to show up as a kernel module. It's not there in the default binary install, and installing the sources via /stand/sysinstall doesn't do it either. Odd. In any case, it works now. Thanks for the help. Glen Dr. Glen Henshaw(202) 767-1196 Naval Center for Space Technology [EMAIL PROTECTED] U.S. Naval Research Laboratory ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DMA limited to UDMA33, non-ATA66 cable or device
This will happen sometimes if the cable is reversed. There is one connector that should be labeled specifically for the motherboard (or is sometimes a different color). If a standard 3 connector cable, its the one by itself, vs the 2 that are spaced a few inches apart. Maybe people reverse the cable because of length problems (speaking from experience...). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ugo Bellavance Sent: Thursday, July 24, 2003 7:58 PM To: [EMAIL PROTECTED] Subject: DMA limited to UDMA33, non-ATA66 cable or device Hi, --System FreeBSD 4.8 release It is a kernel that I recompiled only to enable SMP. The same error comes with the generic stock generic Kernel. It is a dual Athlon MP 1800+ on a tyan MB. The Raid card is a TX-2000 with 2 Hot swap superswap enclosure. The only other IDE device, the cd-rom is on the IDE controller on the motherboard. The raid is a RAID1 with 2 Western Digital 80 Gb, 8 Mb cache, 7200rpm, each of them is ont a separate channel. I checked the cable and they are connected on the right side. I even tried to put them the other way around and I get the same error message. --Problem: FreeBSD only puts my drive in udma33 while the Motherboard, cables, enclosures and drives support udma100. I don't know if it is a bogus error, because I don't know how to test it (like hdparm in linux). --Other data: output from dmesg atapci1: Promise TX2 ATA133 controller port 0x1010-0x101f,0x1024-0x1027,0x1028-0x102f,0x1030-0x1033,0x1038-0x103f mem 0xf000-0xf000 irq 2 at device 8.0 on pci0 ad4: DMA limited to UDMA33, non-ATA66 cable or device ad6: DMA limited to UDMA33, non-ATA66 cable or device ar0: 1907348MB ATA RAID1 array [65535/255/63] status: READY subdisks: 0 READY ad4: 76319MB WDC WD800JB-00CRA1 [155061/16/63] at ata2-master UDMA33 ad4: SuperSwap enclosure [FAN:4218rpm TEMP:28.0C 5.022V 12.078V] 1 READY ad6: 76319MB WDC WD800JB-00CRA1 [155061/16/63] at ata3-master UDMA33 ad6: SuperSwap enclosure [FAN:4166rpm TEMP:28.0C 4.941V 11.895V] Jul 24 21:16:08 bibi /kernel: acd0: CDROM HL-DT-ST CD-ROM GCR-8520B at ata1-master PIO4 output of atacontrol list atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 HL-DT-ST CD-ROM GCR-8520B/1.00 ATA/ATAPI rev 0 Slave: no device present ATA channel 2: Master: ad4 WDC WD800JB-00CRA1/17.07W17 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 WDC WD800JB-00CRA1/17.07W17 ATA/ATAPI rev 5 Slave: no device present Nothing interesting in /var/log/messages Other logs can be provided upon request. I just don't want to make the post too long. Thanks for your help. Ugo Bellavance __ Post your free ad now! http://personals.yahoo.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd- questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: HSF modems
All the HSF modems I've seen are winmodems and to my knowledge, are unsupported in non-windows environments. But (hopefully) I'm wrong... Brent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bsd_junkie Sent: Wednesday, July 30, 2003 2:09 PM To: [EMAIL PROTECTED] Subject: HSF modems I was trying to setup a computer W/freebsd-5.1 for a friend. After the install i noticed the modem a internal pci- HSF modem was not showing up. After doing some research on google it appears this is a issue and not a bug or misconfigured modem. Is the latter true and if it is and freebsd wont work with this modem, is there any *NIX that might work as we dont have the extra money currently to buy a external modem. Thanks for all the hard work on freebsd. sincerly, BSD_Junkie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd- questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail configuration
On Tue, 2003-08-05 at 18:41, Michael K. Smith wrote: On 8/5/03 11:40 AM, Kirk R. Wythers [EMAIL PROTECTED] wrote: On Tue, 2003-08-05 at 16:51, Michael K. Smith wrote: On 8/5/03 9:32 AM, Kirk R. Wythers [EMAIL PROTECTED] wrote: On Mon, 2003-08-04 at 15:40, Jonathan Chen wrote: On Mon, Aug 04, 2003 at 03:00:38PM -0500, Kirk R. Wythers wrote: I am adding a dynamic dns host to my server and need want to add to these options to sendmail MASQUERADE_AS(`neighborsunited.net')dnl FEATURE(masquerade_envelope)dnl Is this done with freebsd.submit.mc or freebsd.mc? It should be done to your local copy of the freebsd.mc file, ie: # cd /etc/mail # cp freebsd.mc `hostname`.mc # vi `hostname`.mc # make # make install # sh /etc/rc.sendmail restart I did all that, but sendmail does not seem to be sending out mail. Is there anything that needs to be done to make sure that 'hostname.mc' gets activated? Should the 'make' and 'make install' commands take 'hostname.mc' as an agrument? I just seems like I have all these .mc files in /etc/mail, do they all get made and installed with 'make intall'? Cheers. Try make install-cf CF=hostname That yield the message: [EMAIL PROTECTED]:103 make install -cf CF=nieghborsunited.net make: illegal option -- c usage: make [-Beiknqrstv] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] [EMAIL PROTECTED]:104 make install-cf CF=nieghborsunited.net install -m 444 lorax.forestry.umn.edu.cf /etc/mail/sendmail.cf The domain that I want to be configured into sendmail.cf is neighborsunited.net. Why does the install message refer to lorax.forestry.umn.edu? No space between install and -cf So, it's make install-cf CF=neighborsunited.net OK... not space between the install and -cf 'make install-cf CF=neighborsunited' gives the message [EMAIL PROTECTED]:133 make install-cf CF=neighborsunited.net install -m 444 lorax.forestry.umn.edu.cf /etc/mail/sendmail.cf How can I tell (other than new lists created with mailman still do not send messages), if this worked. Me thinks it is still broken... shouldn't there be some reference to: MASQUERADE_AS(`neighborsunited.org')dnl FEATURE(masquerade_envelope)dnl in sendmail.cf? Mike -- Kirk R. Wythers Department of Forest Resources Tel: 612.625.2261 University of Minnesota Fax: 612.625.5211530 Cleveland Ave. N Email: [EMAIL PROTECTED]Saint Paul, MN 55108 USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Samba and $
On Tue, 2003-08-05 at 00:02, Katinka Mills wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Micheas Herman Sent: Tuesday, 5 August 2003 2:52 PM To: FreeBSD List Cc: FreeBSD List Subject: Re: Samba and $ On Mon, 2003-08-04 at 17:41, Jon Reynolds wrote: On Mon, 2003-08-04 at 12:25, Bob Collins wrote: At 02:07 PM 8/4/2003 -0500, gfsd wrote: Why can't i create a user with a $ on the end? For machine trust accounts i need to add each one by hand, instead of on the fly creation. When I use adduser it will not let me add a user with a $ on the end, is there a way around that? adduser is a perl script in 4.x. You can edit the file to allow '$' in the user name. Or further hack it so that it knows that any name that ends in '$' is a samba machine name and have it execute the correct smbpasswd command as well. A quick visit to an active irc channel should get you any help you need. (it did me a long time ago.) good luck, Micheas For a good IRC channel and network here is the place I use : #c and #freebsd on irc.freenode.net Regards, Kat. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003 Thanks for the tips, I have never used an irc channel before and have been hooked on mailing lists like a crack addict. Are irc channels really that good at helping? I was under the impression they were just like chat rooms. Jon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail configuration
On Tue, Aug 05, 2003 at 11:32:27AM -0500, Kirk R. Wythers wrote: On Mon, 2003-08-04 at 15:40, Jonathan Chen wrote: [...] # cd /etc/mail # cp freebsd.mc `hostname`.mc # vi `hostname`.mc # make # make install # sh /etc/rc.sendmail restart I did all that, but sendmail does not seem to be sending out mail. Is there anything that needs to be done to make sure that 'hostname.mc' gets activated? Should the 'make' and 'make install' commands take 'hostname.mc' as an agrument? It is *NOT* 'hostname.mc'. It is `hostname`.mc (note the back-tick). `hostname`.mc should expand to host.name.of.machine.mc. -- Jonathan Chen [EMAIL PROTECTED]Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: tightvnc not honoring .xinitrc file
From: stan left hand corber. What can I do to ake it honor the .xinitrc file? man Xvnc Or you might try removing 'twm ' in ~/.vnc/xstartup and adding, eg, 'exec startkde '. Works for me. hth, Riley ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE, Konqueror, and plugins
Chris, I've never been able to get any macromedia flash plugin to work with Konqueror on FreeBSD, but macromedia's flash 5 for linux works great with FreeBSD's native Mozilla and Firebird with a FreeBSD wrapper. This is what I would recommend: First, get rid of all the flash plugins you have installed. Next, install the flashpluginwrapper port (This will install the linux flashplugin 5 port as a dependency). Once the port has successfully installed there are a few small tasks. Here's the message displayed after installing the port: If you are using a Mozilla browser, you first need to copy the linux flash plugin into the mozilla plugins directory: (I actually just create links, but this doesn't really matter.) # cp %%LOCALBASE%%/lib/flash/libflashplayer.so \ %%X11BASE%%/lib/browser_plugins/libflashplayer_linux.so # cp %%LOCALBASE%%/lib/flash/ShockwaveFlash.class \ %%X11BASE%%/lib/browser_plugins/ Next, change the Mozilla startup script, %%X11BASE%%/bin/mozilla to have: LD_PRELOAD=%%PREFIX%%/lib/libflashplayer.so.1 export LD_PRELOAD at the top of it (but after #!/bin/sh). Now start mozilla and go to 'about:plugins' and the flash plugin is enabled! ..and that's pretty much it. With the exception of the rare site that requires flash 6, it works perfectly. To really get a multimedia capable browser you might want to consider installing the mplayerplug-in and java plugins as well. Joey Hiya folks, Well - I didn't download the source for KDE, I installed via the packages. So - that means I don't have the needed nspluginscan so the above mentioned browser can scan in plugins. Mainly flash. Ok, so - I installed Mozilla and the slew of flash plugins in /usr/ports/www and I can't for the life of me get them to work. So, I figured I would try Netscape7 from the ports - still again, the previously installed slew of flash plugins are not either being seen, or just plain and simply don't work. I could use some ideas on how some of you have gotten by this without downloading the KDE source and compiling it just to get nspluginscan (this is what Konqueror needs in order to pull in the plugins). Any and all ideas would be most cool. -- Best regards, Chris __ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers __ 01010010011101100011011001010111001001011000 _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail configuration
On Mon, 2003-08-04 at 15:40, Jonathan Chen wrote: On Mon, Aug 04, 2003 at 03:00:38PM -0500, Kirk R. Wythers wrote: I am adding a dynamic dns host to my server and need want to add to these options to sendmail MASQUERADE_AS(`neighborsunited.net')dnl FEATURE(masquerade_envelope)dnl Is this done with freebsd.submit.mc or freebsd.mc? It should be done to your local copy of the freebsd.mc file, ie: # cd /etc/mail # cp freebsd.mc `hostname`.mc # vi `hostname`.mc # make # make install # sh /etc/rc.sendmail restart I did all that, but sendmail does not seem to be sending out mail. Is there anything that needs to be done to make sure that 'hostname.mc' gets activated? Should the 'make' and 'make install' commands take 'hostname.mc' as an agrument? I just seems like I have all these .mc files in /etc/mail, do they all get made and installed with 'make intall'? Cheers. -- Kirk R. Wythers Department of Forest Resources Tel: 612.625.2261 University of Minnesota Fax: 612.625.5211530 Cleveland Ave. N Email: [EMAIL PROTECTED]Saint Paul, MN 55108 USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NATD and PPP problem
Hi Here is the ppp.conf file: default: set log Phase tun command # you can add more detailed logging if you wish set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 webpartner: set device PPPoE:xl0 set authname set authkey set dial set login add default HISADDR Here's the complete rc.conf file: # Setup PPPoE for internet connection ppp_enable=YES ppp_mode=ddial ppp_nat=NO # if you want to enable nat for your local network, otherwise NO ppp_profile=webpartner # Setup NAT on external interface firewall_enable=YES firewall_type=open gateway_enable=YES natd_enable=YES natd_interface=tun0 # Setup internal interface ifconfig_fxp0=inet 10.0.0.1 netmask 255.255.255.0 # Set the hostname of the server hostname=myhost.mydomain.com # Extra network settings inetd_enable=NO kern_securelevel_enable=NO nfs_reserved_port_only=YES sendmail_enable=NO sshd_enable=YES # Enable linux binaries linux_enable=YES # Localization font8x8=iso-8x8 font8x14=iso-8x14 font8x16=iso-8x16 scrnmap=NO keymap=danish.iso # Enable mouse daemon moused_enable=YES Andrew Boothman wrote: On Tuesday 05 August 2003 4:02 pm, Jacob Vennervald wrote: I have setup the pppoe connection which works perfectly and then I've tried to setup the machine as a NAT Router by setting the following in the rc.conf: firewall_enable=YES firewall_type=open natd_enable=YES natd_interface=tun0 But when I restart the machine it gives me the following error: Firewall rules loaded, starting divert daemons: natdnatd: tun0: cannot get interface address Hmmm Strange. I've got 4.8 doing what you want, except using an xl0 instead of a tun0 as the natd_interface because I get an ethernet port on my cable modem. Do you have ifconfig_tun0 = DHCP or something simiar in your rc.conf, or does pppoe set things up differently? How is pppoe configured to start in your setup? Can we see a more complete rc.conf (you can remove any specific addresses or other incriminating evidance ;) I can't say I have any experience with your problem - but hopefully we can shed some light on it. Cheers. Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail configuration
On Tue, 2003-08-05 at 16:51, Michael K. Smith wrote: On 8/5/03 9:32 AM, Kirk R. Wythers [EMAIL PROTECTED] wrote: On Mon, 2003-08-04 at 15:40, Jonathan Chen wrote: On Mon, Aug 04, 2003 at 03:00:38PM -0500, Kirk R. Wythers wrote: I am adding a dynamic dns host to my server and need want to add to these options to sendmail MASQUERADE_AS(`neighborsunited.net')dnl FEATURE(masquerade_envelope)dnl Is this done with freebsd.submit.mc or freebsd.mc? It should be done to your local copy of the freebsd.mc file, ie: # cd /etc/mail # cp freebsd.mc `hostname`.mc # vi `hostname`.mc # make # make install # sh /etc/rc.sendmail restart I did all that, but sendmail does not seem to be sending out mail. Is there anything that needs to be done to make sure that 'hostname.mc' gets activated? Should the 'make' and 'make install' commands take 'hostname.mc' as an agrument? I just seems like I have all these .mc files in /etc/mail, do they all get made and installed with 'make intall'? Cheers. Try make install-cf CF=hostname That yield the message: [EMAIL PROTECTED]:103 make install -cf CF=nieghborsunited.net make: illegal option -- c usage: make [-Beiknqrstv] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] [EMAIL PROTECTED]:104 make install-cf CF=nieghborsunited.net install -m 444 lorax.forestry.umn.edu.cf /etc/mail/sendmail.cf The domain that I want to be configured into sendmail.cf is neighborsunited.net. Why does the install message refer to lorax.forestry.umn.edu? Kirk Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSupping 5
Man, I'm behind on my list mail. On Thu, Jul 03, 2003 at 02:31:22PM -0400, Bill Moran wrote: Ian Barnes wrote: What is the cvsup tag for the 5 branch? RELENG_5 doesnt work. RELENG_5_1 for the 5.1-RELEASE critical updates . for the bleeding-edge -CURRENT update (yes that's a '.') If you look in /usr/share/examples/cvsup there are several example cvsup files. The one called 'standard-supfile' should get you -CURRENT. I just did a 5.1 install from CD and shot myself in the foot because /usr/share/examples/cvsup/stable-supfile has a default tag of RELENG_4 which I didn't see until after I had run a `make update`. Presumably this is an error and it should really be RELENG_5_1 (and ditto for 5.0, which also defaulted to RELENG_4). Lesson for the day: READ EVERYTHING. ;-) -- Paul Chvostek [EMAIL PROTECTED] Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NATD and PPP problem
Hi again I finally got it working by specifying the static ip of my external interface in the natd_interface instead of tun0. Hope somebody else finds this helpfull. Cheers, Jacob Vennervald Jacob Vennervald wrote: Hi Here is the ppp.conf file: default: set log Phase tun command # you can add more detailed logging if you wish set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 webpartner: set device PPPoE:xl0 set authname set authkey set dial set login add default HISADDR Here's the complete rc.conf file: # Setup PPPoE for internet connection ppp_enable=YES ppp_mode=ddial ppp_nat=NO # if you want to enable nat for your local network, otherwise NO ppp_profile=webpartner # Setup NAT on external interface firewall_enable=YES firewall_type=open gateway_enable=YES natd_enable=YES natd_interface=tun0 # Setup internal interface ifconfig_fxp0=inet 10.0.0.1 netmask 255.255.255.0 # Set the hostname of the server hostname=myhost.mydomain.com # Extra network settings inetd_enable=NO kern_securelevel_enable=NO nfs_reserved_port_only=YES sendmail_enable=NO sshd_enable=YES # Enable linux binaries linux_enable=YES # Localization font8x8=iso-8x8 font8x14=iso-8x14 font8x16=iso-8x16 scrnmap=NO keymap=danish.iso # Enable mouse daemon moused_enable=YES Andrew Boothman wrote: On Tuesday 05 August 2003 4:02 pm, Jacob Vennervald wrote: I have setup the pppoe connection which works perfectly and then I've tried to setup the machine as a NAT Router by setting the following in the rc.conf: firewall_enable=YES firewall_type=open natd_enable=YES natd_interface=tun0 But when I restart the machine it gives me the following error: Firewall rules loaded, starting divert daemons: natdnatd: tun0: cannot get interface address Hmmm Strange. I've got 4.8 doing what you want, except using an xl0 instead of a tun0 as the natd_interface because I get an ethernet port on my cable modem. Do you have ifconfig_tun0 = DHCP or something simiar in your rc.conf, or does pppoe set things up differently? How is pppoe configured to start in your setup? Can we see a more complete rc.conf (you can remove any specific addresses or other incriminating evidance ;) I can't say I have any experience with your problem - but hopefully we can shed some light on it. Cheers. Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hard drive performance question
Hello, I have FreeBSD 4.7 server running a qmail-imap-squirrelmail email server and a apache 1.3.27 web server hosting 6 virtual domains that don't get a lot of traffic. Hardware is: P3 933MHz CPU 512 DDR ram Fujitsu MAN3184MP 18.2 GB U160 10K rpm 8MB buffer 2.9 ms access Hard drive Adaptec 29160LP U160 SCSI controller When I run vmstat, I get: procs memory pagedisks faults CPU r b w avmfre flt re pi po fr sr da0 md0 in sy cs us sy id 0 14 0 184016 40900 26 0 0 0 31 0 0 0 245 839 28 1 1 98 0 14 0 86940 408967 0 0 0 15 0 12 0 242 115 21 0 0 99 0 14 0 81460 408966 0 0 0 12 0 10 0 239 98 18 0 0 100 0 14 0 85172 408967 0 0 0 15 0 14 0 243 116 21 0 1 99 0 14 0 190092 40896 32 0 0 0 37 0 10 0 250 220 35 0 0 100 0 14 0 190092 408967 0 0 0 17 0 15 0 244 114 21 0 0 100 0 14 0 189720 408967 0 0 0 15 0 12 0 241 116 21 0 0 100 0 14 0 189720 408966 0 0 0 12 0 10 0 239 96 18 0 0 100 0 14 0 86860 408967 0 0 0 15 0 12 0 241 117 21 0 0 99 1 14 0 86860 409126 0 0 0 13 0 11 0 241 100 18 0 0 100 I've read this is a disk access problem where process are waiting on the disk. As you can see this is a constant but I thought the disk system I have was sufficient. Any thoughts, analysis, or other is appreciated, thanks. -- Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba 3.0b2 + ADS
On Tue, 2003-08-05 at 15:16, Will Froning wrote: Solved. cd /usr/ports/net/openldap22 make install cd /usr/ports/security/heimdal make WITH_LDAP=yes install --missed WITH_LDAP last time cd /usr/ports/net/samba-devel make KRB5_HOME=/usr/local install Thanks, Will On Fri, 1 Aug 2003 13:05:00 -0700 Will Froning [EMAIL PROTECTED] wrote: Has anyone successfully joined a FreeBSD 4.8 box running Samba 3.0b3 to a Native mode AD tree? Just wondering since I'm having a killer time getting it to work. I can get the krb5 keys and 'net ads lookup' works like a champ. But 'net ads join -U Administrator' always fails with: [2003/08/01 08:11:03, 1] libsmb/clikrb5.c:ads_krb5_mk_req(267) krb5_cc_get_principal failed (No such file or directory) [2003/08/01 08:11:03, 1] libsmb/clikrb5.c:ads_krb5_mk_req(274) krb5_get_credentials failed for [EMAIL PROTECTED] (Unknown error: -1765328369) [2003/08/01 08:11:03, 1] utils/net_ads.c:ads_startup(176) ads_connect: Server is unavailable I have dc3 and dc2 shortname entries in /etc/hosts. Below is the smb.conf file relevant entries (I've tried it with and without the workgroup entry). [global] workgroup = STK realm = stk.realm security = ads netbios name = MARMAR encrypt passwords = yes I've been posting on [EMAIL PROTECTED], but no solution. Please CC me on the reply, thanks a bunch. Thanks, Will -- Will Froning Unix Sys. Admin. [EMAIL PROTECTED] Will, Is there a doc or howto to setup samba3+ldap+kerberos+freebsd somewhere? I am trying to set this up and am having a hard time finding everything in one doc. Is there such a thing? Thanks, Jon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: common criteria status?
On Tue, Aug 05, 2003 at 09:59:26AM -0700, twig les wrote: Hey *, I was just on a conference call, so naturally I was reading slashdot and saw that Linux has managed to get certified under the common criteria. http://story.news.yahoo.com/news?tmpl=storycid=569ncid=738e=1u=/nm/20030805/tc_nm/tech_ibm_linux_dc Almost no details there... I know that trustedBSD is working towards that for our beloved FreeBSD and that many enhancements have found their way into the 5.x line, but does anyone know if the team has begun the certification effort or if not when (if) they will? I know it's very expensive, one article said several hundred thousand dollars up to a few million. I don't know of any plans to throw wads of money at the certification process. IMO, it would be better spent on developer time. Kris pgp0.pgp Description: PGP signature
fxp0 only 300Kbits/sec ?
I am having a strange problem. I have this new Cisco Catalyst 2940T-24. On it I have 6 FreBSD/x86 boxes. The first 5 are running great. The 6th is only getting 300Kbits/sec out of its interface, but ... not right away after a reboot. I rebooted the host Saturday afternoon and I was again getting about 80Mbits/sec. Saturday night's backups ran great, and fast. So did Sunday's backups. But last night's backups are still running. My mrtg traffic graphs show that it is only getting 300Kbit/sec out of its interface. I confirmed this with an FTP directly to the host a few minutes ago (after killing off the backups). Nothing is mentioned in /var/log/messages. The switch claims the port is running at 100Mbits, full-duplex, as does the output of ifconfig. Suggestions? - Mike Hogsett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nVidia nForse2
Good day. I have just one question. How to install FreeBSD 4.7 on nVidia nForse2 motherboard? I cann't set up my integrated sound and LAN cards. My chipset is MCP2, no integrated video. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NATD Port Forwarding Problems
Hi all...I'm at a dead end here. I'm trying to setup my firewall/nat box to forward requests on externalIP:portA to internalPC:portB. I put 'natd_flags=-redirect_port tcp 1internalPC:portB portA ' in my rc.conf file, and I have the following three statements in my rc.firewall script: ipfw add divert 8668 all from any to any via $EXTERNAL_INTERFACE ipfw add pass all from $LOCALNET_1 to any via $EXTERNAL_INTERFACE out ipfw add pass all from any to $LOCALNET_1 via $EXTERNAL_INTERFACE in But when I try to connect, nothing happens. Any ideas anyone? Thanks, --Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE, Konqueror, and plugins
Hiya folks, Well - I didn't download the source for KDE, I installed via the packages. So - that means I don't have the needed nspluginscan so the above mentioned browser can scan in plugins. Mainly flash. Ok, so - I installed Mozilla and the slew of flash plugins in /usr/ports/www and I can't for the life of me get them to work. So, I figured I would try Netscape7 from the ports - still again, the previously installed slew of flash plugins are not either being seen, or just plain and simply don't work. I could use some ideas on how some of you have gotten by this without downloading the KDE source and compiling it just to get nspluginscan (this is what Konqueror needs in order to pull in the plugins). Any and all ideas would be most cool. -- Best regards, Chris __ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers __ 01010010011101100011011001010111001001011000 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X won't start
On Tuesday, 5 August 2003 at 14:21:38 +0200, mess-mate wrote: Hi, X no more start after a crash with root. Error Knotify, kdeinit, etc.. pid... If you get that far, X is running. Those error messages are there for a purpose. Read them. As user all goes well. So you're saying that root can't start X? That's probably a good idea. You shouldn't be running as root. What can I do ?? Start by describing how far you get. Also take a look at /var/log/XFree86.0.log. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
RE: What has happend with archive ?
This all ways works http://groups.google.com/groups?hl=engroup=mailing.freebsd.question s -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Adam Szeliga Sent: Tuesday, August 05, 2003 7:26 PM To: [EMAIL PROTECTED] Subject: What has happend with archive ? Recently I have received this message every time: None of the archives you requested (freebsd-questions, freebsd-hardware, freebsd-hackers and freebsd-smp) are available at this time. Please try again later, or return to the search page and select a different archive. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NATD and PPP problem
On Tue, Aug 05, 2003 at 05:02:50PM +0200, Jacob Vennervald wrote: Hi I've installed a FreeBSD 4.8 machine, which I wanna use as a NAT/Router/Firewall. I have setup the pppoe connection which works perfectly and then I've tried to setup the machine as a NAT Router by setting the following in the rc.conf: firewall_enable=YES firewall_type=open natd_enable=YES natd_interface=tun0 But when I restart the machine it gives me the following error: Firewall rules loaded, starting divert daemons: natdnatd: tun0: cannot get interface address When I log in and type ifconfig I can also see that the tun0 interface doesn't exist, but when I turn off the two natd settings in rc.conf and reboot it does exist. Can anybody help? Cheers, Jacob Vennervald I assume you use ppp to setup your connection. If you don't this isn't going to work for you. You proberbly want to use the nat within the ppp tool instead. Try to leave the natd lines out of the rc.conf and add nat enable yes to this file: /etc/ppp/ppp.conf. Your gateway has internet afther this, but you lan doesn't. You must make sure that your firewall includes a line like: divert 8668 ip from any to any via tun0. This send the packets to the natd port for processing. It could be that ipfw (the firewall) is called before ppp. This could cause it to ignore this rule. The best thing is to create a simple firewall with a script at first. Something like: ipfw flush ipfw add 100 allow ip from any to any via lo0 ipfw add 200 deny ip from any to 127.0.0.0/8 ipfw add 300 deny ip from 127.0.0.0/8 ipfw add 400 divert natd from any to any via tun0 ipfw add 500 allow ip from any to any And then execute it on the prompt like script . The sign is importent if you didn't compile the kernel so that it allows all trafic by default. If your firewall denies all traffic by default then you may experiance a drop of you connection. Your script is aborted at this time, if it doesn't run in the bacground. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
high-pitched tone from pc speaker
I recently installed FreeBSD 4.8 on a server at work. I cvsup'd and installed an updated world and installed a few ports. I also rebuilt the kernel to support dual processors. I don't know if this always happened, but now the on-board pc speaker (the one that goes beep, not from a sound card) emits a high-pitched tone a minute or two after boot. I wasn't able to find anything in google relating to this problem. Has anyone else experienced this problem? I'm not really sure where to look to try to remedy this issue. Thanks, Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding user and group on redhat.
You sent email to: [EMAIL PROTECTED] On Wed, 6 Aug 2003, Anil Garg wrote: hi, On red hat ..commands 'adduser' and '/stand/sysinstall' doesnt work. Can someone help me by telling how to add user and group in redhat. No. Point and click ... point and click Thanks and Regards Anil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creative Soundblaster Live and FreeBSD 5.1-Release
Thanks for the information, I've got oss now for evaluation. I was wondering if anybody knows of any quality sound cards that are well supported in FreeBSD (one that has bass/treble controls from the pcm driver, or another currently maintained driver)? On Monday 04 August 2003 07:18 pm, you wrote: On Sun, 2003-08-03 at 00:20, Travis Troyer wrote: I have a Creative Soundblaster Live card, and I have been searching for information about using it with FreeBSD, but I haven't been able to come up with much. I was hoping somebody has had some luck recently with getting front and rear output with this card, or has at least been able to find a way to adjust the bass and treble (by default they seem extremely high). Any information would be appreciated. Your best bet for full featured drivers is http://www.opensound.com/ That's the only way under FreeBSD (that I know of) that you'll get a full featured mixer (with bass / treble control) and rear outputs properly. There are two developers that I know of that are trying to create a better Audigy driver for FreeBSD 5.x that will have bass and treble control, but other than that... The Linux ALSA Project is the only project I know of currently that has fairly good support for front + rear outputs for the Creative Series of cards. Personally, I've never cared for ALSA, and am somewhat distraught that many future 'free' applications may use the ALSA API instead of the OSS API, putting many of us out in the cold figuratively speaking. Obviously, most of these applications are open source in one way or another and can be ported to OSS, but I digress... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]