Re: pci-x soundcard
On 8/23/05, Nikolas Britton <[EMAIL PROTECTED]> wrote: > On 8/23/05, Jeff Domeyer <[EMAIL PROTECTED]> wrote: > > For the fun of it I was going through google to see if anyone found a > > pci-x soundcard. I came across this message you wrote: > > http://lists.freebsd.org/pipermail/freebsd-questions/2005-August/095106. > > html > > > > I'm just wondering if you confirmed that the soundcard available here: > > http://www.newegg.com/Product/Product.asp?Item=N82E16829102177 > > will actually work in a pci-x slot. When we called creative's tech > > support they said all of their live cards were pci-x compatible. Well, > > that's not hard to say, but the board manufacturers never make the > > appropriate key so that it would fit in a pci-x slot. So it would > > work... if it actually even fitted. > > > > Yes it's keyed correctly for the PCI-X bus but It turns out that > Creative changed the chipset to Audigy LS and it's not %100 compatible > with EMU10k1/3, I have major doubts that FreeBSD supports this > chipset: > http://groups.google.com/groups?hl=en&q=group%3A*.freebsd.*+%22Audigy+LS%22&qt_s=Search > > Talk to hal because he did buy one. He posted a message saying that he > was having trouble with it. I answered it telling him to put > snd_driver_load="YES" into loader.conf but he never replied back to > say if it worked or not. > > I just compiled a list, based on the photos, of sound cards, on > newegg.com, that are keyed for PCI-X and PCI 32-bit / 66Mhz buses, I > make no guaranties!!: > > CREATIVE Sound Blaster Live! 24-bit 30SB04100 $29 <-- Audigy LS Chipset!!! > AUDIOTRAK Maya 5.1 MK II Sound Card $38 > CREATIVE Sound Blaster Audigy 2 Value SB0400 $45 > CREATIVE Sound Blaster Audigy 2 Value SB0400 $62 > CREATIVE Sound Blaster Audigy2 ZS SB0350 $71 > M-AUDIO 9900-40906-00 $72 > AUDIOTRAK Prodigy 7.1LT $85 > M-AUDIO 9900-40765-00 $89 > M-AUDIO 9900-40901-00 $90 > CREATIVE Sound Blaster Audigy2 ZS 70SB03500 $93 > CREATIVE Sound Blaster Audigy2 ZS GAMER Limited Edition 70SB03513 $121 > CREATIVE Sound Blaster Audigy2 ZS GAMER Limited Edition 70SB03517 $121 > M-AUDIO 9900-40757-00 $139 > CREATIVE Sound Blaster Audigy2 ZS Platinum 70SB03503 $176 > M-AUDIO 9900-40768-00 High-Definition 4-in/4-out $179 > M-AUDIO 9900-40752-00 $199 > CREATIVE Sound Blaster Audigy2 ZS Platinum Pro 70SB03600 $212 > AUDIOTRAK Maya 1010 $225 > CREATIVE Sound Blaster Audigy 4 Pro $277 > This should help. It should be complete but their are like 50 PCI standards so not sure, if it looks weird use a fixed width font: PCI: 32-bit / 33Mhz / 132MB / 5Volt (Standard PCI Slot): ## ##---# ## 32-bit / 33Mhz / 132MB / 3.3V and 32-bit / 66Mhz / 264MB / 3.3V: ## #--#-# ## PCI-X: 64-bit / 33Mhz / 264MB / 5V: ## ##---#---# ## 64-bit / 66Mhz / 528MB / 3.3V and 64-bit / 100Mhz / 800MB / 3.3V and 64-bit / 133Mhz / 1064MB / 3.3V and 64-bit / 266Mhz / 2128MB / 3.3V and 64-bit / 533Mhz / 4264MB / 3.3V: ## #--#-#---# ## Summary: * Key is on the right side for 5V slots. * Key is on the left side for 3.3V slots, 66Mhz or higher PCI slots are always 3.3V. * A PCI card that's double notched on both sides is compatible with 5V and 3.3V slots. * Look for double notched PCI cards for maximum compatibility. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re[2]: how to enable altq to use with ipfw
If you're using IPFW, there's no reason to enable PF. But here's the code to enable in your kernel config: # pf support device pf device pflog device pfsync Here's the handbook page on PF and ALTQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.html On 8/24/05, vladone <[EMAIL PROTECTED]> wrote: > Thanks! And pf how it's enabled? I think need some device in /dev > This is created when compiling kernel with these options or need to > compile and options for pf? > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: how to enable altq to use with ipfw
Thanks! And pf how it's enabled? I think need some device in /dev This is created when compiling kernel with these options or need to compile and options for pf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How do I get packages with tgz files
Hi I am working with a machine with FreeBSD 4.2.8 version. I am not allowed to change the version on the machine. I want to install some packages - in particular the KDE package on the machine pkg_add ftp://pub/FreeBSD/ports/packages/kde/kde.tbz results in pkg_add responding that it does not understand tgz files. It may be that pkg_add for FreeBSD 4.2.8 is old. How do I get tgz files then. I tried using ports (i.e. make install clean in /usr/ports/X11/kde). However, compilation consistently fails while building qt. So that option is also ruled out. Is there any other way to install kde (if tgz files are not available) Thanks for any responses Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to enable altq to use with ipfw
Hey Vladone, I was looking for the same thing a while back, wanting to use ALTQ for PF. Enable support in the kernel by adding the following lines: # ALTQ support options ALTQ options ALTQ_CBQ# Class Bases Queuing (CBQ) options ALTQ_RED# Random Early Detection (RED) options ALTQ_RIO# RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build You may not need the NOPCC option, depends on your system. On 8/23/05, vladone <[EMAIL PROTECTED]> wrote: > Hi! > I want to enable altq to use in conjunction with ipfw. > How can do that? > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to enable altq to use with ipfw
Hi! I want to enable altq to use in conjunction with ipfw. How can do that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
identd and pf question
Hello all, I'm currently working with a FreeBSD 5.4 system running pf and ident2. When my users attempt to connect to an IRC network, and ident is requested my ident daemon never replies. I see the inbound packets with tcpdump, but never anything out. After banging my head for awhile, and trying other daemons (oidentd, pidentd), I tried disabling pf with pfctl -d. Voila, clients can connect. I re-enabled pf with pfctl -e and things are broken again. I see *nothing* in pflog0. I have no block out rules, so I'm confused as to why this is happening. An odd little addendum is when I telnet to one of my IPs on 113 and do an ident request, it responds! Any help is greatly appreciated! -- Matt Rechkemmer [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
It's not that big of a deal...they didn't get in or anything. If you've got a server that's always connected to the internet, you'll see people trying to break in all the time. The more popular your server, the more frequent the attempts. This is just someone trying to log in via SSH - so as long as you have good passwords on all your accounts, and disable remote root login, you're fine. You may consider denying access after X failed login attempts. On 8/23/05, ro ro <[EMAIL PROTECTED]> wrote: > Hi All, > > I was browsing through my log files and noticed that > someone (or many people) is trying to gain illegal > access to my server (see snippet from log files > below). > > The below log file clearly indicates someone trying to > hackaway at my personal server. > > I performed the following steps: > > nmap -v 210.0.142.153 > > and noticed that this person/institution had port 80 > and 21 open. > > I visited their website and it appears to be someone > from hongkong. > http://www.chkpcc.edu.hk/ > > HERE IS THEIR CONTACT INFORMATION AS IT APPEARS ON > THEIR WEBSITE > - > Confucian Ho Kwok Pui Chun College 孔 教 > 學 院 何 郭 佩 珍 > 中 學 > Address 地址: Fu Shin Est., Taipo, > N.T., HKSAR > 香港新界大埔富善村 > Tel 電話: 852-2666-5926 > Fax 傳真: 852-2660-7988 > E-mail 電郵: [EMAIL PROTECTED] > - > > > When I saw the logs for the first time. I took the > following steps: > 1) AllowUsers in sshd contained only users that I > wanted to have access to my ssh > 2) Created a decent rulest within ipfw that permitted > incoming access to only two ports ssh and http > > I took the issue of creating a good firewall quite > lightly and now I regret that decision.. now I have > learnt... Can someone provide me with guidance on this > issue and advise me on next steps to take action > against such losers. > > Thanks > RV > > Aug 23 08:19:03 free sshd[22519]: Illegal user lp from > 210.0.142.153 > Aug 23 08:19:06 free sshd[22521]: Illegal user admin > from 210.0.142.153 > Aug 23 08:19:08 free sshd[22523]: Illegal user admin > from 210.0.142.153 > Aug 23 08:19:10 free sshd[22525]: Illegal user admin > from 210.0.142.153 > Aug 23 08:19:12 free sshd[22527]: Illegal user admin > from 210.0.142.153 > Aug 23 08:19:15 free sshd[22529]: Illegal user admin > from 210.0.142.153 > Aug 23 08:19:17 free sshd[22531]: Illegal user admin > from 210.0.142.153 > Aug 23 08:19:19 free sshd[22533]: Illegal user admin > from 210.0.142.153 > Aug 23 08:19:22 free sshd[22535]: User root not > allowed because not listed in AllowUsers > Aug 23 08:19:24 free sshd[22537]: User root not > allowed because not listed in AllowUsers > Aug 23 08:19:27 free sshd[22539]: User root not > allowed because not listed in AllowUsers > Aug 23 08:19:29 free sshd[22541]: User root not > allowed because not listed in AllowUsers > Aug 23 08:19:33 free sshd[22543]: User root not > allowed because not listed in AllowUsers > Aug 23 08:19:35 free sshd[22545]: User root not > allowed because not listed in AllowUsers > Aug 23 08:19:37 free sshd[22547]: Illegal user apache > from 210.0.142.153 > Aug 23 08:19:40 free sshd[22549]: Illegal user dan > from 210.0.142.153 > Aug 23 08:19:42 free sshd[22551]: Illegal user electra > from 210.0.142.153 > Aug 23 08:19:44 free sshd[22553]: Illegal user student > from 210.0.142.153 > Aug 23 08:19:47 free sshd[22555]: Illegal user school > from 210.0.142.153 > Aug 23 08:19:49 free sshd[22557]: User mysql not > allowed because not listed in AllowUsers > > > Aug 11 20:16:10 free sshd[21585]: Illegal user test > from 210.245.197.16 > Aug 11 20:16:12 free sshd[21587]: Illegal user guest > from 210.245.197.16 > Aug 11 20:16:14 free sshd[21589]: Illegal user admin > from 210.245.197.16 > Aug 11 20:16:16 free sshd[21591]: Illegal user admin > from 210.245.197.16 > Aug 11 20:16:23 free sshd[21593]: Illegal user user > from 210.245.197.16 > Aug 11 20:16:32 free sshd[21601]: Illegal user test > from 210.245.197.16 > > Aug 14 03:39:21 free sshd[32377]: Illegal user 1 from > 61.145.222.10 > Aug 14 03:39:26 free sshd[32379]: Illegal user a from > 61.145.222.10 > Aug 14 03:39:31 free sshd[32381]: Illegal user a from > 61.145.222.10 > Aug 14 03:39:38 free sshd[32383]: Illegal user abuse > from 61.145.222.10 > Aug 14 10:47:49 free sshd[33623]: Illegal user admin > from 64.222.146.197 > Aug 14 10:47:51 free sshd[33625]: Illegal user > administrator from 64.222.146.197 > Aug 14 10:47:52 free sshd[33627]: Illegal user jack > from 64.222.146.197 > Aug 14 10:47:53 free sshd[33629]: Illegal user marvin > from 64.222.146.197 > Aug 14 10:47:58 free sshd[33631]: Illegal user andres > from 64.222.146.197 > Aug 14 10:47:59 free sshd[33633]: Illegal user barbara > from 64.222.146.197 > Aug 14 10:48:01 free sshd[33635]: Illegal user adine > from 64.222.146.197 > Aug 14 10:48:02 free sshd[33637]: Illegal user test > from 64.222.146.197 > Aug 14 10:48:04 f
Illegal access attempt - FreeBSD 5.4 Release - please advise
Hi All, I was browsing through my log files and noticed that someone (or many people) is trying to gain illegal access to my server (see snippet from log files below). The below log file clearly indicates someone trying to hackaway at my personal server. I performed the following steps: nmap -v 210.0.142.153 and noticed that this person/institution had port 80 and 21 open. I visited their website and it appears to be someone from hongkong. http://www.chkpcc.edu.hk/ HERE IS THEIR CONTACT INFORMATION AS IT APPEARS ON THEIR WEBSITE - Confucian Ho Kwok Pui Chun College 孔 教 學 院 何 郭 佩 珍 中 學 Address 地址: Fu Shin Est., Taipo, N.T., HKSAR 香港新界大埔富善村 Tel 電話: 852-2666-5926 Fax 傳真: 852-2660-7988 E-mail 電郵: [EMAIL PROTECTED] - When I saw the logs for the first time. I took the following steps: 1) AllowUsers in sshd contained only users that I wanted to have access to my ssh 2) Created a decent rulest within ipfw that permitted incoming access to only two ports ssh and http I took the issue of creating a good firewall quite lightly and now I regret that decision.. now I have learnt... Can someone provide me with guidance on this issue and advise me on next steps to take action against such losers. Thanks RV Aug 23 08:19:03 free sshd[22519]: Illegal user lp from 210.0.142.153 Aug 23 08:19:06 free sshd[22521]: Illegal user admin from 210.0.142.153 Aug 23 08:19:08 free sshd[22523]: Illegal user admin from 210.0.142.153 Aug 23 08:19:10 free sshd[22525]: Illegal user admin from 210.0.142.153 Aug 23 08:19:12 free sshd[22527]: Illegal user admin from 210.0.142.153 Aug 23 08:19:15 free sshd[22529]: Illegal user admin from 210.0.142.153 Aug 23 08:19:17 free sshd[22531]: Illegal user admin from 210.0.142.153 Aug 23 08:19:19 free sshd[22533]: Illegal user admin from 210.0.142.153 Aug 23 08:19:22 free sshd[22535]: User root not allowed because not listed in AllowUsers Aug 23 08:19:24 free sshd[22537]: User root not allowed because not listed in AllowUsers Aug 23 08:19:27 free sshd[22539]: User root not allowed because not listed in AllowUsers Aug 23 08:19:29 free sshd[22541]: User root not allowed because not listed in AllowUsers Aug 23 08:19:33 free sshd[22543]: User root not allowed because not listed in AllowUsers Aug 23 08:19:35 free sshd[22545]: User root not allowed because not listed in AllowUsers Aug 23 08:19:37 free sshd[22547]: Illegal user apache from 210.0.142.153 Aug 23 08:19:40 free sshd[22549]: Illegal user dan from 210.0.142.153 Aug 23 08:19:42 free sshd[22551]: Illegal user electra from 210.0.142.153 Aug 23 08:19:44 free sshd[22553]: Illegal user student from 210.0.142.153 Aug 23 08:19:47 free sshd[22555]: Illegal user school from 210.0.142.153 Aug 23 08:19:49 free sshd[22557]: User mysql not allowed because not listed in AllowUsers Aug 11 20:16:10 free sshd[21585]: Illegal user test from 210.245.197.16 Aug 11 20:16:12 free sshd[21587]: Illegal user guest from 210.245.197.16 Aug 11 20:16:14 free sshd[21589]: Illegal user admin from 210.245.197.16 Aug 11 20:16:16 free sshd[21591]: Illegal user admin from 210.245.197.16 Aug 11 20:16:23 free sshd[21593]: Illegal user user from 210.245.197.16 Aug 11 20:16:32 free sshd[21601]: Illegal user test from 210.245.197.16 Aug 14 03:39:21 free sshd[32377]: Illegal user 1 from 61.145.222.10 Aug 14 03:39:26 free sshd[32379]: Illegal user a from 61.145.222.10 Aug 14 03:39:31 free sshd[32381]: Illegal user a from 61.145.222.10 Aug 14 03:39:38 free sshd[32383]: Illegal user abuse from 61.145.222.10 Aug 14 10:47:49 free sshd[33623]: Illegal user admin from 64.222.146.197 Aug 14 10:47:51 free sshd[33625]: Illegal user administrator from 64.222.146.197 Aug 14 10:47:52 free sshd[33627]: Illegal user jack from 64.222.146.197 Aug 14 10:47:53 free sshd[33629]: Illegal user marvin from 64.222.146.197 Aug 14 10:47:58 free sshd[33631]: Illegal user andres from 64.222.146.197 Aug 14 10:47:59 free sshd[33633]: Illegal user barbara from 64.222.146.197 Aug 14 10:48:01 free sshd[33635]: Illegal user adine from 64.222.146.197 Aug 14 10:48:02 free sshd[33637]: Illegal user test from 64.222.146.197 Aug 14 10:48:04 free sshd[33639]: Illegal user guest from 64.222.146.197 Aug 14 10:48:07 free sshd[33641]: Illegal user db from 64.222.146.197 Aug 23 08:18:40 free sshd[22499]: Illegal user demo from 210.0.142.153 Aug 23 08:18:43 free sshd[22501]: Illegal user postgres from 210.0.142.153 Aug 23 08:18:45 free sshd[22503]: Illegal user postmaster from 210.0.142.153 Aug 23 08:18:47 free sshd[22505]: Illegal user postgres from 210.0.142.153 Aug 23 08:18:49 free sshd[22507]: Illegal user postgres from 210.0.142.153 Aug 23 08:18:52 free sshd[22509]: Illegal user ftp from 210.0.142.153 Aug 23 08:18:54 free sshd[22511]: User news not allowed because not listed in AllowUsers Aug 23 08:18:56 free sshd[22513]: Illegal user demo from 210.0.142.153 Aug 23 08:18:58 free sshd[22515]
Re: sound vs. PCIX bus
On 8/4/05, Nikolas Britton <[EMAIL PROTECTED]> wrote: > > For the record > Here's what PCI, PCI-X, and PCIe x16 buses look like: > http://www.gamepc.com/labs/view_content.asp?id=xeon64mb&page=4 > > I also found a sound card that will work in a PCI-X slot and in > FreeBSD. It's a "CREATIVE Sound Blaster Live! 30SB04100 24-bit > 96KHz" and it uses the emu10k1 FreeBSD driver (man snd_emu10k1), you > can find it over at newegg.com for $29 + $5 S&H > http://www.newegg.com/Product/Product.asp?Item=N82E16829102177 > This card uses the Audigy LS chipset and may not be compatible with FreeBSD, please read this: http://groups-beta.google.com/group/list.freebsd.questions/browse_thread/thread/a1367374078d039a ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pci-x soundcard
On 8/23/05, Jeff Domeyer <[EMAIL PROTECTED]> wrote: > For the fun of it I was going through google to see if anyone found a > pci-x soundcard. I came across this message you wrote: > http://lists.freebsd.org/pipermail/freebsd-questions/2005-August/095106. > html > > I'm just wondering if you confirmed that the soundcard available here: > http://www.newegg.com/Product/Product.asp?Item=N82E16829102177 > will actually work in a pci-x slot. When we called creative's tech > support they said all of their live cards were pci-x compatible. Well, > that's not hard to say, but the board manufacturers never make the > appropriate key so that it would fit in a pci-x slot. So it would > work... if it actually even fitted. > Yes it's keyed correctly for the PCI-X bus but It turns out that Creative changed the chipset to Audigy LS and it's not %100 compatible with EMU10k1/3, I have major doubts that FreeBSD supports this chipset: http://groups.google.com/groups?hl=en&q=group%3A*.freebsd.*+%22Audigy+LS%22&qt_s=Search Talk to hal because he did buy one. He posted a message saying that he was having trouble with it. I answered it telling him to put snd_driver_load="YES" into loader.conf but he never replied back to say if it worked or not. I just compiled a list, based on the photos, of sound cards, on newegg.com, that are keyed for PCI-X and PCI 32-bit / 66Mhz buses, I make no guaranties!!: CREATIVE Sound Blaster Live! 24-bit 30SB04100 $29 <-- Audigy LS Chipset!!! AUDIOTRAK Maya 5.1 MK II Sound Card $38 CREATIVE Sound Blaster Audigy 2 Value SB0400 $45 CREATIVE Sound Blaster Audigy 2 Value SB0400 $62 CREATIVE Sound Blaster Audigy2 ZS SB0350 $71 M-AUDIO 9900-40906-00 $72 AUDIOTRAK Prodigy 7.1LT $85 M-AUDIO 9900-40765-00 $89 M-AUDIO 9900-40901-00 $90 CREATIVE Sound Blaster Audigy2 ZS 70SB03500 $93 CREATIVE Sound Blaster Audigy2 ZS GAMER Limited Edition 70SB03513 $121 CREATIVE Sound Blaster Audigy2 ZS GAMER Limited Edition 70SB03517 $121 M-AUDIO 9900-40757-00 $139 CREATIVE Sound Blaster Audigy2 ZS Platinum 70SB03503 $176 M-AUDIO 9900-40768-00 High-Definition 4-in/4-out $179 M-AUDIO 9900-40752-00 $199 CREATIVE Sound Blaster Audigy2 ZS Platinum Pro 70SB03600 $212 AUDIOTRAK Maya 1010 $225 CREATIVE Sound Blaster Audigy 4 Pro $277 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help diagnosing system hangs?
On Mon, 22 Aug 2005 23:50:36 -0700, in sentex.lists.freebsd.questions you wrote: >I've recently been experiencing frequent hangs with FreeBSD 5.3-RELEASE-p20. >Strangely, this didn't appear to happen with 5.3-RELEASE or before >a few months ago. > There are a lot of bugs that have been fixed since 5.3-p20. So even if you dropped into the debugger and found what was going on, chances are good that its a bug that has already been fixed. I would go to RELENG_5 if you can, or even RELENG_6 if you wait another week or two. ---Mike Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Script help using "cut"
- Original Message - From: "Giorgos Keramidas" <[EMAIL PROTECTED]> To: "antenneX" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, August 23, 2005 8:16 PM Subject: Re: Script help using "cut" > On 2005-08-23 20:02, antenneX <[EMAIL PROTECTED]> wrote: > > Been trying to complete a script that I can use to grep spam emails > > from the maillog, then trim it to just the plain email address. Trying > > to use "cut" in the script but it's not doing what I want yet. > > > > Here is what the earlier lines have the lines down to so far: > > "(envelope-from [EMAIL PROTECTED])" -- no quotes > > ...and I want this "clean" trimmed result after trim using "cut" or > > anything else that works to trim/cut: > > > > [EMAIL PROTECTED] <--- no underlines of course > > > > That's a TAB space at beginning of the line. > > > > The "envelope" lines are in a tmp file in colum format (one line below > > the other). > > (envelope-from [EMAIL PROTECTED]) > > (envelope-from [EMAIL PROTECTED]) > > (envelope-from [EMAIL PROTECTED]) > > > > All ideas appreciated > > Does it have to be cut(1)? > > $ awk '{print $2}' tmpfile | sed -e 's/)[[:space:]]*$//' | sort | uniq > Yep! That looks good! Many thanks again for the tip. Best regards, Jack L. Stone ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Script help using "cut"
- Original Message - From: "Giorgos Keramidas" <[EMAIL PROTECTED]> To: "antenneX" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, August 23, 2005 8:16 PM Subject: Re: Script help using "cut" > On 2005-08-23 20:02, antenneX <[EMAIL PROTECTED]> wrote: > > Been trying to complete a script that I can use to grep spam emails > > from the maillog, then trim it to just the plain email address. Trying > > to use "cut" in the script but it's not doing what I want yet. > > > > Here is what the earlier lines have the lines down to so far: > > "(envelope-from [EMAIL PROTECTED])" -- no quotes > > ...and I want this "clean" trimmed result after trim using "cut" or > > anything else that works to trim/cut: > > > > [EMAIL PROTECTED] <--- no underlines of course > > > > That's a TAB space at beginning of the line. > > > > The "envelope" lines are in a tmp file in colum format (one line below > > the other). > > (envelope-from [EMAIL PROTECTED]) > > (envelope-from [EMAIL PROTECTED]) > > (envelope-from [EMAIL PROTECTED]) > > > > All ideas appreciated > > Does it have to be cut(1)? > > $ awk '{print $2}' tmpfile | sed -e 's/)[[:space:]]*$//' | sort | uniq > No, it doesn't have to be "cut." I'll give this a try... Thanks and, Best regards, Jack L. Stone > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD image making utility, equivalent to mkisofs
On Aug 23, 2005, at 12:04 PM, Sherman, Michael (GE Energy) wrote: mkisofs -dvd-video I am aware of this option, however I am burning data, not video. You originally said mkisofs finished quickly. It shouldn't run any faster than your disk drive(s) can copy the data. My single PATA drive can only sustain 15 MB/sec in that combined read/write situation but can single-task read 50 MB/sec if its copying to gigabit ethernet or my gvinum striped SATA drives. I believe your problem is with Nero, not with mkisofs. Something about Nero either does not like a non-video DVD or something is wrong with your file transfer from FreeBSD to Windows. Many ftp clients (not /usr/bin/ftp nor /usr/libexec/ftpd) have problems with 2G+ files. I grabbed ~4.6G of files and used your exact command line structure but outside of a script. All files were on a gvinum striped pair of SATA drives, so it sustained about 50 MB/sec combined read/write. % mkisofs -V junk.iso -o /usr5/done/junk.iso -R -J tmp [...] 0.22% done, estimate finish Tue Aug 23 19:53:53 2005 0.44% done, estimate finish Tue Aug 23 19:57:39 2005 0.66% done, estimate finish Tue Aug 23 19:56:24 2005 0.88% done, estimate finish Tue Aug 23 19:57:39 2005 [...] 99.68% done, estimate finish Tue Aug 23 19:56:54 2005 99.90% done, estimate finish Tue Aug 23 19:56:55 2005 Total translation table size: 0 Total rockridge attributes bytes: 2092 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 10704 2267219 extents written (4428 MB) % cd /usr5/done % ls -l total 4536688 -rw-r--r-- 1 dkelly dkelly 4643264512 Aug 23 19:56 junk.iso % Then from MacOS X 10.4 (Tiger) pulled the file via command line ftp: ftp> mget junk.iso local: junk.iso remote: junk.iso 229 Entering Extended Passive Mode (|||60128|) 150 Opening BINARY mode data connection for 'junk.iso' (4643264512 bytes). 100% || 4428 MB 39.72 MB/s --:-- ETA 226 Transfer complete. 348297216 bytes received in 01:51 (39.72 MB/s) ftp> quit (notice Apple still has a problem counting on 64 fingers, "348297216 bytes received", but it really did 4643264512 as it says above.) And Apple's Disk Utility was perfectly happy to mount it. Stopped short of burning it but files extracted from the iso matched md5 with their originals. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Script help using "cut"
On 2005-08-23 20:02, antenneX <[EMAIL PROTECTED]> wrote: > Been trying to complete a script that I can use to grep spam emails > from the maillog, then trim it to just the plain email address. Trying > to use "cut" in the script but it's not doing what I want yet. > > Here is what the earlier lines have the lines down to so far: > "(envelope-from [EMAIL PROTECTED])" -- no quotes > ...and I want this "clean" trimmed result after trim using "cut" or > anything else that works to trim/cut: > > [EMAIL PROTECTED] <--- no underlines of course > > That's a TAB space at beginning of the line. > > The "envelope" lines are in a tmp file in colum format (one line below > the other). > (envelope-from [EMAIL PROTECTED]) > (envelope-from [EMAIL PROTECTED]) > (envelope-from [EMAIL PROTECTED]) > > All ideas appreciated Does it have to be cut(1)? $ awk '{print $2}' tmpfile | sed -e 's/)[[:space:]]*$//' | sort | uniq ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: boot menu (WinXp - freeBSD)
Efren Bravo wrote: Hi, For the interested, I solved the problem using this: http://gag.sourceforge.net it works ok Thanks a lot... Hi, Finally I could install fBSD, I had to upgrade the bios. My PC had WinXP on the fist partition and on the other one I installed fBSD, what do I have to write in the boot.ini(winXP) to choose which OS should be loaded? No idea. But if you install the FreeBSD boot manager then that will boot both XP and FreeBSD. Ah, forgot about that. Still requires a boot manager to be installed in the boot sector for any Linux distros IIRC, but it essentially takes care of everything else to a certain extent. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Script help using "cut"
Been trying to complete a script that I can use to grep spam emails from the maillog, then trim it to just the plain email address. Trying to use "cut" in the script but it's not doing what I want yet. Here is what the earlier lines have the lines down to so far: "(envelope-from [EMAIL PROTECTED])" -- no quotes ...and I want this "clean" trimmed result after trim using "cut" or anything else that works to trim/cut: [EMAIL PROTECTED] <--- no underlines of course That's a TAB space at beginning of the line. The "envelope" lines are in a tmp file in colum format (one line below the other). (envelope-from [EMAIL PROTECTED]) (envelope-from [EMAIL PROTECTED]) (envelope-from [EMAIL PROTECTED]) All ideas appreciated Best regards, Jack L. Stone ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Getting a Netgear WG511T recognized on 5.4/6.0...
I have a HP AMD64 laptop (Pavillion zv5000) with a built-in Broadcom wireless card that doesn't appear to be supported, so I picked up a WG511T, which claims to be supported by the ath man page. However, in recompiling the kernel with the ath driver and installing the card, I don't get the device. Attached is the verbose dmesg output at boot, and the kernel config. pccardd won't start at all, claiming "fatal error: no PC-CARD slots", although cardbus slots do show up. Any chance I can get this working, or am I SOL? -B Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-BETA2 #4: Thu Aug 11 21:53:48 EDT 2005 root@:/usr/src/sys/i386/compile/LAPTOP Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a6a000. APIC: Could not find any APICs. Calibrating clock(s) ... i8254 clock: 1193174 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 797945689 Hz CPU: AMD Athlon(tm) 64 Processor 3200+ (797.95-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0xf4a Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 Data TLB: 32 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 1073152000 (1023 MB) Physical memory chunk(s): 0x1000 - 0x0009efff, 647168 bytes (158 pages) 0x0010 - 0x003f, 3145728 bytes (768 pages) 0x00c25000 - 0x3ed39fff, 1041321984 bytes (254229 pages) avail memory = 1041285120 (993 MB) bios32: Found BIOS32 Service Directory header at 0xc00f71f0 bios32: Entry = 0xfd750 (c00fd750) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd750+0x16c pnpbios: Found PnP BIOS data at 0xc00f7280 pnpbios: Entry = f:b71d Rev = 1.0 Other BIOS signatures found: wlan: <802.11 Link Layer> ath_rate: mem: Pentium Pro MTRR support enabled null: random: nfslock: pseudo-device io: ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pci_open(1):mode 1 addr port (0x0cf8) is 0x80001110 pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=00d110de) pcibios: BIOS version 2.10 Found $PIR table, 11 entries at 0xc00fdf10 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded01A 0x06 9 10 11 12 14 15 embedded02A 0x09 9 10 11 12 embedded02B 0x0a 9 10 11 12 embedded02C 0x07 9 10 11 12 embedded06A 0x0c 9 10 11 12 14 15 embedded06B 0x0d 9 10 11 12 14 15 slot 1 09A 0x08 9 10 11 12 14 15 embedded0 10A 0x01 9 10 11 12 14 15 embedded0 10B 0x02 9 10 11 12 14 15 embedded0 10C 0x03 9 10 11 12 14 15 embedded0 10D 0x04 9 10 11 12 14 15 embedded20A 0x01 9 10 11 12 14 15 embedded21A 0x02 9 10 11 12 14 15 embedded24A 0x01 9 10 11 12 14 15 embedded24B 0x02 9 10 11 12 14 15 embedded22A 0x03 9 10 11 12 14 15 embedded0 11A 0x05 9 10 11 12 14 15 pcib0: pcibus 0 on motherboard pir0: on motherboard $PIR: Links after initial probe: Link IRQ Rtd Ref IRQs 0x6 255 N 1 9 10 11 12 14 15 0x9 255 N 1 9 10 11 12 0xa 255 N 1 9 10 11 12 0x7 255 N 1 9 10 11 12 0xc 255 N 1 9 10 11 12 14 15 0xd 255 N 1 9 10 11 12 14 15 0x8 255 N 1 9 10 11 12 14 15 0x1 255 N 3 9 10 11 12 14 15 0x2 255 N 3 9 10 11 12 14 15 0x3 255 N 2 9 10 11 12 14 15 0x4 255 N 1 9 10 11 12 14 15 0x5 255 N 1 9 10 11 12 14 15 $PIR: Found matching pin for 0.1.INTA at func 1: 10 $PIR: Found matching pin for 0.2.INTA at func 0: 11 $PIR: Found matching pin for 0.2.INTB at func 1: 10 $PIR: Found matching pin for 0.2.INTC at func 2: 10 $PIR: Found matching pin for 0.6.INTA at func 0: 11 $PIR: Found matching pin for 0.6.INTB at func 1: 10 $PIR: Found matching pin for 2.0.INTA at func 0: 11 $PIR: Found matching pin for 2.1.INTA at func 0: 10 $PIR: Found matching pin for 2.4.INTA at func 0: 11 $PIR: Found matching pin for 2.4.INTB at func 1: 10 $PIR: Found matching pin for 2.2.INTA at func 0: 11 $PIR: Links after initial IRQ discovery: Link IRQ Rtd Ref IRQs 0x6 10 Y 1 9 10 11 12 14 15 0x9 11 Y 1 9 10 11 12 0xa 10 Y 1 9 10 11 12 0x7 10 Y 1 9 10 11 12 0xc 11 Y 1 9 10 11 12 14 15 0xd 10 Y 1 9 10 11 12 14 15 0x8 255 N 1 9 10 11
Re: RELENG_6 upgrade from RELENG_5
Thanks, > I think much better to leave GENERIC as is and making new config file like th > is: > > include GENERIC > > ident NEWKERNEL > > nomakeoption DEBUG > nooptions KDB > nooptions DDB > nooptions GDB > nooptions INVARIANTS > nooptions INVARIANTS_SUPPORT > nooptions WITNESS > nooptions WITNESS_SKIPSPIN This approach is new to me (I presume it is new to 6, or else I've not been awake) - looks like a good way to build a config file. I appreciate the other replies with information about where to get UPDATING - thanks Gary and Nikolas. regards, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: limits puzzle - different limits on similar machines
On Aug 23, 2005, at 5:56 PM, Danny Howard wrote: # bump max datasize options MAXDSIZ="(1024*1024*1024)" options MAXSSIZ="(1024*1024*1024)" options DFLDSIZ="(1024*1024*1024)" Might this not be it? unlimited is really limited by the kernel sys params Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
limits puzzle - different limits on similar machines
Hello, We have a process that runs fine on one machine but then dies on another, spitting an out-of-memory error. Interestingly, the limits for the user are higher on the working machine and lower on the other. So, I try to puzzle out why, reading all about login.conf, but login.conf is the same on every machine I visit, and it sets datasize=unlimited ... 1-16:35 [EMAIL PROTECTED] ~> uname -a && grep datasize /etc/login.conf && limits FreeBSD mito.sr._.com 5.4-STABLE FreeBSD 5.4-STABLE #3: Fri Jul 29 16:05:16 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MITO i386 :datasize=unlimited:\ # :datasize-cur=22M:\ # :datasize=8M:\ # :datasize=12M:\ # :datasize=infinity:\ # :datasize=infinity:\ # :datasize-cur@:\ # :datasize-cur=64M:\ # :datasize=2M:\ Resource limits (current): cputime infinity secs filesize infinity kb datasize 524288 kb stacksize 65536 kb coredumpsize infinity kb memoryuseinfinity kb memorylocked infinity kb maxprocesses 3632 openfiles7264 sbsize infinity bytes vmemoryuse infinity kb Okay, but on a different machine, the machine that runs the tricky process: 1-16:36 [EMAIL PROTECTED] ~> uname -a && grep datasize /etc/login.conf && limits FreeBSD bali.web.sr._.com 4.8-STABLE FreeBSD 4.8-STABLE #1: Mon Apr 21 1 3:36:32 PDT 2003 [EMAIL PROTECTED]:/local0/world/obj/local0/wor ld/src/sys/BALI i386 :datasize=unlimited:\ # :datasize-cur=22M:\ # :datasize=8M:\ # :datasize=12M:\ # :datasize=infinity:\ # :datasize=infinity:\ # :datasize-cur@:\ # :datasize-cur=64M:\ # :datasize=2M:\ Resource limits (current): cputime infinity secs filesize infinity kb datasize 1048576 kb stacksize 1048576 kb coredumpsize infinity kb memoryuseinfinity kb memorylocked infinity kb maxprocesses 5547 openfiles 11095 sbsize infinity bytes vmemoryuse infinity kb Others? 0-19:37 [EMAIL PROTECTED] ~> uname -a && grep datasize /etc/login.conf && limits FreeBSD web3.web._.com 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #1: Thu O ct 21 18:39:52 EDT 2004 [EMAIL PROTECTED]:/local0/world/obj/local0 /world/src/sys/WEB3 i386 :datasize=unlimited:\ # :datasize-cur=22M:\ # :datasize=8M:\ # :datasize=12M:\ # :datasize=infinity:\ # :datasize=infinity:\ # :datasize-cur@:\ # :datasize-cur=64M:\ # :datasize=2M:\ Resource limits (current): cputime infinity secs filesize infinity kb datasize 524288 kb stacksize 65536 kb coredumpsize infinity kb memoryuseinfinity kb memorylocked infinity kb maxprocesses 5547 openfiles 11095 sbsize infinity bytes vmemoryuse infinity kb 0-16:21 [EMAIL PROTECTED] ~> uname -a && grep datasize /etc/login.conf && limits FreeBSD rahu.web.sr._.com 4.9-STABLE FreeBSD 4.9-STABLE #1: Mon Mar 22 1 3:38:20 PST 2004 [EMAIL PROTECTED]:/local0/world/obj/local0/wor ld/src/sys/RAHU i386 :datasize=unlimited:\ # :datasize-cur=22M:\ # :datasize=8M:\ # :datasize=12M:\ # :datasize=infinity:\ # :datasize=infinity:\ # :datasize-cur@:\ # :datasize-cur=64M:\ # :datasize=2M:\ Resource limits (current): cputime infinity secs filesize infinity kb datasize 524288 kb stacksize 65536 kb coredumpsize infinity kb memoryuseinfinity kb memorylocked infinity kb maxprocesses 5547 openfiles 11095 sbsize infinity bytes vmemoryuse infinity kb I originally suspected that the login class was being set differently on different systems based on whether the system was a NIS client or if the user was in master.passwd ... in neither case have I bothered setting a login class ... but in the above output, rahu and bali are NIS clients, web3 and mito are not ...and mito has differing maxprocesses and openfiles from other 5.x hosts .. why? Could it be the kernel build? 0-16:46 [EMAIL PROTECTED] ~> diff /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/MITO 2c2 < # GENERIC -- Generic kernel configuration file for FreeBSD/i386 --- > # MITO -- Generic kernel configuration file for FreeBSD/i386 19c19 < # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13 2005/04/02 16:37:58 scottl Exp $ --- > # $FreeBSD: src/sys/i386/conf/MITO,v 1.413.2.8 2004/10/24 17:42:08 scottl Exp > $ 25c25 < ident GENERIC --- > ident MITO 28c28 < #hints"GENERIC.hints" # Default places to look for devices. --- > #hints"MITO.hints"# Default places to look for > devices. 61c61 < deviceapic
Re: NFS question...
Kevin Kinsey wrote: Eric Murphy wrote: If I chmod my $HOMEDIR to 777, then you can read/write to it. But, if I export it via /etc/exports (NFS), you can't mount it unless you're root. Expected behavior, seems to me, in light of my experience with 'Nixes. why not use an automounter (amd..any others?) to take care of the mounting/unmounting @ the client end, and let the user simply access the /host/[hostname]/share/ mountpoint as needed? Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reorganizing partitions
Robin Smith <[EMAIL PROTECTED]> writes: > I intend to do this by the appropriate ugly mess of cp -pRP commands I can't comment on vinum issues, but "cp -pR" (-P is default) doesn't handle stuff like file attributes, AFAIK. Check, but I think 4.11 has the new FreeBSD "tar" (not "gtar") which is the think to use if you can't use dump/restore. Read your manual, but it's something like: tar cf - --one-file-system -C $SRCDIR . | tar xkpPf - -C $DSTDIR (I esp. wonder about "kpP".) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Security warning with sshd
Hey guys, thanks for the help so far. I'm going to post this to the freebsd-pf list to see if anyone has any ideas...but I'm using PF, and here's the config. Hopefully you can take a look and see what the problem may be. As I said earlier, I'm not positive why I'm getting those errors, but I believe it's because my SSH connection is getting cut off whenever I enable the firewall. I've also been looking for a way to not be cut off (since it's very annoying), and it seems like figuring out and correcting these errors will also fix the second problem. # --- pf.conf skeleton for server # # --- MACRO Section - EXT_IF="fxp0" PING = "echoreq" # --- allowed incoming services initiated by clients TCP_IN = "{ 3000, ssh, ftp, smtp, domain, pop3, imap, http, https, 3690, 5001, 5002, 5003, 5004, 5005 }" UDP_IN = "{ domain, 3690 }" # --- allowed services initiated by server TCP_OUT = "{ ssh, smtp, ftp, domain, http, https, ntp, 5999 }" UDP_OUT = "{ domain, ntp }" # -- TABLE Section -- # -- OPTIONS Section set loginterface $EXT_IF # - TRAFFIC NORMALIZATION scrub in all # -- TRANSLATION Section (NAT/RDR) # -- FILTER section # --- DEFAULT POLICY block log all # --- LOOPBACK pass quick on lo0 all # === INCOMING # --- EXTERNAL INTERFACE # --- TCP pass in quick on $EXT_IF inet proto tcp from any to $EXT_IF port $TCP_IN flags S/SA keep state # --- UDP pass in quick on $EXT_IF inet proto udp from any to $EXT_IF port $UDP_IN keep state # --- ICMP pass in quick on $EXT_IF inet proto icmp from any to $EXT_IF icmp-type $PING keep state # === OUTGOING # --- EXTERNAL INTERFACE # --- TCP pass out quick on $EXT_IF inet proto tcp from $EXT_IF to any port $TCP_OUT flags S/SA keep state # --- UDP pass out quick on $EXT_IF inet proto udp from $EXT_IF to any port $UDP_OUT keep state # --- ICMP pass out quick on $EXT_IF inet proto icmp from $EXT_IF to any icmp-type $PING keep state # - end of pf.conf On 8/23/05, Alexander Leidinger <[EMAIL PROTECTED]> wrote: > Stephen Major <[EMAIL PROTECTED]> wrote: > > > The issue he is having I had the exact same problems, as soon as I changed > > my config to the one below poof no more problems. You can set your firewall > > however you want. I was just saying what gets rid of the problem he is > > having with ssh. > > I wasn't commenting the ssh issue, since it isn't clear why the problem > exists. At least I haven't seen a problem analysis where the cause of this > was shown. Maybe I missed it. So your posting may be the right solution or > not. I don't know yet, and I don't care about this in this mail, since I > wasn't talking about the ssh issue (see below). > > > So instead of ripping apart what I have said why do you not provide a better > > solution to the original question asked. > > I wasn't ripping apart what you said. I just wanted to be helpful and share a > little bit of knowledge. You're mixing stateful with non-stateful rules and > this may result in unwanted packets traveling through the firewall. I > thought you (and maybe others) may be interested in this. > > BTW.: in some environments this is a hole in the firewall and needs to be > fixed, so one shouldn't use this part of your example. Since the security > mailinglist is in the CC, we can't let this problem be uncommented. > > Another helpful suggestion: Please don't quote everything and please write > your comments below the parts where they belong. This is common behavior in > the FreeBSD lists and doing the opposide will result in less (useful) > responses from some members of the lists (because it makes the mail harder > to read and people may decide to not spend the time to read the mail and > point out problem solutions or small bugs in your offering of a solution). > > Bye, > Alexander. > > -- > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 > To add insult to injury. > -- Phaedrus > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portsdb -Uu duplicate entry warnings
On Tue, Aug 23, 2005 at 08:07:13AM -0400, bob self wrote: > > I've been told that these messages are not a problem. But I do think that > they > are warnings. How can I get rid of these warnings? You don't, they're not a problem. If you really don't want to see them, I recommend closing your eyes while running the command :-). > Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2 > Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 > Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4 > Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 > > I get these after running 'portsdb -Uu > > I've searched the archives but haven't found the solution. > > Bob > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > pgpchNMzRiyAL.pgp Description: PGP signature
Re: Make fails when recompiling kernel with FAST_IPSEC on 5.4
Frank Staals wrote: Hey, Todya I tried recompiling my kernel with the FAST_IPSEC option, but when doing 'make' the compiling failed. The only thing changed in my existing kernel was the added line 'options FAST_IPSEC' , without that option it compiled fine last time. I'm running FreeBSD 5.4 i386. Kernelconfig: http://fstaals.net/junk/RIZAKERNEL Compile log: http://fstaals.net/junk/kernel.out The same problem seems to exist when compiling a kernel with FAST_IPSEC on 6.0 BETA 1 amd64 Thanks in advance I assume you also have all the following? device crypto # core crypto support device cryptodev # /dev/crypto for access to h/w device rndtest # FIPS 140-2 entropy tester device hifn# Hifn 7951, 7781, etc. options HIFN_DEBUG # enable debugging support: hw.hifn.debug options HIFN_RNDTEST# enable rndtest support device ubsec # Broadcom 5501, 5601, 58xx options UBSEC_DEBUG # enable debugging support: hw.ubsec.debug options UBSEC_RNDTEST # enable rndtest support see /sys/conf/NOTES. HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with irq and printing system
On Tue, Aug 23, 2005 at 09:32:19PM +0200, Jose Luis Alarcon Sanchez wrote: > Interrupt storm detected on "irq7: lpt0"; throttling interrupt source > > What is the meaning of this message?. Have this problem a solution?. This is a very annoying "feature" in FreeBSD: printing causes a high rate of interrupts and the kernel tries to reduce this. AFAIK there are two possible ways to solve this: 1. To increase the threshold for this interrupt storm detection just add the following line to your /etc/sysctl.conf: hw.intr_storm_threshold=4096 2. Let the parallel port run via polling instead of interrupts (this causes high loads), add the following line to your /boot/devices.hints: hint.ppc.0.flags="0x28" HTH, Uwe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel related question ...
On Aug 23, 2005, at 2:03 PM, Nikolas Britton wrote: Does AMD make boards (and chipsets)? Not boards, but they do make chipsets I switched to Intel made boards after a bad run of soyo, FIC, and gigabyte PII boards... I'd like to look at AMD's 64-bit offerings but am *very* hesitant. I run mostly Tyan AMD boards including Dual and single CPU Opteron boards. They have worked very well. I have also used Tyan and Gigabyte Dual Athlon with AMD chipsets and they have been great. 24/7/365xmultiple years of operation on the Athlon MP and 1.3 years on a dual Opteron. The single CPU opterons are not that old... Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Crypt::RSA perl coredump on FreeBSD 5.4-RELEASE
Mike Friedman wrote: I installed the perl Crypt::RSA port the other day on my 5.4-RELEASE system. When I try to run a small perl script just to generate an RSA keypair, I get a perl core dump. There are a lot of prereqs that get installed with Crypt::RSA, so no doubt there's much opportunity for a problem with some library somewhere. But I don't know where to begin looking. Maybe there is still something wrong with one dependency, have you tried "portupgrade -R Crypt::RSA" ? Otherwise freebsd-ports may be a better place to ask.. Regards, Alex. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Make fails when recompiling kernel with FAST_IPSEC on 5.4
Hey, Todya I tried recompiling my kernel with the FAST_IPSEC option, but when doing 'make' the compiling failed. The only thing changed in my existing kernel was the added line 'options FAST_IPSEC' , without that option it compiled fine last time. I'm running FreeBSD 5.4 i386. Kernelconfig: http://fstaals.net/junk/RIZAKERNEL Compile log: http://fstaals.net/junk/kernel.out The same problem seems to exist when compiling a kernel with FAST_IPSEC on 6.0 BETA 1 amd64 Thanks in advance -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: boot menu (WinXp - freeBSD)
Hi, For the interested, I solved the problem using this: http://gag.sourceforge.net it works ok Thanks a lot... >Hi, > >Finally I could install fBSD, I had to upgrade the bios. > >My PC had WinXP on the fist partition and on the other one I installed >fBSD, what do I have to write in the boot.ini(winXP) to choose which OS >should be loaded? > > >No idea. But if you install the FreeBSD boot manager then that will >boot both XP and FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Read bios settings
In the last episode (Aug 23), Maarten Sanders said: > Is it possible to read, e.g., bios version numbers from within > FreeBSD? Try ports/sysutils/dmidecode -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel related question ...
On 8/23/05, Chad Leigh -- Shire.Net LLC <[EMAIL PROTECTED]> wrote: > > On Aug 23, 2005, at 12:40 PM, Nikolas Britton wrote: > > > On 8/23/05, Chad Leigh -- Shire.Net LLC <[EMAIL PROTECTED]> wrote: > > > >> > >> > >> That is what you get for using an Intel based board :-) > >> > >> > > > > What's that suppose to mean? Every board I've bought from Intel is > > rock solid. > > > > Intel board + Intel chipset + Intel cpu = can't go wrong. > > I had one once that wasn't so great -- dual PPro Intel branded board > with Intel chipset and Intel CPUs. Anyway, notice the :-) . It was > put there on purpose. > > Chad > only runs AMD stuff now > Does AMD make boards (and chipsets)? I switched to Intel made boards after a bad run of soyo, FIC, and gigabyte PII boards... I'd like to look at AMD's 64-bit offerings but am *very* hesitant. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
reorganizing partitions
In 4.11, I currently have a vinum volume mounted as /usr, with /usr/src and /usr/ports also on separate partitions (so these are just mount points on the actual /usr partition). /usr/src and /usr/ports are currently each given half a G, which is quite wasteful in the case of /usr/src (this didn't really belong on its own partition). However, I'd rather have things set up so that the system can get up and running even without the vinum drive. So, I want to take the existing /usr/src, put everything in /usr on it except for /usr/ports, /usr/local, and /usr/home, and mount it as /usr; move the contents of /usr/local to the top level on the current /usr (i.e. the vinum drive); remount the vinum drive as /usr/local; and symlink /usr/home onto /usr/local/home (/usr/home is already on the vinum drive as /home at its top level, so mounting it as /usr/local/ will give me /usr/local/home). I intend to do this by the appropriate ugly mess of cp -pRP commands and all the needed dismounting and mounting (in single-user mode, obviously). Apart from worries about getting all symlinks right, are there obvious fatal objections to doing all this (rather than the long slow way of filling up the new partitions by restoring what I want from tape)? Robin Smith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with irq and printing system
Hi all. I have an Epson Stylus Color 440 connected to the parallel port. CUPS configured and running, but when i send a document to print... it start, but go with many, many, many "breaks", and a small document print get a "eternal" time to complete. In the root console i get this message every time i use the printer: Interrupt storm detected on "irq7: lpt0"; throttling interrupt source What is the meaning of this message?. Have this problem a solution?. Thanks you very much, in advance. Jose. -- http://www.lordofunix.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 "[EMAIL PROTECTED]"
Read bios settings
Hi, Is it possible to read, e.g., bios version numbers from within FreeBSD? Maarten ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Read bios settings
Hi, Is it possible to read, e.g., bios version numbers from within FreeBSD? Maarten ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help diagnosing system hangs?
Nikolas Britton <[EMAIL PROTECTED]> wrote: > On 8/23/05, Eric Rescorla <[EMAIL PROTECTED]> wrote: > > I've recently been experiencing frequent hangs with FreeBSD 5.3-RELEASE-p20. > > Strangely, this didn't appear to happen with 5.3-RELEASE or before > > a few months ago. > > > > My platform is a P4-2.8 GHz (dmesg appended at end). > > > > The behavior is that X freezes (sorry, I can't say if the clock is still > > working because I forgot to check) and sshing into the box hangs. A > > hard reboot clears things and the box starts normally, except that it > > fscks as expected. Nothing appears in /var/log/messages, etc. > > > > Because this problem started fairly recently, my one guess is that this > > is somehow related to the hyperthreading fix in SA-05:09. This processor > > allegedly has hyperthreading but I'm running GENERIC. Any possibility > > this could be responsible for hanging somehow? > > Have you ruled out hardware problems, what makes you think it's > FreeBSD? Is this problem random? etc. (1) No, I haven't ruled out hardware problems. However, I have a nearly identical machine that started acting up in the same way in the same time frame, which is why I'm suspecting the OS. Meant to mention this but got bogged down in detail. Sorry! (2) It does appear to be random, yes. Thanks, -Ekr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pppoed using mpd - dirrect connect between LAN clients
Hello guys I've setup a pppoe server using mpd and i've activated proxy arp in pppoed. The problem is that all traffic between LAN users is going via pppoed NIC. I do not want that, i want that LAN users to have traffic direct, like using fixed IPs. it is possible? how? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: converting from FREEBSD to DRAGONFLY
>-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Fafa Hafiz >Krantz >Sent: Tuesday, August 23, 2005 3:53 AM >To: [EMAIL PROTECTED] >Subject: converting from FREEBSD to DRAGONFLY > > > >hello! > >i'm about to convert from freebsd to dragonflybsd because i appreciate >a clean environment that is on the right route. > >i'm wondering if those who have done the same might share their >experiences >with me, so that my migration can become as painless as possible. It was horrible, horrible! I came running and screaming back to FreeBSD! That's the last time I'll every try collaborative writing!! Oh wait - I just noticed, I thought you said Dragon's Cry. Never mind. Ted -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 8/22/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ifpw weirdness
Nope, IP's haven't changed, ethernet devices haven't changed, nothing. fsck reports no problems with / but it reports this when run against /usr: ** /dev/ad0s1f (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups SUMMARY INFORMATION BAD SALVAGE? no BLK(S) MISSING IN BIT MAPS SALVAGE? no 409548 files, 2838061 used, 23274264 free (76840 frags, 2899678 blocks, 0.3% fragmentation) On Tue, Aug 23, 2005 at 10:09:32PM +0400, Andrew P. wrote: > On 8/23/05, thursday <[EMAIL PROTECTED]> wrote: > > Greetings, > > > > I have a machine running FreeBSD5.3-RELEASE. I built it in December or so. > > > > Girlfriend accidentally hit the power button on it a couple of months ago, > > and it rebooted, and everything came back fine. Last night, stupid me > > stepped on the power strip, and when it rebooted, it would no longer do > > nat, or even pass traffic on the internal interface at all. > > > > When I flush the firewall rules (/sbin/ipfw -f flush && && /sbin/ipfw add > > divert natd all from any to any via fxp0 && /sbin/ipfw add pass all from > > any to any) and allow everything, natd works perfectly happily. > > > > The firewall configuration has not changed since maybe January; I've made > > no changes to it since the last unplanned reboot, when it all came up fine. > > > > I'm kind of stumped, and slightly terrified, at what may be the cause. > > > > Below are bits from my rc.firewall, rc.conf, and natd.conf. I use the > > "simple" firewall included by default. I've removed my ip address to > > assuage my paranoia. Anyway, the contents of these files has not changed in > > months. > > > > Any thoughts would be deeply appreciated. > > > > Just a dumb guess, but could it be that your IP address changed? > > What do you think could have changed? What did fsck tell you? > Maybe there were some update routines in action? > > > Andrew P. > > P.S. Sorry for the gmail text formatting > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel related question ...
On 8/22/05, Marc G. Fournier <[EMAIL PROTECTED]> wrote: > > Sorry for asking here, but y'all are the only "useful techies" I know :) > > Am trying to put together my next new FreeBSD server ... Intel based, on > an SE7520JR2 DDR2 motherboard ... problem is simple ... > > I have 4x1G Kingston DIMMs to put in (KVR400D2R3K2/2G) ... if I put two in > Bank 1, I can boot ... if I put the other two in Bank 1, I can boot ... > if I put 4 in (2 in Bank1, 2 in Bank2), I get three long beeps ... > > Is ther something obvious I'm overlooking here? It doesn't seem like the > RAM, since all 4 sticks do work, so its only leaving me the motherboard > itself ... but wanted to double check ... > That part number is not listed on the kingston page for the SE7520JR2 (DDR2) board: http://www.ec.kingston.com/ecom/configurator/modelsinfo.asp?SysID=20251&mfr=Intel&model=SE7520JR2+%28DDR2%29+Server&Sys=20251-Intel-SE7520JR2+%28DDR2%29+Server&distributor=0&submit1=Search Tested RAM and Genral RAM Guilde for the SE7520JR2: ftp://download.intel.com/support/motherboards/server/se7520jr2/sb/se7520jr2_memlist_rev26.pdf Technical Product Specifications for the SE7520JR2: ftp://download.intel.com/support/motherboards/server/se7520jr2/sb/se7520jr2tpsrev1.pdf 3 Beeps = "Base memory read / write test error" -Page 165 from the manual above Also check the BIOS event log for POST error messages, Page 162 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: boot menu (WinXp - freeBSD)
On 8/23/05, Efren Bravo <[EMAIL PROTECTED]> wrote: > Hi, > > Finally I could install fBSD, I had to upgrade the bios. > > My PC had WinXP on the fist partition and on the other one I installed > fBSD, what do I have to write in the boot.ini(winXP) to choose which OS > should be loaded? > > Thanks... > > This should explain it http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER You can use fdisk to set the active partition to select which one boots until you have it working. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what is stuck here?!
Garrett Cooper wrote: On Tue, 23 Aug 2005, Fafa Hafiz Krantz wrote: how come *nothing* happens when i rm -rf directory/? it just won't move ... top from another terminal tells me: 55272 root 1160 14396K 13768K RUN 0:27 36.13% 35.40% rm what? the directory/ only contains a .maildir/, a .muttrc and an empty directory it's not an immutable flag that has been set, chflags -R nouchg directory/ stands equally still to rm -rf hello! Do you have any open filehandles as well in that directory? I could see this as being a problem if a program is keeping one or more files open in a directory and in fact the program is blocking rm -rf from completing its task. However, I've never seen Unix do this before; this would instead be a problem inherent of Windows. -Garrett BSD has never done that. You can safely remove open files and the reference in the filesystem will disappear, but the underlying blocks won't disappear until the last open file reference has been closed i.e. the programs accessing the file continue working. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel related question ...
On Aug 23, 2005, at 12:40 PM, Nikolas Britton wrote: On 8/23/05, Chad Leigh -- Shire.Net LLC <[EMAIL PROTECTED]> wrote: That is what you get for using an Intel based board :-) What's that suppose to mean? Every board I've bought from Intel is rock solid. Intel board + Intel chipset + Intel cpu = can't go wrong. I had one once that wasn't so great -- dual PPro Intel branded board with Intel chipset and Intel CPUs. Anyway, notice the :-) . It was put there on purpose. Chad only runs AMD stuff now ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel related question ...
On 8/23/05, Chad Leigh -- Shire.Net LLC <[EMAIL PROTECTED]> wrote: > > > That is what you get for using an Intel based board :-) > What's that suppose to mean? Every board I've bought from Intel is rock solid. Intel board + Intel chipset + Intel cpu = can't go wrong. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenOffice+AMD64
On Tue, 23 Aug 2005 11:29:44 -0500 Mark Kane <[EMAIL PROTECTED]> wrote: > Vladimir Dvorak wrote: > > does anybody know what is the status of OpenOffice for AMD64 > > architecture ? Is possible to install OO in some chroot lib32 > > environment ? Or this cause is wasting the time for now ? > > Hi. I am not sure the status of it for AMD64, but I do know it requires > Java. Unfortunately there is no Java for AMD64 yet. I had no problems building jdk15 and eclipse on my AMD64 box. I used eclipse for a couple of hours and deleted it after that because it was still too slow for my taste, but it worked fine in my limited testing. Cheers, -- Miguel Mendez <[EMAIL PROTECTED]> http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dump(8), incremental backups, Tower of Hanoi sequence, don't get it
2) If all you have to deal with are static files and a not-super-giant-filesystem, use rsync. rsync -avz --delete once a night will "mirror" your data between drives or between machines without any trouble. The only disadvantage is there is no file retention if you want to restore a corrupt / deleted file after the fact. Actually there is... sort of... The trick is to use the --backup and --backup-dir options: -b, --backup With this option, preexisting destination files are renamed as each file is transferred or deleted. You can control where the backup file goes and what (if any) suffix gets appended using the --backup-dir and --suffix options. --backup-dir=DIR In combination with the --backup option, this tells rsync to store all backups in the specified directory. This is very use- ful for incremental backups. You can additionally specify a backup suffix using the --suffix option (otherwise the files backed up in the specified directory will keep their original filenames). I use this to maintain a one day full archive and a two week archive of "dailys". --- # # manage daily directory cleanup # rm -rf $dailysDir-old if [ -d $dailysDir ]; then mv $dailysDir $dailysDir-old fi # # rsync command # rsync="rsync" rsync="$rsync --archive"# archive mode, equivalent to -rlptgoD rsync="$rsync --delete"# delete files that don't exist on sender rsync="$rsync --delete-after"# delete after transferring, not before rsync="$rsync --delete-excluded"# also delete excluded files on receiver rsync="$rsync --devices"# preserve devices (root only) rsync="$rsync --group"# preserve group rsync="$rsync --links"# copy symlinks as symlinks rsync="$rsync --owner"# preserve owner (root only) rsync="$rsync --perms"# preserve permissions rsync="$rsync --recursive"# recurse into directories rsync="$rsync --relative"# use relative path names rsync="$rsync --safe-links"# ignore links outside the destination tree rsync="$rsync --sparse"# handle sparse files efficiently rsync="$rsync --stats"# give some file transfer stats rsync="$rsync --times"# preserve times rsync="$rsync --whole-file"# copy whole files, no incremental checks $rsync \ --compress \ --files-from=files/bravo.files \ --exclude-from=files/bravo.exclude \ --backup --backup-dir $dailysDir/bravo \ bravo.mydomain.com:/ $backupDir/bravo $rsync \ --compress \ --files-from=files/foxtrot.files \ --exclude-from=files/foxtrot.exclude \ --backup --backup-dir $dailysDir/foxtrot \ foxtrot.mydomain.com:/ $backupDir/foxtrot --- files/bravo.files looks like this: /etc /local/home /root /usr/local/etc /var/cron /fs and files/bravo.exclude looks like this: /fs/tmp/ /fs/software/ This gives me a backup directory that looks like this: [EMAIL PROTECTED]:/backups % ll data drwxr-xr-x 8 root wheel 512 Mar 19 2004 bravo/ drwxr-xr-x 7 root wheel 512 Oct 12 2004 foxtrot/ [EMAIL PROTECTED]:/backups % ll dailys/ drwx-- 7 root wheel 512 Aug 19 03:37 Fri/ drwx-- 7 root wheel 512 Aug 12 03:43 Fri-old/ drwx-- 7 root wheel 512 Aug 22 03:37 Mon/ drwx-- 6 root wheel 512 Aug 15 03:37 Mon-old/ drwx-- 7 root wheel 512 Aug 20 03:36 Sat/ drwx-- 7 root wheel 512 Aug 13 03:42 Sat-old/ drwx-- 6 root wheel 512 Aug 21 03:36 Sun/ drwx-- 6 root wheel 512 Aug 14 03:36 Sun-old/ drwx-- 7 root wheel 512 Aug 18 03:36 Thu/ drwx-- 7 root wheel 512 Aug 11 03:39 Thu-old/ drwx-- 8 root wheel 512 Aug 23 03:36 Tue/ drwx-- 7 root wheel 512 Aug 16 03:36 Tue-old/ drwx-- 7 root wheel 512 Aug 17 03:37 Wed/ drwx-- 7 root wheel 512 Aug 10 03:39 Wed-old/ [EMAIL PROTECTED]:/backups % ll dailys/Fri drwx-- 3 root wheel 512 Aug 19 03:30 bravo/ drwx-- 3 root wheel 512 Aug 19 03:30 foxtrot/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what is stuck here?!
On Aug 23, 2005, at 8:34 AM, dpk wrote: On Tue, 23 Aug 2005, Fafa Hafiz Krantz wrote: hello! how come *nothing* happens when i rm -rf directory/? it just won't move ... top from another terminal tells me: 55272 root 1160 14396K 13768K RUN 0:27 36.13% 35.40% rm what? the directory/ only contains a .maildir/, a .muttrc and an empty directory it's not an immutable flag that has been set, chflags -R nouchg directory/ stands equally still to rm -rf It's probably busy calculating the list of directory entries to remove. If you have /proc mounted try: truss -p 55272 to see what it is doing. If you don't, and you have KTRACE in your kernel, you can try: ktrace -i -d -p 55272 kdump -l to monitor the process. Do you have any open filehandles as well in that directory? I could see this as being a problem if a program is keeping one or more files open in a directory and in fact the program is blocking rm -rf from completing its task. However, I've never seen Unix do this before; this would instead be a problem inherent of Windows. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NAT server
On 22 Srpen 2005, 15:28, gary masigon napsal(a): > Hi, i need help to setup my freebsd as a NAT server, i > cannot ping the external gateway from the client side > of my FreeBSD server but i can ping the FreeBSD > server. I followed all the instructions in the hand > book but i cannot get the client side to connect to > any www. freebsd server can ping the clients and the > gateway, i am using a private ip address of > 192.168.x.x in my external LANcard because i am behind > a router and 10.0.0.0 in my int. it is also okay to > edit the kernel instead of recompilig it to make IPFW > works. tnx > Hi, Gary, I absolutely don't want start any flame war about ipfw, pf etc. I would only like to tell you about my private experience: For times I tried to manage my various NAT/firewall/router setups with ipfw (it worked nearly every time but I was newer really sure that I did know, what I had done ;-|. Then, after OpenBSD's pf got to be adapted for FreeBSD standard kernel, it was all clear for me. There is an excelent doc about pf, which answers all questions and gives some good examples: http://www.openbsd.org/faq/pf/index.html It is written by OpenBSD folks for OpenBSD but fits for FreeBSD without changes. Good luck, Pavel Jordak. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help diagnosing system hangs?
On 8/23/05, Eric Rescorla <[EMAIL PROTECTED]> wrote: > I've recently been experiencing frequent hangs with FreeBSD 5.3-RELEASE-p20. > Strangely, this didn't appear to happen with 5.3-RELEASE or before > a few months ago. > > My platform is a P4-2.8 GHz (dmesg appended at end). > > The behavior is that X freezes (sorry, I can't say if the clock is still > working because I forgot to check) and sshing into the box hangs. A > hard reboot clears things and the box starts normally, except that it > fscks as expected. Nothing appears in /var/log/messages, etc. > > Because this problem started fairly recently, my one guess is that this > is somehow related to the hyperthreading fix in SA-05:09. This processor > allegedly has hyperthreading but I'm running GENERIC. Any possibility > this could be responsible for hanging somehow? Have you ruled out hardware problems, what makes you think it's FreeBSD? Is this problem random? etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gmirror over ggate
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm running 5.4-RELEASE with geom_{mirror,gate}.ko and the various geom, gmirror and ggate[cd] userland libs/tools built from a fairly recent CVSup (8/Aug). Having successfully setup gmirror to link a local and remote device together, I wanted to test what happens when the remote machine "dies", so I've simulated that by killing the ggated process. As expected ggatec notices, as does gmirror and the array is marked degraded. I then set about a recovery procedure: I restart ggated on the "dead" machine then destroy and re-create the ggatec unit -- so that gmirror picks it up the change, which it does. However it then barfs with "Component ggate0 (device test) broken, skipping" and I get the following with kern.geom.*.debug*=1 :- - 8<8<8<8<8<8< g_post_event_x(0xc0534400, 0xc3e98480, 2, -1067996144) g_mirror_taste(MIRROR, ggate0) GEOM_MIRROR[2]: Tasting ggate0. g_detach(0xc4008600) g_destroy_consumer(0xc4008600) g_destroy_geom(0xc4095600(mirror:taste)) ~ magic: GEOM::MIRROR ~ version: 3 ~ name: test ~ mid: 2465257116 ~ did: 1740936384 ~ all: 2 ~ genid: 0 ~syncid: 1 ~ priority: 0 ~ slice: 4096 ~ balance: prefer ~ mediasize: 16688867328 sectorsize: 512 syncoffset: 0 ~mflags: NONE ~dflags: NONE hcprovider: ggate0 ~ provsize: 16688867840 ~ MD5 hash: f4b64bb297186874c4ad915cba692390 GEOM_MIRROR[1]: Adding disk ggate0 to test. GEOM_MIRROR[2]: Adding disk ggate0. GEOM_MIRROR[0]: Component ggate0 (device test) broken, skipping. GEOM_MIRROR[0]: Cannot add disk ggate0 to test (error=22). - >8>8>8>8>8>8 Am I doing something wrong, or is this a bug? Stewart, - - - Stewart Morgan MEng MIEE Technical Director, Nameless-UK Phone : +44 870 757 1625| Address: The Production House Fax : +44 870 168 0210| 147a Saint Michael's Hill PGP ID: 0xECD5CE64 | Bristol, BS2 8DB, UK - - --x- PGP Fingerprint: 89DE F8C3 CA14 598C 30DB 504A 3055 DDD7 ECD5 CE64 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDC2l+MFXd1+zVzmQRAhWwAKD+DZZI81RfZcgRoEekuaz6rqchTACg9iJ5 Y03jss/Fxp9Un0UTsY4axrA= =jHfT -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dump(8), incremental backups, Tower of Hanoi sequence, don't get it
On Fri, Aug 19, 2005 at 05:15:35PM +0300, Ilari Laitinen wrote: > Hello. > > Lately I have been getting more and more worried about data on my > FreeBSD box at home. I am forming a "real" small-scale backup policy > with two different big USB harddrives (yet to buy) storing regular > incremental backups (yet to figure out). The idea is to have those > harddrives mirror each other for extra security. Ilari, Three suggestions: 1) Use gmirror to mirror the hard drives, instead of manually mirroring them. 2) If all you have to deal with are static files and a not-super-giant-filesystem, use rsync. rsync -avz --delete once a night will "mirror" your data between drives or between machines without any trouble. The only disadvantage is there is no file retention if you want to restore a corrupt / deleted file after the fact. Maybe you could rsync between the USB disks prior to rsyncing your backups, then you have two iterations of data ... 3) Look into using AMANDA, which I think can be run without a tape device, if it regards your disks as long-term holding disks. It is probably overkill for you, but at least then you get to learn a more powerful backup package which you might want to have experience with for the future, and you won't have to worry about Towers of Hanoi or anything because AMANDA is smart enough to figure this out itself. Though, honestly, probably all that you need is to do 0 1 1 1 or such. Or possibly, mount filesystem snapshots and if you get acceptible performance just dump level 0 every night. Or ... really it depends what you want and what you've got. Do you want to be able to restore deleted files from the week prior? If not, then you can get away with "nightly full dump" or "nightly full mirror" strategies. Otherwise, yes, you need to rig up some multiple-dumplevel magic. Cheers, -danny -- http://dannyman.toldme.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: boot menu (WinXp - freeBSD)
Efren Bravo wrote: Hi, Finally I could install fBSD, I had to upgrade the bios. My PC had WinXP on the fist partition and on the other one I installed fBSD, what do I have to write in the boot.ini(winXP) to choose which OS should be loaded? No idea. But if you install the FreeBSD boot manager then that will boot both XP and FreeBSD. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ifpw weirdness
On 8/23/05, thursday <[EMAIL PROTECTED]> wrote: > Greetings, > > I have a machine running FreeBSD5.3-RELEASE. I built it in December or so. > > Girlfriend accidentally hit the power button on it a couple of months ago, > and it rebooted, and everything came back fine. Last night, stupid me stepped > on the power strip, and when it rebooted, it would no longer do nat, or even > pass traffic on the internal interface at all. > > When I flush the firewall rules (/sbin/ipfw -f flush && && /sbin/ipfw add > divert natd all from any to any via fxp0 && /sbin/ipfw add pass all from any > to any) and allow everything, natd works perfectly happily. > > The firewall configuration has not changed since maybe January; I've made no > changes to it since the last unplanned reboot, when it all came up fine. > > I'm kind of stumped, and slightly terrified, at what may be the cause. > > Below are bits from my rc.firewall, rc.conf, and natd.conf. I use the > "simple" firewall included by default. I've removed my ip address to assuage > my paranoia. Anyway, the contents of these files has not changed in months. > > Any thoughts would be deeply appreciated. > Just a dumb guess, but could it be that your IP address changed? What do you think could have changed? What did fsck tell you? Maybe there were some update routines in action? Andrew P. P.S. Sorry for the gmail text formatting ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with locale settings
On Tue, Aug 23, 2005 at 07:58:05PM +0200, Gregory Nou wrote: > Hi list, > > I'm trying to understand a problem of locale, but I definitely can't > solve it on my own. > I use zsh. I've set LC_ALL and LANG to fr_FR. > > 19:39 [EMAIL PROTECTED] /etc% export | grep fr_FR > LANG=fr_FR > LC_ALL=fr_FR > [...] cause, as described in the Handbook, locale names are following the LanguageCode_CountryCode.Encoding scheme. Please read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html or http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/using-localization.html Marc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: converting from FREEBSD to DRAGONFLY
On 8/23/05, Fafa Hafiz Krantz <[EMAIL PROTECTED]> wrote: > > hello! > > i'm about to convert from freebsd to dragonflybsd. > > i'm wondering if those who have done the same might share their experiences > with me, so that my migration can become as painless as possible. http://www.dragonflybsd.org/docs/upgrade-freebsd.cgi Please don't post DragonFly BSD questions to this list, use the DragonFly BSD lists. You can find them here: http://www.dragonflybsd.org/main/forums.cgi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with locale settings
Hi list, I'm trying to understand a problem of locale, but I definitely can't solve it on my own. I use zsh. I've set LC_ALL and LANG to fr_FR. 19:39 [EMAIL PROTECTED] /etc% export | grep fr_FR LANG=fr_FR LC_ALL=fr_FR It is set in /etc/zshenv. However, when I make install some program, I get this : (null): Failed to set default locale or 19:53 [EMAIL PROTECTED] ~% openoffice.org I18N: Operating system doesn't support locale "" or (gnochm:56487): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. (in this case, it makes the program abort) I can't see what I'm missing/doing wrong. Thanks for your help ! -- Gregory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Still problems with ntop?
I see bug reports and broken port notifications. I get an error when compiling from source "cannot find -lmyrrd" I have rrdtool installed, i even uninstalled it and reverted to the older version and still no dice. *shrug* anybody got anything? -- Matt Virus ("veer-iss") http://www.mattvirus.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RELENG_6 upgrade from RELENG_5
Hi, On 8/23/05, Nikolas Britton <[EMAIL PROTECTED]> wrote: > On 8/22/05, Joel Hatton <[EMAIL PROTECTED]> wrote: > > Before I go crazy and change my RELENG_5 to 6 and resync my sources, can > > someone point me at a README/UPDATING for upgraders? I'm sure I'll find > > one _after_ I cvsup, but I'd like to read it first. > The upgrade to RELENG_6, from RELENG_5_4, is straightforward and > simple. Comment out these lines in the GENERIC kernel: I think much better to leave GENERIC as is and making new config file like this: include GENERIC ident NEWKERNEL nomakeoption DEBUG nooptions KDB nooptions DDB nooptions GDB nooptions INVARIANTS nooptions INVARIANTS_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN bye, a ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RELENG_6 upgrade from RELENG_5
On 8/22/05, Joel Hatton <[EMAIL PROTECTED]> wrote: > Hi, > > Before I go crazy and change my RELENG_5 to 6 and resync my sources, can > someone point me at a README/UPDATING for upgraders? I'm sure I'll find > one _after_ I cvsup, but I'd like to read it first. > http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=1.416&content-type=text/x-cvsweb-markup The upgrade to RELENG_6, from RELENG_5_4, is straightforward and simple. Comment out these lines in the GENERIC kernel: makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Support DDB. options GDB # Support remote GDB. options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN# Don't run witness on spinlocks for speed Then run all the standard stuff, don't use your 5.x kernel config file... KERNCONF=GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DVD image making utility, equivalent to mkisofs
mkisofs -dvd-video % man mkisofs ... -dvd-video Generate DVD-Video compliant UDF file system. This is done by sorting the order of the content of the appropriate files and by adding padding between the files if needed. Note that the sort- ing only works if the DVD-Video filenames include upper case characters only. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. I am aware of this option, however I am burning data, not video. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DVD image making utility, equivalent to mkisofs
The port sysutils/dvd+rw-tools provides growisofs, which should do the trick. HTH, Mario As far as I could derive from growisofs' man page, it only writes data out to a DVD, not to an image. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD image making utility, equivalent to mkisofs
On Tue, Aug 23, 2005 at 10:28:13AM -0400, Sherman, Michael (GE Energy) wrote: > > Does anyone know whether there is a way to force mkisofs to create a > DVD image or a different utility. Any input would be appreciated. mkisofs -dvd-video % man mkisofs ... -dvd-video Generate DVD-Video compliant UDF file system. This is done by sorting the order of the content of the appropriate files and by adding padding between the files if needed. Note that the sort- ing only works if the DVD-Video filenames include upper case characters only. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
boot menu (WinXp - freeBSD)
Hi, Finally I could install fBSD, I had to upgrade the bios. My PC had WinXP on the fist partition and on the other one I installed fBSD, what do I have to write in the boot.ini(winXP) to choose which OS should be loaded? Thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD image making utility, equivalent to mkisofs
# Sherman, Michael (GE Energy): > Does anyone know whether there is a way to force mkisofs to create > a DVD image or a different utility. Any input would be appreciated. The port sysutils/dvd+rw-tools provides growisofs, which should do the trick. HTH, Mario ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Security warning with sshd
Stephen Major <[EMAIL PROTECTED]> wrote: The issue he is having I had the exact same problems, as soon as I changed my config to the one below poof no more problems. You can set your firewall however you want. I was just saying what gets rid of the problem he is having with ssh. I wasn't commenting the ssh issue, since it isn't clear why the problem exists. At least I haven't seen a problem analysis where the cause of this was shown. Maybe I missed it. So your posting may be the right solution or not. I don't know yet, and I don't care about this in this mail, since I wasn't talking about the ssh issue (see below). So instead of ripping apart what I have said why do you not provide a better solution to the original question asked. I wasn't ripping apart what you said. I just wanted to be helpful and share a little bit of knowledge. You're mixing stateful with non-stateful rules and this may result in unwanted packets traveling through the firewall. I thought you (and maybe others) may be interested in this. BTW.: in some environments this is a hole in the firewall and needs to be fixed, so one shouldn't use this part of your example. Since the security mailinglist is in the CC, we can't let this problem be uncommented. Another helpful suggestion: Please don't quote everything and please write your comments below the parts where they belong. This is common behavior in the FreeBSD lists and doing the opposide will result in less (useful) responses from some members of the lists (because it makes the mail harder to read and people may decide to not spend the time to read the mail and point out problem solutions or small bugs in your offering of a solution). Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 To add insult to injury. -- Phaedrus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to use linux .so in freebsd application
Could you point me to the thread discussing it? I went through the 2 archives and couldn't find it :( Thanks, C On 8/22/05, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Mon, Aug 22, 2005 at 04:20:50PM -0700, Chicky ShnoodleSoup wrote: > > Hi, > > > > Thanks to the linux binary compatibility > > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-install.html), > > I am able to run a linux application using the linux dynamic library > > on a freebsd machine. > > > > Now I am trying to get a freebsd application (same application but > > compiled on freebsd) using the linux .so (don't have the source to > > compile it on freebsd) running on freebsd. > > > > Is that possible? if yes, how to do it? > > How to tell the compiler to use freebsd libraries for the application > > and the linux ones for the linux .so? > > This was recently discussed here and on -hackers. > > Kris > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenOffice+AMD64
On Tue, 23 Aug 2005, Vladimir Dvorak wrote: does anybody know what is the status of OpenOffice for AMD64 architecture ? Is possible to install OO in some chroot lib32 environment ? Or this cause is wasting the time for now ? I was able to install the linux versions of: Java (jdk-1_5_0_01-linux-i586.bin (from sun's website) OpenOffice OOo_1.1.4_LinuxIntel_install.tar.gz (from OO's website) and with linux compat it works on: 5.4-STABLE - AMD Athlon 64 3000 I am watching the port though to see it run native. T. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenOffice+AMD64
Mark Kane wrote: Vladimir Dvorak wrote: does anybody know what is the status of OpenOffice for AMD64 architecture ? Is possible to install OO in some chroot lib32 environment ? Or this cause is wasting the time for now ? Hi. I am not sure the status of it for AMD64, but I do know it requires Java. Unfortunately there is no Java for AMD64 yet. I found this link, but I didn't think Linux binary compatibility was possible in the amd64 version. Every time I try to install a port that requires Java such as Azureus on my FreeBSD/amd64 machine, it says something like "Only for i386, and you are running amd64". http://people.freebsd.org/~tjr/linux32.html For an alternative, look at AbiWord for word processing and Gnumeric for spreadsheets. I'm sure there are others as well. -Mark Thank you Mark. OOfice are possible to build without JAVA support (make -DWITHOUT_JAVA). I use Abiword and Gnumeric instead of OO now, but there is no connectivity with OO sxw files - which I have a lot (from times when I used i386/Linux). Thank you for that link I will look at it. Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what is stuck here?!
On Tue, 23 Aug 2005, Fafa Hafiz Krantz wrote: > > hello! > > how come *nothing* happens when i rm -rf directory/? > it just won't move ... > > top from another terminal tells me: > 55272 root 1160 14396K 13768K RUN 0:27 36.13% 35.40% rm > > what? the directory/ only contains a .maildir/, a .muttrc and an empty > directory > it's not an immutable flag that has been set, > chflags -R nouchg directory/ stands equally still to rm -rf It's probably busy calculating the list of directory entries to remove. If you have /proc mounted try: truss -p 55272 to see what it is doing. If you don't, and you have KTRACE in your kernel, you can try: ktrace -i -d -p 55272 kdump -l to monitor the process. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenOffice+AMD64
Vladimir Dvorak wrote: does anybody know what is the status of OpenOffice for AMD64 architecture ? Is possible to install OO in some chroot lib32 environment ? Or this cause is wasting the time for now ? Hi. I am not sure the status of it for AMD64, but I do know it requires Java. Unfortunately there is no Java for AMD64 yet. I found this link, but I didn't think Linux binary compatibility was possible in the amd64 version. Every time I try to install a port that requires Java such as Azureus on my FreeBSD/amd64 machine, it says something like "Only for i386, and you are running amd64". http://people.freebsd.org/~tjr/linux32.html For an alternative, look at AbiWord for word processing and Gnumeric for spreadsheets. I'm sure there are others as well. -Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
maxtor one touch usb 2.0 drive
Hi John, Would you know where I can find the driver for a modem Alcatel One Touch USB (the one that looks like a skate) ? Thanks if you can help. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ifpw weirdness
Greetings, I have a machine running FreeBSD5.3-RELEASE. I built it in December or so. Girlfriend accidentally hit the power button on it a couple of months ago, and it rebooted, and everything came back fine. Last night, stupid me stepped on the power strip, and when it rebooted, it would no longer do nat, or even pass traffic on the internal interface at all. When I flush the firewall rules (/sbin/ipfw -f flush && && /sbin/ipfw add divert natd all from any to any via fxp0 && /sbin/ipfw add pass all from any to any) and allow everything, natd works perfectly happily. The firewall configuration has not changed since maybe January; I've made no changes to it since the last unplanned reboot, when it all came up fine. I'm kind of stumped, and slightly terrified, at what may be the cause. Below are bits from my rc.firewall, rc.conf, and natd.conf. I use the "simple" firewall included by default. I've removed my ip address to assuage my paranoia. Anyway, the contents of these files has not changed in months. Any thoughts would be deeply appreciated. rc.firewall: [Ss][Ii][Mm][Pp][Ll][Ee]) # set these to your outside interface network and netmask and ip oif="fxp0" onet="xx.xx.xx.xx" omask="255.255.255.0" oip="xx.xx.xx.xx" # set these to your inside interface network and netmask and ip iif="rl0" inet="192.168.1.0" imask="255.255.255.0" iip="192.168.1.1" setup_loopback # Stop spoofing ${fwcmd} add deny all from ${inet}:${imask} to any in via ${oif} ${fwcmd} add deny all from ${onet}:${omask} to any in via ${iif} # Stop RFC1918 nets on the outside interface ${fwcmd} add deny all from any to 10.0.0.0/8 via ${oif} ${fwcmd} add deny all from any to 172.16.0.0/12 via ${oif} ${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif} # Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1, # DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E) # on the outside interface ${fwcmd} add deny all from any to 0.0.0.0/8 via ${oif} ${fwcmd} add deny all from any to 169.254.0.0/16 via ${oif} ${fwcmd} add deny all from any to 192.0.2.0/24 via ${oif} ${fwcmd} add deny all from any to 224.0.0.0/4 via ${oif} ${fwcmd} add deny all from any to 240.0.0.0/4 via ${oif} case ${natd_enable} in [Yy][Ee][Ss]) if [ -n "${natd_interface}" ]; then ${fwcmd} add divert natd all from any to any via ${natd_interface} fi ;; esac # Stop RFC1918 nets on the outside interface ${fwcmd} add deny all from 10.0.0.0/8 to any via ${oif} ${fwcmd} add deny all from 172.16.0.0/12 to any via ${oif} ${fwcmd} add deny all from 192.168.0.0/16 to any via ${oif} # Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1, # DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E) # on the outside interface ${fwcmd} add deny all from 0.0.0.0/8 to any via ${oif} ${fwcmd} add deny all from 169.254.0.0/16 to any via ${oif} ${fwcmd} add deny all from 192.0.2.0/24 to any via ${oif} ${fwcmd} add deny all from 224.0.0.0/4 to any via ${oif} ${fwcmd} add deny all from 240.0.0.0/4 to any via ${oif} # Allow TCP through if setup succeeded ${fwcmd} add pass tcp from any to any established # Allow IP fragments to pass through ${fwcmd} add pass all from any to any frag # Allow setup of incoming email ${fwcmd} add pass tcp from any to ${oip} 25 setup # Allow access to our WWW ${fwcmd} add pass tcp from any to ${oip} 80 setup # SSH ${fwcmd} add pass tcp from any to ${oip} 22 setup # Reject&Log all setup of incoming connections from the outside ${fwcmd} add deny log tcp from any to any in via ${oif} setup # Allow setup of any other TCP connection ${fwcmd} add pass tcp from any to any setup # Allow DNS queries out in the world ${fwcmd} add pass udp from ${oip} to any 53 keep-state # Allow NTP queries out in the world ${fwcmd} add pass udp from ${oip} to any 123 keep-state # Everything else is denied by default, unless the # IPFIREWALL_DEFAULT_TO_ACCEPT option is set in your kernel # config file. #${fwcmd} add deny all from any to ${oip} ;; -- rc.conf: firewall_enable="YES" firewall_type="SIMPLE" natd_enable="YES" natd_flags="-log_denied no -f /etc/natd.conf" natd_interface="fxp0" natd_program="/sbin/natd" -- natd.conf: log no log_denied no deny_incoming no use_sockets yes same_ports yes verbose no interface fxp0 ___ freebsd-questions@freebsd.org mailing list http://lists.freeb
Re: confirm b8cedbfad06ade59e87469bf5d19abf487972fc5
Hello , I was searching for the defnition of the structure struct device .Kindly let me know where exactly in the source tree i can find the defnition of struct device and also is there any tool which will search for the given structure for it's defnition . Thanks and regards, Rasshmi.N.S ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DVD image making utility, equivalent to mkisofs
Good day all! I've been trying to get mkisofs to create a DVD image for me on my FreeBSD (5.3) machine, in order to be able to burn it on Nero (Windows 2000). The utility does create an ISO image rather quickly, however when I open it with Nero, the program refuses to recognize it as a DVD image, despite the size being way over 700 MB. Here's script snipped I am using to do it. if mkisofs -V $1 -o ~/backup/$1.iso -R -J ~/mydata then echo "$1.iso was created successfully at " `date` else echo "mkisofs failed to create an ISO image!" fi Does anyone know whether there is a way to force mkisofs to create a DVD image or a different utility. Any input would be appreciated. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: not permit login simultaneously pppoe
vladone <[EMAIL PROTECTED]> writes: > I have instaled pppoed, and work well. But i want to know how is > possibil to not permit simultaneously logins? What parameter need te > setup in ppp.conf? I think some people use RADIUS to do this, but I would think you could do it with ppp(8) chat scripts. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: not permit login simultaneously pppoe
I know about radius, but is a little complicate, and i dont want to use an server for an situation seeming to be simple. I dont see any ppp chat script. If have some, please! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Glib 2.6.6 : eval: 1: Syntax error: "|" unexpected
Luchezar Petkov <[EMAIL PROTECTED]> writes: > Hello. > I'm trying to compile Glib 2.6.6 and get this error: > eval: 1: Syntax error: "|" unexpected > gmake[4]: *** [libglib-2.0.la] Error 2 > gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop in /usr/ports/devel/glib20. > -- > My /etc/make.conf : > > CFLAGS=-march=i386 -mtune=i386 -O3 -pipe -fomit-frame-pointer -funroll-loops > CXXFLAGS="$CFLAGS" > > CHOST="i686-unknown-freebsd5.4" > > FETCHCOMMAND='/usr/bin/fetch -o "${DISTDIR}/${FILE}" ${URI}' > FEATURES="-sandbox buildpkg noauto" I can't reproduce the problem. Does it occur for you with an empty make.conf? What is your system (uname -a)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OpenOffice+AMD64
Hello *, does anybody know what is the status of OpenOffice for AMD64 architecture ? Is possible to install OO in some chroot lib32 environment ? Or this cause is wasting the time for now ? Thank you. Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Internet firewall
On 2005-08-23 09:47, Dmitry Mityugov wrote: On 8/20/05, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: [Writing about the need for a firewall.] It takes about 4-5 seconds when I connect with my dialup account from home and then incoming connections start coming from spyware, trojans and misc. other scanners :-) But it is possible to set up ppp to reject all incoming requests (with nat deny_incoming set to yes IIRC). After that, the machine will be "invisible" to the outside world, even if no firewalls are configured on it. At least Shields Up! service located at https://www.grc.com/x/ne.dll?bh0bkyd2 will tell you so. That's cool! I haven't used it, but it sounds very useful at least as a preliminary aid until a _real_ packet filter is available :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: converting from FREEBSD to DRAGONFLY
On 2005-08-23 05:52, Fafa Hafiz Krantz wrote: i'm about to convert from freebsd to dragonflybsd because i appreciate a clean environment that is on the right route. i'm wondering if those who have done the same might share their experiences with me, so that my migration can become as painless as possible. You are either asking on the wrong list or deliberately throwing a flame bait. This is *NOT* a question for the freebsd-questions list, so I am kindly asking all the members to *AVOID* replying to this thread. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RELENG_6 upgrade from RELENG_5
Joel Hatton <[EMAIL PROTECTED]> writes: > Hi, > > Before I go crazy and change my RELENG_5 to 6 and resync my sources, can > someone point me at a README/UPDATING for upgraders? I'm sure I'll find > one _after_ I cvsup, but I'd like to read it first. Do "locate UPDATING" if you don't know where it's kept (src) and so then look at http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING and click on the left-most link and then the upper-left-most link. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Clipper and Foxbase Application
On 22/08/05 04:58 -0700, Michael Louie Loria wrote: > Can Clipper and Foxbase Applications run on BSD? And what are the > necessary protocols or applications needed to run the said types of > applications Hi Michael, I've had some success running old Foxpro applications using Dosbox. It's in the ports tree. You may want to check it out. Then there's dosemu, which is supposed to be better but I haven't had as much success running database applications in in. Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Security warning with sshd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 The issue he is having I had the exact same problems, as soon as I changed my config to the one below poof no more problems. You can set your firewall however you want. I was just saying what gets rid of the problem he is having with ssh. So instead of ripping apart what I have said why do you not provide a better solution to the original question asked. - -Original Message- From: Alexander Leidinger [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 3:07 AM To: Stephen Major Cc: [EMAIL PROTECTED]; 'Pat Maddox'; freebsd-security@freebsd.org; 'FreeBSD Questions' Subject: RE: Security warning with sshd Stephen Major <[EMAIL PROTECTED]> wrote: > This is due to a mis-configured firewall. If you are using IPFW there are > many tutorials out there that tell you to do the wrong thing. And almost all > of them contradict each other. Below is a basic script that only allows in > and out SSH sessions and blocks all the garbage. Of coarse you must add any > other services you need. The key here is that you allow connections from any > to any established. Then on all outgoing tcp connections be sure to use the > setup keep-state flags. The keep-state flag puts the rule into the dynamic > rules table. Then the allow connections from any to any established allows > already established connections to flow without going through the ruleset > again. When I did this the error messages you are now experiencing went > away. I'm *dis*allowing established connections in my firewall, and everything works as expected. You just need to expect the right thing. :-) "established" is a non-stateful filter rule, so it matches on the presence/absence of some TCP flags. I can't get to the ipfw statistics yet, but tere are a lot of established packets which are rejected. Needless to say that there's normal traffic (ssh, https, smtp, imaps, ...) which goes through the firewall just well. > ### check the traffic's state >$ipfwcmd $flags add 00500 check-state Here you have the statefull equivalent of the "established" rule, so every successfully setup connection ("keep-state") already passes because of this rule. >$ipfwcmd $flags add 00501 allow tcp from any to any established Here you can switch to "reject" or "deny" instead of allowing it. Everything should just continue to work (if it doesn't, most likely you forgot a "keep-state" somewhere). With this a reconfiguration of the firewall results in dropping established connections. > ## outbound section ## > > ### Allow out ssh >$ipfwcmd $flags add 02150 allow tcp from me 22 to any out via $oif > setup keep-state What are you trying to do here? Outgoing connections from ssh clients have a src port above 1024. Bye, Alexander. - -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Avoid strange women and temporary variables. -BEGIN PGP SIGNATURE- Version: PGP Desktop 9.0.1 (Build 2185) iQEVAwUBQwsTQqKXvLS903/FAQr/wgf8C6OO/3Y3iMoP4KZo3KvYD9JwcffcPtKC dU3aeiGLYNpcJstUJLQ5TqjNg7fSjhGZ9f8cz5SneLY4KUny/PNLtRIc2r6dUyJ0 Du92KyQTdh8LTnExARcyIFnFpGCn0w83SVKIhmO7Ia6kQohLH2MhTr1EwJrZtry7 enG6E9FsZuBggjw7rp1J8N/pUfeof42igmg0ZLL4A3NQfTSZA0CKl6rX93rFVgc1 dSy9AOcC5QeVKXRbnFsIj5qoxjeHQvpQwtwQ1yXq9jwndGKBP49/nZXq0Yrs1Rvb qcsmmr/FRzdDjm3oTvocroajIPsd+8AkeI3s5mmvYa9CtSBGy3IiYQ== =Z+R6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FAILURE - SETFEATURES SET TRANSFER MODE status=41
Jimmy Bäckström wrote: Alex Zbyslaw wrote: Jimmy Bäckström wrote: Hi list! I've googled and searched the mailing list archives for this but couldn't find anything useful. I just installed freebsd 5.4 on a dell PE 2850 with RAID5 (PERC). The installation goes fine and as far as I can tell it runs ok, haven't really done anything with yet though so I can be wrong, but when booting I get two messages that concerns me: ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE status=41 error=4 ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=41 error=4 and Interrupt storm detected on "irq18: uhci2"; throttling interrupt source When it comes to the ata2-master/slave errors I understand that they happen for quite a few people running later versions of freebsd? I haven't found anything on the net that points directly at my hardware specifics, it seems to happen to a lot of different drives. I'm using 4 seagate harddrives by the way. If this problem has been adressed on the list before, I apologise, I couldn't find anything about it. I appreciate any pointers and if someone wants me to post dmesg just ask. Set up two of these servers recently. We totally ignored the interrupt storm. We couldn't make it go away but it seemed to do no harm. The ata errors are froeither related to the DRAC virtual devices, or the real CD, if you have one. They seem to confuse atapicam. If you take atapicam out of the kernel the messages will go away. Your hard drives are SCSI and have nothing to do with ata. Doh! Didn't even think about the drives being SCSI. My bad. :) About atapicam, I can't find it in the kernel config, what line should I be looking for? My bad. That's what I tried to get rid of the error and it turns out, on closer inspection, that it didn't work :-( Should have checked my facts more closely! However, I am convinced that the error is not important. It is certainly not related to your disks (which is what you really care about, right?). My supposition is that it is either to do with the DRAC (do you have one?) or to the chipset used to drive the ATAPI devices. If I look at the boot log: acd0: CDRW at ata0-master PIO4 ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE status=41 error=4 ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=41 error=4 acd1: CDROM at ata2-slave BIOSPIO acd1 is the "virtual cd" provided by the DRAC and is ata2-slave. My best guess is that the virtual floppy, also provided by the DRAC, is ata2-master. Since these devices are virtual, I guess that is causing the ata code to barf somehow. However, at least the virtual CD works just fine, and I installed FreeBSD on one of the machines, from a CD that was actually loaded into a Windows host on the same network, and as far as the install process was concerned the CD was local to the Dell. It was slow, but it was so neat. The machine could, in theory, have been half a globe away and I wouldn't have needed anyone to load a CD for me! You could try taking out atapifd and see if that makes the error go away. But that might stop the virtual floppy from working. (The real floppy should still work as it's not an atapi device). Summary --- Despite the errors, all the important devices work just fine (keyboards, disks, CD, virtual CD, DRAC). I only see the interrupt storm at boot time, and although I don't like it, I'm prepared to ignore it as long as everything keeps working. --Alex PS If you have the PERC 4e controller, then you can get an interface to it from FreeBSD. See the sysutils/megarc port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portsdb -Uu duplicate entry warnings
I've been told that these messages are not a problem. But I do think that they are warnings. How can I get rid of these warnings? Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2 Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4 Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 I get these after running 'portsdb -Uu I've searched the archives but haven't found the solution. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FAILURE - SETFEATURES SET TRANSFER MODE status=41
Alex Zbyslaw wrote: Jimmy Bäckström wrote: Hi list! I've googled and searched the mailing list archives for this but couldn't find anything useful. I just installed freebsd 5.4 on a dell PE 2850 with RAID5 (PERC). The installation goes fine and as far as I can tell it runs ok, haven't really done anything with yet though so I can be wrong, but when booting I get two messages that concerns me: ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE status=41 error=4 ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=41 error=4 and Interrupt storm detected on "irq18: uhci2"; throttling interrupt source When it comes to the ata2-master/slave errors I understand that they happen for quite a few people running later versions of freebsd? I haven't found anything on the net that points directly at my hardware specifics, it seems to happen to a lot of different drives. I'm using 4 seagate harddrives by the way. If this problem has been adressed on the list before, I apologise, I couldn't find anything about it. I appreciate any pointers and if someone wants me to post dmesg just ask. Set up two of these servers recently. We totally ignored the interrupt storm. We couldn't make it go away but it seemed to do no harm. The ata errors are froeither related to the DRAC virtual devices, or the real CD, if you have one. They seem to confuse atapicam. If you take atapicam out of the kernel the messages will go away. Your hard drives are SCSI and have nothing to do with ata. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Doh! Didn't even think about the drives being SCSI. My bad. :) About atapicam, I can't find it in the kernel config, what line should I be looking for?Re: -- Vänligen/regards Jimmy Bäckström Support Crystone AB www.crystone.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fonts Question...
On 8/23/05, Eric Murphy <[EMAIL PROTECTED]> wrote: > When installing X fonts whats the best way to do this > > say I found a font I really like thats manily for windows ...the file is > called XCELI.TTF > > So I figured I could go to /usr/X11R6/lib/X11/fonts/TTF and place the file > there..then open ip xfontsel and have at it.. > > This didnt work...so my question is.. how do you install custem X fonts and > can you use windows fonts? I drop them in the TTF directory and run fc-cache. Works for me; I have ttf fonts in my fluxbox menu's etc. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
converting from FREEBSD to DRAGONFLY
hello! i'm about to convert from freebsd to dragonflybsd because i appreciate a clean environment that is on the right route. i'm wondering if those who have done the same might share their experiences with me, so that my migration can become as painless as possible. i'm particularly curious when it comes to reusing my configuration files, and how much time that must be spent readapting them to dragonflybsd: http://www.home.no/barbershop/server.rar ofcourse i am prepared to deal with this on my own. i guess that's the only way. unless somebody in here wants to pass on the help they once got, be free to do so! all the best, fafa -- Fafa Hafiz Krantz Research Designer @ http://www.bleed.no -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
what is stuck here?!
hello! how come *nothing* happens when i rm -rf directory/? it just won't move ... top from another terminal tells me: 55272 root 1160 14396K 13768K RUN 0:27 36.13% 35.40% rm what? the directory/ only contains a .maildir/, a .muttrc and an empty directory it's not an immutable flag that has been set, chflags -R nouchg directory/ stands equally still to rm -rf even chown -R user:group directory/ is still. have i been hacked? -- Fafa Hafiz Krantz Research Designer @ http://www.bleed.no User @ http://www.freebsd.org -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FAILURE - SETFEATURES SET TRANSFER MODE status=41
Jimmy Bäckström wrote: Hi list! I've googled and searched the mailing list archives for this but couldn't find anything useful. I just installed freebsd 5.4 on a dell PE 2850 with RAID5 (PERC). The installation goes fine and as far as I can tell it runs ok, haven't really done anything with yet though so I can be wrong, but when booting I get two messages that concerns me: ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE status=41 error=4 ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=41 error=4 and Interrupt storm detected on "irq18: uhci2"; throttling interrupt source When it comes to the ata2-master/slave errors I understand that they happen for quite a few people running later versions of freebsd? I haven't found anything on the net that points directly at my hardware specifics, it seems to happen to a lot of different drives. I'm using 4 seagate harddrives by the way. If this problem has been adressed on the list before, I apologise, I couldn't find anything about it. I appreciate any pointers and if someone wants me to post dmesg just ask. Set up two of these servers recently. We totally ignored the interrupt storm. We couldn't make it go away but it seemed to do no harm. The ata errors are froeither related to the DRAC virtual devices, or the real CD, if you have one. They seem to confuse atapicam. If you take atapicam out of the kernel the messages will go away. Your hard drives are SCSI and have nothing to do with ata. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Making several custom boot configurations?
I'm trying to make several different configurated systems on one FreeBSD box: different kernel parameters for each configuration, different hostname, startup scripts, network configurations, etc. Can it be done by adding some custom points to boot manager menu or altering existent ones? Thanks, Dmytro ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Security warning with sshd
Stephen Major <[EMAIL PROTECTED]> wrote: This is due to a mis-configured firewall. If you are using IPFW there are many tutorials out there that tell you to do the wrong thing. And almost all of them contradict each other. Below is a basic script that only allows in and out SSH sessions and blocks all the garbage. Of coarse you must add any other services you need. The key here is that you allow connections from any to any established. Then on all outgoing tcp connections be sure to use the setup keep-state flags. The keep-state flag puts the rule into the dynamic rules table. Then the allow connections from any to any established allows already established connections to flow without going through the ruleset again. When I did this the error messages you are now experiencing went away. I'm *dis*allowing established connections in my firewall, and everything works as expected. You just need to expect the right thing. :-) "established" is a non-stateful filter rule, so it matches on the presence/absence of some TCP flags. I can't get to the ipfw statistics yet, but tere are a lot of established packets which are rejected. Needless to say that there's normal traffic (ssh, https, smtp, imaps, ...) which goes through the firewall just well. ### check the traffic's state $ipfwcmd $flags add 00500 check-state Here you have the statefull equivalent of the "established" rule, so every successfully setup connection ("keep-state") already passes because of this rule. $ipfwcmd $flags add 00501 allow tcp from any to any established Here you can switch to "reject" or "deny" instead of allowing it. Everything should just continue to work (if it doesn't, most likely you forgot a "keep-state" somewhere). With this a reconfiguration of the firewall results in dropping established connections. ## outbound section ## ### Allow out ssh $ipfwcmd $flags add 02150 allow tcp from me 22 to any out via $oif setup keep-state What are you trying to do here? Outgoing connections from ssh clients have a src port above 1024. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Avoid strange women and temporary variables. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
error when use table option with ipfw
Hi! I try to use table option but not work. First, i use Freebsd 5.4 release. In short i have: cmd="ipfw -q" $cmd table 1 add 192.168.0.0/24 $cmd table 1 add 192.168.2.0/24 $cmd table 1 add 192.168.3.0/24 $cmd table 1 add 192.168.4.0/24 $cmd add 700 count ip from table(1) to any via $lif When i run the script i receive an error about syntax error "ipfw.sh: 78: Syntax error: "(" unexpected". I dont understand where is error? Need some compiler options to work with this option? If i give: #ipfw table 1 list i have list of entries in this table without any error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fonts Question...
When installing X fonts whats the best way to do this say I found a font I really like thats manily for windows ...the file is called XCELI.TTF So I figured I could go to /usr/X11R6/lib/X11/fonts/TTF and place the file there..then open ip xfontsel and have at it.. This didnt work...so my question is.. how do you install custem X fonts and can you use windows fonts? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: error when use table option with ipfw
On Tue, Aug 23, 2005 at 11:10:33AM +0300, vladone wrote: > Hi! > I try to use table option but not work. > First, i use Freebsd 5.4 release. > In short i have: > cmd="ipfw -q" > > $cmd table 1 add 192.168.0.0/24 > $cmd table 1 add 192.168.2.0/24 > $cmd table 1 add 192.168.3.0/24 > $cmd table 1 add 192.168.4.0/24 > > $cmd add 700 count ip from table(1) to any via $lif > > When i run the script i receive an error about syntax error "ipfw.sh: 78: > Syntax error: "(" unexpected". > I dont understand where is error? > Need some compiler options to work with this option? > If i give: > #ipfw table 1 list > i have list of entries in this table without any error. > Since this is a shell script, `(' has a special meaning to group commands for executing them in a sub-shell. To cancel a special meaning, you can prefix it with the `\' character. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer pgplCf2upFVBV.pgp Description: PGP signature
Re[2]: error when use table option with ipfw
Thanks! Work! :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: error when use table option with ipfw
$cmd add 700 count ip from table'(1)' to any via $lif Jarek --- > Hi! > I try to use table option but not work. > First, i use Freebsd 5.4 release. > In short i have: > cmd="ipfw -q" > $cmd table 1 add 192.168.0.0/24 > $cmd table 1 add 192.168.2.0/24 > $cmd table 1 add 192.168.3.0/24 > $cmd table 1 add 192.168.4.0/24 > $cmd add 700 count ip from table(1) to any via $lif > When i run the script i receive an error about syntax error > "ipfw.sh: 78: Syntax error: "(" unexpected". > I dont understand where is error? > Need some compiler options to work with this option? > If i give: > #ipfw table 1 list > i have list of entries in this table without any error. > ___ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"