Free BSD 8.1
It appears that all the distfile locations are empty. For example: KDE4 Master site: empty Distfiles: none Extract-only: empty Have the distfiles for the GUI been left out of the dvd? Same situation when 32 or 64 side of dvd is loaded. The dvd disk reader is read only. It cannot write to disk. Please advise Victor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Free BSD 8.1
On 26/09/2010 02:50:55, victor kovacs wrote: It appears that all the distfile locations are empty. For example: KDE4 Master site: empty Distfiles: none Extract-only: empty That's deliberate. x11/kde4 is a metaport -- that is, it installs nothing itself, but exists only to hold dependencies on other KDE4 components. Installing x11/kde4 will trigger a cascading installation of the 20-odd other ports (as modified by your choice of options) that go to create a whole KDE system. Have the distfiles for the GUI been left out of the dvd? Same situation when 32 or 64 side of dvd is loaded. The dvd disk reader is read only. It cannot write to disk. No -- the tarball of the ports in the distribution media is a faithful copy of the state of the ports tree at the time the media were created. Distfiles aren't included in FreeBSD DVD images -- there's only about 4.5GB to play with, and most of that is taken up by FreeBSD itself, and a selection of the most important software pre-compiled in pkg format. All of the distfiles or all of the pkgs for all of the ports together are substantially larger than any single piece of distribution medium (disk, USB key, etc.) readily available at the moment. Even just selecting the most commonly installed applications easily overflows the capacity of the DVD (and consider what invidious choices that selection process involves). Be aware that installing the ports tree from the DVD images is not the ideal way to do it. If you have the connectivity on your newly installed system, it is better to use either csup(1) or portsnap(1) to grab an up-to-date copy of the ports directly from the net. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Page Fault While in Kernel Mode (IPNAT)
Hi, I have a firewall for NAT operations only. While doing NAT, server crashes. Below you can find the required info about my problem. Thanks. Some useful info about my NAT server: FreeBSD xxx.cc.boun.edu.tr 7.3-RELEASE FreeBSD 7.3-RELEASE #2: Fri Sep 17 15:09:54 EEST 2010 x...@xxx.cc.boun.edu.tr:/usr/obj/usr/src/sys/FW i386 bge0: HP NC7782 Gigabit Server Adapter, ASIC rev. 0x002100 mem 0xfdef-0xfdef irq 25 at device 1.0 on pci3 bge1: HP NC7782 Gigabit Server Adapter, ASIC rev. 0x002100 mem 0xfdee-0xfdee irq 26 at device 1.1 on pci3 net.inet.ipf.ipf_natrules_sz: 127 net.inet.ipf.ipf_nattable_sz: 30 513/897/1410 mbufs in use (current/cache/total) 512/540/1052/0 mbuf clusters in use (current/cache/total/max) 512/512 mbuf+clusters out of packet secondary zone in use (current/cache) 0/5/5/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 1152K/1324K/2476K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/5/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines mappedin183625863out126618997 added2265807expired1350387 no memory8899bad nat12314 inuse13690 orphans0 rules49 wilds0 hash efficiency97.64% bucket usage4.46% minimal length0 maximal length3 average length1.024 TCP Entries per state 0 1 2 3 4 5 6 7 8 91011 42 223651 417 3311 348 2002320 0 3763 729 Debug info: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address= 0x4 fault code= supervisor read, page not present instruction pointer= 0x20:0x8593c94b stack pointer= 0x28:0x853488dc frame pointer= 0x28:0x85348958 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process= 25 (irq26: bge1) trap number= 12 panic: page fault cpuid = 0 Uptime: 2d0h6m24s Physical memory: 2035 MB Dumping 335 MB: 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/ipl.ko...Reading symbols from /boot/kernel/ipl.ko.symbols...done. done. Loaded symbols for /boot/kernel/ipl.ko #0 doadump () at pcpu.h:196 196__asm __volatile(movl %%fs:0,%0 : =r (td)); ### #0 doadump () at pcpu.h:196 #1 0x80746017 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0x807462e9 in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0x8097483c in trap_fatal (frame=0x8534889c, eva=4) at /usr/src/sys/i386/i386/trap.c:950 #4 0x80974aa0 in trap_pfault (frame=0x8534889c, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:863 #5 0x80975459 in trap (frame=0x8534889c) at /usr/src/sys/i386/i386/trap.c:541 #6 0x8095915b in calltrap () at /usr/src/sys/i386/i386/exception.s:166 #7 0x8593c94b in nat_new (fin=0x853489c0, np=0x855ee800, natsave=0x0, flags=Variable flags is not available. ) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c:2577 #8 0x8593cf04 in fr_checknatout (fin=0x853489c0, passp=0x85348a6c) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c:3828 #9 0x85959c6c in fr_check (ip=0x873c0810, hlen=20, ifp=0x855b7400, out=1, mp=0x85348ab8) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c:2624 #10 0x859517be in fr_check_wrapper (arg=0x0, mp=0x85348ab8, ifp=0x855b7400, dir=2) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil_freebsd.c:178 #11 0x807f5708 in pfil_run_hooks (ph=0x80b026e0, mp=0x85348b44, ifp=0x855b7400, dir=2, inp=0x0) at /usr/src/sys/net/pfil.c:78 #12
Re: Free BSD 8.1
Matthew Seaman said Be aware that installing the ports tree from the DVD images is not the ideal way to do it. If you have the connectivity on your newly installed system, it is better to use either csup(1) or portsnap(1) to grab an up-to-date copy of the ports directly from the net. I disagree with that. You are supposing that newer is better, which is far from proven (in fact blatantly false in many cases). Another option is to install the ports tree from the DVD,and install corresponding precompiled packages from the DVD or otherwise the web, and *not* updating the ports tree. There is a lot to be said for this option, and many users will be happier doing that, at least people who want to use their machine and not spend their time upgrading, compiling and fighting bugs. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mail problems....
i spent entire day saturday getting my primary server up to date. unfortunately, no mail can get out. maybe for days.. mail Can get in. anybody hv a clue so i can fix this next time i portupgrade??? gary ps: to polyt: no jttd-5 -- Gary Kline Seattle BSD Users' Group (seabug) | kl...@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Gnash version
On Sat, Sep 25, 2010 at 07:42:02AM -0700, jlalar...@drivehq.com wrote: Hi, folks. I want to ask you wich version of gnash port is more modern, gnash-0.8.7_4 or, maybe, gnash-devel-20100218_5... Is safe install the devel version?. It have more features than the stable release?. Thanks you very much, in advance. Regards. Jose. The devel version should be newer. It might have more features but it's likely to be less stable. It's safe to install but it might coredump but shouldn't crash your machine (although it might cause X to crash). Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On Sun, 26 Sep 2010 02:03:28 +0200 Polytropon free...@edvax.de articulated: On Sat, 25 Sep 2010 19:46:08 -0400, Carmel carmel...@hotmail.com wrote: On Sun, 26 Sep 2010 00:49:16 +0200 Polytropon free...@edvax.de articulated: Have you tried mounting using the ATAPI driver? # mount -o ro -t cd9660 /dev/acd0 /mnt Does this work for data CDs? I get this error message: mount_cd9660: /dev/acd0: Invalid argument This seems to show that there's no ISO-9660 file system on the (data) CD, or the session is not finished, or any other problem on file system level. Can you check % file - /dev/acd0 % cdcontrol info Here's an example for the output for a data CD: % file - /dev/acd0 /dev/stdin: ISO 9660 CD-ROM filesystem data 'FreeBSD_Install' (bootable) % cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type - 1 0:02.00 57:57.56 0 260831 data 170 57:59.56 - 260831 - - And for an audio CD: % file - /dev/acd0 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument) % cdcontrol info Starting track = 1, ending track = 18, TOC size = 154 bytes track start duration block length type - 1 0:02.00 3:31.03 0 15828 audio 2 3:33.03 2:52.67 15828 12967 audio ... 17 52:24.53 7:27.30 235703 33555 audio 18 59:52.08 2:48.67 269258 12667 audio 170 62:41.00 - 281925 - - Do you get the same results for the respective CD content types? I made some file permission changes, rebooted and made sure that the changes were static, and then ran a few test. The cdcontrol program will not play a CDROM although it claims it is. I can play an audio CD from within KDE; however, it is like pulling teeth to accomplish it. Way too much trouble. MPlayer cannot access the audio CD naively. DATA CDs are another story. I cannot mount them. Using a data CD: # file - /dev/acd0 /dev/stdin: ERROR: cannot read `(null)' (Input/output error) # file - /dev/cd0 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument) # cdcontrol info cdcontrol: getting toc header: Invalid argument cdcontrol: Invalid argument With an audio CD: # file - /dev/acd0 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument) # file - /dev/cd0 /dev/stdin: ERROR: cannot read `(null)' (Device not configured) # cdcontrol info Starting track = 1, ending track = 3, TOC size = 34 bytes track start duration block length type - 1 0:02.00 6:32.00 0 29400 audio 2 6:34.00 3:55.12 29400 17637 audio 3 10:29.12 3:42.23 47037 16673 audio 170 14:11.35 - 63710 - - Finally, just trying a mount command from the command line: $ sudo mount -o ro -t cd9660 /dev/acd0 /mnt mount_cd9660: /dev/acd0: Invalid argument $ sudo mount -o ro -t cd9660 /dev/cd0 /mnt mount_cd9660: /dev/cd0: Device not configured This is getting to be far more trouble and wasting way too much time than it is worth. I can just put the CDs in one of my Windows machines and then transfer the data over the network to the FreeBSD units. What is strange is that this use to work before I upgraded. By the way, Polytropon, please do not CC me. I am on the list and I really do not need two copies of every post. Others may appreciate it; however, I don't. -- Carmel ✌ carmel...@hotmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pf
Hello, I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE amd64). I used the sample configuration file available on calomelhttps://calomel.org/pf_config.html After a few tests, it appears that the gate has fully access to the internet, but I can't open connections from clients to distant servers (web, ssh, ...). Checking pflog log file, I can't see anything about those timeouts, even if I added the log directive in every block/pass command. Everything else seems to work, I can talk with my DNS from the internet, ssh redirections to another pc also seems to works. I just can't access the Internet from a client of my network... For debugging, I commented out the options and the 'block all in/out' directives. Here's my config file http://pastebin.com/Nim2zBCx Is there someone understanding what I'm doing wrong? Thanks for your help! Regards, Samuel Martín Moro {EPITECH.} tek5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mail problems....
On Sun, 26 Sep 2010 03:20:18 -0700 Gary Kline kl...@magnesium.net articulated: i spent entire day saturday getting my primary server up to date. unfortunately, no mail can get out. maybe for days.. mail Can get in. Sorry, crystal ball is out for repairs. Perhaps you could enlighten us with some pertinent log entries, MTA being employed, etc. If Postfix, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. If the problem is SASL related, consider including the output from the saslfinger tool. This can be found at http://postfix.state-of-mind.de/patrick.koetter/saslfinger/. If the problem is about too much mail in the queue, consider including output from the qshape tool, as described in the QSHAPE_README file. I cannot help you with other MTAs. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ signature.asc Description: PGP signature
Re: Free BSD 8.1
On 26/09/2010 13:30:19, Michel Talon wrote: Matthew Seaman said Be aware that installing the ports tree from the DVD images is not the ideal way to do it. If you have the connectivity on your newly installed system, it is better to use either csup(1) or portsnap(1) to grab an up-to-date copy of the ports directly from the net. I disagree with that. You are supposing that newer is better, which is far from proven (in fact blatantly false in many cases). Another option is to install the ports tree from the DVD,and install corresponding precompiled packages from the DVD or otherwise the web, and *not* updating the ports tree. There is a lot to be said for this option, and many users will be happier doing that, at least people who want to use their machine and not spend their time upgrading, compiling and fighting bugs. No. I made no comment on the relative advantages and disadvantages of various updating strategies. Please do not put words into my mouth. Given that the OP asked about the ports I think it fairly safe to assume that his intention was to use them. And, yes, being up-to-date with the ports tree generally *does* give you better results than not. Ports are a moving target, dependent entirely on upstream changes. Expecting that a snapshot taken months or weeks ago will work just as well as one updated in the last hour is plain daft. Even without any functional changes to the ported software, projects still move to different hosting, URLs change as archive sites are internally reorganised, ftp servers come and go, dist files get re-rolled with new checksums. Aside from those neutral changes, ported software generally does improve over time. Updates that fix problems are way more common that updates that introduce them. Despite a few high-profile occasions when things have gone horribly wrong -- not just with the ports, but with any OSS project --- this is overwhelmingly the case. The quality control in the majority of large OSS projects is very good nowadays -- probably better than their closed source equivalents. End users can quite reasonably expect not to have to spend their time fighting bugs. Newer generally /is/ better. Besides that, the assumption you are making, that change is undesirable, is just plain wrong. People will always want new stuff. It may not be wise for them to get it, but that's another story. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: pf
Samuel Martín Moro wrote: Hello, I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE amd64). I used the sample configuration file available on calomelhttps://calomel.org/pf_config.html After a few tests, it appears that the gate has fully access to the internet, but I can't open connections from clients to distant servers (web, ssh, ...). Checking pflog log file, I can't see anything about those timeouts, even if I added the log directive in every block/pass command. Everything else seems to work, I can talk with my DNS from the internet, ssh redirections to another pc also seems to works. I just can't access the Internet from a client of my network... For debugging, I commented out the options and the 'block all in/out' directives. Here's my config file http://pastebin.com/Nim2zBCx Is there someone understanding what I'm doing wrong? The firewall ruleset is a trifle overly complex for a quick glance; study and analysis would take some doing. However, if you can reach the internet from the firewall box and other client computers behind your NAT can't (which is what it sounds like you're describing) it may be just that you are missing gateway_enable=YES in your /etc/rc.conf. Turning this ON makes your firewall box into a router. The status of this can be checked with: sysctl net.inet.ip.forwarding - a 0 means no gateway and a 1 means gateway. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make buildkernel pre-build too long
On Tue Sep 21 10, David DEMELIER wrote: 2010/9/21 Alexander Best arun...@freebsd.org: On Fri Sep 17 10, David DEMELIER wrote: 2010/9/17 Alexander Best arun...@freebsd.org: On Thu Sep 16 10, David DEMELIER wrote: Hi there, I can't understand why this part of make buildkernel is so long on my amd64 machine (8.1-R) make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP=cc -E CC=cc xargs mkdep -a -f .newdep -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector This command takes around 5-6 minutes before continuing, on my i386 machine (which is really old) it only takes about 20 seconds. The kernel configs are almost the same for both machines. are there any differences in /etc/make.conf? cheers. alex Do you have any idea? Kind regards, -- Demelier David -- a13x No, except the KERNCONF entry it's exactly the same : hmmmstrange. could you post the ouput of `make -VCFLAGS -VCOPTFLAGS` on both your machines, please? cheers. alex # General settings. KERNCONF=Melon MASTER_SORT?= .fr .uk # Portconf. .if !empty(.CURDIR:M/usr/ports*) exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # Perl. PERL_VERSION=5.10.1 # No need modules. NO_MODULES=yes # Specify other directories. WRKDIRPREFIX= /usr/obj DISTDIR= /usr/distfiles -- Demelier David -- a13x -O2 -pipe I think the problem is the amd64 architecture. When I buildkernel using TARGET_ARCH=i386 it takes only one minute or even less, it's only native target (amd64) which is long. i'll try to cross build a kernel for i386 (i686) and see if that shortens the build time on my pc, too. you might want to consider aksing this question again on freebsd-current@ or freebsd-am...@. not too many developers read freebsd-questi...@. cheers. alex Kind regards, -- Demelier David -- a13x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pf
On Sun, Sep 26, 2010 at 3:34 PM, Michael Powell nightre...@hotmail.comwrote: Samuel Martín Moro wrote: Hello, I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE amd64). I used the sample configuration file available on calomelhttps://calomel.org/pf_config.html After a few tests, it appears that the gate has fully access to the internet, but I can't open connections from clients to distant servers (web, ssh, ...). Checking pflog log file, I can't see anything about those timeouts, even if I added the log directive in every block/pass command. Everything else seems to work, I can talk with my DNS from the internet, ssh redirections to another pc also seems to works. I just can't access the Internet from a client of my network... For debugging, I commented out the options and the 'block all in/out' directives. Here's my config file http://pastebin.com/Nim2zBCx Is there someone understanding what I'm doing wrong? The firewall ruleset is a trifle overly complex for a quick glance; study and analysis would take some doing. However, if you can reach the internet from the firewall box and other client computers behind your NAT can't (which is what it sounds like you're describing) it may be just that you are missing gateway_enable=YES in your /etc/rc.conf. Turning this ON makes your firewall box into a router. The status of this can be checked with: sysctl net.inet.ip.forwarding - a 0 means no gateway and a 1 means gateway. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org the gateway is already enabled (and forwarding is correctly set) whatever, I had to do quick, I started again I think the missing thing on my old conf was the 'scrub' (at least) I made a more simple configuration, as following: ext_if=bge0 int_if=bge1 localnet = $int_if:network emma=10.242.42.200 alpha=10.42.42.42 delta=10.42.42.44 set skip on lo0 scrub in on $ext_if all fragment reassemble #INTERNETZ nat on $ext_if from $localnet to any - ($ext_if) #EMMA rdr on $ext_if inet proto tcp from any to ($ext_if) port 1101 - $emma port 22 rdr on $ext_if inet proto tcp from any to ($ext_if) port 307 - $emma port 80 #WHAT.CD rdr on $ext_if inet proto tcp from any to ($ext_if) port 1666 - $alpha port 1666 #REMOTE ADM rdr on $ext_if inet proto tcp from any to ($ext_if) port 1667 - $delta port 22 rdr on $ext_if inet proto tcp from any to ($ext_if) port 1668 - $alpha port 22 pass in log on $ext_if inet proto tcp from any to $ext_if port 22 pass in log on $ext_if inet proto tcp from any to $ext_if port 53 pass in log on $ext_if inet proto udp from any to $ext_if port 53 pass in log on $ext_if inet proto tcp from any to $ext_if port 1664 pass in log on $int_if inet proto tcp from any to any pass in log on $int_if inet proto udp from any to any block in log on $ext_if inet proto icmp from any to $ext_if it's basically working i'll stuff it when I'll have time. Samuel Martín Moro {EPITECH.} tek5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mail problems....
I'd lay dollars to donuts that some service you are running (SASL, AV, etc) is not running and it's hanging there. Have you looked at the logs? Or done a verbose mailing to yourself? Your MTA should have a stuck queue list and reasons why for you. -- Ryan On Sep 26, 2010, at 7:01 AM, Jerry wrote: On Sun, 26 Sep 2010 03:20:18 -0700 Gary Kline kl...@magnesium.net articulated: i spent entire day saturday getting my primary server up to date. unfortunately, no mail can get out. maybe for days.. mail Can get in. Sorry, crystal ball is out for repairs. Perhaps you could enlighten us with some pertinent log entries, MTA being employed, etc. If Postfix, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. If the problem is SASL related, consider including the output from the saslfinger tool. This can be found at http://postfix.state-of-mind.de/patrick.koetter/saslfinger/. If the problem is about too much mail in the queue, consider including output from the qshape tool, as described in the QSHAPE_README file. I cannot help you with other MTAs. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
port upgrading
I'm in doubt. I wanted to bring my ports collection uptodate, so I ran csup -L 2 /root/ports-supfile and that updated my ports collection. At least, I hope so. Then I started googling and found that cvsup is not recommended. Better tot use portsnap (???) And also portupgrade was a no go. I should be using portmaster. Woh, I'm confused now. Question: what is best used to have an up2date ports collection nowadays? This system is FreeBSD8/amd64. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
sudo anomaly
I have a userID, admin, that I add to my systems to use when I perform system admin functions. I also use this ID when using X-windows, never starting X as root user. So I needed to check my mail for daily run outputs and so I tried to use su then mail, but I got admin's mail. So I exited su, and tried sudo mail. I got root's mailbox nd I deleted all but two emails. When I q(uit) mail, it said it saved 2 messages in mbox. But when I try to go back in it says I don't have any mail. There is no root directory in /var/mail. Did sudo lose my mbox? Can anyone verify this anomaly? -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version:FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s):kde4-4.5.1 X windows: xorg-7.5X.Org X Server 1.7.5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apropos returning same item twice
On Sunday 19 September 2010 1:36:12 am Wayne Sierke wrote: On Fri, 2010-09-17 at 12:18 -0400, Steven Friedrich wrote: On Thursday 16 September 2010 4:12:44 am Wayne Sierke wrote: On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote: On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: On Tue, 2010-09-14 at 00:37 +, Alexander Best wrote: On Sat Sep 11 10, Steven Friedrich wrote: Why does apropos list mysql(1) twice? It doesn't return duplicates with apropos kde... maybe you have a gzip'ed and plain version in /usr ? see PR #4419. cheers. alex Are you certain that /etc/manpath.config doesn't just still have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly the kde issue is a mystery, assuming its manpages are installed in /usr/local/man. This system has the following: OPTIONAL_MANPATH /usr/local/man # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man MANPATH_MAP /usr/local/bin /usr/local/man # (disabled by xorg-libraries port) MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man Is the whatis file being updated? Check the timestamp: # ls -l /usr/local/man/whatis -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 /usr/local/man/whatis Wayne ad...@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql snip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I still have X11R6 in usr symlinked to /usr/local. This was done per entry 20070519 in /usr/ports/UPDATING. Do we still need this symlink? Yes, anything that references /usr/X11R6 gets directed to /usr/local. Well I temporarily removed it and this anomaly disappeared. Perhaps we just have to suffer until we know the symlink can be removed. I thought it was going to eventually be removed... Did you check /etc/manpath.config and the timestamp on /usr/local/man/whatis? grep -v '^#' manpath.config MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/share/openssl/man OPTIONAL_MANPATH/usr/local/man MANPATH_MAP /bin/usr/share/man MANPATH_MAP /usr/bin/usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.12.2/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.12.2/perl/man Another check is that the output of manpath(1) doesn't include /usr/X11R6/man. manpath /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/openssl/man: /usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/man Ok. There's also: %man -a -w mysql to see the origins of the multiple man pages, although it seems that you may have already confirmed the /usr/X11R6 path connection. From what you've presented so far I'd say it's looking like a problem man -a -w mysql /usr/local/man/man1/mysql.1.gz /usr/X11R6/man/man1/mysql.1.gz with updating of the whatis db files. So to verify whether the weekly periodic makewhatis is being run:- - check the timestamp on /usr/local/man/whatis - it shouldn't be more than a week old - check that the weekly run output report lists Rebuilding whatis database: and that it doesn't list any errors, e.g.: Rebuilding whatis database: -- End of weekly output -- ll /usr/local/man/whatis -rw-r--r-- 1 root wheel 369225 Sep 25 04:21 /usr/local/man/whatis I thn manually ran sudo makewhatis /usr/local/man without error. Anomaly still occurs. I'm not fully versed (yet) on makewhatis, but I think (from reading the description for the -a switch) that it is supposed to remove duplicate entries. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version:FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s):kde4-4.5.1 X windows: xorg-7.5X.Org X Server 1.7.5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apropos returning same item twice
On Sunday 19 September 2010 1:36:12 am Wayne Sierke wrote: On Fri, 2010-09-17 at 12:18 -0400, Steven Friedrich wrote: On Thursday 16 September 2010 4:12:44 am Wayne Sierke wrote: On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote: On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: On Tue, 2010-09-14 at 00:37 +, Alexander Best wrote: On Sat Sep 11 10, Steven Friedrich wrote: Why does apropos list mysql(1) twice? It doesn't return duplicates with apropos kde... maybe you have a gzip'ed and plain version in /usr ? see PR #4419. cheers. alex Are you certain that /etc/manpath.config doesn't just still have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly the kde issue is a mystery, assuming its manpages are installed in /usr/local/man. This system has the following: OPTIONAL_MANPATH /usr/local/man # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man MANPATH_MAP /usr/local/bin /usr/local/man # (disabled by xorg-libraries port) MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man Is the whatis file being updated? Check the timestamp: # ls -l /usr/local/man/whatis -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 /usr/local/man/whatis Wayne ad...@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql snip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I still have X11R6 in usr symlinked to /usr/local. This was done per entry 20070519 in /usr/ports/UPDATING. Do we still need this symlink? Yes, anything that references /usr/X11R6 gets directed to /usr/local. Well I temporarily removed it and this anomaly disappeared. Perhaps we just have to suffer until we know the symlink can be removed. I thought it was going to eventually be removed... Did you check /etc/manpath.config and the timestamp on /usr/local/man/whatis? grep -v '^#' manpath.config MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/share/openssl/man OPTIONAL_MANPATH/usr/local/man MANPATH_MAP /bin/usr/share/man MANPATH_MAP /usr/bin/usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.12.2/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.12.2/perl/man Another check is that the output of manpath(1) doesn't include /usr/X11R6/man. manpath /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/openssl/man: /usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/man Ok. There's also: %man -a -w mysql to see the origins of the multiple man pages, although it seems that you may have already confirmed the /usr/X11R6 path connection. From what you've presented so far I'd say it's looking like a problem with updating of the whatis db files. So to verify whether the weekly periodic makewhatis is being run:- - check the timestamp on /usr/local/man/whatis - it shouldn't be more than a week old - check that the weekly run output report lists Rebuilding whatis database: and that it doesn't list any errors, e.g.: Rebuilding whatis database: -- End of weekly output -- I also tried, as root in a text console (not in X), makewhatis `manpath` and it complained that it already visited /usr/X11R6/man, but the duplicates still appear. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version:FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s):kde4-4.5.1 X windows: xorg-7.5X.Org X Server 1.7.5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problems upgrading p5-IO-Compress
I went to upgrade my ports this morning and saw this: p5-Compress-Zlib-2.015needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Base-2.015 needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Bzip2-2.015needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Zlib-2.015_1needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: === Checking if archivers/p5-IO-Compress already installed === An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) 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 archivers/p5-IO-Compress 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/archivers/p5-IO-Compress. *** Error code 1 Stop in /usr/ports/archivers/p5-IO-Zlib. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make ** Fix the problem and try again. --- Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10)(unknown build error) * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: m...@freebsd.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. I tried following the instructions above about running make deinstall and now I get: [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] Stale dependency: p5-Archive-Tar-1.68 -- p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. I've tried running pkgdb -F, but it is just asking my a lot of questions like: Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 Unregister any of them? [no] and I have no idea what the right answer is. I am running perl 5.8.9 and Freebsd 7.1 Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. Ron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: port upgrading
On Sun, Sep 26, 2010 at 06:29:17PM +0200, Dick Hoogendijk wrote: Question: what is best used to have an up2date ports collection nowadays? This system is FreeBSD8/amd64. IMO if you don't mind compiling your own ports, use portsnap and portmaster. The sequence is like this; 1) Run `portsnap fetch update`, but see (a). 2) Read /usr/ports/UPDATING, and see if any additions to the top of the file apply to you. If so, take appropriate action. 3) If you have local patches to the ports tree, re-apply them if necessary. This is not really recommended but can be handy sometimes. 4) Run `portmaster -a -B -d` (a) When you run portsnap for the first time, or if you have damaged or deleted the contents of /var/db/portsnap, use 'portsnap fetch extract' instead. For me this is part of the weekly routine. Keep an eye on http://www.freshports.org/ to see if there are interesting changes for you. If you are upgrading to another major version of FreeBSD (say 7.x to 8.x), make a list of all used ports with `portmaster -l ports.list`. Then delete all ports before updating the system. After the update, re-install the 'root' and 'leaf' ports from ports.list. Hope this helps. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgppn3aHOTHD4.pgp Description: PGP signature
rhythmbox issue
Dear All, I've just realized that I can't start Rhythmbox from my Gnome desktop. I've tried to launch it from menu, from terminal, nothing happens, no error messages appear at all. When I used Rhythmbox last time, lets's say, one or two weeks ago, everything was OK. First I was thinking of deleting all the files relating to Rhythmbox application found in my home directory but in the end I considered this action as an unadvised one, so didn't touch anything. Would you provide me with an idea how to start to fix the problem, please? Thanks, Istvan --- This mail was sent by Mutt-1.4.2.3_5, FreeBSD 8.1-RELEASE-#0, GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: port upgrading
On 26/09/2010 17:29:17, Dick Hoogendijk wrote: I'm in doubt. I wanted to bring my ports collection uptodate, so I ran csup -L 2 /root/ports-supfile and that updated my ports collection. At least, I hope so. Then I started googling and found that cvsup is not recommended. Better tot use portsnap (???) And also portupgrade was a no go. I should be using portmaster. Woh, I'm confused now. Question: what is best used to have an up2date ports collection nowadays? This system is FreeBSD8/amd64. csup(1) works fine and there's no good reasons not to use it. portsnap(1) also works fine, and there aren't any obvious problems that mean you shouldn't use it either. There is one somewhat subtle difference, which won't affect most people. 'portsnap extract' will blow away any custom files (Makefile.local, extra patches etc.) that you've added to the ports tree. csup(1) leaves them put. Obviously, either of the two methods will revert any modifications you've made to any files already known to be part of the ports tree. Once you've updated the tree, then you've got several choices for updating your installed ports. portupgrade(1) and portmaster(1) are the leading candidates there: portupgrade probably still has the edge on features, although development seems to be stuttering a bit recently. portmaster wins on simplicity -- it's a shell script with no other dependencies -- but still packs an awful lot of good stuff into approximately 3600 lines. Doug B is actively working on it and very responsive to bug reports etc. Really either of those two will serve you well, as will various others I haven't mentioned. Try them out, see which is most to your taste. There isn't any one 'best' solution that everyone is enjoined to use. That's not the BSD way: Tools, not policy. There are several solutions that you can use, and it's up to you to select which one you prefer. Sure, people having strong opinions on the subject have posted their thoughts on various fora, but don't be misled: those are individual opinions, and not an official position. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Problems upgrading p5-IO-Compress
On 26/09/2010 17:44:06, Ron wrote: I've tried running pkgdb -F, but it is just asking my a lot of questions like: Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 Unregister any of them? [no] and I have no idea what the right answer is. I am running perl 5.8.9 and Freebsd 7.1 Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. Since you're running perl-5.8.9 you need to have p5-IO-Compress installed as a separate port. Try this: # portupgrade -o archivers/p5-IO-Compress -f p5-Compress-Zlib-2.015 # portupgrade -o archivers/p5-IO-Compress -f p5-IO-Compress-Base-2.015 # portupgrade -o archivers/p5-IO-Compress -f p5-IO-Compress-Bzip2-2.015 # portupgrade -o archivers/p5-IO-Compress -f p5-IO-Compress-Zlib-2.015_1 That should transfer all dependencies on p5-(IO-)?Compress-* onto p5-IO-Compress, which is the desired result. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Problems upgrading p5-IO-Compress
On Sun, Sep 26, 2010 at 09:44:06AM -0700, Ron wrote: I went to upgrade my ports this morning and saw this: p5-Compress-Zlib-2.015needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Base-2.015 needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Bzip2-2.015needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Zlib-2.015_1needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: === Checking if archivers/p5-IO-Compress already installed === An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) 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 archivers/p5-IO-Compress 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/archivers/p5-IO-Compress. *** Error code 1 Stop in /usr/ports/archivers/p5-IO-Zlib. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make ** Fix the problem and try again. --- Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10)(unknown build error) * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: m...@freebsd.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. I tried following the instructions above about running make deinstall and now I get: [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] Stale dependency: p5-Archive-Tar-1.68 -- p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. I've tried running pkgdb -F, but it is just asking my a lot of questions like: Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 Unregister any of them? [no] The answer is to run pgdb -F and unregister: p5-Compress-Zlib p5-IO-Compress-Base p5-IO-Compress-Bzip2 p5-IO-Compress-Zlib and you should be in the clear. and I have no idea what the right answer is. I am running perl 5.8.9 and Freebsd 7.1 Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. Ron Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems upgrading p5-IO-Compress
On Sep 26, 2010, at 10:26 AM, Frank Shute wrote: On Sun, Sep 26, 2010 at 09:44:06AM -0700, Ron wrote: I went to upgrade my ports this morning and saw this: p5-Compress-Zlib-2.015needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Base-2.015 needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Bzip2-2.015needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Zlib-2.015_1needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: === Checking if archivers/p5-IO-Compress already installed === An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) 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 archivers/p5-IO-Compress 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/archivers/p5-IO-Compress. *** Error code 1 Stop in /usr/ports/archivers/p5-IO-Zlib. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make ** Fix the problem and try again. --- Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10)(unknown build error) * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: m...@freebsd.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. I tried following the instructions above about running make deinstall and now I get: [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] Stale dependency: p5-Archive-Tar-1.68 -- p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. I've tried running pkgdb -F, but it is just asking my a lot of questions like: Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 Unregister any of them? [no] The answer is to run pgdb -F and unregister: p5-Compress-Zlib p5-IO-Compress-Base p5-IO-Compress-Bzip2 p5-IO-Compress-Zlib and you should be in the clear. and I have no idea what the right answer is. I am running perl 5.8.9 and Freebsd 7.1 Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. Ron Excellent, this seems to have fixed it! Thanks! Ron Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: port upgrading
On 26-9-2010 19:13, Matthew Seaman wrote: Really either of those two will serve you well, as will various others I like portupgrade. One question about dependencies: if I want to update *one* port I have to run portupgrade -R portname, right. But *when* do I run portupgrade -R ,name c.q. portupgrade -rR name? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
hanging mail.
Just a FWIW, the last time that mutt exited with a 127 error a friend from Dallas figured it out in about ten minutes. Something needed rebuilding. If we were chatting then I have the logs. but i inadvertantly removed my entire mail directory on ns1 [ethic]. gary PS: sendmail on my server, dovecot, Postfix on my desktop. Umm, no window manager on ethic. It's a server. What logs can I post? val/log/maillog is a zoo last time I chexked early this morning. ... -- Gary Kline Seattle BSD Users' Group (seabug) | kl...@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems upgrading p5-IO-Compress
On 26.09.2010 19:31, Ron wrote: On Sep 26, 2010, at 10:26 AM, Frank Shute wrote: On Sun, Sep 26, 2010 at 09:44:06AM -0700, Ron wrote: I went to upgrade my ports this morning and saw this: p5-Compress-Zlib-2.015 needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Base-2.015 needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Bzip2-2.015 needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') p5-IO-Compress-Zlib-2.015_1 needs updating (port has 2.030) (= 'archivers/p5-IO-Compress') After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: === Checking if archivers/p5-IO-Compress already installed ===An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) 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 archivers/p5-IO-Compress 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/archivers/p5-IO-Compress. *** Error code 1 Stop in /usr/ports/archivers/p5-IO-Zlib. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make ** Fix the problem and try again. --- Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10)(unknown build error) * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: m...@freebsd.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. I tried following the instructions above about running make deinstall and now I get: [Updating the pkgdbformat:bdb_btree in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] Stale dependency: p5-Archive-Tar-1.68 -- p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. I've tried running pkgdb -F, but it is just asking my a lot of questions like: Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 Unregister any of them? [no] The answer is to run pgdb -F and unregister: p5-Compress-Zlib p5-IO-Compress-Base p5-IO-Compress-Bzip2 p5-IO-Compress-Zlib and you should be in the clear. and I have no idea what the right answer is. I am running perl 5.8.9 and Freebsd 7.1 Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. Ron Excellent, this seems to have fixed it! Thanks! Ron Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Oh, here, I actually did not de-register anything. I first run pkgdb -F. It fixed something and I answer no to unregister ...?. Then, after reading /usr/ports/UPDATING 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: m...@freebsd.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. I manually checked any dependencies of the cited ports (p5-...) and de-installed the cited ports that were actually installed here and not required by any other port. Later pkgdb did not make complaints anymore. Is this procedure probably... wrong ? :-) As of my opinion unregister means discarding information but the ports are still installed and probably not used anymore. BUt just my opinion... d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/var/log/maillog
Here is a snippet of maillog. mutt still exiting with an 'Exec Error' Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] anybody? -- Gary Kline Seattle BSD Users' Group (seabug) | kl...@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on Compaq mini CQ10 anyone?
Le 05/09/2010 06:04, Gonzalo Nemmi a écrit : I just got one and was wondering if anyone was running FreeBSD on it and how well does it work out of the box. All comments are welcome. I have one with FreeBSD 8.1. Some difficulties to install X11 (I had to use Driver vesa instead of intel in the section Device of xorg.config). And the internal Wifi device is not recognized by FreeBSD. Regards Bernard Lecuire Best Regards. Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
H/w for gateway and backup (OT)
Hi All, I am looking to buy some gateway which can run FreeBSD or some *nix with three ethernet ports. I can take any system and make it g/w, but looking any custom h/w (much smaller than cobalt server) I am also looking some 2-8 TB backup drive. I am looking to buy in US. I am out of touch for some time with h/w so requesting through mailing list. thanks, Sam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
trying to put up X, am using an Nvidia card an HP Presario
Several people in this group took a lot of time and helped me when I couldn't get FBSD 7.2 running with X on an HP Presario. Now, I'm having *somewhat* *similar* problems, doing the install for 8.1. I've attached my rc,conf, the X log file, and the list of installed packages. I've also said: hald_enable=YES and dbus_enable=YES in the rc.conf file. Apparently playing with the boot loader file isn't necessary, now. Oh, I downloaded (using sys-install,) the nvidia helper system but couldn't get the NVIDIA screen logo that goes up just before X comes up. Thanks, all! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [SOLVED] Trouble enabling GD in php/apache
On Fri, Sep 24, 2010 at 1:52 PM, Andy Wodfer wod...@gmail.com wrote: I'm running FreeBSD 8.0 RELEASE. I can't get GD enabled. I have installed latestes php5 from ports aswell as php5-extensions and enabled GD on the option screen: cd /usr/ports/lang/php5 make deinstall make clean make rmconfig make install clean cd /usr/ports/lang/php5-extensions make deinstall make clean make rmconfig make install clean I'm running the latest Apache 2.2.x version and GD 2.0.35. I'm currently doing a portupgrade -a to see if that helps, but I think not. What's the correct way of getting GD to work on Ie. a webshop (opencart)? Thanks for all help! Cheers, Andy I solved my problem by manually deleting /usr/local/lib/php/20090626/gd.so and reinstalling the php5-extensions. /Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
from /var/log/auth.log
guys, here is the outpput from 20 mins ago from auth.log. i saw this last night. any clues what i'm doing wrong? eg., what is auxpropfunc? i've done about as much as i can. spamassassin was not running, etc. i did a reboot so everything should be reinitialized correctly. Sep 26 12:00:34 ethic shutdown: reboot by kline: Sep 26 12:00:36 ethic sshd[978]: Received signal 15; terminating. Sep 26 12:00:51 ethic sm-mta[15391]: sql_select option missing Sep 26 12:00:51 ethic sm-mta[15391]: auxpropfunc error no mechanism available Sep 26 12:02:41 ethic saslauthd[833]: detach_tty : master pid is: 833 Sep 26 12:02:41 ethic saslauthd[833]: ipc_init: listening on socket: /var/run/saslauthd/mux Sep 26 12:02:53 ethic sshd[978]: Server listening on :: port 22. Sep 26 12:02:53 ethic sshd[978]: Server listening on 0.0.0.0 port 22. Sep 26 12:02:54 ethic sm-mta[982]: sql_select option missing Sep 26 12:02:54 ethic sm-mta[982]: auxpropfunc error no mechanism available Sep 26 12:14:46 ethic sshd[1142]: Accepted publickey for kline from 10.47.0.110 port 55753 ssh2 can anybody help me? gsry going for a nap. four hours doesnt cut it no mo' -- Gary Kline Seattle BSD Users' Group (seabug) | kl...@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: trying to put up X, am using an Nvidia card an HP Presario
Kenneth CF once wrote: 2) Install the nvidia-driver. # cd /usr/ports/x11/x11-driver/nvidia-driver # make install clean (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). and this didn't help. Under 7.2, this was the game changer. Everything worked with this and a couple tweaks. On Sun, Sep 26, 2010 at 3:06 PM, Henry Olyer henry.ol...@gmail.com wrote: Several people in this group took a lot of time and helped me when I couldn't get FBSD 7.2 running with X on an HP Presario. Now, I'm having *somewhat* *similar* problems, doing the install for 8.1. I've attached my rc,conf, the X log file, and the list of installed packages. I've also said: hald_enable=YES and dbus_enable=YES in the rc.conf file. Apparently playing with the boot loader file isn't necessary, now. Oh, I downloaded (using sys-install,) the nvidia helper system but couldn't get the NVIDIA screen logo that goes up just before X comes up. Thanks, all! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: port upgrading
On 26/09/2010 18:50:32, Dick Hoogendijk wrote: On 26-9-2010 19:13, Matthew Seaman wrote: Really either of those two will serve you well, as will various others I like portupgrade. One question about dependencies: if I want to update *one* port I have to run portupgrade -R portname, right. But *when* do I run portupgrade -R ,name c.q. portupgrade -rR name? It depends on what you want to update. 'portupgrade -R name' updates name plus anything name depends on. 'portupgrade -rR name' updates name plus anything name depends on, plus anything that depends on name. In all cases, only ports that have updates available are updated, so if everything in the dependency chain is already up to date, the command (either variant) may do nothing. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Problems mounting nfs from freebsd to Mac.
On Sat, 25 Sep 2010 14:58:21 -0500 (CDT) Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org Sat Sep 25 03:29:33 2010 Date: Sat, 25 Sep 2010 04:01:18 -0400 From: Mike Meyer mike.w.me...@gmail.com To: questi...@freebsd.org Cc: Subject: Problems mounting nfs from freebsd to Mac. I've got an nfs server that's refusing to mount one client - via one route - and it's driving me crazy. First question, are you _SURE_ that it's a server-side problem? I under- stand that things are failing in one situation and not others, but there are about -five- possible causations, only one of which is a server-side NFS configuration. No, I'm not sure. The question is more what server tools can I use figure out what's wrong than how do I fix the server. That the FreeBSD community is the most helpful one involved might have some bearing on which question I chose to ask here. As far as I know, there are only three reasons for an NFS server to refuse a mount request: 1) The exports file is borked somehow, 2) The server insists that the client use a privileged port, or 3) The IP address the request is coming from is disallowed. There _are_ others, depending on how access controls are specified in the exports file. Those are pretty much what I meant by the exports file is borked somehow. The file systems are all zfs, all exported by zfs, and mostly all inherited from the parent file system. For the record, that's: /export -maproot 0 -network 192.xx.yy.0/25 #1 isn't it - the file systems mount fine on other boxes. And they mount fine on the problem box via Wifi. #2 shouldn't be it - I'm running the server with -n turned on, and the mount works via wifi. #3 seems logical, but I only have one network enabled, and it's a *.0/25. The working addresses include .96, and .106, while the failing address is .105. So I'm not sure what's going on here. Running mountd with a -d flag generates no output at all when the request is denied. This makes me think I'm not looking in the right place. First thing, what does 'showmount -a', run on the misbehaving client show? And are there differences, depending on being on the wired vs wireless link? Just All mounts on localhost: and then an empty list, whether they are mounted or not. Check how the client resolves the server hostname on both the wireless and wired links. It's the same. That's expected - the WRT610N is providing both dns dhcp services, and they both resolve through it. make sure the _server_ name (in the form used in the nfs mount) is resolving in the same way -- to the same address -- when the client is on thee wireless and wired links. (an 'unqualified' hostname, and a lack of a default domain in the wired setup _could_ cause what you are seeing. Yup, both connections resolve to the same address. Yes, I use an unqualified hostname, but the dhcp server provides a default domain. Check to make sure you've got network connectivity both ways on both the wired and wireless links. Does traceroute work in both directions on both links? does it show the _same_names_? Yes, and yes. You've say you've got a WRT610N in the middle of things. Is it actually playing _router_ on all ports, or switch/hub on the lan side with routing on the external interface. The latter, and it's bridging the wireless network into the LAN side as well. If it's actually -routing- on all ports, check _both_ the client and server routing tables to make sure they're pointing in the right plac, when the client is connected on both paths. Also double-check the router itself for any access-control and/or filtering rules. Those all look right to me. In particular, the client routing tables are identical (module different interface names ip addresses) when it's on the wireless and wired connection. If nothing has shown up so far, an obvious next step is to look at the data 'on the wire' between the machines. e.g., tcpdump/etherfind/netshark etc. I was hoping for something a little bit higher level than that, but I guess that's what's next. Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on Compaq mini CQ10 anyone?
On Sun, Sep 26, 2010 at 06:32:09PM +0200, BernardL wrote: Le 05/09/2010 06:04, Gonzalo Nemmi a écrit : I just got one and was wondering if anyone was running FreeBSD on it and how well does it work out of the box. All comments are welcome. I have one with FreeBSD 8.1. Some difficulties to install X11 (I had to use Driver vesa instead of intel in the section Device of xorg.config). And the internal Wifi device is not recognized by FreeBSD. Regards Bernard Lecuire Best Regards. Gonzalo Nemmi Can you tell us what is the Chip of your internal WiFi device?. Maybe knowing the Chip model and brand someone knows if can help you. :) Thanks you very much, in advance. Regards. Jose. -- http://lordofunix.eu5.org/ Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories. You are talking about memories. Rick Deckard. Blade Runner. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pf
This is more for questions@ or pf@ On 09/26/2010 11:43, Samuel Martín Moro wrote: On Sun, Sep 26, 2010 at 3:34 PM, Michael Powell nightre...@hotmail.comwrote: Samuel Martín Moro wrote: Hello, I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE amd64). I used the sample configuration file available on calomelhttps://calomel.org/pf_config.html After a few tests, it appears that the gate has fully access to the internet, but I can't open connections from clients to distant servers (web, ssh, ...). Checking pflog log file, I can't see anything about those timeouts, even if I added the log directive in every block/pass command. Everything else seems to work, I can talk with my DNS from the internet, ssh redirections to another pc also seems to works. I just can't access the Internet from a client of my network... For debugging, I commented out the options and the 'block all in/out' directives. Here's my config file http://pastebin.com/Nim2zBCx Is there someone understanding what I'm doing wrong? The firewall ruleset is a trifle overly complex for a quick glance; study and analysis would take some doing. However, if you can reach the internet from the firewall box and other client computers behind your NAT can't (which is what it sounds like you're describing) it may be just that you are missing gateway_enable=YES in your /etc/rc.conf. Turning this ON makes your firewall box into a router. The status of this can be checked with: sysctl net.inet.ip.forwarding - a 0 means no gateway and a 1 means gateway. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org the gateway is already enabled (and forwarding is correctly set) whatever, I had to do quick, I started again I think the missing thing on my old conf was the 'scrub' (at least) I made a more simple configuration, as following: ext_if=bge0 int_if=bge1 localnet = $int_if:network emma=10.242.42.200 alpha=10.42.42.42 delta=10.42.42.44 set skip on lo0 scrub in on $ext_if all fragment reassemble #INTERNETZ nat on $ext_if from $localnet to any - ($ext_if) #EMMA rdr on $ext_if inet proto tcp from any to ($ext_if) port 1101 - $emma port 22 rdr on $ext_if inet proto tcp from any to ($ext_if) port 307 - $emma port 80 #WHAT.CD rdr on $ext_if inet proto tcp from any to ($ext_if) port 1666 - $alpha port 1666 #REMOTE ADM rdr on $ext_if inet proto tcp from any to ($ext_if) port 1667 - $delta port 22 rdr on $ext_if inet proto tcp from any to ($ext_if) port 1668 - $alpha port 22 pass in log on $ext_if inet proto tcp from any to $ext_if port 22 pass in log on $ext_if inet proto tcp from any to $ext_if port 53 pass in log on $ext_if inet proto udp from any to $ext_if port 53 pass in log on $ext_if inet proto tcp from any to $ext_if port 1664 pass in log on $int_if inet proto tcp from any to any pass in log on $int_if inet proto udp from any to any block in log on $ext_if inet proto icmp from any to $ext_if it's basically working i'll stuff it when I'll have time. Samuel Martín Moro {EPITECH.} tek5 -- jhell,v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /var/log/maillog
On Sun, Sep 26, 2010 at 08:37:20PM -, John Levine wrote: Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 OK, you logged in, checked your mail, and logged out. Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] A 'bot in the Ukraine attempted to send mail, and your MTA rejected it since it was blacklisted. Those entries are all perfectly normal. Not to belabor the obvious, but you need to tell us what you did, what you expected to happen, what happened instead, and the log entries showing what was going on while it happened. R's, John well, i fibbed about napping, but have discovered the following: from my freebsd server, ethic, i can, as root, get mail out to my shell account here at magnesium.net. so far, that's about it. I _did_ a pkgdb -F which seemed to correct much in that database. i have send mail to the test acct at freebsd.org. i haven't seen anything. nutshell: it looks as tho i can send mail as root [from ethic]. i will now try my desktop and see what happens. -- Gary Kline Seattle BSD Users' Group (seabug) | kl...@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: port upgrading
On Sun, 26 Sep 2010, Dick Hoogendijk wrote: I'm in doubt. I wanted to bring my ports collection uptodate, so I ran csup -L 2 /root/ports-supfile and that updated my ports collection. At least, I hope so. Then I started googling and found that cvsup is not recommended. Better tot use portsnap (???) And also portupgrade was a no go. I should be using portmaster. They are judgement calls. csup is one method, portsnap another. portsnap may be faster, and probably should be the default choice any more (lower bandwidth). portupgrade still works, and many of us still use it. For me, it's just that I almost know how to run portupgrade now, and portmaster didn't seem any better when I tried it. Woh, I'm confused now. Question: what is best used to have an up2date ports collection nowadays? This system is FreeBSD8/amd64. This is an overview of what works for me: http://www.wonkity.com/~wblock/docs/html/portupgrade.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /var/log/maillog
Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 OK, you logged in, checked your mail, and logged out. Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] A 'bot in the Ukraine attempted to send mail, and your MTA rejected it since it was blacklisted. Those entries are all perfectly normal. Not to belabor the obvious, but you need to tell us what you did, what you expected to happen, what happened instead, and the log entries showing what was going on while it happened. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on Compaq mini CQ10 anyone?
On Sun, 26 Sep 2010 21:35:43 +0200 Jose Luis Alarcon Sanchez jlalar...@gawab.com articulated: On Sun, Sep 26, 2010 at 06:32:09PM +0200, BernardL wrote: Le 05/09/2010 06:04, Gonzalo Nemmi a écrit : I just got one and was wondering if anyone was running FreeBSD on it and how well does it work out of the box. All comments are welcome. I have one with FreeBSD 8.1. Some difficulties to install X11 (I had to use Driver vesa instead of intel in the section Device of xorg.config). And the internal Wifi device is not recognized by FreeBSD. Regards Bernard Lecuire Best Regards. Gonzalo Nemmi Can you tell us what is the Chip of your internal WiFi device?. Maybe knowing the Chip model and brand someone knows if can help you. :) I have used that PC. I am pretty sure it has an 'N' protocol wireless network card and therefore FreeBSD will most likely not support it. Virtually all new PCs have 'N' protocol cards installed by default unless it is a very cheap model. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on Compaq mini CQ10 anyone?
I just got one and was wondering if anyone was running FreeBSD on it and how well does it work out of the box. All comments are welcome. Try PCBSD (http://pcbsd.org), is a Desktop BSD variant based on FreeBSD. Personally, I've used FreeBSD in a laptop in a few occasions but after trying out PCBSD, this path requires the least effort to setup a Desktop. The installation setting up of hardware is too easy. The kernel that comes with it, does a good job in recognizing the wireless chip, sound card, NIC, display other stuff. Even though it uses the PBI format to install software on PCBSD, one can still use port to install additional softwares on it by using the portjail console. Both PBI port works together well. In short, it definitely worth a try! :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: port upgrading
Woh, I'm confused now. Question: what is best used to have an up2date ports collection nowadays? portsnap fetch extract update for the first time after you've setup the FreeBSD for the very first time. As the parameters used, it fetch the ports tree, extract it to /usr/ports and update it. portsnap fetch update every now and then to update the ports tree. In addition, portmanager does a good job in managing ports in terms of install/update of ports. It doesn't required ports index to find out what is installed or needs to upgrade as it scans the ports tree for dependency, every time. This is good because I don't have to deal with the problem of ports index getting corrupted. Because of this, it does required more time to install/update ports compare to portmaster portupgrade. I've recorded some of my experience in using portmanager : http://scratching.psybermonkey.net/2010/01/freebsd-how-to-manage-ports-in-freebsd.html My 2 cents, Edward. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /var/log/maillog
Gary Kline kl...@magnesium.net writes: Here is a snippet of maillog. mutt still exiting with an 'Exec Error' Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] anybody? Gary, just use smart host to google. That's powerful! Sincerely, -- 소여물 황병희(黃炳熙) | .. 출항 15분전.. Get up when it's dinnertime and then you can eat. I'm not going to cook again for you. -- Tommy's mother, Chapter 30, page 416 pgpRoyXaR0O21.pgp Description: PGP signature
Re: /var/log/maillog
On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: Gary Kline kl...@magnesium.net writes: Here is a snippet of maillog. mutt still exiting with an 'Exec Error' Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] anybody? Gary, just use smart host to google. That's powerful! Sincerely, Actually, I have started using google to search for all types of things, :-) The above is still a mystery tho. -- Gary Kline kl...@thought.org http://thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /var/log/maillog
kline kl...@thought.org writes: On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: Gary Kline kl...@magnesium.net writes: Here is a snippet of maillog. mutt still exiting with an 'Exec Error' Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] anybody? Gary, just use smart host to google. That's powerful! Sincerely, Actually, I have started using google to search for all types of things, :-) The above is still a mystery tho. In first you need to understand about 'smart host'. Have a look at: http://en.wikipedia.org/wiki/Smart_host Sincerely, -- 소여물 황병희(黃炳熙) | .. 출항 15분전.. That's OK. I just wanted to talk to you. -- Johnny Fontane, Chapter 12, page 159 pgp9k4imMYtkO.pgp Description: PGP signature
Re: /var/log/maillog
On 27-9-2010 7:16, kline wrote: On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: Gary Kline kl...@magnesium.net writes: Here is a snippet of maillog. mutt still exiting with an 'Exec Error' Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] anybody? Gary, just use smart host to google. That's powerful! Sincerely, Actually, I have started using google to search for all types of things, :-) The above is still a mystery tho. There's nothing in the log snippet above that would explain, nor indicate why/that your mutt died. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /var/log/maillog
On Mon, 2010-09-27 at 07:36 +0200, Peter Boosten wrote: On 27-9-2010 7:16, kline wrote: On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: Gary Kline kl...@magnesium.net writes: Here is a snippet of maillog. mutt still exiting with an 'Exec Error' Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] anybody? Gary, just use smart host to google. That's powerful! Sincerely, Actually, I have started using google to search for all types of things, :-) The above is still a mystery tho. There's nothing in the log snippet above that would explain, nor indicate why/that your mutt died. Peter Right. But this was the second time [[i _think_]. My friend fixed it by rebuilding a couple of utilities, one was SpamAssassin. I found that SA was entirely missing [??!??]. After centuries of fmessing around downloading out-of-date and otherwise missing source code---this thanks to using my desktop KDE/Gnome utilities and copying then over to /usr/ports/distfiles and finally building SpamAssassin and updating lots of other stuff, mail worked. I didn't believe it at first. I sent a slew of test messages back - forth to me on magnesium.net and other places. When my mail reached freebsd.-test, i knew things worked. It's live and learn; it's try until you want to punch your first thru the wall [then don't and focus at the problem at hand.] I am trying to unite FreeBSD and Ubuntu. It's time to give away my old Dell and then to see if I can lose the pfSense firewall. I figure on several months' worth of head-banging... . gary -- Gary Kline kl...@thought.org http://thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org