When named is not available
Hi, I have a problem with named in my LAN. My notebook is sometimes attached to this network and sometimes not. Everything works well when the network cable is plugged-in. Without the network cable (same network settings), the following happens: - sendmail is waiting for timeout while booting (ok, this is actually not a big problem, just a little bit annoying) - host anyhost needs 30 seconds to return with a timeout - starting any X-application takes 2 minutes 30 seconds till it appears on the local display Remarks about X: - XFree86 is configured not to accept TCP connections - the problem above does not occur when running the X-server without a WM and with twm (affects KDE, Gnome, Xfce) Why does the resolver need 30 seconds to look up a host when named is offline? Isn't it possible to configure it to react on "no route to host" (for named's IP) correctly? Something has changed with XFree, which since recently looking up hosts (localhost?) when starting an X-application. How do I turn it off? I'm running -CURRENT (2004/07/01). Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: lame w/o lame
In the last episode (Jul 06), [EMAIL PROTECTED] said: > what happened to the 'lame' package? it's not in the FBSD packages. > can someone stick it in the packages, or state why it shouldn't be a > package? Shipping a binary mp3 encoder requires a license from Thomson. Read about it at http://www.mp3licensing.com/ -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: /rescue is huge!!
On Monday, 5 July 2004 at 23:54:05 -0400, epilogue wrote: > On Tue, 6 Jul 2004 11:41:44 +0930 > "Greg 'groggy' Lehey" <[EMAIL PROTECTED]> wrote: > >> 100 MB should be plenty of space for the root file system assuming >> that you have separate /usr and /var file systems (not something that >> I recommend, but that's what the handbook recommends). > > hello greg, > > apparently, determining how 'best' to partition a drive is a bit of an art. > because i followed the advice given in the handbook, i found my > curiosity piqued by your comment. i was wondering if you would be so kind > as to share the reasoning behind your stated view? Sure. It's stated in more detail in my book "The Complete FreeBSD", so I'll quote that. You'll note that I recommend a root file system of between 4 and 6 GB. That's what I wrote at the time; nowadays, I think 8 GB might be a better value. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. What partitions? In this example, you have 20 GB of space to divide up. How should you do it? You don't have to worry about this issue, since sysinstall can do it for you, but we'll see below why this might not be the best choice. In this section we'll consider how UNIX file systems have changed over the years, and we'll look at the issues in file system layout nowadays. When UNIX was young, disks were tiny. At the time of the third edition of UNIX, in 1972, the root file system was on a Digital RF-11, a fixed head disk with 512 kB. The system was growing, and it was no longer possible to keep the entire system on this disk, so a second file system became essential. It was mounted on a Digital RK03 with 2 MB of storage. To quote from a paper published in the Communications of the ACM in July 1974: In our installation, for example, the root directory resides on the fixed-head disk, and the large disk drive, which contains user's files, is mounted by the system initialization program... As time went on, UNIX got bigger, but so did the disks. By the early 80s, disks were large enough to put / and /usr on the same disk, and it would have been possible to merge / and /usr, but they didn't, mainly because of reliability concerns. Since that time, an additional file system, /var, has come into common use for frequently changed data, and just recently sysinstall has been changed to create a /tmp file system by default. This is what sysinstall does if you ask it to partition automatically: [Omitting PostScript image images/disk-label-default.1.ps 4i ] Figure 5-9: Default file system sizes It's relatively simple to estimate the size of the root file system, and sysinstall's value of 128 MB is reasonable. But what about /var and /tmp? Is 256 MB too much or too little? In fact, both file systems put together would be lost in the 18.7 GB of /usr file system. Why are things still this way? Let's look at the advantages and disadvantages: o If you write to a file system and the system crashes before all the data can be written to disk, the data integrity of that file system can be severely compromised. For performance reasons, the system doesn't write everything to disk immediately, so there's quite a reasonable chance of this happening. o If you have a crash and lose the root file system, recovery can be difficult. o If a file system fills up, it can cause lots of trouble. Most messages about file systems on the FreeBSD-questions mailing list are complaining about file systems filling up. If you have a large number of small file systems, the chances are higher that one will fill up while space remains on another. o On the other hand, some file systems are more important than others. If the /var file system fills up (due to overly active logging, for example), you may not worry too much. If your root file system fills up, you could have serious problems. o In single-user mode, only the root file system is mounted. With the classical layout, this means that the only programs you can run are those in /bin and /sbin. To run other programs, you must first mount the file system on which they are located. o It's nice to keep your personal files separate from the system files. That way you can upgrade a system much more easily. o It's very difficult to estimate in advance the size needs of some file systems. For example, on some systems /var can be very small, maybe only 2 or 3 MB. It's hardly worth making a separate file system for that much data. On the other hand, other systems, such as ftp or web se
lame w/o lame
what happened to the 'lame' package? it's not in the FBSD packages. can someone stick it in the packages, or state why it shouldn't be a package? thanks :) ps. please ditto replies off list, thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: GUIDE
Hi: You can follow the instructions here: http://www.silbsd.org/cvsup_instructions2.html However in step B change: # src-all tag=RELENG_4_8 # to: # src-all tag=RELENG_4_9 # I also urge you to read Section 9 of the FreeBSD handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html and section 22: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html The FreeBSD handbook is the authority on accepted admin and configuration practices. I would also suggest reading this before updating your ports collection: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html In fact the entire FreeBSD Basics series is quite good: http://www.oreillynet.com/pub/ct/15 Books I would recommend : "FreeBSD: An Open-Source OS for your PC" http://www.bsdmall.com/freebosforyo.html The Complete FreeBSD http://www.bsdmall.com/cofr.html On Tue, 06 Jul 2004 07:14:10 +0800, snoop dogg <[EMAIL PROTECTED]> wrote: > hello there, > > i have FreeBSD 4.9-RELEASE installed in my machine.. but i need to upgrade my > 4.9-RELEASE to 4.9-STABLE. any help? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT: /rescue is huge!!
On Tue, 6 Jul 2004 11:41:44 +0930 "Greg 'groggy' Lehey" <[EMAIL PROTECTED]> wrote: > 100 MB should be plenty of space for the root file system assuming > that you have separate /usr and /var file systems (not something that > I recommend, but that's what the handbook recommends). hello greg, apparently, determining how 'best' to partition a drive is a bit of an art. because i followed the advice given in the handbook, i found my curiosity piqued by your comment. i was wondering if you would be so kind as to share the reasoning behind your stated view? i know that you're a busy fellow, so feel free to ignore this message. if you are going to humour me, i won't be offended by tersely worded reply. yet another possibility is that you post your thoughts on this with the list. i'm sure that such a message would be of interest to other newbs and might even generate an interesting discussion, without (i hope) polluting the list. whichever way, thanks for your time. cheers, epi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: GUIDE
On Tue, 6 Jul 2004, snoop dogg wrote: hello there, i have FreeBSD 4.9-RELEASE installed in my machine.. but i need to upgrade my 4.9-RELEASE to 4.9-STABLE. any help? and tips on what to do? bcoz im kinda scared of kernel panic and crush thenks i need to know what file is needed to download to upgrade and commands.. exact commands.. thanks buddy's out there if ya have a time pls mail back thanks -- If you are really scared of panics and crashes, you should download the 4.10 -RELEASE cd and do a binary upgrade. If not, you will find a description in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html Good Luck, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Libpangoft Problem
Hi All Since upgrading to 4.9, and running portupgrade, I have lost several gnome-related apps. WHen I try to run (for example) planner , I get the error message /usr/libexec/ld-elf.so.1: Shared object "libpangoft2-1.0.so.200" not found I have used portupgrade, used the gnome upgrade script (gnome wont work anymore though, still hoping for an answer from freebsd-gnome) upgraded pkgconfig, gettext, pango, libexec, (using portupgrade eg portupgrade -fr pkgconfig) and cvsupped - everything that I thought might be related (not proficient enough to delve further), I have googled extensively. I can't think of anything else except a full reinstall. Before I take such a drastic step I thouht I would try here. I am using FreeBSD 4.9 on a P2 with 126MB RAM and 20 Gig HDD. Please reply to this address as I am not on the list. Thank you in advance for all replies. Regards Andy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: emails bouced to bulkmail folder
On Mon, 05 Jul 2004 15:32:01 -0600, RYAN vAN GINNEKEN <[EMAIL PROTECTED]> wrote: > Need some info on the what the large email severs ie Yahoo and Hotmail > use to determine if email is spam. I run a small email server with > about 30 clients and when i send email to yahoo it gets bounced to the > bulk mail folder like in my maillog below. I'm no expert, maybe you can try relaying all your email through your isp's smtp servers instead of talking to yahoo yourself. Just adding a value for relayhost in postfix should do it. Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS Seems to Freeze
On 06-Jul-2004 Thomas Moyer wrote: > I have an NFS server set up that I have /home exported. When the one > client connects it seems to pause for 30 secs to 1 min at a time and > then all of a sudden just goes again. Any ideas where I can start > troubleshooting? Not really, but I can tell you that most of my NFS troubles ended when I started using TCP-only NFS (as opposed to UDP). You may want to give it a try. -- Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portsdb -Uu error
Hi everyone, I have just cvsupped successfully and tried to run portsdb -Uu. I received the following error: _ freebsd# portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait..fr-mozilla-flp-1.7: "/usr/ports/www/mozilla-gtk2" non-existent -- dependency list incomplete ===> french/mozilla-flp failed *** Error code 1 1 error Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection (INDEX builds are not supported with partial or out-of-date ports collections). If so, then report the failure to [EMAIL PROTECTED] together with relevant details of your ports configuration (including FreeBSD version, environment and /etc/make.conf settings). *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error __ I have FreeBSD 4.10, I cvsup to RELENG_4_10 and refuse nothing. freebsd# uname -a FreeBSD freebsd.home.com 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Fri May 28 21:00:30 GMT 2004 This is my cvs-supfile: _ # $FreeBSD: src/share/examples/cvsup/cvs-supfile,v 1.26.2.11 2003/09/12 19:01:13 ceri Exp $ *default host=cvsup.au.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default tag=RELENG_4_10 *default release=cvs *default delete use-rel-suffix *default compress src-all ports-all tag=. doc-all tag=. ___ This is my /etc/make.conf file: _ #make.conf file contains options for rebuilding the system and ports from source #Copied from tutorial: Turn FreeBSD into a Multimedia Workstation by Dru Lavigne # CPUTYPE=p3 CFLAGS= -O -pipe CXXFLAGS+= -funroll-loops COPTFLAGS= -O -pipe # #To avoid building various parts of the base system: NO_BIND=true# do not build BIND NO_FORTRAN= true# do not build g77 and related libraries NO_I4B= true# do not build isdn4bsd package NOPROFILE= true# Avoid compiling profiled libraries NOUUCP= true# do not build uucp related programs DOC_LANG= en_US.ISO8859-1 # USA_RESIDENT= YES __ Does anyone know if this is a problem with french/mozilla-flp or a problem with my setup? Do you need more info? Thanks for your help. Ron Please CC me as I am not subscribed to the list on this address ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hard drive problem... S-ATA/ATA and DMA error messages
--- Warren Block <[EMAIL PROTECTED]> wrote: > On Tue, 6 Jul 2004, Rickard [ISO-8859-1] Borgmäster > wrote: > > > atapci1: port > 0xfc00-0xfc0f at device 15.1 on > > pci0 > > ata0: at 0x1f0 irq 14 on atapci1 > > ata1: at 0x170 irq 15 on atapci1 > > [...] > > ad0: 156334MB [317632/16/63] at > ata0-master UDMA133 > > ad4: DMA limited to UDMA33, non-ATA66 cable or > device > > ad4: 152627MB [310101/16/63] at > ata2-master UDMA33 > > > > How come FreeBSD kernel thinks my S-ATA disk is > only capable of UDMA/33? > > FreeBSD 4.x doesn't have specific support for the > VIA 8237, and so > doesn't properly realize that it should be able to > do the faster DMA > modes. > > > Next thing is that I today tried to move ~70GB of > data from ad0 > > (ATA/UDMA133) to ad4 (S-ATA) disk. During the cp > process I got these > > messages: > > Jul 5 15:13:18 studsboll /kernel: > ad0s1e: hard error reading > > fsbn 390440063 of 19522-195220255 (ad0s1 bn > 390440063; cn 24303 tn 196 > > sn 20) trying PIO mode > > Jul 5 15:13:18 studsboll /kernel: > ad0: DMA problem fallback > > to PIO mode > > My MSI motherboard with the same VIA 8237 does the > same thing. > > -CURRENT (5.x) does have support for SATA, and may > (probably does) > work with the 8237. (I haven't tried it on this > motherboard.) > > -Warren Block * Rapid City, South Dakota USA> ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > Should this be issued as a PR? According to the hardware notes for 4.10: http://www.freebsd.org/releases/4.10R/hardware-i386.html "VIA 8233, 8235 ATA133, 8237 SATA150". Pete = ESCape with VI. Cheese A La mode. __ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: user account woes
On Tue, Jul 06, 2004 at 02:55:47AM +0100, Richard Bradley wrote: > Hi, > > I have a phantom user stuck in my system that I can neither use nor delete. I > have been playing with "Virtual Users" in "pure-ftpd" and it seems to have > messed things around. [...] > If I delete the entry from /etc/passwd, the cycle starts again. Use "vipw" to edit the file and it will work. -- Jonathan Chen <[EMAIL PROTECTED]> -- The Internet: an empirical test of the idea that a million monkeys banging on a million keyboards can produce Shakespeare ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
After further investigation
After sifting through the logs on the NFS client I've noticed that each time the NFS server stops responding the error a couple of seconds before is sk0: Watchdog timeout then several iterations of NFS server not responding...NFS server is alive again. I'm thinking this is a problem with by NIC not the server. Also the server is connected to my desktop computer through a serial console and I noticed in the log several tty overflows. My questions are ... is my NFS freeze caused by the timeouts on the client and if I lower the speed on the serial console will I eliminate the errors. The current speed I've been using is 115200. I'm thinking that I should go back to the default of 9600. Any reccomendations? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /rescue [may or may not have actually been] huge!!
On Tuesday 06 July 2004 3:11 am, you wrote: > On Tuesday, 6 July 2004 at 2:59:08 +0100, Richard Bradley wrote: > > On Tuesday 06 July 2004 2:36 am, Dan Nelson wrote: > >> Check the inode number of each file in /rescue (ls -li /rescue). > >> You'll notice they're all the same, which means they're all hardlinks > >> to the same file. "du /rescue" should report under 4MB. > >> > >> Your space is probably being taken up somewhere else. > > > > That's very strange if true, because since deleting the "/rescue" > > folder, > > I'm a little irritated by the use of the term "folder". Do you mean > mail? /rescue is a directory. Yes, I mean directory. I switch between unix and the other OS family and sometimes get sloppy with my terminology. Apologies. > > > the used space on / has gone from 550Mb+ to 129Mb. > > How do you measure this? If you created a 100 MB partition or > thereabouts, you can't store 550 MB in it. I measured this using kdf. The partition size is 512Mb. I was unable to write to the partition, and df was reporting 120% disk usage. Since I rm'ed the / rescue directory, kdf reports 23% disk usage and I can write to the partition. I thought that all the space was being used by /rescue, because kdirstat reported the size of the directory at ~400Mb, but after some experimentation, it appears kdirstat counts multi-linked files once for each link, so the directory may not have been taking up all that space. Regardless of the accuracy of kdf and kdirstat, I did receive a "disk full" message from "pw" on a partition which now has 380Mb free, so something funny is going on... > 100 MB should be plenty of space for the root file system assuming > that you have separate /usr and /var file systems (not something that > I recommend, but that's what the handbook recommends). I'd guess that > you've made some mistake somewhere and have been confused by the > concept of links. I have almost certainly made a mistake somewhere, but my goal is to find out what and not to repeat it. Things seem to be ok now (apart from I have no rescue dir). As far as I can tell, I understand links, but one can rarely know what one doesn't know ;-) Regards, Rich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /rescue is huge!!
On Tuesday, 6 July 2004 at 2:59:08 +0100, Richard Bradley wrote: > On Tuesday 06 July 2004 2:36 am, you wrote: >> In the last episode (Jul 06), Richard Bradley said: >>> I recently tried to add a user to my FreeBSD box, but was amazed to >>> find that the / partition was full! I had a look, and the culprit is >>> the "/rescue" folder, holding 135 statically linked binaries of >>> nearly 4Mb each, giving a folder size of 491Mb! >> >> Check the inode number of each file in /rescue (ls -li /rescue). >> You'll notice they're all the same, which means they're all hardlinks >> to the same file. "du /rescue" should report under 4MB. >> >> Your space is probably being taken up somewhere else. > > That's very strange if true, because since deleting the "/rescue" > folder, I'm a little irritated by the use of the term "folder". Do you mean mail? /rescue is a directory. > the used space on / has gone from 550Mb+ to 129Mb. How do you measure this? If you created a 100 MB partition or thereabouts, you can't store 550 MB in it. > I can't check the inodes now, as I have `rm`ed them all! The thing to do next time is: # ls -il /rescue total 460 664332 -r-xr-xr-x 135 root wheel 3554248 May 8 12:43 [ 664332 -r-xr-xr-x 135 root wheel 3554248 May 8 12:43 atacontrol 664332 -r-xr-xr-x 135 root wheel 3554248 May 8 12:43 atm 664332 -r-xr-xr-x 135 root wheel 3554248 May 8 12:43 atmconfig The first column in this list is the inode number; the third is the number of links. Looking at the size, we see: # du -sk /rescue 3502/rescue 100 MB should be plenty of space for the root file system assuming that you have separate /usr and /var file systems (not something that I recommend, but that's what the handbook recommends). I'd guess that you've made some mistake somewhere and have been confused by the concept of links. Briefly, UNIX files consist of an metadata (which describes the file) and the data of the file itself. The metadata does *not* include the name; it's accessed by number. The name is stored in the directory, which is like a phone book: it contains a name and a number, in this case file name and inode number. Like a phone book, more than one name can have the same number. That's what you're seeing here; the link count just states how many names refer to this inode. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgpoLPUjbnpth.pgp Description: PGP signature
Re: /rescue is huge!!
In the last episode (Jul 06), Richard Bradley said: > On Tuesday 06 July 2004 2:36 am, you wrote: > > In the last episode (Jul 06), Richard Bradley said: > > > I recently tried to add a user to my FreeBSD box, but was amazed > > > to find that the / partition was full! I had a look, and the > > > culprit is the "/rescue" folder, holding 135 statically linked > > > binaries of nearly 4Mb each, giving a folder size of 491Mb! > > > > Check the inode number of each file in /rescue (ls -li /rescue). > > You'll notice they're all the same, which means they're all > > hardlinks to the same file. "du /rescue" should report under 4MB. > > > > Your space is probably being taken up somewhere else. > > That's very strange if true, because since deleting the "/rescue" > folder, the used space on / has gone from 550Mb+ to 129Mb. I can't > check the inodes now, as I have `rm`ed them all! If at some point you had copied /rescue with cp (instead of a tar pipe or something else that preserves hardlinks), you would have gotten a separate file for each link. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /rescue is huge!!
On Tuesday 06 July 2004 2:36 am, you wrote: > In the last episode (Jul 06), Richard Bradley said: > > I recently tried to add a user to my FreeBSD box, but was amazed to > > find that the / partition was full! I had a look, and the culprit is > > the "/rescue" folder, holding 135 statically linked binaries of > > nearly 4Mb each, giving a folder size of 491Mb! > > Check the inode number of each file in /rescue (ls -li /rescue). > You'll notice they're all the same, which means they're all hardlinks > to the same file. "du /rescue" should report under 4MB. > > Your space is probably being taken up somewhere else. > That's very strange if true, because since deleting the "/rescue" folder, the used space on / has gone from 550Mb+ to 129Mb. I can't check the inodes now, as I have `rm`ed them all! Rich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
user account woes
Hi, I have a phantom user stuck in my system that I can neither use nor delete. I have been playing with "Virtual Users" in "pure-ftpd" and it seems to have messed things around. Substituting `bob` for the user name, here is some of my command line: # grep bob /etc/passwd /etc/pwd.db # pw add user lindalepark pw: user 'bob' already exists # grep lindale /etc/passwd /etc/pwd.db /etc/passwd:lindalepark:*:1003:1003:User &:/home/lindalepark:/bin/sh # pw del user bob pw: no such user `bob' If I delete the entry from /etc/passwd, the cycle starts again. Any hints? Rich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /rescue is huge!!
In the last episode (Jul 06), Richard Bradley said: > I recently tried to add a user to my FreeBSD box, but was amazed to > find that the / partition was full! I had a look, and the culprit is > the "/rescue" folder, holding 135 statically linked binaries of > nearly 4Mb each, giving a folder size of 491Mb! Check the inode number of each file in /rescue (ls -li /rescue). You'll notice they're all the same, which means they're all hardlinks to the same file. "du /rescue" should report under 4MB. Your space is probably being taken up somewhere else. > What is going on here? I read the "rescue" manpage, and while it > might be a nice thing to fall back on, I can't justify it over being > able to add user accounts. You missed this section: The /rescue tools are compiled using crunchgen(1), which makes them considerably more compact than the standard utilities. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
/rescue is huge!!
Hi everyone, I recently tried to add a user to my FreeBSD box, but was amazed to find that the / partition was full! I had a look, and the culprit is the "/rescue" folder, holding 135 statically linked binaries of nearly 4Mb each, giving a folder size of 491Mb! The Handbook says that "100 MB is a reasonable size for this filesystem. You will not be storing too much data on it, as a regular FreeBSD install will put about 40 MB of data here." (§ 2.5.5). I gave my root partition what I thought was a generous 512Mb. What is going on here? I read the "rescue" manpage, and while it might be a nice thing to fall back on, I can't justify it over being able to add user accounts. Should I just delete this lot? Should I have a bigger / partition? Is the handbook out of date in this respect? (/rescue was added in 5.2) All comments welcome... Rich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what pop deamon to use with postfix ?
In the last episode (Jul 05), Brent Bailey said: > Im using FBSD 4.9 ..trying to get postfix running to replace a > sendmail server we have ..i then noticed that there isnt any pop > deamon to connect to ..what is the recommendation from freebsd users > as to what pop deamon is best ? Use whichever one you want. Your choice of MTA doesn't affect the programs that end up reading the mailboxes. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS Seems to Freeze
I have an NFS server set up that I have /home exported. When the one client connects it seems to pause for 30 secs to 1 min at a time and then all of a sudden just goes again. Any ideas where I can start troubleshooting? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
increase / decrease the securelevel without boot
i saw somewhere a fix to apply into /usr/src to allow increase and decrease the securelevel without booting but i don't know where's the page cause i didn't mark it :( the reason that i need this is for chflag .. basicly cause im working creating jail enviroments .. and when user cancel the jail .. i got a bunch of files with chflags that i gotta remove .. and with securelevel=1 .. the chflags gives permission denied even with noschg ..with superuser over the primary ip .. well if anybody know's where's the page that includes this patch would help me a bunch thx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hard drive problem... S-ATA/ATA and DMA error messages
On Mon, 5 Jul 2004 18:35:52 -0600 (MDT) Warren Block <[EMAIL PROTECTED]> hit the keyboard and punched: > FreeBSD 4.x doesn't have specific support for the VIA 8237, and so > doesn't properly realize that it should be able to do the faster DMA > modes. > > My MSI motherboard with the same VIA 8237 does the same thing. > > -CURRENT (5.x) does have support for SATA, and may (probably does) > work with the 8237. (I haven't tried it on this motherboard.) Doh! Should have checked that before... now I'm stuck with a system that more or less freezes during high-load disk operations :- Any workarounds? -- Rickard .--..--. .. | || | .-. | Rickard Borgmäster | | || |/ / | [EMAIL PROTECTED] | .-^ | .--. | < | http://doktorn.sub.nu/ | ( o | ( () ) | |\ \ `' `-' `--' `--' `--' ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hard drive problem... S-ATA/ATA and DMA error messages
On Tue, 6 Jul 2004, Rickard [ISO-8859-1] Borgmäster wrote: atapci1: port 0xfc00-0xfc0f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 [...] ad0: 156334MB [317632/16/63] at ata0-master UDMA133 ad4: DMA limited to UDMA33, non-ATA66 cable or device ad4: 152627MB [310101/16/63] at ata2-master UDMA33 How come FreeBSD kernel thinks my S-ATA disk is only capable of UDMA/33? FreeBSD 4.x doesn't have specific support for the VIA 8237, and so doesn't properly realize that it should be able to do the faster DMA modes. Next thing is that I today tried to move ~70GB of data from ad0 (ATA/UDMA133) to ad4 (S-ATA) disk. During the cp process I got these messages: Jul 5 15:13:18 studsboll /kernel: ad0s1e: hard error reading fsbn 390440063 of 19522-195220255 (ad0s1 bn 390440063; cn 24303 tn 196 sn 20) trying PIO mode Jul 5 15:13:18 studsboll /kernel: ad0: DMA problem fallback to PIO mode My MSI motherboard with the same VIA 8237 does the same thing. -CURRENT (5.x) does have support for SATA, and may (probably does) work with the 8237. (I haven't tried it on this motherboard.) -Warren Block * Rapid City, South Dakota USA___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A few simple questions(...if you don't mind)
On Mon, 5 Jul 2004 23:58:22 +0300 Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On 2004-07-05 09:23, Mark Jayson Alvarez <[EMAIL PROTECTED]> wrote: > > > > 1. What is the command for ejecting the cdrom? > > # cdcontrol -f /dev/acd0 eject > > The `cdcontrol' command works fine with my ATAPI CD-ROMs. I haven't > used it with SCSI CD-ROM devices, but AFAIK it works for those too. Works nicely with those too :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: GUIDE
On Tue, 06 Jul 2004 07:14:10 +0800 "snoop dogg" <[EMAIL PROTECTED]> wrote: > hello there, > > i have FreeBSD 4.9-RELEASE installed in my machine.. but i need to > upgrade my 4.9-RELEASE to 4.9-STABLE. any help? and tips on what to do? > bcoz im kinda scared of kernel panic and crush thenks i need to know what > file is needed to download to upgrade and commands.. exact commands.. > thanks buddy's out there if ya have a time pls mail back thanks -- you want to read the handbook, paying close attention to the sections which deal with cvsup and make world. all the info is there and it is clearly written. there is a copy of the handbook on your machine and also one on the freebsd website. you can also google for this information. there are many tutorials out there. just be careful not to skip any of the steps recommended in handbook. shortcuts can backfire, even if they're in a tutorial you find somewhere on the net. hope this helps. > __ > Check out the latest SMS services @ http://www.linuxmail.org > This allows you to send and receive SMS through your mailbox. > > > Powered by Outblaze > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Swap size
Lists <[EMAIL PROTECTED]> wrote: > Hello all, > > What swap size should i use having 768 Mb of memory? > I've heard something about preformance degradation if > swap size is bellow 2x of ram... Other's have pointed out that you don't _need_ swap space. If you have enough RAM, you can operate without it. However, if you need to do kernel core dumps (in the even you run into kernel panic problems) you will need at least as much swap space as you have RAM, plus a little. Additionally, if your machine ever does start to swap, FreeBSD's VM code _is_ optimized on the assumption that you have 2x your RAM in swap. If the machine starts to swap, you will get the best performance under all loads (including _heavy_ swapping) if you have 2x RAM in swap. However, FreeBSD still performs nicely with less swap than that. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cron.daily and cron.hourly
On Mon, 5 Jul 2004 16:45:27 +0200, Taulant Galimuna <[EMAIL PROTECTED]> wrote: > Hi, > > I had a problem with my web-server that I already solved. But now I have to > execute a PHP file on my FreeBSD server every hour, to get the needed > updates from database. > > I know I need a shell script to execute that file and have to put this > script to some directory that would execute it every hour. > > In linux it is appeared to be at /etc/cron.hourly Run: # crontab -e Add: 0 * * * * /path/to/your/script The manpage should give more details... Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
GUIDE
hello there, i have FreeBSD 4.9-RELEASE installed in my machine.. but i need to upgrade my 4.9-RELEASE to 4.9-STABLE. any help? and tips on what to do? bcoz im kinda scared of kernel panic and crush thenks i need to know what file is needed to download to upgrade and commands.. exact commands.. thanks buddy's out there if ya have a time pls mail back thanks -- __ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A few simple questions(...if you don't mind)
On Mon, 5 Jul 2004 11:24:24 -0600 Nathan Kinkade <[EMAIL PROTECTED]> wrote: > > 7. What is the correct way of rebuilding my ports? In > > freebsd sources, I do a make buildworld and then make > > installworld. How do I do it in my ports collection? > > (e.g; make buildports, make installports??? :-) > > What you probably want is the port called "portupgrade": > sysutils/portupgrade. Install it then check out the man page. Probally not a good answer... I think they want to man ports :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hard drive problem... S-ATA/ATA and DMA error messages
Hi, Having recently upgraded my motherboard to a brand new Asus P4V8X-X with S-ATA and added an S-ATA disk I experience some problems I find kind of weird. System is installed on 160MB S-ATA disk ad4 and my previous 160 ATA/UDMA133 is on ad0 mounted as /big. Booting up, dmesg gives me this confusing message: atapci1: port 0xfc00-0xfc0f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 [...] ad0: 156334MB [317632/16/63] at ata0-master UDMA133 ad4: DMA limited to UDMA33, non-ATA66 cable or device ad4: 152627MB [310101/16/63] at ata2-master UDMA33 How come FreeBSD kernel thinks my S-ATA disk is only capable of UDMA/33? The S-ATA disk is connected to the motherboard by it's own S-ATA cable, thus not the problem of two disks with different speeds on same cable. Beeing new to S-ATA I may have misunderstood things, but the way I see it, the S-ATA bus and regular ATA bus is isolated and should not bother eachofter, right? Next thing is that I today tried to move ~70GB of data from ad0 (ATA/UDMA133) to ad4 (S-ATA) disk. During the cp process I got these messages: Jul 5 15:13:18 studsboll /kernel: ad0s1e: hard error reading fsbn 390440063 of 19522-195220255 (ad0s1 bn 390440063; cn 24303 tn 196 sn 20) trying PIO mode Jul 5 15:13:18 studsboll /kernel: ad0: DMA problem fallback to PIO mode Jul 5 15:13:18 studsboll last message repeated 6 times Jul 5 15:13:21 studsboll /kernel: ad0s1e: hard error reading fsbn 390440175 of 19522-195220255 (ad0s1 bn 390440175; cn 24303 tn 198 sn 6) status=59 error=40 Jul 5 15:13:24 studsboll /kernel: ad0s1e: hard error reading fsbn 390440271 of 195220096-195220255 (ad0s1 bn 390440271; cn 24303 tn 199 sn 39) status=59 error=40 Jul 5 15:13:27 studsboll /kernel: ad0s1e: hard error reading fsbn 390440271 of 195220096-195220223 (ad0s1 bn 390440271; cn 24303 tn 199 sn 39) status=59 error=40 Jul 5 16:34:39 studsboll /kernel: ad0s1e: hard error reading fsbn 228774239 of 114387008-114387263 (ad0s1 bn 228774239; cn 14240 tn 137 sn 8) status=59 error=40 Jul 5 16:34:42 studsboll /kernel: ad0s1e: hard error reading fsbn 228774271 of 114387040-114387263 (ad0s1 bn 228774271; cn 14240 tn 137 sn 40) status=59 error=40 Jul 5 16:34:44 studsboll /kernel: ad0s1e: hard error reading fsbn 228774399 of 114387168-114387263 (ad0s1 bn 228774399; cn 14240 tn 139 sn 42) status=59 error=40 Jul 5 16:34:47 studsboll /kernel: ad0s1e: hard error reading fsbn 228774399 of 114387168-114387263 (ad0s1 bn 228774399; cn 14240 tn 139 sn 42) status=59 error=40 There are 2 different errors here. First we have a "hard reading error" and then "DMA problem". The DMA problem, at ad0 (ATA/UDMA133 disk, weird enough) tells me that I might be wrong about that S-ATA and regular ATA disk does not bother eachother. Someone please explain this... the disk has been working 100% fine on my old motherboard afaik. The "hard reading error" is supposed to be about damaged sectors on the disk. Is it always like that, or could the errors come from some kind of bus error, ie same source of problems as the UDMA errors? The disk is rather new and shouldn't have broken sectors. I suppose. I'd really like som kind of tip on where to start. At the moment I can't think of anything that's wrong. Complete dmesg follows: Copyright (c) 1992-2004 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 4.10-STABLE #1: Wed Jun 2 21:26:45 CEST 2004 root@:/usr/obj/usr/src/sys/STUDSBOLL Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Celeron(R) CPU 2.80GHz (2799.93-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff real memory = 536018944 (523456K bytes) avail memory = 516935680 (504820K bytes) Preloaded elf kernel "kernel" at 0xc0481000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 10 entries at 0xc00f5a40 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe000-0xe3ff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pci1: at 0.1 ahc0: port 0xed00-0xedff mem 0xdfb0-0xdfb00fff irq 3 at device 11.0 on pci0 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xdfd0-0xdfd0007f irq 10 at device 13.0 on pci0 xl0: Ethernet address: 00:01:02:fa:84:31 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci0: port 0xe800-0xe8ff,0xef90-0xef9f,0xefa8-0xefab,0xefa0-0xefa7,0xefac-0xefaf,0xe fe0-0xefe7 irq 10 at device 15.0 on pci0 ata2: at 0xefe0 on atapci0 ata3: at 0xefa0 on atapci0 atapci1: port 0xfc00-0xfc0f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 uhci0: port 0xeec0-0xeedf
Re: GENERIC fails to compile
On Mon, Jul 05, 2004 at 04:33:39PM -0500, Stelian Popescu-Crainic wrote: > Hello, > > After upgrading from 4.9 to 4.10 and upgrading the sources via CVSup, I've > tried to recompile the kernel (I need appletalk which is not included in the > GENERIC configuration) with make buildkernel etc.. After several attempts, > including one using the "traditional" way, with the same results, I've tried > to recompile GENERIC. The output was the same: > > " /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In > function `send_ip': > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1325: > void value not ignored as it ought to be > *** Error code 1 This was recently fixed in 4-STABLE. In general, if you choose to go with the -STABLE sources, you need to subscribe to the freebsd-stable list to keep up with any gotchas. If you cvsup again, your problem will have gone away. Cheers. -- Jonathan Chen <[EMAIL PROTECTED]> --- "I love deadlines. I like the whooshing sound they make as they fly by" - Douglas Adams ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
what pop deamon to use with postfix ?
Im using FBSD 4.9 ..trying to get postfix running to replace a sendmail server we have ..i then noticed that there isnt any pop deamon to connect to ..what is the recommendation from freebsd users as to what pop deamon is best ? -- Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
what pop deamon to use with postfix ?
Im using FBSD 4.9 ..trying to get postfix running to replace a sendmail server we have ..i then noticed that there isnt any pop deamon to connect to ..what is the recommendation from freebsd users as to what pop deamon is best ? -- Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: making files opposite from themselves (100% change)
On Mon, 5 Jul 2004 22:59:55 +0200 Miguel Mendez <[EMAIL PROTECTED]> wrote: > The xor operation of a byte/word/dword with itself does that. You > could setup a buffer of the desired % of bytes you want to change, > read the bytes, xor them (^ in C) with itself and write back. It's > trivial in C/Perl/python/whathaveyou. This, of course, is supposed to read : the bitwise not operation. Never post before coffee. Cheers, -- Miguel Mendez <[EMAIL PROTECTED]> http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgpmBWVRdzraH.pgp Description: PGP signature
GENERIC fails to compile
Hello, After upgrading from 4.9 to 4.10 and upgrading the sources via CVSup, I've tried to recompile the kernel (I need appletalk which is not included in the GENERIC configuration) with make buildkernel etc.. After several attempts, including one using the "traditional" way, with the same results, I've tried to recompile GENERIC. The output was the same: " /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In function `send_ip': /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1325: void value not ignored as it ought to be *** Error code 1 Stop in /usr/src/sys/modules/ipfilter. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. " I had to revert to kernel.prev. Here's the output of dmesg: "Copyright (c) 1992-2003 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 4.9-RELEASE #0: Fri Apr 9 17:12:06 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/XPSRV Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Pentium(R) 4 CPU 1.90GHz (1917.08-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf12 Stepping = 2 Features=0x3febfbff real memory = 536854528 (524272K bytes) avail memory = 518209536 (506064K bytes) Preloaded elf kernel "kernel" at 0xc0412000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc041209c. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f1760 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pcib2: at device 30.0 on pci0 pci2: on pcib2 bge0: mem 0xf380-0xf380 irq 3 at device 10.0 on pci2 bge0: Ethernet address: 00:04:76:f8:d5:29 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto xl0: <3Com 3c980C Fast Etherlink XL> port 0xd800-0xd87f mem 0xf300-0xf37f irq 5 at device 11.0 on pci2 xl0: Ethernet address: 00:04:75:d0:3b:eb miibus1: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: <3Com 3c980C Fast Etherlink XL> port 0xd400-0xd47f mem 0xf280-0xf280007f irq 7 at device 12.0 on pci2 xl1: Ethernet address: 00:04:75:d0:33:47 miibus2: on xl1 xlphy1: <3c905C 10/100 internal PHY> on miibus2 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl2: <3Com 3c980C Fast Etherlink XL> port 0xd000-0xd07f mem 0xf200-0xf27f irq 9 at device 13.0 on pci2 xl2: Ethernet address: 00:04:75:d0:39:eb miibus3: on xl2 xlphy2: <3c905C 10/100 internal PHY> on miibus3 xlphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl3: <3Com 3c905B-TX Fast Etherlink XL> port 0xb800-0xb87f mem 0xf180-0xf180007f irq 10 at device 14.0 on pci2 xl3: Ethernet address: 00:01:02:67:a9:b5 miibus4: on xl3 xlphy3: <3Com internal media interface> on miibus4 xlphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xa800-0xa80f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xa400-0xa41f irq 12 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xa000-0xa01f irq 5 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered orm0: at iomem 0xc-0xc97ff on isa0 pmtimer0 on isa0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> ad0: 14598MB [29660/16/63] at ata0-master UDMA66 acd0: CD-RW at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a bge0: gigabit link up" Any help would be appreciated. Thanks, Stelian Popescu Crainic ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
emails bouced to bulkmail folder
Need some info on the what the large email severs ie Yahoo and Hotmail use to determine if email is spam. I run a small email server with about 30 clients and when i send email to yahoo it gets bounced to the bulk mail folder like in my maillog below. Jul 5 15:30:19 v22 postfix/smtp[14316]: starting TLS engine Jul 5 15:30:19 v22 postfix/smtp[14316]: C52C23C9: to=<[EMAIL PROTECTED]>, relay=mx2.mail.yahoo.com[64.156.215.8], delay=1, status=sent (250 ok dirdel) Read somewhere that they do a reverse lookup on your ip address for a host name. here is my info for reverse lookup for the ip 209.115.173.22 Non-authoritative answer: 22.173.115.209.in-addr.arpa name = mail1.computerking.ca. Authoritative answers can be found from: 173.115.209.in-addr.arpa nameserver = toad.spots.ab.ca. 173.115.209.in-addr.arpa nameserver = cheetah.spots.ab.ca. toad.spots.ab.ca internet address = 209.115.174.3 cheetah.spots.ab.ca internet address = 209.115.174.2 looking forward for computerking.ca Server: ns1.kloth.net Address: 213.133.98.149#53 Non-authoritative answer: Name: computerking.ca Address: 209.115.173.22 computerking.ca mail exchanger = 10 mail1.computerking.ca. computerking.ca mail exchanger = 20 mail1.shoemasters.computerking.ca. computerking.ca mail exchanger = 30 mail1.highcoup.ca. computerking.ca origin = computerking.ca. mail addr = root.computerking.ca. serial = 2004062001 refresh = 10800 retry = 3600 expire = 604800 minimum = 3600 computerking.ca nameserver = ns1.shoemasters.computerking.ca. computerking.ca nameserver = ns1.computerking.ca. computerking.ca nameserver = ns1.highcoup.ca. Authoritative answers can be found from: computerking.ca nameserver = ns1.highcoup.ca. computerking.ca nameserver = ns1.shoemasters.computerking.ca. computerking.ca nameserver = ns1.computerking.ca. mail1.computerking.ca internet address = 209.115.173.22 mail1.shoemasters.computerking.ca internet address = 68.144.231.38 Does it have something to do with the fact that my ISP is running the NS for reverse lookup and my own nameservers take care of things for forward lookups. Should i see if i can run my own nameservers for reverse lookup as well. What is it that yahoo does not like about my setup. please someone help me i do not know what could be wrong and have switched ISP's to try and solve this problem but so far it has not worked. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A few simple questions(...if you don't mind)
On 2004-07-05 20:01, Phil Schulz <[EMAIL PROTECTED]> wrote: > Mark Jayson Alvarez wrote: > >2. Do you know if viruses exist in freebsd, like in Windows? > > I believe there used to be some viri for Unix-like OSs, but they are all > pretty much harmless since they aren't usually found 'in the wild'. > A quick search on www.viruslibrary.com gave me one match [1] - maybe > someone else can comment that. A lot of the links of the Unix virus page fail with 404. One that works is, I'm afraid, hilarious in its lack of detail and vagueness. : Linux.Diesel : : This is a relatively harmless, non-memory resident parasitic : virus. It searches for Linux executable files in system directories : and subdirectories, then writes itself to the middle of the : file. Before searching files, the virus reads its code from the host : file. It moves the original bytes to the end of the file and : increases the size of the previous section. Nobody said I'd give permission to anyone to write to my files. How would that ever happen? I don't work as root, most of the time: : [EMAIL PROTECTED]:~$ ac -p : sysop 24.27 : giorgos221.31 : root 0.00 : total 245.59 : [EMAIL PROTECTED]:~$ The `sysop' user is exactly the same as `root' with GNU bash as the login shell. The `root' user still has tcsh(1) as usual, and has obviously remained unused for months. I don't see how a Linux virus like Linux.Diesel whose distribution and infection methods are (carefully?) kept secret would be able to mess with my files. Remember, this is not Windows, where everything is free and you have to share your personal data with the world :P In short, I've heard of no viruses that affect BSDs during the last 7-8 years that I'm using a BSD Unix at home and work. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: making files opposite from themselves (100% change)
On 2004-07-05 13:55, Joe Schmoe <[EMAIL PROTECTED]> wrote: > So the question is, how do I take a given file and make it 100% > different from itself (but maintain its size and place on disk) ? > I could just output /dev/zero to it, but that would leave unchanged > all the bits that were aleady zero. Use an algorithm similar to the one shown below as a Perl script, to pick a certain percentage of the bytes within a file, and at those offsets chosen by this algorithm, use XOR with 0xFF or a random value to alter the value of only the given percentage of bytes. : #!/usr/bin/perl -w : : use strict; : my ($filesize, $percent, $k, $nparts, $partlen); : : die "usage: foo.pl FILESIZE PERCENT" : unless ($#ARGV == 1); : : $filesize = $ARGV[0]; : $percent = $ARGV[1] % 100; : : $nparts = int(($percent * $filesize) / 100); : $partlen = int($filesize / $nparts); : : srand (time ^ $$ ^ unpack "%L*", `ps axww | gzip`); : : print "offsets:"; : for ($k = 0; $k < $nparts; $k++) { : my $tmp = int(rand($partlen)); : my $nbyte = ($tmp + $k * $partlen); : print " $nbyte" : } : print "\n"; > So how do I flip the bits of an entire file ? That's even easier: : for each byte: : xor(byte, 0xFF); HTH, Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB Question/Concern
Hello All, I've been using FreeBSD at work to develop some USB hardware. I'm using FreeBSD 5.1-RELEASE on a 550MHz PIII with a UHCI USB controller. While I was in the lab a couple of weeks ago I was getting slow performance with FreeBSD. I tried changing many things in my device's firmware to see if I could fix it. None of them did. (The same device works fine on Win2K, BTW) You can check www.blindbox.com/usb/usbcomp.html for a bit more detailed description. It seems to me that the FreeBSD driver "skips" a USB frame every so often. I wanted to check with someone to see if this was a common problem. The FAQ said if in doubt where to ask, ask on freebsd-questions. So, Does the FreeBSD UHCI driver suffer from slow performance for anyone else? or has this been fixed since 5.1-RELEASE? Thanks, Mark Turpin (mturpin at mainstreettech dot com) _ Check out the latest news, polls and tools in the MSN 2004 Election Guide! http://special.msn.com/msn/election2004.armx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: internet gateway
On Mon, Jul 05, 2004 at 10:40:58AM +, Brett Wiggins wrote: > Hi, >I am having some problems setting up an internet gateway for my home network. My > gateway machine has two network cards, one connected to my ADSL modem and the other > to a switch and my internal network. My gateway machine (FreeBSD) can connect to the > internet and it can ping machines on my local network. Machines on my local network > run windows. > > ISP > | > | > ADSL > MODEM > | > | > FREEBSD |- MACHINE A > MACHINE | > | | > |---SWITCH--|- MACHINE B > | > | > |- MACHINE C > Did you remember to set the default gateway on Machines [A-C] to 10.0.0.1? CHeers. -- Jonathan Chen <[EMAIL PROTECTED]> -- "Nyuck, nyuck, nyuck" - Curly ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ext2FS (was Re: A few simple questions(...if you don't mind))
Hi Warren, Maybe. ext2fs is supposed to be ext3fs with journalling, and ext2fs can be mounted with mount_ext2fs. I could swear I've done this with ext3fs partitions, but can't recall when or where. IIRC, ext3 can only be mounted as ext2 as long as the partition is marked clean. HTH... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: making files opposite from themselves (100% change)
On Mon, 5 Jul 2004 13:55:00 -0700 (PDT) Joe Schmoe <[EMAIL PROTECTED]> wrote: Hi, > So the question is, how do I take a given file and > make it 100% different from itself (but maintain its > size and place on disk) ? I could just output > /dev/zero to it, but that would leave unchanged all > the bits that were aleady zero. > > So how do I flip the bits of an entire file ? > Further, is there a good command line that will flip > the bits of some percentage of the file ? The xor operation of a byte/word/dword with itself does that. You could setup a buffer of the desired % of bytes you want to change, read the bytes, xor them (^ in C) with itself and write back. It's trivial in C/Perl/python/whathaveyou. Or you could fetch some random data from /dev/urandom if you prefer. -- Miguel Mendez <[EMAIL PROTECTED]> http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgpNScRmyLOLI.pgp Description: PGP signature
Re: A few simple questions(...if you don't mind)
On 2004-07-05 09:23, Mark Jayson Alvarez <[EMAIL PROTECTED]> wrote: > > 1. What is the command for ejecting the cdrom? # cdcontrol -f /dev/acd0 eject The `cdcontrol' command works fine with my ATAPI CD-ROMs. I haven't used it with SCSI CD-ROM devices, but AFAIK it works for those too. > 2. Do you know if viruses exist in freebsd, like in Windows? None, at all. This does not imply that there are no problems regarding the security of a BSD system, ever, at all... At times, there are bugs and security problems with programs that can be run on a BSD system too. None of that crap with virii taking over unsuspecting users' home machines and launching attacks on random IP blocks on the Internet causing all sorts of havoc and disturbance to the world though. > 3. When I issued a netstat command, and i see something like > 192.135.15... connected to 192.262.33..., what is the command for > terminating such connections? Netstat is fine, but I usually prefer sockstat when I'm sitting in front of a BSD shell. The output is more informative when one cares to know exactly this sort of thing (which process has opened which connection): : [EMAIL PROTECTED]:~$ sockstat -4 : USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS : ncvs cvsup 4664 4 tcp4 212.205.215.15:63581 195.130.121.201:5999 : root sendmail 3721 4 tcp4 127.0.0.1:25 *:* : root named 1738 4 udp4 *:61077 *:* : root named 1738 20 udp4 127.0.0.1:53 *:* : root named 1738 21 tcp4 127.0.0.1:53 *:* : [EMAIL PROTECTED]:~$ Kill the PID that has opened the connection and off it goes. > 4. When I issued a "alias ls ls -FGh" how can I make this alias for > 'ls' permanent? And where are the individual manpages for those > built-in commands located? Aliases are a shell-dependant feature. The default shells that are part of teh FreeBSD base system have the following ways to define aliases: 1. Interactively: As you type commands in your /bin/sh prompt, try this: $ alias ls='/bin/ls -FGh' In tcsh, the '=' sign is not necessary but pay very careful attention to the quoting of special characters, because tcsh(1) is picky: % alias ls /bin/ls -FGh 2. In startup files Whatever you type in the command line can be stored in a shell startup script, making it effectively persistent across login sessions. Each shell has its own startup files; sh(1) uses `.profile' and `.shrc', while tcsh(1) reads `.tcshrc', `.login', and `.logout'. > 5. Does any version of freebsd supports mounting, reading, and writing > of ext3fs partitions of linux? Journaling metadata isn't supported AFAIK by any version of FreeBSD. If the filesystem hasn't been mkfs'ed to use some of the special, unportable to other systems, Linux-specific features of ext3, you might get away with mounting it as ext2. > 6. Can freebsd turn off my monitor or any other peripherals of my pc > in a given idle time, like the "stand by" in Windows? How?(just the > link) Read about xset(1) in XFree86. Especially the sections about `dpms'. This should work while you're using a GUI. For the console, you'd have to enable the screen saver support and set > your screen saver to `green_saver'. This will turn the monitor off > instead of drawing pretty ascii-art pictures on it :-) > 7. What is the correct way of rebuilding my ports? In freebsd sources, > I do a make buildworld and then make installworld. How do I do it in > my ports collection? (e.g; make buildports, make installports??? :-) I use "metaports", i.e. ports that I have written which depend on all the ports I regularly use. This is a sort of hackish way to update your ports, but I usually update my installed ports only when there is a security problem with one of them. Which is a lot less often than the updates I do to the base system with CVSup, buildworld, etc. A lot of people like `portupgrade' for keeping their ports up to date. It's available in the ports and there are dozens of tutorials online that explain how it works. A quick google search yields: http://www.oreillynet.com/pub/ct/15 http://www.silbsd.org/cvsup_instructions2.html http://librenix.com/?inode=3380 HTH, Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
making files opposite from themselves (100% change)
Hi, I want to do some benchmarking and speed testing of rsync and UFS snapshots by taking existing files, doing rsyncs and snapshots of them and their filesystem, and then _changing_ those files by a certain percent difference, and rsyncing/snapshotting again. So the question is, how do I take a given file and make it 100% different from itself (but maintain its size and place on disk) ? I could just output /dev/zero to it, but that would leave unchanged all the bits that were aleady zero. So how do I flip the bits of an entire file ? Further, is there a good command line that will flip the bits of some percentage of the file ? thanks. __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: need help with version of {FreeBSD,free BSD}!!!
Hey Oracle, [I have modified the Subject line just a tad. It looked like you were shouting.] Hey i have dowloaded freebsd 5.2.1 for amd because i have amd k-6 II from the following site ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/5.2.1/ AMD64 is a whole different ballgame, use this directory instead: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.2.1/ i have downloaded ""5.2.1-RELEASE-amd64-disc1.iso"" this file please tell me how to burn it on r-cd to make it bootable free bsd cd and also do i need other files in this ftp folder I suggest you look for Nero Burning ROM, Easy CD Creator or "cd writing software" at google.com. As Steve said, don't just burn the file itself to cd. Instead of buying a commercial cd burning program, you could buy a cd set. :-) does it have all the packages i need to run a system. -disc1 does. -miniinst aswell, IIRC (enough at least to get a decent CLI system running). -bootonly I have doubts about. HTH and good luck... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using DHCP /and/ name recognition w/o running BIND
Hi: I am running a small network behind a D-Link firewall router, and I have a multitude of machines running on the NAT side. Generally, I use static IPs on the network for the FreeBSD machines (since they are often servers) and the Windows clients use DHCP. It would be nice if there was some way to be able to use the symbolic name for the windows clients since their IP addresses are free to change all the time. The D-Link does have the concept of static DHCP where each MAC address is assigned an IP to always be issued when requested, but I'm concerned that if/when the D-Link gives up the ghost that I'll have to scramble and find something that's a bit more robust and not tied to my router capabilities. It seems to be overkill to run BIND for just my small network here of 4 or so machines, so I was hoping there was a more lightweight way to handle this. There seems to be a current undocumented feature of most of these routers that if you use the router as a DNS server entry that it automagically forwards those requests to the DNS entries on the WAN side. However, for tools like nslookup that make explicit connections to the server, this does not work correctly. Thanks, -Clint ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to set up VPN???
Hi all. I need to setup VPN. And I have no idea how to do it. Please explain me, or give me some links, if it's possible give me links to russian resources. Thank's all. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipfw count rules to count traffic to virtual ip's
Hello, I'm trying to setup ipfw to count traffic to each ip on the server (one interface with multiple aliased ip's) now it seems that the count rules are about the same for each ip while this isn't the truth.. 7 7715117 6712750640 count ip from any to any via fxp0 8 2953770 167284959 count ip from any to any in recv fxp0 9 4761341 6545462313 count ip from any to any out xmit fxp0 00010 7707303 6712093431 count tcp from any to any via 1.1.1.1 00011 2948103 166773748 count tcp from any to any in recv 1.1.1.1 00012 4759198 6545319411 count tcp from any to any out xmit 1.1.1.1 00016 7707299 6712092983 count tcp from any to any via 2.2.2.2 00017 2948101 166773668 count tcp from any to any in recv 2.2.2.2 00018 4759195 6545319003 count tcp from any to any out xmit 2.2.2.2 00022 2842887 145092334 count tcp from any to any 80 via fxp0 As you can see the traffic for ip 1.1.1.1 and ip 2.2.2.2 are about the same while ip 2.2.2.2 is actually doing nothing (all ports are blocked cause its not active yet) What is going wrong here ? how come ipfw counts the same traffic for each ip.. Also rule 22 from "any to any 80" shows only a few hundred megs traffic while 95% of all the traffic on the server is http traffic from website's so this should be atleast around the 5GB of traffic instead of a few hundred megs.. Any idea's ?? Thanks m. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NEED HELP WITH VERSION OF FREE BSD!!!
> Hey i have dowloaded freebsd 5.2.1 for amd because i have amd k-6 II from > the following site > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/5.2.1/ First of all, I don't know for absolute certainty, but I don't believe that amd64 is designed for the K6-II. AFAIK, the k62 is a 32-bit processor. > i have downloaded ""5.2.1-RELEASE-amd64-disc1.iso"" this file please tell > me how to burn it on r-cd to make it bootable free bsd cd and also do i > need other files in this ftp folder i mean > "5.2.1-RELEASE-amd64-bootonly.iso" and "5.2.1-RELEASE-amd64-disc2.iso" if > i do need these files can you tell me how to burn them on the r-cd i mean > which Sequence and also the file i downloaded > ""5.2.1-RELEASE-amd64-disc1.iso"" does it have all the packages i need to > run a system. The disk1.iso is really all you will need to have an operational system. You don't just burn the file to CD, you have to 'Burn CD from CD image'. In adaptec easy-cd creator, this option is under the 'File' menu. Regards, Steve > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NEED HELP WITH VERSION OF FREE BSD!!!
Hey i have dowloaded freebsd 5.2.1 for amd because i have amd k-6 II from the following site ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/5.2.1/ i have downloaded ""5.2.1-RELEASE-amd64-disc1.iso"" this file please tell me how to burn it on r-cd to make it bootable free bsd cd and also do i need other files in this ftp folder i mean "5.2.1-RELEASE-amd64-bootonly.iso" and "5.2.1-RELEASE-amd64-disc2.iso" if i do need these files can you tell me how to burn them on the r-cd i mean which Sequence and also the file i downloaded ""5.2.1-RELEASE-amd64-disc1.iso"" does it have all the packages i need to run a system. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ext2FS
Warren Block wrote: On Mon, 5 Jul 2004, Phil Schulz wrote: Mark Jayson Alvarez wrote: 5. Does any version of freebsd supports mounting, reading, and writing of ext3fs partitions of linux? No. Maybe. ext2fs is supposed to be ext3fs with journalling, and ext2fs can be mounted with mount_ext2fs. I could swear I've done this with ext3fs partitions, but can't recall when or where. I stand corrected. I have to admit that I answered that question solely based on # ls /sbin/mount_* :-) Phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I back-up my sources?
On 05-Jul-2004 Mark Jayson Alvarez wrote: > Hi, > I only have a 4.9 cd and to upgrade to 4.10 or later > versions, first, I install the sources from my 4.9 cd > and then I use cvsup. Same as with FreeBSD Handbook > and Ports. > > Question: > > In upgrading to a higher version of FreeBSD(e.g; 4.9 > to 4.10) using cvsup, and I burned the contents of my > upgraded /usr/src to a cd, if my system crashes, will > makeworld work if I copy the contents of the cd into a > fresh /usr/src directory? > > Same as with FreeBSD Documentation(/usr/doc/en...) > and /usr/ports. Sure, why wouldn't it? > Or does it always have to be done as is? If by "as is" you mean with a source tree that matches your currently installed version, then the answer is no. Think about it. How would you ever be able to upgrade a system via sources if this were the case? > ...because one time, my freebsd crashed and I really > had a hard time fixing it and I end up re-installing > the whole system and running a very long cvsup process > again. We all have our share of "war stories", I'm sure. You make mistakes, you stumble around a bit, you learn. Right? -- Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble compiling KDE
On 05-Jul-2004 Conrad J. Sabatier wrote: > > On 05-Jul-2004 Trey Sizemore wrote: >> Trying to compile kde3 on a new FBSD 5.2.1 install, but I'm getting >> the >> following error: >> >> "Shared object libthread.so.1 not found. Required by libGL.so.1." >> >> Per the /usr/src/UPDATING file entries dated 20040130 and 20040303 I >> added: >> >> libc_r.so.5 libthread.so.1 >> lib_r.so libthread.so Just noticed another typo here. That should be libc_r.so, of course. >> to /etc/libmap.conf > > That should be libpthread.so.1. And libpthread.so for the second line, of course. -- Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ext2FS (was Re: A few simple questions(...if you don't mind))
On Mon, 5 Jul 2004, Phil Schulz wrote: Mark Jayson Alvarez wrote: 5. Does any version of freebsd supports mounting, reading, and writing of ext3fs partitions of linux? No. Maybe. ext2fs is supposed to be ext3fs with journalling, and ext2fs can be mounted with mount_ext2fs. I could swear I've done this with ext3fs partitions, but can't recall when or where. A note to Mark: please don't combine multiple questions into one post like that. It makes responses difficult and makes it harder for people searching the archives. A single question per post, with a relevant Subject line, makes things easier for everyone--even you, because the responses will be easier to sort out. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble compiling KDE
On 05-Jul-2004 Trey Sizemore wrote: > Trying to compile kde3 on a new FBSD 5.2.1 install, but I'm getting > the > following error: > > "Shared object libthread.so.1 not found. Required by libGL.so.1." > > Per the /usr/src/UPDATING file entries dated 20040130 and 20040303 I > added: > > libc_r.so.5 libthread.so.1 > lib_r.so libthread.so > > to /etc/libmap.conf That should be libpthread.so.1. -- Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A few simple questions(...if you don't mind)
On Mon, 05 Jul 2004 20:01:42 +0200 Phil Schulz <[EMAIL PROTECTED]> wrote: > Mark Jayson Alvarez wrote: > > > 4. When I issued a "alias ls ls -FGh" how can I make > > this alias for 'ls' permanent? And where are the > > individual manpages for those built-in commands > > located? > > Check your shell's man page. Given that you are using csh(1) (which is > root's default shell on FreeBSD) you should add such an entry in ~/.cshrc > if it wasn't just a typo, you might also want to re-read man ls. as written, the -h switch is a useless flag. it requires -l to provide effect. epi;) . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A few simple questions(...if you don't mind)
Mark Jayson Alvarez wrote: Hello, Questions: 1. What is the command for ejecting the cdrom? I don't think there is such a command. I'm not 100% sure though. 2. Do you know if viruses exist in freebsd, like in Windows? I believe there used to be some viri for Unix-like OSs, but they are all pretty much harmless since they aren't usually found 'in the wild'. A quick search on www.viruslibrary.com gave me one match [1] - maybe someone else can comment that. 3. When I issued a netstat command, and i see something like 192.135.15... connected to 192.262.33..., what is the command for terminating such connections? I don't know. 4. When I issued a "alias ls ls -FGh" how can I make this alias for 'ls' permanent? And where are the individual manpages for those built-in commands located? Check your shell's man page. Given that you are using csh(1) (which is root's default shell on FreeBSD) you should add such an entry in ~/.cshrc 5. Does any version of freebsd supports mounting, reading, and writing of ext3fs partitions of linux? No. 6. Can freebsd turn off my monitor or any other peripherals of my pc in a given idle time, like the "stand by" in Windows? How?(just the link) It definitely works w/ my TFT Screen. Depending on your BIOS and how well it is supported, you might be able to use ACPI for power-saving purposes on FreeBSD 5.x 7. What is the correct way of rebuilding my ports? In freebsd sources, I do a make buildworld and then make installworld. How do I do it in my ports collection? (e.g; make buildports, make installports??? :-) Install /usr/ports/sysutils/portupgrade and read portupgrade(1)'s man page. You might also find some other resources on the internet. Use your favourite search engine :-) Regards, Phil. -- [1] http://www.viruslibrary.com/virusinfo/Worm.FreeBSD.Scalper.a.htm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Adding FBSD to existing GRUB
I think you want something like title FreeBSD 5.x rootnoverify root (hd0,2,c) ## or e or something I think c tells it to maunt the whole slice... or is it e << I think it is e chainloader +1 ## this is the new way I think. I think kernel /boot/loader is old (but prolly still works) cheers, reed /dev/hda1 5GB Linux SUSE root partition from 0 -652 /dev/hda2 40.5GB Extended partition from 653 - 5945 /dev/hda3 19.5GB FreeBSD partition from 5946 -8494 /dev/hda5 5GB /usr partition for SUSE from 653 - 1305 /dev/hda6 15GB /home partition for SUSE from 1306 - 3264 /dev/hda7 1 GB swap from 3265 - 3395 /dev/hda8 19.5GB linux partition for Libranet from 3396 - 5945 I tried adding the following to my /etc/fstab, but it would not boot (saying unsupported file type): title FreeBSD 5.2.1 root (hd0,2,a) kernel /boot/loader Is the above misentered or is there something else to consider? Thanks. Sorry, the above *should* have read /etc/grub.conf and *not* fstab. -- 4.6692016090 'cmVlZEBpbnRlcnNpZWdlLmNvbQ==\n'.decode('base64') ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A few simple questions(...if you don't mind)
Hi Nathan, --On Monday, July 05, 2004 11:24:24 AM -0600 Nathan Kinkade <[EMAIL PROTECTED]> wrote: 3. When I issued a netstat command, and i see something like 192.135.15... connected to 192.262.33..., what is the command for terminating such connections? I'm not sure that this is possible? do a sockstat -4 for a current list of connections / owners, and PIDs, etc.. then just kill the PID for the offending connection. -- Gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A few simple questions(...if you don't mind)
On Mon, Jul 05, 2004 at 09:23:20AM -0700, Mark Jayson Alvarez wrote: > Hello, > > Questions: > 1. What is the command for ejecting the cdrom? # cdcontrol eject > > 2. Do you know if viruses exist in freebsd, like in > Windows? In about 6 years of using FreeBSD I've never heard of one, or had a machine affected by one. I couldn't say that they don't exist, but I can say that you probably won't be affected by one. > > 3. When I issued a netstat command, and i see > something like 192.135.15... connected to > 192.262.33..., what is the command for terminating > such connections? I'm not sure that this is possible? > 4. When I issued a "alias ls ls -FGh" how can I make > this alias for 'ls' permanent? And where are the > individual manpages for those built-in commands > located? Add the alias command to one of your bash(?) config files - probably either ~/.bash_profile or ~/.profile, perhaps ~/.bashrc. See the bash man page. > 5. Does any version of freebsd supports mounting, > reading, and writing of ext3fs partitions of linux? Not sure about this. > 6. Can freebsd turn off my monitor or any other > peripherals of my pc in a given idle time, like the > "stand by" in Windows? How?(just the link) This would be a function of ACPI or APM. Are there any options in your BIOS that control this? If you are using X you can use the `xset' command to determine when the monitor is blanked, suspended, then finally turned off - see the xset man page and specifically see the dpms options. > 7. What is the correct way of rebuilding my ports? In > freebsd sources, I do a make buildworld and then make > installworld. How do I do it in my ports collection? > (e.g; make buildports, make installports??? :-) What you probably want is the port called "portupgrade": sysutils/portupgrade. Install it then check out the man page. Nathan -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49 pgpRpAez3ynYz.pgp Description: PGP signature
Re: Can I back-up my sources?
On Mon, 5 Jul 2004, Mark Jayson Alvarez wrote: Hi, I only have a 4.9 cd and to upgrade to 4.10 or later versions, first, I install the sources from my 4.9 cd and then I use cvsup. Same as with FreeBSD Handbook and Ports. Question: In upgrading to a higher version of FreeBSD(e.g; 4.9 to 4.10) using cvsup, and I burned the contents of my upgraded /usr/src to a cd, if my system crashes, will makeworld work if I copy the contents of the cd into a fresh /usr/src directory? Same as with FreeBSD Documentation(/usr/doc/en...) and /usr/ports. I never had any problems with that. Uli. Or does it always have to be done as is? ...because one time, my freebsd crashed and I really had a hard time fixing it and I end up re-installing the whole system and running a very long cvsup process again. Hope you could help me... Thanks -jay __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trouble compiling KDE
Trying to compile kde3 on a new FBSD 5.2.1 install, but I'm getting the following error: "Shared object libthread.so.1 not found. Required by libGL.so.1." Per the /usr/src/UPDATING file entries dated 20040130 and 20040303 I added: libc_r.so.5 libthread.so.1 lib_r.so libthread.so to /etc/libmap.conf (I had to create this file as it did not previously exist). Earlier I was getting an error about threading and made this change hoping it would fix it and now I'm getting the above error. Did I forget something or is there something I can check to make sure the system has all the required files. I've got a minimal install right now. If it's possible to mount the filesystem from within Linux, I can paste/send any other required files. Thanks. -- Cheers, Trey "Text processing has made it possible to right-justify any idea, even one which cannot be justified on any other grounds." -- J. Finnegan, USC. Linux linux 2.6.5-7.95-default #1 Thu Jul 1 15:23:45 UTC 2004 i686 i686 i386 GNU/Linux 12:25pm up 0:04, 2 users, load average: 0.52, 0.68, 0.34 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SoundBlaster Live problems
On 07/05/04 06:49 PM, Alastair G. Hogge sat at the `puter and typed: > On Monday 05 July 2004 08:35, Louis LeBlanc wrote: > > [snip] > > > Anyone have any suggestions? > I have a SBLive with 5.1 (5 channel sound with subwoofer[.1]) and have the > following in loader.conf: > snd_pcm_load="YES" # Digital sound subsystem > snd_emu10k1_load="YES" # Creative Sound Blaster Live > > And the sound card works kldstat shows the following: 102 pci/snd_emu10k1 . . . 114 snd_pcm so snd_pcm is already loaded. I suspect I've been "Delled". The card was a preinstall at the Dell factory, and after a lot of googling last night, I discovered that the version of this card installed by Dell is modified. This link: http://www.opensound.com/readme/README.EMU10K1X.html has a little detail about the oss driver for the Dell modified SB Live! card. I downloaded the driver and tried to install it as described, but I keep getting the following: # ./oss-install Checking for any previously installed sound drivers... There is another sound driver loaded. Unload it and try again. But when I try to kldunload the drivers, I get: # kldunload snd_emu10k1.ko kldunload: can't find file snd_emu10k1.ko: No such file or directory This is turning into a real pain. Anyone know if the Dimension 8300 onboard sound is easier to get working? If I can't return it to Dell, I'll probably wind up putting the card in another machine. Thanks for the response. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Kaufman's Law: A policy is a restrictive document to prevent a recurrence of a single incident, in which that incident is never mentioned. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A few simple questions(...if you don't mind)
Hello, Questions: 1. What is the command for ejecting the cdrom? 2. Do you know if viruses exist in freebsd, like in Windows? 3. When I issued a netstat command, and i see something like 192.135.15... connected to 192.262.33..., what is the command for terminating such connections? 4. When I issued a "alias ls ls -FGh" how can I make this alias for 'ls' permanent? And where are the individual manpages for those built-in commands located? 5. Does any version of freebsd supports mounting, reading, and writing of ext3fs partitions of linux? 6. Can freebsd turn off my monitor or any other peripherals of my pc in a given idle time, like the "stand by" in Windows? How?(just the link) 7. What is the correct way of rebuilding my ports? In freebsd sources, I do a make buildworld and then make installworld. How do I do it in my ports collection? (e.g; make buildports, make installports??? :-) that's all folks thanks... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS and Backups
On Sat, Jul 03, 2004 at 02:33:22PM -0400, Chuck Swiger wrote: > Grant Peel wrote: > >I have recently decided to use some extra disk space on one of my servers > >as > >backup space. I have NFS client and Servers running OK, but was wondering > >how > >secure it really is. > > NFS is not secure at all. If you don't trust the local subnet, don't use > NFS there. Certainly don't use NFS across the Internet, unless using a > secure tunnelling/VPN protocol > > >So if in my nfsd configuration, I specify a host called 'ahab' for example, > >how does the nfsd authenticate this host, and how secure is it? > > NFS doesn't authenticate the host. NFS trusts the resolver when reversing > the IP addr into a hostname. Even on local networks, NFS over IPsec can be a win due to the deflate algorithm. Here's some netperf results from some tests I did recently between a Celeron 900 (-STABLE) file server and an 360Mhz sparc64 Ultra 5 (-CURRENT): Raw speed, no IPsec: [EMAIL PROTECTED] /usr/local/netperf]# ./netperf -t UDP_STREAM -H athena UDP UNIDIRECTIONAL SEND TEST to athena : histogram Socket Message Elapsed Messages SizeSize Time Okay Errors Throughput bytes bytessecs# # 10^6bits/sec 92169216 10.01 13004 13160 95.81 42080 10.01 12778 94.14 IPsec (3des): [EMAIL PROTECTED] /usr/local/netperf]# ./netperf -t UDP_STREAM -H secathena UDP UNIDIRECTIONAL SEND TEST to secathena : histogram Socket Message Elapsed Messages SizeSize Time Okay Errors Throughput bytes bytessecs# # 10^6bits/sec 92169216 10.01 715 0 5.27 42080 10.01 713 5.25 IPsec (blowfish): [EMAIL PROTECTED] ~]# /usr/local/netperf/netperf -t UDP_STREAM -H secathena UDP UNIDIRECTIONAL SEND TEST to secathena : histogram Socket Message Elapsed Messages SizeSize Time Okay Errors Throughput bytes bytessecs# # 10^6bits/sec 92169216 10.01 14744 0 108.63 42080 10.013681 27.12 Blowfish is definitely preferable to 3des for IPsec work involving NFS-like traffic. Due to the deflate feature, netperf reports a result greater than the 100Mbit/s wire speed. Unfortunately, encryption speed drops off quickly as socket size increases, but 8k NFS looks like it's in good shape. Newer hardware will only nmake things better, naturally. IPsec handles the host authentication bit that NFS is pretty loose about. That still leaves the "UID is checked on the wrong end" problem, but that's very much a different problem than network level trust attacks. -T -- "That time in Seattle... was a nightmare. I came out of it dead broke, without a house, without anything except a girlfriend and a knowledge of UNIX." "Well, that's something," Avi says. "Normally those two are mutually exclusive." -- Neal Stephenson, "Cryptonomicon" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cron.daily and cron.hourly
On Mon, Jul 05, 2004 at 04:45:27PM +0200, Taulant Galimuna wrote: > I had a problem with my web-server that I already solved. But now I have to > execute a PHP file on my FreeBSD server every hour, to get the needed > updates from database. > > I know I need a shell script to execute that file and have to put this > script to some directory that would execute it every hour. > > In linux it is appeared to be at /etc/cron.hourly > > > but in FreeBSD I can't locate it. There isn't anything like cron.hourly under FreeBSD. (There is /etc/periodic for running system maintenance tasks, but that runs at most daily.) What you need to do is run your script out of the crontab of the appropriate user. Since this is all web related I'm going to use use 'www' as an example. First, read the crontab(5) man page (ie. type 'man 5 crontab' -- if you just type 'man crontab' you'll get the crontab(1) man page, which is worth reading as well) Then to set up the cron job, as root do: # crontab -e -u www which will plunk you into an editor opened on the www users' crontab file. Add a line like: @hourly /your/php/script/here If that script generates any output to stdout or stderr, it will be e-mailed to the www user. Supposing you don't want that, either redirect all output to /dev/null: @hourly /your/php/script/here >/dev/null 2>&1 or use the MAILTO= variable as described in crontab(5). Also note that lots of people come adrift the first time the use cron(8) because cron doesn't set up the environment like a login session. In particular, make sure that you explicitly set the $PATH at the top of your script, or you will get a load of "command not found" errors. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpVERIjSulnV.pgp Description: PGP signature
Re: cron.daily and cron.hourly
> Hi, > > I had a problem with my web-server that I already solved. But now I have > to > execute a PHP file on my FreeBSD server every hour, to get the needed > updates from database. > > I know I need a shell script to execute that file and have to put this > script to some directory that would execute it every hour. > > In linux it is appeared to be at /etc/cron.hourly > > > but in FreeBSD I can't locate it. > > Any one can help ?! Each user in FreeBSD can have their own cron list. You can edit a users crontab like this: # crontab -u username -e and then add the following into it to run your app at 1 minute after every hour of every day of every month: 1 * * * * /path/to/app/app.sh You can also feed parameters after the command you want to run. See man(5) crontab for a good description of the layout of the crontab entries. Regards, Steve > > Regards > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: IPF problems
You seem to be confused between ipfw and ipf. These are two different firewall software application which are built into the FreeBSD operating system. You may want to read the new rewrite of the Freebsd handbooks firewall section which is currently available at www.a1poweruser.com/FBSD_firewall/ which does an far better job of describing how to configure the and use the 2 different firewall software applications. The Freebsd doc group has downloaded this manuscript and working on it to replace what is currently in the handbook. The IPFILTER section has been made into an separate manuscript for release to the open source community where ipfilter is very popular. It's temporally available from www.a1poweruser.com/FBSD_ipfilter/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gene Bomgardner Sent: Monday, July 05, 2004 9:12 AM To: [EMAIL PROTECTED] Subject: IPF problems HI I've recompiled 5.2.1 kernel to include firewall options for natd. I've discovered that once I did so, I can no longer communicate in or out of the fbsd box. The firewall defaults to accept_all (I checked this) Then I found that if I disable ipf (i.e. 'ipf -D") I can now communicate. >From /etc/rc.conf and /etc/defaults/rc.conf : ipfilter_enable="NO"# Set to YES to enable ipfilter functionality ipfilter_program="/sbin/ipf"# where the ipfilter program lives ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, see # /usr/src/contrib/ipfilter/rules for examples ipfilter_flags="" # additional flags for ipfilter >From /etc/ipf.rules : pass in all pass out all the questions are : 1) If ipfilter_enable is NO, why is it running at all? Is it needed for nat? 2) Even if it is running, why does it not follow its rules and pass all? Any help appreciated. thanks Gene _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: internet gateway
Your using the ppp nat function which is ok, but you have also complied the ipfw divert option into your kernel. The ipfw divert option does the same thing as ppp nat. Recompile your kernel and remove the divert option. Also the /etc/rc.firewall rules are way to complicated for your needs. Create file /etc/ipfw.rules containing just these rules. ipfw -f flush ipfw add allow all from any to any rc.conf only needs these statements to enable ipfw firewall_enable="YES" # Start IPFW daemon firewall_script="/etc/ipfw.rules" # use my custom rules. filewall_logging="YES" # Enable packet logging You may also want to read the new rewrite of the Freebsd handbooks firewall section which is currently available at www.a1poweruser.com/FBSD_firewall/ The Freebsd doc group has downloaded this manuscript and working on it to replace what is currently in the handbook. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brett Wiggins Sent: Monday, July 05, 2004 6:41 AM To: [EMAIL PROTECTED] Subject: internet gateway Hi, I am having some problems setting up an internet gateway for my home network. My gateway machine has two network cards, one connected to my ADSL modem and the other to a switch and my internal network. My gateway machine (FreeBSD) can connect to the internet and it can ping machines on my local network. Machines on my local network run windows. ISP | | ADSL MODEM | | FREEBSD |- MACHINE A MACHINE | | | |---SWITCH--|- MACHINE B | | |- MACHINE C So Far I have recompiled my kernel with the following options added; options IPFIREWALL options IPDIVERT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=50 options TCP_DROP_SYNFIN I then edited /etc/rc.conf gateway_enable="YES" firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="OPEN" firewall_quiet="NO" ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="netspace" ifconfig_rl0="inet 10.0.0.1" Then I edited ppp.conf with the following; nat enable yes nat log yes nat same_ports yes nat unregistered_only yes enable dns That is where I got up to now i'm stuck and don't know what to do next. Any help with this would be great. Brett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cron.daily and cron.hourly
Hi, I had a problem with my web-server that I already solved. But now I have to execute a PHP file on my FreeBSD server every hour, to get the needed updates from database. I know I need a shell script to execute that file and have to put this script to some directory that would execute it every hour. In linux it is appeared to be at /etc/cron.hourly but in FreeBSD I can't locate it. Any one can help ?! Regards ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can I back-up my sources?
Hi, I only have a 4.9 cd and to upgrade to 4.10 or later versions, first, I install the sources from my 4.9 cd and then I use cvsup. Same as with FreeBSD Handbook and Ports. Question: In upgrading to a higher version of FreeBSD(e.g; 4.9 to 4.10) using cvsup, and I burned the contents of my upgraded /usr/src to a cd, if my system crashes, will makeworld work if I copy the contents of the cd into a fresh /usr/src directory? Same as with FreeBSD Documentation(/usr/doc/en...) and /usr/ports. Or does it always have to be done as is? ...because one time, my freebsd crashed and I really had a hard time fixing it and I end up re-installing the whole system and running a very long cvsup process again. Hope you could help me... Thanks -jay __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Connecting a USB Zip drive -- whatever am I doing wrong?
On Mon, 05 Jul 2004 13:36:20 +0200 Phil Schulz <[EMAIL PROTECTED]> wrote: > epilogue wrote: > > > > ### relevant lines from kernel > > device vpo > > device scbus > > device da > > device uhci# uhci related entries show up in dmesg > > device usb > > device ugen > > > > Don't forget umass. > Try adding sa. My USB HDD comes up as /dev/sa0. Your ZIP drive might > need sa, too. hello phil, actually, i have 'umass' enabled. i simply missed including it, when i cut and pasted all this together. i added 'sa'. the boot time freeze still occurs, but when i unplug, i see a few new messages in dmesg and /var/log/messages. before sa: umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) umass0: BBB reset failed, IOERROR with sa: umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) umass0: Invalid CSW: status 4 > 2 (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry > [dmesg snipped] > > [various messages snipped] > > > > > ### /var/log/messages > > Jul 4 21:47:04 /kernel: umass0: Iomega USB Zip 100, rev 1.00/1.00, > > addr 2 Jul 4 21:47:04 /kernel: umass0: Get Max Lun not supported > > (STALLED) Jul 4 21:48:09 /kernel: umass0: BBB reset failed, IOERROR > > > > I guess if you posted these to stable@ you might get more attention. > > > ### mounting > > i'm not sure that i 'get' which device the zip maps to nor how to > > determine this. i have tried about 40 different combinations of mount > > (mostly gleaned from my research), but i have yet to hit upon the right > > command. > > > > # mount -t msdos /dev/da* /mnt # * = practically every single one > > msdos: /dev/da0s4: Device not configured > > > > See above. I think USB mass storage devices require sa to work, > therefore you would need sth like > > mount -t msdos /dev/sa* /mnt <-- Don't know what * should be out of my > head now. # cd /dev; sh MAKEDEV all # just to be sure. # ls -al sa* crw-rw 4 root operator 14, 0 Jul 5 09:56 sa0 crw-rw 4 root operator 14, 0 Jul 5 09:56 sa0.0 crw-rw 2 root operator 14, 4 Jul 5 09:56 sa0.1 crw-rw 2 root operator 14, 8 Jul 5 09:56 sa0.2 crw-rw 2 root operator 14, 12 Jul 5 09:56 sa0.3 crw-rw 2 root wheel 14, 0x2000 Jul 5 09:56 sa0.ctl # mount -t msdos /dev/sa0.0 /mnt msdos: /dev/sa0.0: Device not configured unfortunately, i'm getting the same error for each of these devices. nevertheless, many thanks for your suggestions. epi > Hope this helps. > > Phil. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPF problems
On 2004-07-05 13:46, Gene Bomgardner wrote: I enabled ipfilter in rc.conf and it now reads the rules file. It's still running, but at least it's not blocking anymore. Perhaps you have enabled ipf in an "unexpected" place. Try looking around at the /etc and /usr/local/etc/rc.d directories. # cd /etc # grep -i ipf rc.conf defaults/rc.conf I'd try this for a start, and move on to other system configuration files if that didn't provide any hints. Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPF problems
I enabled ipfilter in rc.conf and it now reads the rules file. It's still running, but at least it's not blocking anymore. _ MSN Life Events gives you the tips and tools to handle the turning points in your life. http://lifeevents.msn.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPF problems
On 2004-07-05 13:12, Gene Bomgardner <[EMAIL PROTECTED]> wrote: > > I've recompiled 5.2.1 kernel to include firewall options for natd. > I've discovered that once I did so, I can no longer communicate in or > out of the fbsd box. The firewall defaults to accept_all (I checked > this. Hi Gene, natd(8) is totally unrelated to ipf. It works with ipfw(8), which is similar in functionality to ipf but a different beast altogether. Are you sure you're not mixing things up with ipfw/natd vs. ipf/ipnat? I'm pretty sure I'm not - ipnat is not enabled in rc.conf nor is ipf, yet on reboot IPFilter is initializing with the message "Default block all". I can't seem to get rid of it. _ Get tips for maintaining your PC, notebook accessories and reviews in Technology 101. http://special.msn.com/tech/technology101.armx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPF problems
On 2004-07-05 13:12, Gene Bomgardner <[EMAIL PROTECTED]> wrote: > > I've recompiled 5.2.1 kernel to include firewall options for natd. > I've discovered that once I did so, I can no longer communicate in or > out of the fbsd box. The firewall defaults to accept_all (I checked > this. Hi Gene, natd(8) is totally unrelated to ipf. It works with ipfw(8), which is similar in functionality to ipf but a different beast altogether. Are you sure you're not mixing things up with ipfw/natd vs. ipf/ipnat? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kde 3.2.3
On Monday 05 July 2004 06:11 am, Javier Ramirez wrote: > Hi > I´m try to install kde 3.2.3 in my freebsd i386 5.2.1 > > the port to kde 3.2.3 only install kde 3.1.4 > and this is a error, > > I´m try to install from *.tbz files, and get a list of dependency > error > > > so, > > how to install kde-3.2.3 in my computer? > > please!!! Hi, Javier Look at http://rabarber.fruitsalad.org/ They have packages for 5.2.1 and that is by far the best initial installation. The gcc 3-x compiler is really slow. They also have an upgrade shell script. Joshua Moore wrote more about this as a reply to you on freebsd-questions and he started by pkg_deleting arts, qt, quanta, kde*. He left out koffice, which also needs to be rebuilt using 3.2.3. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: kde 3.2.3
Have you tried /stand/sysinstall yet? Gene From: Javier Ramirez <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Subject: kde 3.2.3 Date: Mon, 05 Jul 2004 10:11:37 -0300 Hi I´m try to install kde 3.2.3 in my freebsd i386 5.2.1 the port to kde 3.2.3 only install kde 3.1.4 and this is a error, I´m try to install from *.tbz files, and get a list of dependency error so, how to install kde-3.2.3 in my computer? please!!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _ MSN Life Events gives you the tips and tools to handle the turning points in your life. http://lifeevents.msn.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kde 3.2.3
Hi I´m try to install kde 3.2.3 in my freebsd i386 5.2.1 the port to kde 3.2.3 only install kde 3.1.4 and this is a error, I´m try to install from *.tbz files, and get a list of dependency error so, how to install kde-3.2.3 in my computer? please!!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPF problems
HI I've recompiled 5.2.1 kernel to include firewall options for natd. I've discovered that once I did so, I can no longer communicate in or out of the fbsd box. The firewall defaults to accept_all (I checked this) Then I found that if I disable ipf (i.e. 'ipf -D") I can now communicate. From /etc/rc.conf and /etc/defaults/rc.conf : ipfilter_enable="NO"# Set to YES to enable ipfilter functionality ipfilter_program="/sbin/ipf"# where the ipfilter program lives ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, see # /usr/src/contrib/ipfilter/rules for examples ipfilter_flags="" # additional flags for ipfilter From /etc/ipf.rules : pass in all pass out all the questions are : 1) If ipfilter_enable is NO, why is it running at all? Is it needed for nat? 2) Even if it is running, why does it not follow its rules and pass all? Any help appreciated. thanks Gene _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with UDMA harddisks
On Fri, 2 Jul 2004, Jud wrote: On Fri, 2 Jul 2004 08:28:12 +0200 (CEST), "Peter Ulrich Kruppa" <[EMAIL PROTECTED]> said: Hi! I hope somebody on this list has another good idea, I haven't thought of yet: I have a machine that came with two Excel Stor 40 GB ("Ganymede") UDMA/100 harddisks. To install FreeBSD 4.10 I had to disable UDMA in the BIOS, otherwise they wouldn't have booted (some complaint about ata0). Of course I wish to get UDMA working, since this is said to improve perfomance significantly. I checked if the UDMA cable is plugged into the correct places for mainboard, master and slave - this is o.k. . Are there any other things (bios settings, kernel modules, magic chants,...) I could try? I've been using DragonFly so I am not absolutely certain 4.10 still uses /boot/loader.conf, but if it does, then inserting the following line in that file may help: hw.ata.ata_dma="1" No, it still doesn't work. But thanks anyway. Uli. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Netgear MA111
Dear list, got a Netgear MA111 USB Adaptor this weekend. It is not recognized by 5.2 and 4.10. >From the OpenBSD wi(4) manpage i know it is suppost to be Prism-3 and it is suooprted by their wi driver (http://www.openbsd.org/cgi-bin/man.cgi?query=wi&sektion=4). Are there activities in progess to get it into FBSD? If yes whom should I contact to take part? TIA zheyu -- +++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++ GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Connecting a USB Zip drive -- whatever am I doing wrong?
epilogue wrote: ### relevant lines from kernel device vpo device scbus device da device uhci# uhci related entries show up in dmesg device usb device ugen Don't forget umass. Try adding sa. My USB HDD comes up as /dev/sa0. Your ZIP drive might need sa, too. [dmesg snipped] [various messages snipped] ### /var/log/messages Jul 4 21:47:04 /kernel: umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 Jul 4 21:47:04 /kernel: umass0: Get Max Lun not supported (STALLED) Jul 4 21:48:09 /kernel: umass0: BBB reset failed, IOERROR I guess if you posted these to stable@ you might get more attention. ### mounting i'm not sure that i 'get' which device the zip maps to nor how to determine this. i have tried about 40 different combinations of mount (mostly gleaned from my research), but i have yet to hit upon the right command. # mount -t msdos /dev/da* /mnt # * = practically every single one msdos: /dev/da0s4: Device not configured See above. I think USB mass storage devices require sa to work, therefore you would need sth like mount -t msdos /dev/sa* /mnt <-- Don't know what * should be out of my head now. Hope this helps. Phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Handling automake and autoconf versions
"Al.Aeefyu" <[EMAIL PROTECTED]> writes: > How do I safely handle automake/autoconf versions built from ports? Just pkg_delete them before running portupgrade. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weird memory detection problem on Compaq M700
Christopher Smith wrote: [...] I have a Compaq Armada M700 that I used for a firewall. I've recently upgraded the memory in it to 320MB (64MB onboard + 256MB). The machine detects the memory fine. The FreeBSD bootloader detects the memory fine. However, when the kernel boots it only detects 64MB. I don't know if this is related but I'll post anyways hoping to help you. I have an older Armada laptop which has the same problem, however it's running OpenBSD. I remember reading that the BIOS of the laptop wouldn't announce the right amount of physical memory to the kernel. The solution (for OpenBSD) is to add a line that reads machine mem [EMAIL PROTECTED] to /etc/boot.conf - Note that this is for 32MB onboard + 32MB in the add. slot. [...] I realise I can use "options MAXMEM" to manually specify the amount of RAM in the machine, but it just struck me as rather strange that it detects 192MB fine but not 320MB (particularly since the bootloader sees it all). Try it. See if it works. I think it's pretty much the same thing I did with my OpenBSD laptop. Regards, Phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: internet gateway
On Mon, 05 Jul 2004 10:40:58 + Brett Wiggins <[EMAIL PROTECTED]> spake thus: > Hi, >I am having some problems setting up an internet gateway for my home network. My > gateway machine has two network cards, one connected to my ADSL modem and the other > to a switch and my internal network. My gateway machine (FreeBSD) can connect to the > internet and it can ping machines on my local network. Machines on my local network > run windows. > > ISP > | > | > ADSL > MODEM > | > | > FREEBSD |- MACHINE A > MACHINE | > | | > |---SWITCH--|- MACHINE B > | > | > |- MACHINE C > > So Far I have recompiled my kernel with the following options added; >options IPFIREWALL >options IPDIVERT >options IPFIREWALL_VERBOSE >options IPFIREWALL_VERBOSE_LIMIT=50 >options TCP_DROP_SYNFIN > > I then edited /etc/rc.conf >gateway_enable="YES" >firewall_enable="YES" >firewall_script="/etc/rc.firewall" >firewall_type="OPEN" >firewall_quiet="NO" >ppp_enable="YES" >ppp_mode="ddial" >ppp_nat="YES" >ppp_profile="netspace" >ifconfig_rl0="inet 10.0.0.1" > > Then I edited ppp.conf with the following; >nat enable yes >nat log yes >nat same_ports yes >nat unregistered_only yes >enable dns > > That is where I got up to now i'm stuck and don't know what to do next. Any help > with this would be great. > > Brett G'day, http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html http://www.neon1.net/misc/firewall.html I'm afraid I don't know a great deal about using IPFW but it seems to me that ppp.conf is probably not the place to put your NATD rules. man natd gives some good advice on setting this up. I included some links that show how to use IPF and IPNAT to accomplish the task your working on. I personally found them easy enough to read and follow however I am confident that if you google a bit more you will find equally good documentation that focuses on IPFW. HTH LukeK -- Luke Kearney <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
internet gateway
Hi, I am having some problems setting up an internet gateway for my home network. My gateway machine has two network cards, one connected to my ADSL modem and the other to a switch and my internal network. My gateway machine (FreeBSD) can connect to the internet and it can ping machines on my local network. Machines on my local network run windows. ISP | | ADSL MODEM | | FREEBSD |- MACHINE A MACHINE | | | |---SWITCH--|- MACHINE B | | |- MACHINE C So Far I have recompiled my kernel with the following options added; options IPFIREWALL options IPDIVERT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=50 options TCP_DROP_SYNFIN I then edited /etc/rc.conf gateway_enable="YES" firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="OPEN" firewall_quiet="NO" ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="netspace" ifconfig_rl0="inet 10.0.0.1" Then I edited ppp.conf with the following; nat enable yes nat log yes nat same_ports yes nat unregistered_only yes enable dns That is where I got up to now i'm stuck and don't know what to do next. Any help with this would be great. Brett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Telnet - can't telnet is as root
On Mon, 5 Jul 2004 17:49:32 +1000 , [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I would like to telnet into my 4.9 RELEASE box using root. Currently when I > try to telnet in as root I get the reply > "LOGIN root REGUSED (NOROOT)". Does anyone know how I can configure my > system to allow root to directly telnet in. I know that I can telnet in as > a standard users then 'su' to switch to root. Is there any reason why I > should configure my system so that I can telnet in directly as root? > Thanks. It's not recommended. At all. It's highly insecure. If you're still determined to do it, though: You will need to add the keyword 'secure' to the end of the lines in /etc/ttys that look like ttypN (where N is a number). Again, you really should be using SSH instead of telnet if you value your system at all. --roop ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kde 3.2.3
On Sun, 04 Jul 2004 22:53:01 -0500, Joshua Moore <[EMAIL PROTECTED]> wrote: > >First off, remove all arts, qt, quanta, kde, and kdevelop packages. >Set your package site envirmomental variable to a site that has the >3.2.3 packages. Then run pkg_add -r kde. It should download and >install and save you a ton of time trying to compile everything from >source. You can find KDE package sites at http://rabarber.fruitsalad.org/. >Javier Ramirez wrote: > > Hi > Iïïm try to install kde 3.2.3 in my freebsd i386 5.2.1 > > the port to kde 3.2.3 only install kde 3.1.4 > and this is a error, > > Iïïm try to install from *.tbz files, and get a list of dependency > error > > so, > > how to install kde-3.2.3 in my computer? > > please!!! > > ___ > [EMAIL PROTECTED] mailing list > [2]http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to [3]"[EMAIL PROTECTED]" > > References > >1. mailto:[EMAIL PROTECTED] >2. http://lists.freebsd.org/mailman/listinfo/freebsd-questions >3. mailto:[EMAIL PROTECTED] > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Telnet - can't telnet is as root
* peter lageotakes <[EMAIL PROTECTED]> [0751 08:51]: > --- [EMAIL PROTECTED] wrote: > > any reason why I > > should configure my system so that I can telnet in > > directly as root? > I believe that this would be a security precaution. > If someone tries to compromise your system, then it > means that they have to get two passwords to get root. But if you're telnetting, you're sending both in the clear anyway -- Fortune's Fictitious Country Song Title of the Week: "How Can I Miss You if You Won't Go Away?" Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Floppy drive with other memory device slots
On Sun, 04 Jul 2004 15:34:45 -0400, Tom Parquette <[EMAIL PROTECTED]> wrote: > I was wandering through Comp-USA this morning and I noticed a floppy > drive on the shelf that had sockets for other memory devices. e.g. > secure digital cards. I found it on their web site at: > http://www.compusa.com/products/product_info.asp?product_code=311195&pfp=BROWSE > > It appears to be made by a company called FMI. I could not seem to find > an operatble link to the vendor or guess correctly at a URL. Google > seems to bring me back to Comp-USA's web site. I found some hardware > requirements that make me think this plugs into the FDD cable and there > may be a jumper that goes to a set of USB pins on the motherboard. > > The FBSD 5.2.1 hardware notes page didn't seem to say anything about a > device like this. However, if my reading betwen the lines of the > hardware requirements is accurate, it sounds like it could just drop > right in and work with generic drivers. > > I'm thinking about building a multiheaded X desktop in a small case to > save desktop space. This drive, since I would have to pick up a floppy > drive anyway, appears to be a versitile option for a SFF machine. > > Anybody have any information/experience with something like this? > TIA... In general you'll find that it plugs into the floppy connector for the floppy part (obviously!) and then into a internal USB plug/port on your motherboard for the card reader stuff. I've not actually tried any myself yet, but from what I've read other places that's the basic idea ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SoundBlaster Live problems
On Monday 05 July 2004 08:35, Louis LeBlanc wrote: > I'm having another hangup with 5.2.1. This one is considerably less > critical though. > > I have a SoundBlaster Live! (with 5.1 support, whatever this means). > > Judging from the handbook, all I'm supposed to do is put the following > in the kernel config: > device pcm > device sbc > > and put this in /boot/loader.conf: > snd_emu10k1_load="YES" > > And everything should work. [snip] > Anyone have any suggestions? I have a SBLive with 5.1 (5 channel sound with subwoofer[.1]) and have the following in loader.conf: snd_pcm_load="YES" # Digital sound subsystem snd_emu10k1_load="YES" # Creative Sound Blaster Live And the sound card works -Alastair ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fatal server error
Running version 4.8, when I try to launch Windowmaker as user, I get Fatal server error Cannot move old logfile "/var/log/XFree86.0.log.old." I have tried deleting XFree86.0.log.old, making a blank one, and changing permissions to allow root and user to write to and execute the file. Also, I have tried changing owners from root to user. Nothing I have done works. Any ideas? What's weird to me is that Windowmaker launches no problem from root. Thanks, Ted Parks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pattern replacement
On Sun, Jul 04, 2004 at 08:22:02PM -0500, Vulpes Velox wrote: > On Sun, 4 Jul 2004 17:51:22 -0500 > Jon Drews <[EMAIL PROTECTED]> wrote: > > Sed is useful for this. Here are some good tutorials on it: > > > > Common threads: Sed by example: > > http://www-106.ibm.com/developerworks/linux/library/l-sed1.html > > http://www-106.ibm.com/developerworks/linux/library/l-sed2.html > > http://www-106.ibm.com/developerworks/linux/library/l-sed3.html > > Cool, thanks... I working on something with a fix using head, grep, > and cut :) > > Basically grep -n for #include or whatehet, pipe it into > head -n 1 it, and then head -n (pervious number cut and minus one> the > file, then >> the include into it, and the this is where I am stuck... > I can't find a way to cat everything after a certian line number > out :/ sed(1) is good for replacing one word with another one -- but the OP was talking about implementing something more along the lines of what #include does with the C pre-processor. sed can certainly help to do that, but it's not a complete solution. There's in fact plenty of different ways to do this sort of thing. Some more practical than others. (I once, a long time ago, wrote a website using server-side includes to implement a templating system, using 'lynx -dump' to get apache to process the source files.) Probably the official way to do this sort of thing is to use a macro pre-processor. cpp(1) has often been used, but it is pretty C specific. m4(1) is the general purpose solution but it's got a lot of capabilities and is intimidating to the beginner: % cat foo This is the included text % cat bar Some stuff Some more stuff include(`foo') A last chunk of stuff % m4 < bar Some stuff Some more stuff This is the included text A last chunk of stuff Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgptjslcHW6vW.pgp Description: PGP signature
Re: Telnet - can't telnet is as root
--- [EMAIL PROTECTED] wrote: > I would like to telnet into my 4.9 RELEASE box using > root. Currently when I > try to telnet in as root I get the reply > "LOGIN root REGUSED (NOROOT)". Does anyone know how > I can configure my > system to allow root to directly telnet in. I know > that I can telnet in as > a standard users then 'su' to switch to root. Is > there any reason why I > should configure my system so that I can telnet in > directly as root? > Thanks. > > Regards, > J.S. > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > I believe that this would be a security precaution. If someone tries to compromise your system, then it means that they have to get two passwords to get root. To quote man security: "Security is best implemented through a layered onion approach." Pete __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Telnet - can't telnet is as root
I would like to telnet into my 4.9 RELEASE box using root. Currently when I try to telnet in as root I get the reply "LOGIN root REGUSED (NOROOT)". Does anyone know how I can configure my system to allow root to directly telnet in. I know that I can telnet in as a standard users then 'su' to switch to root. Is there any reason why I should configure my system so that I can telnet in directly as root? Thanks. Regards, J.S. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Handling automake and autoconf versions
> There should be no ports left which reference the removed versions of autoconf > and automake, perhaps you cvsup'd in the middle of the commit. That cant be the problem. I am trying to update my x11/kde3 from last week, and one of its dependencies is automake/autoconf. It fails with a "port directory error" Been cvsup'ing the ports tree since Friday, and latest was two hours ago. -- --- aeefyu --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"