Re: racoon configuration syntax errors
Hello, It looks as though your sainfo line (99) is incorrect. I assume that you blanked out the actual ip with A.A.A.A? As per the racoon.conf.dist, an sainfo entry should have the following syntax: sainfo address 203.178.141.209 any address 203.178.141.218 any That is, the security association info for 203.178.141.209 (any port) and 203.178.141.218 (any port) follows You cannot just have one ip address as this does not create a 1 to 1 mapping. Should you wish to use those settings for a global sa, use: sainfo anonymous HTH. Matt. On Thu, Nov 06, 2003 at 01:17:14PM -0600, Doug Poland wrote: Date: Thu, 6 Nov 2003 13:17:14 -0600 (CST) From: "Doug Poland" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: racoon configuration syntax errors Hello, I'm trying to set up an IPSEC VPN tunnel between two FreeBSD servers using Dru Lavigne's excellent series of articles as a guide. (http://www.onlamp.com/pub/a/bsd/2003/01/09/FreeBSD_Basics.html) Unfortunately, I'm having a problem getting racoon to run because of an alleged syntax error in my racoon.conf. I've tried many variations, googled the lists, and looked at numerous on-line HOW-TO's but to no avail. The error message I'm getting from racoon is this: 2003-11-06 13:13:14: ERROR: cftoken.l:494:yyerror(): racoon.conf:99: "A.A.A.A" syntax error 2003-11-06 13:13:14: ERROR: cfparse.y:1397:cfparse(): fatal parse failure (1 errors) racoon: failed to parse configuration file. Here's the area around line 99 of my racoon.conf: (The line numbers are not actually in the racoon.conf file) 98 99 sainfo A.A.A.A 100 { 101 pfs_group 5; 102 lifetime time 24 hour; 103 encryption_algorithm blowfish ; 104 authentication_algorithm hmac_sha1; 105 compression_algorithm deflate ; 106 } 107 Could someone shed some light on this please? Many thanks in advance. -- Regards, Doug ___ [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]"
USB Mouse in FreeBSD 5.1...
Hello, freebsd-questions! Doesn't work my Genius Optical Wheel Mouse (USB)... MotheBoard - Gigabyte GA-8SG667. /boot/loader.conf: --- uhid_load = "YES" ums_load = "YES" --- /etc/X11/XF86Config: --- Protocol "Auto" Device "/dev/sysmouse" --- Kernel standard (installation)... Thanks for any clues. -- * Andrey * ICQ: 201045832 E-MAIL: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fresh install for XFree86-4
Quoting Kris Kennaway <[EMAIL PROTECTED]>: > On Fri, Nov 07, 2003 at 08:23:03AM +0800, Sham Khalil wrote: > > > > /usr/libexec/elf/ld: bad -rpath option > > *** Error code 1 > > Stop in /shared/ports/x11-servers/XFree86-4-Server/work/xc/lib/font. > > *** Error code 1 > > > > cvsup your ports and try again..that was a transient error that has > since been fixed. > > The XFree86-4 port installs everything you need to run XFree86 4.x. > > Kris > i've done another cvsup today, the problem still would not go away tq sham khalil This e-mail has been sent via JARING webmail at http://www.jaring.my ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: extending vnode disks
On Thu, Nov 06, 2003 at 09:39:09PM +, Rus Foster wrote: > Hi All, > I'm just trying to work out if there is a better way of resizing vnode > disks. ATM I'm basically tar up the contents, rebuilding the vnode , > then restoring the tar. Is there anyway I can extend the file and the > filesystem without going onto vinum? It certainly is possible: http://freebsd.rambler.ru/bsdmail/freebsd-questions_2002/msg40059.html Although making a backup of the vnode backed drive is (as ever) a good idea. 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 pgp0.pgp Description: PGP signature
Re: suidperl in ports?
On Thu, Nov 06, 2003 at 11:11:18PM -0200, Alex Soares de Moura wrote: > Hello, > > I just did a perl portupgrade from perl-5.8.0 to perl-5.8.1_2 > and suidperl is apparently missing. Some apps the server runs > need suidperl. Do someone can help? > At the minimum we need to rollback to the perl-5.8.0. Which is > the best step-by-step to do that if there's no suidperl available > in ports now. suidperl is now an optional part of the perl(1) install. Just re-install perl-5.8.1_2 as follows: # portupgrade -f lang/perl5.8 -m ENABLE_SUIDPERL=yes 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 pgp0.pgp Description: PGP signature
Apache2 ports
I am wondering why there are two apache2 ports commited to the ports tree. /usr/ports/www/apache2 and /usr/ports/www/apache21 are one and the same (unless I am on crack) so why have them? -Wash http://www.netmeister.org/news/learn2quote.html -- |\ _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]> Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 + When God endowed human beings with brains, He did not intend to guarantee them. smime.p7s Description: S/MIME cryptographic signature
console to serial on -current
Hi all, First of all my apologies for this utterly stupid question. I'm trying to get my console at boot time to sio0, but whatever I put in /boot.config or /boot/loader.conf it simply refuses. It's quite obvious that I'm doing something wrong, but what? The man pages aren't very helpful. Does anyone have an idea how I can fix this? The serial connection itself works, after boot I get a nice serial console. I just need to have the kernel debugger on a serial console so I can fix panics from home. Thanks, -- Sabri Berisha "I route, therefore you are" "Wij doen niet aan default gateways" - anonymous engineer bij een DSL klant. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gateway/routing questions
I used to have a situation like this but it was a few years ago and I have forgotten how to set this up in detail. I have a class C network (public) and I have a FreeBSD box with lots of aliases on it providing various services. There is also a Mandrake Linux box that belongs to a customer sitting on my net as well. My provider where I am colocated provides the gateway for my class C in his fancy shmancy switch :-) . I want to add another box (a Linux one unfortunately for some high performance Java 1.4 stuff that won't run on FreeBSD) but I want to make it so that it is on a private class C that should co-exist with my regular class C. Lets say my public one is (this is made up) 128.1.1.0. This is where the FBSD box lives. I want to overlay 192.168.1.0 on my LAN. I will give my FBSD box the address (alias) of 192.168.1.1 . The new Linux box will have a bunch of addresses starting at 192.168.1.10 . The Linux box on the 192.168 network should not have any access going out (so I don't need NAT for example) nor of course coming in. But the FBSD box should continue to have its normal public access on 128.1.1.0 network plus access the Linux box on 192.168. The Linux box should be able to talk to the FBSD box. I think that all I need to do is add an alias address (and a static route out the ethernet port?) to my BSD box and it should work. I don't need anything else to have the BSD box live in this private network as well as the public one, since the private network does not need to get out at all. Is this reasoning correct? In my test lab here I cannot recreate this exactly given some restrictions on how it is set up and so when I go and take the Linux box and stick it in the data room on Friday it needs to work without lots of trouble :-) thanks Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkgdb -F and a few other questions
On Thu, Nov 06, 2003 at 05:33:35PM -0800, [EMAIL PROTECTED] wrote: > Hey All, > By now I have posted alot of questions and you are probably getting > tired of seeing my name in your inbox... But I have yet another for > you. I am currently running FreeBSD 5.1-Current, I have SquirrelMail > 1.4.2 and Courier Imap installed. I installed a plugin for > SquirrelMail that required Perl 5.8 or above. Look to find out I have > 5.6.1 installed. I ran CVSup -x -L 2 sup-ports and then a portupgrade > -Rra and wala, still Perl 5.6.1. So I de-installed 5.6.1 and make > install on perl 5.8.1, ran the pkgdb -Fa and all these errors poped > up. Some of the app's were dependent on Perl 5.6.1, so I had it point > to the Perl 5.8.1 and all is well, and ran a use.perl port command. > For what ever reason I had to re-install SpamAssassin, and the > razor-agents ports too. Yes -- replacing the main perl installation does tend to blow away large chunks of any previously installed perl modules. However, you seem to have managed to cope very well so far. > Now if i run pkgdb -F I get what you see below: > > ---> Checking the package registry database > Missing origin: bsdpan-CPAN-1.7.6 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-Data-Dumper-2.121 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-ReadLine-Perl-1.0203 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-TermReadKey-2.21 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-Text-Aspell-0.04 > -> Ignored. (the package is held; specify -f to force) > > obviously I have updated the perl incorrectly. Not so -- you just haven't finished yet... All of the packages in question are modules you've installed directly using perl's CPAN module, rather than an explicit FreeBSD port. That's why they are missing an origin -- there's no directory under the ports tree that corresponds to those packages. If you check your /usr/local/etc/pkgtools.conf you'll probably find that all of the BSDPAN packages are marked as held (this is the default). That's basically because of the way that BSDPAN packages are generated is different to normal packages, and portupgrade doesn't really have the smarts to cope with maintianing them. > 1) what would of been the correct way to update the perl from version > 5.6.1 to 5.8.1 without causing package db problems? Now, all of the modules you list above either come with the default perl installation, or have regular ports eg. devel/p5-ReadLine-Perl devel/p5-Term-ReadKey I'd recommend that if there's a port for any perl module, you should use that for preference and only install modules via CPAN/BSDPAN failing that. I'd also recommend deleting and re-installing every module your system as a part of the perl-5.6.1 -> 5.8.1 update. This will help keep your installed perl stuff coherent and make managing upgrades via portupgrade smoother. You've apparently done most of this already. It's also a good opportunity to review exactly what you have installed and prune out the unused stuff. There's no need to re-install any of the packages that come as standard with 5.8.1, since they're all right up to date already. > 2) how do i fix the above Missing origin errors? You don't need to: any BSDPAN package will inevitably have a missing origin. 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 pgp0.pgp Description: PGP signature
Re: fresh install for XFree86-4
On Fri, Nov 07, 2003 at 04:27:17PM +0800, Norhisham Khalil wrote: > Quoting Kris Kennaway <[EMAIL PROTECTED]>: > > > On Fri, Nov 07, 2003 at 08:23:03AM +0800, Sham Khalil wrote: > > > > > > /usr/libexec/elf/ld: bad -rpath option > > > *** Error code 1 > > > Stop in /shared/ports/x11-servers/XFree86-4-Server/work/xc/lib/font. > > > *** Error code 1 > > > > > > > cvsup your ports and try again..that was a transient error that has > > since been fixed. > > > > The XFree86-4 port installs everything you need to run XFree86 4.x. > > > > Kris > > > > i've done another cvsup today, the problem still would not go away What release of FreeBSD are you running? Kris pgp0.pgp Description: PGP signature
Re: console to serial on -current
On Fri, Nov 07, 2003 at 10:22:35AM +0100, Sabri Berisha wrote: > First of all my apologies for this utterly stupid question. *pfew* saved myself. echo 'console="comconsole"' > /boot/loader.conf did the trick. Thanks, -- Sabri Berisha "I route, therefore you are" "Wij doen niet aan default gateways" - anonymous engineer bij een DSL klant. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Linking disk utilization to a process
Hi folks, Can anyone suggest a way to link disk utilization to a process? I can see whether my disks are busy with systat -vmstat, but I don't know how to find out _which_ processes are causing the work. Ideas? Ciao, Sheldon. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: racoon configuration syntax errors
On Fri, Nov 07, 2003 at 09:23:21AM +, Matthew Faircliff wrote: > Hello, > > It looks as though your sainfo line (99) is incorrect. I assume that > you blanked out the actual ip with A.A.A.A? > Yes, it's obfuscated > As per the racoon.conf.dist, an sainfo entry should have the > following syntax: sainfo address 203.178.141.209 any address 203.178.141.218 any > That is, the security association info for > 203.178.141.209 (any port) and 203.178.141.218 (any port) > follows You cannot just have one ip address as this does > not create a 1 to 1 mapping. Should you wish to use those settings > for a global sa, use: sainfo anonymous > > HTH. > I hope so. I'm following the example on: http://www.onlamp.com/pub/a/bsd/2002/12/26/FreeBSD_Basics.html?page=2 towards the bottom of the page. That example must be erroneous. I'll give your suggestion a try, thanks! -- Regards, Doug > > On Thu, Nov 06, 2003 at 01:17:14PM -0600, Doug Poland wrote: > Date: Thu, 6 Nov 2003 13:17:14 -0600 (CST) > From: "Doug Poland" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: racoon configuration syntax errors > > Hello, > > I'm trying to set up an IPSEC VPN tunnel between two FreeBSD servers using Dru > Lavigne's > excellent series of articles as a guide. > > (http://www.onlamp.com/pub/a/bsd/2003/01/09/FreeBSD_Basics.html) > > Unfortunately, I'm having a problem getting racoon to run because of an alleged > syntax > error in my racoon.conf. I've tried many variations, googled the lists, and looked > at > numerous on-line HOW-TO's but to no avail. > > The error message I'm getting from racoon is this: > > 2003-11-06 13:13:14: ERROR: cftoken.l:494:yyerror(): racoon.conf:99: "A.A.A.A" > syntax error > 2003-11-06 13:13:14: ERROR: cfparse.y:1397:cfparse(): fatal parse failure (1 errors) > racoon: failed to parse configuration file. > > Here's the area around line 99 of my racoon.conf: (The line numbers are not > actually in > the racoon.conf file) > > 98 > 99 sainfo A.A.A.A > 100 { > 101 pfs_group 5; > 102 lifetime time 24 hour; > 103 encryption_algorithm blowfish ; > 104 authentication_algorithm hmac_sha1; > 105 compression_algorithm deflate ; > 106 } > 107 > > Could someone shed some light on this please? Many thanks in advance. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: upgrade named
Thanks for the reply Horio but it was a simple path issue... I was reading too much into this problem - It's been fixed Thanks again. Arni -Original Message- From: horio shoichi [mailto:[EMAIL PROTECTED] Sent: Thursday, 06 November, 2003 20:35 To: Arnason, Arni Cc: 'Wes Zuber'; Jonathan Chen; Arnason, Arni; '[EMAIL PROTECTED]' Subject: Re: upgrade named On Thu, 6 Nov 2003 08:13:07 -0500 "Arnason, Arni" <[EMAIL PROTECTED]> wrote: > > 8.3.3 is in /usr/sbin > 9 went into /usr/local/sbin > > modified rc.conf to point to the > new binary > named_program="/usr/local/sbin/named" > > but I'm still stuck with 8.3.3 > > ps shows my named up and running but a > which named still points to my 8.3.3 version > > doesn't make sense to me, should be working > > any ideas? > > Arni > > > -Original Message- > From: Wes Zuber [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 05 November, 2003 14:46 > To: Jonathan Chen > Cc: '[EMAIL PROTECTED]'; Arnason, Arni > Subject: Re: upgrade named > > > We had the same issue. The named binary on our 8.3.3 set up was in > /usr/local/bin When we installed 9 that went into /usr/sbin > > I suspect that you are just calling the old binary. > > --Wes > > On Nov 5, 2003, at 11:35 AM, Jonathan Chen wrote: > > > On Wed, Nov 05, 2003 at 11:38:55AM -0500, Arnason, Arni wrote: > >> > >> > >>I've been trying to upgrade named to version 9 > >> but seem to be missing something > >> > >> Currently have: FreeBSD 4.6.2 with named 8.3.3 > >> > >> downloaded, configured and installed version 9 - updated rc.conf to > >> point to the new location, rebooted and I'm still running 8.3.3 > > > > I've got the same setup and it works fine. What's in your /etc/rc.conf > > and what's the output of "ps ax | grep named"? > > -- > > Jonathan Chen <[EMAIL PROTECTED]> > > -- > > When you don't know what you are doing, do it neatly. > > ___ > > [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]" > To see the running bind version: host -t txt -c chaos version.bind (and the variants of nslookup, dig). This may not work on 9.x bind correctly, since ) zone file for bind must be correctly maintained. Also this may not work if your bind installation prohibits such retrievals. horio shoichi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how do you get dump to assume "yes" to its questions
Hello all, I've managed to start utilizing dump and the flags to exclude certain directories. The problem i've run into is when i try to back up /usrit's so big and dump breaks it up into tinier pieces(i'm dumping to a file). it asks me if the new volume is mounted and ready to go. Obviously it is...is there a way for dump to just run through all this without bothering me? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: moving /usr
Please enter a subject next time -- many people will skip your message otherwise. > I've installed 4.8 off CD onto a PII-200 w/ 80MB ram and two ide's, primary > has 1GB, secondary has 2GB. > > Don't understand how to allocate /usr to the secondary ide or even give it > more space on the primary, and I run out of room with only 1/4 GB for /usr > to install most of the binaries. Would like for starters to allocate both > those hd's to FreeBSD and have enough room to install Samba and see if I > can then communicate over my LAN. So, if I understand you right, you have space left on your 2GB hd, and you would like to move your /usr partition there? 1.) Allocate space on that 2nd hard disk: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html You can also use /stand/sysinstall for this. 2.) Shutdown to single user mode 3.) Assuming that your new user is mounted on /mnt/usr.new, the following command will copy everything from /usr there. # /usr # tar -cpf - -C /usr . | tar xpvf - -C /mnt/usr.new Please also refer to the tar(1) man page! 3.) Now edit /etc/fstab and make your new copy the default (the best is to write the partition of the old /usr on a piece of paper, or keep it as a comment in /etc/ftab. 4.) Done. Unmount /mnt/usr.new and mount it to /usr. There isn't even a need to reboot :-) Simon signature.asc Description: Digital signature
Re: how do you get dump to assume "yes" to its questions
On Fri, 7 Nov 2003 23:33, Scott Renna wrote: > Hello all, > > I've managed to start utilizing dump and the flags to exclude certain > directories. The problem i've run into is when i try to back up > /usrit's so big and dump breaks it up into tinier pieces(i'm dumping > to a file). it asks me if the new volume is mounted and ready to go. > Obviously it is...is there a way for dump to just run through all this > without bothering me? > Not certain I understand what you want, but I think you want the '-a' option with dump so that it writes all to one file without stopping. Try the man page. Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing Linux-software (Mozilla 1.5)
Hi, Being relatively new to FreeBSD I tried to install the Linux-version of Mozilla 1.5 (mozilla-i686-pc-linux-gnu-1.5-sea.tar.gz). After untarring and starting mozilla-installer I end up with bash-2.05b# ./mozilla-installer ./mozilla-installer-bin: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory bash-2.05b# Any ideas where I can get hold of the required library? I've already done a make search name=libgtk in /usr/ports but to no extent... Thanks much in advance for any clue, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Alsa
Hi.. My name is Per, and I have had a problem with getting my soundcard work i FreeBSD. I have tryed all from FreeBSD 4.5 to FreeBSD 5.1 but it will not work. Some say it has somthing with PnP, and that FreeBSD not supports PnP-Audio so well. Then I installed Slackware Linux, and I tryed out a package called Alsa (ran 'alsaconfig') and it found my Audiocard right away, but I prefer FreeBSD infront of Linux (almost hate Linux).. But here is my question: Do FreBSD have Alsa with alsaconfig or do devolopers at fbsd have plans to do somekind of alsa-project?? // Mvh Per -- --** http://www.passarounders.com **-- -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linking disk utilization to a process
Sheldon Hearn wrote: Hi folks, Can anyone suggest a way to link disk utilization to a process? I can see whether my disks are busy with systat -vmstat, but I don't know how to find out _which_ processes are causing the work. Ideas? You could enable kernel system accounting (please see sa(8) and friends). While this is not realtime it may be okay for debugging purposes. The accounting log provides the command name along with a number of readings, including the number of disk i/o operations. Please note that the accounting data is available for logging purposes only after the respective process terminated. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing With Two ISPs?
"Drew Tomlinson" <[EMAIL PROTECTED]> writes: > I have a 4.8 box serving as a gateway with two connections to the > Internet. Is there some way to set the box up so that packets are > routed out through the same interface from which they arrived? For > example, if a connection is initiated on port 80 from a packet arriving > on one interface, is there a way to make the outgoing packets from my > web server use that same interface as a gateway instead of the default > interface? Strictly speaking, this wouldn't be IP. There are a number of ways to hack something like this, but bear in mind that they all really are hacks. The "non-hack" way to do it would be to run real routing protocols, but that requires cooperation from the ISPs... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: machdep.hlt_logical_cpus
Steve Wingate <[EMAIL PROTECTED]> writes: > I don't see this as a recognized option in 4.9-STABLE > > daemon# uname -a > FreeBSD daemon.g-e-e-k.net 4.9-STABLE FreeBSD 4.9-STABLE #11: Wed Oct 29 > 13:08:33 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/XEON > i386 > > daemon# sysctl machdep.hlt_logical_cpus=0 > sysctl: unknown oid 'machdep.hlt_logical_cpus' Funny, it looks like it should be there as long as SMP is defined. Maybe you didn't actually get the bits as of the release? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Are threads Being filtered and/ or deleted from the archives?
"nw1" <[EMAIL PROTECTED]> writes: > Sorry to have to post this to the community at large, but the list maintainer hasn't > gotten back to me on other issues. With respect to the initial thread = Subject: > Re: Overheating attributed to Freebsd --sysctlvariablesnotavailable-- > > Any Idea why I'm not able to find this full thread in the archives? I need an AMD > representative to view this thread and it doesn't seem to be available from > beginning to > end. I can only find the last RE: from this week. I hope they aren't filtering out > threads that have a valid topic/concern. My own mail reader has had trouble threading your messages, so I suspect that your own software is doing weird things with header information. The archive software isn't especially smart, so it may not be good at connecting all the dots. Also bear in mind that some messages may have been sent directly to you, and not to the list in the first place. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anymore help out there? Re: mail never gets sent
On Nov 6, 2003, at 6:32 PM, [EMAIL PROTECTED] wrote: Jonathan Chen <[EMAIL PROTECTED]> wrote on 11/06/2003 03:23:43 PM: The timeouts look suspicious. Is your upstream blocking outgoing SMTP connections (perhaps in an attempt to stop spam)? A quick way to check would be to: telnet mx4.mail.yahoo.com smtp No response would mean that someone is blocking you out (either upstream or the receivers). Tried that, it just sits on simradusa# telnet mx4.mail.yahoo.com smtp Trying 216.136.129.5... and never connects. OK, so you can be reasonably sure your ISP is blocking port 25. You will probably need to configure your mail server to relay via your ISPs SMTP server instead-- change the SMART_HOST definition in /etc/mail/freebsd.mc and do a "make restart" in /etc/mail, and see whether that helps... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make dev problems
"Jason Burris" <[EMAIL PROTECTED]> writes: > > Tim Aslat <[EMAIL PROTECTED]> writes: > > > >> In the immortal words of "Jason Burris" <[EMAIL PROTECTED]>... > >> > I need to compile a kernel with IPFW on a remote machine running > >> > FreeBSD4.7. I followed the steps listed at: > >> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > >> > >> Following the handbook isn't a bad start. > > > > It's nice to see someone actually do it for a change. > > > >> > In my COMPUTERNAME config file I've add the following three > >> lines to > >> > the end for IPFW: > >> > > >> > options IPFIREWALL > >> > options IPFIREWALL_VERBOSE > >> > options IPFIREWALL_DEFAULT_TO_ACCEPT > >> > > >> > And I changed this line, which I read was necessary: > >> > > >> > ident COMPUTERNAME > >> > >> Not bad, but a more secure way would be to default to deny rather > >> than > >> accept, but that's personal preference. > > > > In this case, where the machine is remote and you could lock > > yourself > > out, it's probably better to default to accept instead. Eventually, > > there will be a firewall rule denying unmatched packets, and even > > then > > you have to be careful about backing out the ruleset automatically > > if > > you lock yourself out. > > > >> > I'm able to run: > >> > > >> > /usr/sbin/config COMPUTERNAME > >> > cd ../../compile/COMPUTERNAME > >> > > >> > When I run > >> > > >> > make depend > >> > > >> > Everything runs fine until it dies with the error: > >> > > >> > make: don't know how to make iconv.h. > >> > Stop*** Error code 2 > >> > Stop in /usr/src/sys/modules.*** > >> > Error code 1 > >> > > >> > I've checked and this file is in my /usr/src/sys directory.What > >> am I > >> > doing wrong? Do I even need this header to be compiled intothe > >> > kernel? > >> > >> You might want to try the "newer" method of building a kernel. > >> > >> cd /usr/src > >> make buildkernel KERNCONF=COMPUTERNAME > >> > >> make installkernel KERNCONF=COMPUTERNAME > > > > I don't think that will be any better. Either way, he needs to have > > sources that match his system, and the "old" way will work fine when > > that is the case. > > > > The system didn't have the sources, so I downloaded the first CD ISO > and extracted them from there into: > > /usr/src/sys > > Could there be more sources that I need to extract? Where did you get the ISO from? Is it for the exact same version as the system you're already running? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /usr/local/etc/rc.d
"Lu" <[EMAIL PROTECTED]> writes: > 1. (*) text/plain ( ) text/html > > Are the /usr/local/etc/rc.d listed on startup script dirs at /etc/defaults/rc.conf?? > > i.e.: local_startup="/usr/local/etc/rc.d" # startup script dirs. I don't know. I'm not the one who asked the question. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sftp mount?
Hi, I'm wondering if there might be any way to mount an sftp ``filesystem''? At my university everything is firewalled and the only way I can transfer files to/from my account is to use sftp -- but that gets quite painful after a while. I was wondering if anybody knew a way I might achieve what could essentially be described as mounting an sftp ``export''? Maybe I could specify an argument that sets the logical root? So: mount_sftp --root=/home/lewiz foo.bar.com /remote_home would provide /home/lewiz on foo.bar.com at /remote_host? Is this possible in any way at all? Or can anybody suggest any other way I might achieve something similar? Bear in mind I am actually restricted to sftp/ssh. Thanks very much! -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: Installing Linux-software (Mozilla 1.5)
[EMAIL PROTECTED] writes: > Being relatively new to FreeBSD I tried to install the Linux-version > of Mozilla 1.5 (mozilla-i686-pc-linux-gnu-1.5-sea.tar.gz). After > untarring and starting mozilla-installer I end up with > > bash-2.05b# ./mozilla-installer > ./mozilla-installer-bin: error while loading shared libraries: libgtk-1.2.so.0: > cannot open shared object file: No such file or directory > bash-2.05b# > > Any ideas where I can get hold of the required library? I've already done a > > make search name=libgtk in /usr/ports but to no extent... > > Thanks much in advance for any clue, If you had tried installing from the linux-mozilla-devel port (the linux-mozilla port is for 1.4, not 1.5), it would have automatically built ${PORTSDIR}/x11-toolkits/linux-gtk as a dependency. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sftp mount?
* Lewis Thompson <[EMAIL PROTECTED]> [20031107 17:28]: wrote: > Hi, > > I'm wondering if there might be any way to mount an sftp ``filesystem''? > At my university everything is firewalled and the only way I can > transfer files to/from my account is to use sftp -- but that gets quite > painful after a while. What do you mean by quite painful? sftp should be very easy to use, as it uses the underlying ssh. All you have to do is automate the "ftp" process. You can do this via a script run via your personal cron Tell us what you want to achieve and well chip in with good ideas. > I was wondering if anybody knew a way I might achieve what could > essentially be described as mounting an sftp ``export''? Maybe I could > specify an argument that sets the logical root? > > So: > > mount_sftp --root=/home/lewiz foo.bar.com /remote_home Hmm, with that security level, I wonder how they will handle NFS. Basically you have to ask the folks administering your systems if they allow NFS and I doubt it already. > would provide /home/lewiz on foo.bar.com at /remote_host? Is this > possible in any way at all? It is, as above. > Or can anybody suggest any other way I might achieve something similar? > Bear in mind I am actually restricted to sftp/ssh. Forget your ideas. Tell us what it is that you want to be doing. -Wash http://www.netmeister.org/news/learn2quote.html -- |\ _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]> Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 + Everyone can be taught to sculpt: Michelangelo would have had to be taught how ___not to. So it is with the great programmers. pgp0.pgp Description: PGP signature
Re: Alsa
* Per Nilsson <[EMAIL PROTECTED]> [20031107 16:57]: wrote: > > Hi.. > > My name is Per, and I have had a problem with getting my soundcard work i > FreeBSD. I have tryed all from FreeBSD 4.5 to FreeBSD 5.1 but it will not > work. Some say it has somthing with PnP, and that FreeBSD not supports > PnP-Audio so well. > Then I installed Slackware Linux, and I tryed out a package called Alsa > (ran 'alsaconfig') and it found my Audiocard right away, but I prefer > FreeBSD infront of Linux (almost hate Linux).. But here is my > question: > > Do FreBSD have Alsa with alsaconfig or do devolopers at fbsd have plans to > do somekind of alsa-project?? What is the model/make of your sound card? In FreeBSD, for a PnP soundcard, all you have to do is compile a new kernel with the following option: # For PnP/PCI sound cards device pcm After that if your soundcard is not detected, then you should try looking for other options to use in /sys/i386/conf/LINT -Wash http://www.netmeister.org/news/learn2quote.html -- |\ _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]> Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 + From too much love of living, From hope and fear set free, We thank with brief thanksgiving, Whatever gods may be, That no life lives forever, That dead men rise up never, That even the weariest river winds somewhere safe to sea. -- Swinburne smime.p7s Description: S/MIME cryptographic signature
Re: sftp mount?
On Fri, Nov 07, 2003 at 05:56:43PM +0300, Odhiambo Washington wrote: > * Lewis Thompson <[EMAIL PROTECTED]> [20031107 17:28]: wrote: > > At my university everything is firewalled and the only way I can > > transfer files to/from my account is to use sftp -- but that gets quite > > painful after a while. > > What do you mean by quite painful? sftp should be very easy to use Yeah, it is fairly easy to use but it's still annoying to be doing it. In reality what I want is to edit the remote files directly. I don't want to be copying back/forth. It can't really be automated either, since I'm not doing the same task over and over. > Basically you have to ask the folks administering your systems if they > allow NFS and I doubt it already. No, they don't. Pretty much the only thing allowed is ssh/sftp. > > Or can anybody suggest any other way I might achieve something similar? > > Bear in mind I am actually restricted to sftp/ssh. > > Forget your ideas. Tell us what it is that you want to be doing. I want my remote home directory (available just by ssh) to be transparently available from a local directory :P Thanks very much, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
cendyne 56k external serial modem?
Howdy list, I've been looking for a cheap external v.90 56k lately so I can go ahead and convert my home computer to FreeBSD (has a winmodem currently). I found the cendyne 56k modems all over the internet for about $20, sometimes even including shipping. I think Cendyne went out of business or something. Anyway, I'm just wondering if the cendyne 56k is indeed a controller based serial modem, or if it's a nasty serial winmodem, designed to fool the world into thinking it's controller based. Has anyone had experience with the cendyne external 56k serial modem? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing With Two ISPs?
- Original Message - From: "Lowell Gilbert" <[EMAIL PROTECTED]> Sent: Friday, November 07, 2003 6:02 AM > "Drew Tomlinson" <[EMAIL PROTECTED]> writes: > > > I have a 4.8 box serving as a gateway with two connections to the > > Internet. Is there some way to set the box up so that packets are > > routed out through the same interface from which they arrived? For > > example, if a connection is initiated on port 80 from a packet arriving > > on one interface, is there a way to make the outgoing packets from my > > web server use that same interface as a gateway instead of the default > > interface? > > Strictly speaking, this wouldn't be IP. There are a number of ways to > hack something like this, but bear in mind that they all really are > hacks. The "non-hack" way to do it would be to run real routing > protocols, but that requires cooperation from the ISPs... And since I'm not a very good 'hack', I'll stick with the tools provided. :) Thanks for your reply. I posted in -net (I'll forward to you if you want) regarding my specific salutation and why 'ipfw fwd' hasn't worked for me. Any ideas you have will be greatly appreciated. Thanks again! Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache2 ports
Odhiambo Washington <[EMAIL PROTECTED]> writes: > I am wondering why there are two apache2 ports commited to the > ports tree. > > /usr/ports/www/apache2 and /usr/ports/www/apache21 are one and > the same (unless I am on crack) so why have them? The apache21 port is probably intended to install Apache 2.1 rather than 2.0. It appears to have been created by repo-copy, and is presumably waiting for the port maintainer to update it to 2.1 instead of 2.0.48. These kinds of questions are usually best addressed to the port maintainer. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cendyne 56k external serial modem?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Friday 07 November 2003 15:02, Jesse Guardiani wrote: > a nasty serial winmodem, designed to fool the world > into thinking it's controller based. External serial winmodems didn't exist last time I checked, you should be safe with any external serial. - -- Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED] Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/q3fNF8Iu1zN5WiwRAh7fAKCPw+DDGK5roeX48y5y97bS/hLf8gCcCs3N kPTR9G1rG+6QkNjNv8Qi444= =Lvsy -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Extracting individual Files via tar
My thanks to 3 people who pointed out the error of my ways. I actually had the positions of the archive and the file I was extracting reversed as far as what I was thinking should be the correct order. Then, I thought maybe I didn't need to have the f flag. Anyway, it all works fine now. Many thanks. Martin McCormick "Rob" writes: >You should always use the f option to specify the archive - for example > >tar -tzf archive.tgz > >to list or > >tar -xzf archive.tgz > >to extract. In your example below, you didn't specify an archive so it >defaulted to the device /dev/sa0, which it couldn't open. > >Any extra arguments are treated as archive members - eg > >tar -xzf archive.tgz files/to/extract > >In your example below, it was trying to find 2 files in a non-existent >archive. > >- Original Message - >From: "Martin McCormick" <[EMAIL PROTECTED]> >Subject: Extracting individual Files via tar > > >> The command >> >> tar ztf /usr/local/src/ports.tar.gz >> >> produces a table of contents just like the man page says it should. >> The man page also says that individual files can be recovered or >> listed but I haven't gotten that to work at all. if I try: >> >> $ tar zt ports/print/pstotext/ /usr/local/src/ports.tar.gz >> >> tar (child): /dev/sa0: Cannot open: Permission denied >> tar (child): Error is not recoverable: exiting now >> >> gzip: stdin: unexpected end of file >> tar: Child returned status 2 >> tar: ports/print/pstotext: Not found in archive >> tar: /usr/local/src/ports.tar.gz: Not found in archive >> tar: Error exit delayed from previous errors >> >> In the successful test, tar obviously knew which specification >> was the archive and was able to uncompress it with the z flag. The >> file specification I am attempting to recover from the archive throws >> tar completely off. I looked in the handbook and all the examples I >> found were the more usual procedure of unpacking whole file systems >> as in >> >> tar zxf somedir/archive.tar.gz >> >> I'm not having trouble with that use of tar. >> >> Thank you. >> >> Martin McCormick WB5AGZ Stillwater, OK >> OSU Information Technology Division Network Operations Group >> ___ >> [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]"
Question about tracking Current
I'm trying to track the Current builds and have a question about my cvsup file. Should my release tag be defautl tag=. or default tag=RELENG_5 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perc 3/di freebsd managment software
Howdy list, For those of you with a Dell Perc 3/di, I found this software yesterday, and I thought you all might find it interesting: http://www.adaptec.com/worldwide/support/driversbycat.html?sess=no&language=English+US&cat=%2fOperating+System%2fFreeBSD Download the "Command Line Interface (CLI) version 1.0 for FreeBSD 4.4 and FreeBSD 4.5 For the Adaptec SCSI RAID 5400S" Works great with the Perc 3/di. I can now monitor and rebuild my array without taking the machine down! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Question about tracking Current
Ray Seals <[EMAIL PROTECTED]> writes: > I'm trying to track the Current builds and have a question about my > cvsup file. > > Should my release tag be > > defautl tag=. > > or > > default tag=RELENG_5 the former. There is no RELENG_5, and won't be until it's considered -STABLE. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html Make sure you know what you're getting into with -CURRENT, though. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: access extended partition
Hi Jason: In my /etc/fstab I have # DeviceMountpoint FStype Options Dump Pass /dev/ad0s1 /Disco-Cmsdos rw,noauto 0 0 /dev/ad0s3 /Disco-Dmsdos rw,noauto 0 0 When I try to mount I get the next error [EMAIL PROTECTED] ~> mount /Disco-D msdos: /dev/ad0s3: Invalid argument The device exist, which is the invalid argument? [EMAIL PROTECTED] ~> ll /dev/ad0s3 crw-r- 2 root operator 116, 0x00040002 Sep 22 00:46 /dev/ad0s3 -TIA maps -Mensaje original- De: Jason [mailto:[EMAIL PROTECTED] Enviado el: Sábado, 06 de Diciembre de 2003 06:59 p.m. Para: Paredes Sánchez MartÃn A. Cc: [EMAIL PROTECTED] Asunto: Re: access extended partition [EMAIL PROTECTED] wrote: >Hi: > >I have 3 partition in my hard disk, the first an the third are for >windows, so the first (C:) is FAT32 and the third has only one logic >unit (D:) and has FAT32. > >how can I access D:? > >maps > >___ >[EMAIL PROTECTED] mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > Add them to /etc/fstab. The handbook has details to walk you through it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Question about tracking Current
On Fri, 2003-11-07 at 09:49, Lowell Gilbert wrote: > Make sure you know what you're getting into with -CURRENT, though. > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html > OK, I was looking in the FreeBSD UnLeashed book and they have a table on page 479 (Table 18.2) which makes a reference to RELENG_5 as a valid branch tag for Current. I'm running 5 Current on a new laptop I purchased (had to use Current to get everything to work) and wanted to make sure that when I cvsup'd again I was really tracking current. I also signed up for the Current mailing list. Thanks for the information. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: access extended partition
Hi Konstantin: The line you are suggesting is for a first slice in the master hard disk in the second controller, I only have 1 disk. If you are familiar with MS, the slice are called partition in MS, but only 1 primary partition can exist in windows, so the rest of the disk has to be assigned to a extended partition, and inside this extended partition, you can create logical units (like partitions in FreeBSD). In my case, the entire extended partition is used by D: maps -Mensaje original- De: Konstantin Gritsenko [mailto:[EMAIL PROTECTED] Enviado el: Viernes, 07 de Noviembre de 2003 11:10 a.m. Para: Paredes Sánchez MartÃn A. Asunto: Re: access extended partition you need add following line in /etc/fstab /dev/ad2s1 /mountpoint msdos rw,noauto 0 0 On Thu, Nov 06, 2003 at 06:17:53PM -0700, [EMAIL PROTECTED] wrote: > > Hi: > > I have 3 partition in my hard disk, the first an the third are for > windows, so the first (C:) is FAT32 and the third has only one logic > unit (D:) and has FAT32. > > how can I access D:? > > maps > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Best regards ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how do you get dump to assume "yes" to its questions
On Fri, 7 Nov 2003 23:35:29 +1030 Malcolm Kay <[EMAIL PROTECTED]> wrote: > On Fri, 7 Nov 2003 23:33, Scott Renna wrote: > > Hello all, > > > > I've managed to start utilizing dump and the flags to exclude > > certain directories. The problem i've run into is when i try to > > back up/usrit's so big and dump breaks it up into tinier > > pieces(i'm dumping to a file). it asks me if the new volume is > > mounted and ready to go. Obviously it is...is there a way for dump > > to just run through all this without bothering me? > > > > Not certain I understand what you want, but I think you want the > '-a' option with dump so that it writes all to one file without > stopping. Try the man page. Not certain I understand either, but if all you want is a way to answer 'y' to every prompt a program gives you, one way is to use the 'yes' command. e.g. yes | rm -rf /tmp/* -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can't make the system see my modem! Please help!!!
I have ELINE 576-PS (PCTel PCT789T-A Chipset) internal modem device and need to set it up under FreeBSD 4.7 box. GENERIC kernel says when booting: pci0: (vendor=0x134d, dev=0x7897) at 11.0 irq 9 As you see my modem is unknown for GENERIC kernel. I saw /boot/defaults/loader.conf and found no line corresponding to that particular modem at all. What should I do to make the system see the device and interact with one. Any help would be apreciated. -- Best regards, Сергей mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Openoffice 1.1 - can't install port
Hi, Tried to install OpenOffice 1.1 under /usr/ports/editors/openoffice-devel. However make ended with an error: -- < Cut here > -- >> oo_645_src_20030815.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/ope noffice. >> Attempting to fetch from http://projects.imp.ch/openoffice/645/. Receiving oo_645_src_20030815.tar.bz2 (184785753 bytes): 100% (ETA 00:00) 184785753 bytes transferred in 927.9 seconds (194.49 kBps) >> gpc231.tar.Z doesn't seem to exist in /usr/ports/distfiles/openoffice. >> Attempting to fetch from ftp://ftp.cs.man.ac.uk/pub/toby/gpc/. fetch: ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z: Connection refused >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/op enoffice/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/openoffice/gpc231.tar.Z : Connection refused >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/openoffice and try again. *** Error code 1 Stop in /usr/ports/editors/openoffice-devel. bash-2.05b# -- < Cut here > -- Seems like the source is fetched but when trying to fetch "gpc231.tar.Z" the connection failed. This error is reproducible at least for several hours. Anybody else failed at that point? Anything that can be done against it? The above message says "fetch the port manually" - where can I get it from? TIA for any clue, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Don`t know what to do... :))
I installed XFree86, then i run XFree86 -configure, then i run XFree86 -xf86config XF86Config.new. Everything is ok. Than i cp XF86Config.new to /etc/X11/XF86Config (i tried to copy and to /usr/X11R6/etc/X11/XF86Config but there is no directory X11). then, when i run startx i get the next error: screen not found... I know i can do everythiing with xf86cfg but i don`t understand why the first way has problems (may be i have problems : ). Thank You! - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[OT?] Tying a socket to stdin/stdout w/dup2() ?
Hi all, Sorry if this question is a little off topic since it's not strongly FreeBSD-specific. I've got a C program that opens a TCP/IP socket and makes a client connection. What I'd like to do is to 'tie' the socket to this program's standard I/O, so that anything that is fed into this program's stdin, is immediately sent to the socket, and anything that appears on the socket, is immediately sent out this program's stdout. (The end effect being a sort of pathologically simple version of what telnet, (or inetd or ucspi-tcp) does.) Trying to figure this out using Google, the best lead I got was to try something like this: fclose(stdin); fclose(stdout); dup2(sd, 0); dup2(sd, 1); But it doesn't seem to do much good. (At best, I think this means the program can communicate with the socket as if it were stdio - but from the program user's point of view, stdio disappears completely.) I'd rather not resort to getting my hands dirty with select(2), but I guess if there's really no other way, I'll have to. TIA, -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT?] Tying a socket to stdin/stdout w/dup2() ?
On Nov 7, 2003, at 12:19 PM, Chris Pressey wrote: I've got a C program that opens a TCP/IP socket and makes a client connection. What I'd like to do is to 'tie' the socket to this program's standard I/O, so that anything that is fed into this program's stdin, is immediately sent to the socket, and anything that appears on the socket, is immediately sent out this program's stdout. (The end effect being a sort of pathologically simple version of what telnet, (or inetd or ucspi-tcp) does.) Take a look at netcat, from /usr/ports/net/netcat. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: access extended partition
On Friday 07 November 2003 08:38 am, [EMAIL PROTECTED] wrote: > Hi Konstantin: > > The line you are suggesting is for a first slice in the master > hard disk in the second controller, I only have 1 disk. > > If you are familiar with MS, the slice are called partition in > MS, but only 1 primary partition can exist in windows, so the > rest of the disk has to be assigned to a extended partition, and > inside this extended partition, you can create logical units > (like partitions in FreeBSD). > > In my case, the entire extended partition is used by D: The logicals start at s5. With W2K and XP , you can have 4 primary partitions. Kent > > maps > > -Mensaje original- > De: Konstantin Gritsenko [mailto:[EMAIL PROTECTED] > Enviado el: Viernes, 07 de Noviembre de 2003 11:10 a.m. > Para: Paredes Sánchez MartÃn A. > Asunto: Re: access extended partition > > > you need add following line in /etc/fstab > > /dev/ad2s1 /mountpoint msdos rw,noauto 0 0 > > On Thu, Nov 06, 2003 at 06:17:53PM -0700, [EMAIL PROTECTED] wrote: > > Hi: > > > > I have 3 partition in my hard disk, the first an the third are for > > windows, so the first (C:) is FAT32 and the third has only one logic > > unit (D:) and has FAT32. > > > > how can I access D:? > > > > maps > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > Best regards > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- 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]"
freebsd-test list?
I am trying to send test messages to the [EMAIL PROTECTED] list but they never show up. I subscribed to the list just to see if my mail server is working. I've sent messages from several machines through differant mail servers, and none show up. Does that list even work at all? Regards, -- Chip Wiegand Computer Services Simrad, Inc www.simradusa.com [EMAIL PROTECTED] "There is no reason anyone would want a computer in their home." --Ken Olson, president, chairman and founder of Digital Equipment Corporation, 1977 (Then why do I have 8? Somebody help me!) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
the -L in dump
Was working my way through dump and was going over what the -L switch is used for. I guess one would use this when you are dumping a mounted file system correct? Here's what I've been trying to do, dump all of / without dumping /tmp, /proc, /mnt, and /entropy. I've already learned to use the nodump flag with some help from a list member and now I want my dump to run correctly. My commandline is as follows: dump -0 -a -f /mnt/backup_drive/ad0backup/main_backup11_03 -h 0 -L -u / Will a command like this dump the entire file system for me for later restore should a complete meltdown happen? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-test list?
Forget it, one test message has finally appeared, just took quite a while. Unfortunately it's not from the FreeBSD box I'm trying to get to send messages. :( -- Chip Wiegand Computer Services Simrad, Inc www.simradusa.com [EMAIL PROTECTED] "There is no reason anyone would want a computer in their home." --Ken Olson, president, chairman and founder of Digital Equipment Corporation, 1977 (Then why do I have 8? Somebody help me!) [EMAIL PROTECTED] wrote on 11/07/2003 09:53:18 AM: > I am trying to send test messages to the [EMAIL PROTECTED] list but > they never show up. I subscribed to the list just to see if my mail server > is working. I've sent messages from several machines through differant > mail servers, and none show up. Does that list even work at all? > Regards, > -- > Chip Wiegand > Computer Services > Simrad, Inc > www.simradusa.com > [EMAIL PROTECTED] > > "There is no reason anyone would want a computer in their home." > --Ken Olson, president, chairman and founder of Digital Equipment > Corporation, 1977 > (Then why do I have 8? Somebody help me!) > ___ > [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: Can't make the system see my modem! Please help!!!
Thanks so much for the help in getting my V.Everything Internal Modem working! I wanted to document the steps that I took so that in the future if Anyone else has this problem, hopefully this can point them in the right direction. To start with, I used the 'pnpinfo' command, and this got my hopes up that it was possible to get this modem working eventually. The output of pnpinfo was as follows: Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID USR0101 (0x01017256), Serial Number 0xacb0bb15 PnP Version 1.0, Vendor Version 0 Device Description: USRobotics Courier V.Everything Logical Device ID: USR0009 0x09007256 #0 TAG Start DF Good Configuration FIXED I/O base address 0x2f8 length 0x8 IRQ: 3 4 5 7 9 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x3f8 length 0x8 IRQ: 3 4 5 7 9 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x3e8 length 0x8 IRQ: 3 4 5 7 9 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x2e8 length 0x8 IRQ: 3 4 5 7 9 - only one type (true/edge) TAG End DF End Tag Successfully got 16 resources, 1 logical fdevs -- card select # 0x0001 CSN USR0101 (0x01017256), Serial Number 0xacb0bb15 Logical device #0 IO: 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 IRQ 5 0 DMA 4 4 IO range check 0x00 activate 0x01 The part that is interesting to us is this: Card assigned CSN #1 Vendor ID USR0101 (0x01017256), Serial Number 0xacb0bb15 PnP Version 1.0, Vendor Version 0 Device Description: USRobotics Courier V.Everything Logical Device ID: USR0009 0x09007256 #0 According to the documentation in the file: /usr/share/doc/en/books/faq/book.txt we need to add the part after the USR0101, (which is 0x01017256), to the file /usr/src/sys/isa/sio.c, recompile our kernel, and voila, it should be found. However, this didn't work for me right away. I played around with it, and found that it was the number on the line labeled 'Logical Device ID' that I needed to add to the sio.c file. After trying that, I recompiled the kernel and it worked like a charm. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Сергей Куликов Sent: Friday, November 07, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Can't make the system see my modem! Please help!!! I have ELINE 576-PS (PCTel PCT789T-A Chipset) internal modem device and need to set it up under FreeBSD 4.7 box. GENERIC kernel says when booting: pci0: (vendor=0x134d, dev=0x7897) at 11.0 irq 9 As you see my modem is unknown for GENERIC kernel. I saw /boot/defaults/loader.conf and found no line corresponding to that particular modem at all. What should I do to make the system see the device and interact with one. Any help would be apreciated. -- Best regards, Сергей 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: Openoffice 1.1 - can't install port
> fetch: ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z: Connection refused Try again; that's the site listed by openoffice.org, and I just got a copy from there. It's now about 6 PM in the UK; if the site is busy you may have to wait for 5 or 6 hours. Mike Squires ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Resolving IRQ conflicts with 4.8
The problem you describe is becoming common in the 4.x versions of FBSD. I have seen these solutions voiced previously in this list. 1. Check the PC's bios, look for a toggle to disable plug-n-play function. 2. Check that your PCI cards are not in the first or last PCI expansion slot on the motherboard. 3 add option PCI_ENABLE_IO_MODES to your kernel source and recompile. See LINT 4. add device puc option PUC_FASTINTR to your kernel source and recompile. See LINT 5. Follow bug fix using this url http://www.freebsd.org/cgi/query-pr.cgi?pr=40636 6. check /var/boot/dmesg.boot file to see if your pci cards are found as unknown. See FBSD FAQ for instructions on how to fix. Try one of the above one at a time until your problem goes away. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charles Howse Sent: Wednesday, November 05, 2003 10:27 AM To: [EMAIL PROTECTED] Subject: Resolving IRQ conflicts with 4.8 Hi, If this post is considered off-topic, forgive me. Perhaps someone might be willing to work with me off-list? I have 3 PCI devices using IRQ 9! The modem, nic and built-in sound card. I've physically removed the modem, because it was being detected before the nic, and I had no ability to network. In BIOS, I have PnP OS set to "No". There is a setting to allow resources to be controlled manually, but this defaults to "Legacy ISA device". Since I have no ISA devices, this won't work. I noticed from output of dmesg, that it does some probing for PnP devices: Probing for PnP devices on ppbus0: ppbus0: PRINTER MLC,PCL,PJL What, if anything can I do so that I can have my nic, modem, and sound card detected during boot? -- Thanks, Charles ___ [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]"
Problems with bittorrent
Hi all. Ok, just port upgraded last night and got a nasty surprise today. When trying to load any torrent file using the bit torrent gui script (/usr/local/bin/btdownloadgui.py) I get the following error: Traceback (most recent call last): File "/usr/local/bin/btdownloadgui.py", line 13, in ? from wxPython.wx import * File "/usr/local/lib/python2.3/site-packages/wxPython/__init__.py", line 20, in ? import wxc ImportError: Shared object "libwx_gtk.so" not found In short it can't find "libwx_gtk.so" on my system. I searched for it as well but it's nowhere to be found. How do I go about fixing this? What do I need to reinstall to replace that file, or if it's not a file what do I need to do to replace the link if that's what it is. Many thanks on any help that can be provided. Thanks!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Don`t know what to do... :))
Valerian Galeru wrote: I installed XFree86, then i run XFree86 -configure, then i run XFree86 -xf86config XF86Config.new. Everything is ok. Than i cp XF86Config.new to /etc/X11/XF86Config (i tried to copy and to /usr/X11R6/etc/X11/XF86Config but there is no directory X11). then, when i run startx i get the next error: screen not found... I know i can do everythiing with xf86cfg but i don`t understand why the first way has problems (may be i have problems : ). Thank You! Do you have a 'screen' section in your /etc/X11/XF86Config file? If you do, does it have screen entries? IIRC, you'll need at least one section with valid depth, modes, and virtual entries. (Note: I'm not an expert, and don't play one on TV). Here's the "screen" section from my XF86Config: * Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" DefaultDepth 16 SubSection "Display" Depth 1 EndSubSection SubSection "Display" Depth 4 EndSubSection SubSection "Display" Depth 8 EndSubSection SubSection "Display" Depth 15 EndSubSection SubSection "Display" Depth 16 Modes "1024x768" Virtual 1024 768 EndSubSection SubSection "Display" Depth 24 Modes "1024x768" Virtual 1024 768 EndSubSection EndSection *** HTH, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with bittorrent
Install /usr/ports/x11-toolkits/wxgtk -Frank Laszlo On Fri, 2003-11-07 at 13:53, Steven Lake wrote: > Hi all. Ok, just port upgraded last night and got a nasty > surprise today. When trying to load any torrent file using the bit > torrent gui script (/usr/local/bin/btdownloadgui.py) I get the following > error: > > Traceback (most recent call last): >File "/usr/local/bin/btdownloadgui.py", line 13, in ? > from wxPython.wx import * >File "/usr/local/lib/python2.3/site-packages/wxPython/__init__.py", > line 20, in ? > import wxc > ImportError: Shared object "libwx_gtk.so" not found > > > In short it can't find "libwx_gtk.so" on my system. I searched > for it as well but it's nowhere to be found. How do I go about fixing > this? What do I need to reinstall to replace that file, or if it's not a > file what do I need to do to replace the link if that's what it is. Many > thanks on any help that can be provided. Thanks!! > ___ > [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: Problems with bittorrent
Oh, if it is installed.. it might only be installed as ${PREFIX}/lib/libwx_gtk-2.2.so so you may need to link it to the proper name. ln -s /usr/local/lib/libwx_gtk-2.2.so /usr/local/lib/libwx_gtk.so -Frank Laszlo On Fri, 2003-11-07 at 13:53, Steven Lake wrote: > Hi all. Ok, just port upgraded last night and got a nasty > surprise today. When trying to load any torrent file using the bit > torrent gui script (/usr/local/bin/btdownloadgui.py) I get the following > error: > > Traceback (most recent call last): >File "/usr/local/bin/btdownloadgui.py", line 13, in ? > from wxPython.wx import * >File "/usr/local/lib/python2.3/site-packages/wxPython/__init__.py", > line 20, in ? > import wxc > ImportError: Shared object "libwx_gtk.so" not found > > > In short it can't find "libwx_gtk.so" on my system. I searched > for it as well but it's nowhere to be found. How do I go about fixing > this? What do I need to reinstall to replace that file, or if it's not a > file what do I need to do to replace the link if that's what it is. Many > thanks on any help that can be provided. Thanks!! > ___ > [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: access extended partition
[EMAIL PROTECTED] wrote: Hi Jason: In my /etc/fstab I have # DeviceMountpoint FStype Options DumpPass /dev/ad0s1 /Disco-Cmsdos rw,noauto 0 0 /dev/ad0s3 /Disco-Dmsdos rw,noauto 0 0 to have the drives auto mounted at boot try: /dev/ad0s1 /Disco-C msdos rw 00 When I try to mount I get the next error [EMAIL PROTECTED] ~> mount /Disco-D msdos: /dev/ad0s3: Invalid argument make sure you have created the directory /Disco-D on your bsd file system then try: $mount_msdosfs /dev/ad0s3 /Disco-D You should no longer need to manually mount the drive after you reboot if the fstab entry is right. The device exist, which is the invalid argument? the invalid argument is /Disco-D, that should be last, it want /dev/ad0s3 where /Disco-D is. [EMAIL PROTECTED] ~> ll /dev/ad0s3 crw-r- 2 root operator 116, 0x00040002 Sep 22 00:46 /dev/ad0s3 -TIA maps -Mensaje original- De: Jason [mailto:[EMAIL PROTECTED] Enviado el: Sábado, 06 de Diciembre de 2003 06:59 p.m. Para: Paredes Sánchez MartÃn A. Cc: [EMAIL PROTECTED] Asunto: Re: access extended partition [EMAIL PROTECTED] wrote: Hi: I have 3 partition in my hard disk, the first an the third are for windows, so the first (C:) is FAT32 and the third has only one logic unit (D:) and has FAT32. how can I access D:? maps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Add them to /etc/fstab. The handbook has details to walk you through it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB Mouse in FreeBSD 5.1...
Andrey wrote: Hello, freebsd-questions! Doesn't work my Genius Optical Wheel Mouse (USB)... MotheBoard - Gigabyte GA-8SG667. /boot/loader.conf: --- uhid_load = "YES" ums_load = "YES" --- /etc/X11/XF86Config: --- Protocol "Auto" Device "/dev/sysmouse" --- Kernel standard (installation)... Thanks for any clues. If that is standard in loader.conf then leave it, I don't have it in my. In my /etc/rc.conf I have: usbd_enable="YES" moused_enable="YES" When I plug in my usb mouse I see the pointer and everything is good. PS. Check your XF86Config for this: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option"Protocol" "auto" Option"Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection The last option enables the scroll on the mouse, for a better internet experience. ;-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT?] Tying a socket to stdin/stdout w/dup2() ?
On Fri, 7 Nov 2003 12:35:55 -0500 Charles Swiger <[EMAIL PROTECTED]> wrote: > On Nov 7, 2003, at 12:19 PM, Chris Pressey wrote: > > I've got a C program that opens a TCP/IP socket and makes a client > > connection. What I'd like to do is to 'tie' the socket to this > > program's standard I/O, so that anything that is fed into this > > program's > > stdin, is immediately sent to the socket, and anything that appears > > on the socket, is immediately sent out this program's stdout. (The > > end effect being a sort of pathologically simple version of what > > telnet,(or inetd or ucspi-tcp) does.) > > Take a look at netcat, from /usr/ports/net/netcat. Ahh great, now I'm blind! :) Seriously - it seems to confirm that I was confused. Looks like you can either: a) dup the socket to stdin/out, then exec a program (a la inetd); or b) keep stdin/out and the socket, and multiplex between them (telnet). Since I want my program to act as a pipe source/sink, rather than exec-ing something else, I'll have to go with b), which means I'll have to face the select(2) music. Anyway, thanks for the pointer... -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fatal trap 12: page trap while in kernel mode
I have a nasty feeling that this may be a hardware problem rather than FreeBSD, but any pointers appreciated. Over the last couple of days, with no changes in configuration, one of my boxes has started to die with increasing frequency, throwing up errors like this: Fatal trap 12: Page trap while in kernel mode Fault virtual address = 0x2c2 fault code = supervisor writ, page not present instruction pointer = 0x8:0xc0272faf stack pointer = 0x10:0xd54e8cf4 frame pointer = 0x10:0xd54e8d0c code segment= bas 0x0, limit 0xff, type 0x1b = DPL0, pres1, def 32 1, gran1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 15 (random) trap number = 12 panic: page fault syncing disks, buffers remaining... panic: free locked buf Terminate ACPI Although it announces that it is about to reboot, it just goes to a blank console in which even the reset button has no effect (actually it does cause the HDD LED to flicker for a few seconds). Increasingly, cycling the power goes to the same foreboding blank monitor without even a murmur from the BIOS, let alone an attempt to boot FreeBSD. All the hardware is around two months old - an MSI KM2M motherboard with AMD Athlon 2200, 512MB RAM and 2 x 60 GB HDD in software RAID 1 using Vinum. FreeBSD is 5.1 RELEASE. -- Chris Hastie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fetching/playing radio audio
Hello: How can I "play" or otherwise listen to or download articles from NPR's archive(s)? OS is 4.9-RELEASE Browser is Mozilla 1.5 (mozilla-1.5_1,2) Mplayer & other ports are up-to-date as of today. Everything is built from source. It makes no difference whether or not I have mplayer-plugin installed. If I click on an article from NPR's website (http://www.npr.org/), Mozilla downloads a file, named in the form "nprNNN.wax" where NNN are digits. Here are the contents of an example of one of those: $ cat npr9673.wax NPR's Morning Edition - Thursday, November 6, 2003 more info at : Morning Edition Web site http://www.npr.org/programs/morning/"; /> Voyager Nears End of Solar System NPR's Morning Edition - Thursday, November 6, 2003 (c) 2003 NPR $ What am I looking at here? How can I further grok what's going on? If I try that file (or that URI) with mplayer, it (mplayer) looks like it's trying to work but it freezes & I have to ctl-c out of it. FAQ/doc/RTFM/mailing list archive pointers are quite welcome. Thanks, -kc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
no ulpt0 in FreeBSD 5.1R
I am just setting up a new machine with 5.1R. I have usb in the kernel (I'm running the generic kernel from the install). My lexmark 323 which used to show up fine as ulpt0 under 4.9rc1 does not show up anymore. The machine is 845G based (it is an ibm netvista model 8037) On the 5.1R machine I get dmesg shows three USB hubs 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 0x1820-0x183f irq 10 at device 29.1 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 uhci2: port 0x1840-0x185f irq 5 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered and my USB mouse works ums0: Kensington USB Input Device, rev 1.10/1.11, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. ums0: at uhub2 port 2 (addr 2) disconnected ums0: detached ums0: Kensington USB Input Device, rev 1.10/1.11, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. But I get no report of ulpt0 on the 4.9pre machine I get ulpt0: Lexmark International, Inc. Lexmark E323, rev 1.10/1.00, addr 2, iclass 7/1 ulpt0: at uhub0 port 2 (addr 2) disconnected ulpt0: detached ulpt0: Lexmark International, Inc. Lexmark E323, rev 1.10/1.00, addr 2, iclass 7/1 and printing works also. Can anyone suggest some troubleshooting techniques? I'm new both to USB and running FreeBSD 5.x db ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Perl and OpenWebMail question...
Hi list... I've been using OpenWebMail with Perl 5.8.0 for some time now. Recently updated ports using port upgrade, and now my Perl version is 5.8.1. chuck:root # perl -v This is perl, v5.8.1 built for i386-freebsd --snip-- chuck:root # After that, OpenWebMail stopped working... I noticed also that my portupgrade updated OpenWebMail as well, (it was 2.10 and is now 2.20). Okay, I thought no problem, I'll just do a "make deinstall" and "make reinstall". But it fails with the following error message each and every time... ... ===> openwebmail-2.20 depends on file: /usr/local/lib/perl5/site_perl/5.8.1/ma ch/Text/Iconv.pm - found ===> openwebmail-2.20 depends on file: /usr/local/lib/perl5/site_perl/5.8.1/ma ch/MIME/Base64.pm - found ===> openwebmail-2.20 depends on executable: speedy_suid - found ===> Generating temporary packing list ===> Checking if mail/openwebmail already installed 12602 blocks 19199 blocks Can't locate warnings/register.pm in @INC (@INC contains: /usr/local/lib/perl5/s ite_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/si te_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/l ocal/lib/perl5/5.8.0) at /usr/local/lib/perl5/site_perl/5.8.0/mach/vars.pm line 7. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/mach/v ars.pm line 7. Compilation failed in require at /dev/fd/9 line 8. BEGIN failed--compilation aborted at /dev/fd/9 line 8. speedy_backend[46985]: perl_parse error speedy[46983]: Cannot spawn backend process *** Error code 1 Stop in /usr/ports/mail/openwebmail. chuck:root # So the first few dependent modules are found in the correct locations (/usr/local/lib/perl5/site_perl/5.8.1/mach ... etc... But register.pm and vars.pm are being located in 5.8.0 I thought that since I'm no longer using 5.8.0, it shouldn't be looking there, it should be looking in 5.8.1 But it's not. Does anyone have any idea's as to why this is doing this? And how I can go about fixing it? Thanks in advance.. Peter Elsner Oh by the way, I'm running 4.9-STABLE #7. Peter Elsner - President [EMAIL PROTECTED] SRI Software 726 Dalworth Suite 1007 Grand Prairie, TX. 75050 972-266-8870 - Voice 817-887-1609 - Fax www.sri-software.com Service Plus(tm) Public Warehouse Management Software --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.536 / Virus Database: 331 - Release Date: 11/3/2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Don`t know what to do... :))
I installed XFree86, then i run XFree86 -configure, then i run XFree86 -xf86config XF86Config.new. Everything is ok. Than i cp XF86Config.new to /etc/X11/XF86Config (i tried to copy and to /usr/X11R6/etc/X11/XF86Config but there is no directory X11). then, when i run startx i get the next error: screen not found... I know i can do everythiing with xf86cfg but i don`t understand why the first way has problems (may be i have problems : ). Thank You! Hi; Please wrap your lines at < 80 characters. It is not clear. Did you create the file /etc/X11/XF86Config? If there is no /etc/X11 directory, you can create it with: mkdir /etc/X11 Is it possible there is another XF86Config floating around out there that you are actually using? Try looking at /var/log/XFree86.0.log Mine says: XFree86 Version 4.3.0 Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: FreeBSD 4.9 i386 [ELF] Build Date: 15 October 2003 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Mon Nov 3 22:24:11 2003 (==) Using config file: "/etc/X11/XF86Config" [...] So, it tells you which config file it is using. Also, have you installed the /usr/ports/x11/wrapper port yet? You will need that to startx as a regular user. PS> a better title for this post would be: startx gives "screen not found" or something along those lines :o) _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Perl and OpenWebMail question...
On Fri, Nov 07, 2003 at 04:03:12PM -0600, Peter Elsner wrote: > Hi list... > > I've been using OpenWebMail with Perl 5.8.0 for some time now. Recently > updated ports > using port upgrade, and now my Perl version is 5.8.1. > > chuck:root # perl -v > > This is perl, v5.8.1 built for i386-freebsd > > --snip-- > > chuck:root # > > After that, OpenWebMail stopped working... I noticed also that my > portupgrade updated > OpenWebMail as well, (it was 2.10 and is now 2.20). Okay, I thought no > problem, I'll > just do a "make deinstall" and "make reinstall". But it fails with the > following error message > each and every time... You need to run # use.perl port again. What's happening is that your /etc/make.conf file still contains the PERL_VERSION as 5.8.0, which causes any perl modules to be installed into a directory outside the usual @INC path. Plus if fixes up some other locations where the perl version is referenced. Running perl -e 'print join( "\n", @INC ), "\n";' should return a list of directories with the version string 5.8.1 in them: % perl -e 'print join( "\n", @INC ), "\n";' /usr/local/lib/perl5/site_perl/5.8.1/mach /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.1/BSDPAN /usr/local/lib/perl5/5.8.1/mach /usr/local/lib/perl5/5.8.1 . 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 pgp0.pgp Description: PGP signature
Re: Fatal trap 12: page trap while in kernel mode
Hi! I had this issue not long ago and it turned out to be a hardware issue. The memory was bad. I was able to recreate this by running some command like: find / -name file_that_doesnt_exist -print (just so that it will go thru the whole FS). It would puke almost instantly. We replaced the memory and it never happened again. hope this helps -pranav *** Pranav A. Desai On Fri, 7 Nov 2003, Chris Hastie wrote: > I have a nasty feeling that this may be a hardware problem rather than > FreeBSD, but any pointers appreciated. > > Over the last couple of days, with no changes in configuration, one of > my boxes has started to die with increasing frequency, throwing up > errors like this: > > Fatal trap 12: Page trap while in kernel mode > Fault virtual address = 0x2c2 > fault code = supervisor writ, page not present > instruction pointer = 0x8:0xc0272faf > stack pointer = 0x10:0xd54e8cf4 > frame pointer = 0x10:0xd54e8d0c > code segment= bas 0x0, limit 0xff, type 0x1b > = DPL0, pres1, def 32 1, gran1 > processor eflags= interrupt enabled, resume, IOPL = 0 > current process = 15 (random) > trap number = 12 > panic: page fault > syncing disks, buffers remaining... panic: free locked buf > Terminate ACPI > > Although it announces that it is about to reboot, it just goes to a > blank console in which even the reset button has no effect (actually it > does cause the HDD LED to flicker for a few seconds). > > Increasingly, cycling the power goes to the same foreboding blank > monitor without even a murmur from the BIOS, let alone an attempt to > boot FreeBSD. > > All the hardware is around two months old - an MSI KM2M motherboard with > AMD Athlon 2200, 512MB RAM and 2 x 60 GB HDD in software RAID 1 using > Vinum. FreeBSD is 5.1 RELEASE. > -- > Chris Hastie > ___ > [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]"
CenterICQ removing MSN users
I'm having trouble removing MSN users from CenterICQ. And liked to ask questions if there was something i have done wrong. What I have done is: 1. Remove a bunch of people from the contact list 2. Run MSN -> Synchonize contact list When I restart CenterICQQ al the deleded users are back. Is there anything I did wrong? Tanks in advance for you help. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and building XFree86-4 fonts
Hi Rob, Actually, my question was never replied to. And, I was never able to get the fonts to install via ports. However, I did manage to get them installed via PACKAGES. If you go into /stand/sysinstall, you can select the scalable fonts for installation. For some reason, this works. Once the fonts are installed, gnome will continue on in the installation. Once you get to the *.so.1 issue, find the *.so.x file, where x is a number from 1-5 and symlink it to the filename that the makefile asks for. After that, it should be relatively smooth sailing for you. I have the latest gnome port installed on my system and it works like a champ. There is definitely something broken with the port for the scalable fonts. The port author did not reply to any of my e-mails, so I kept tinkering around until I found the package route. Hopefully you have the same success. Let me know if I can be of further assistance and I'll do what I can. Mike On Fri, Nov 07, 2003 at 02:57:40PM -0500, [EMAIL PROTECTED] had this to say: : Hi mike. In searching for someone that might know something about the problem I am finding in compiling applications that required the encoded XFree86-4 fonts I am seeing the same problem that you reported in the questions email group for FreeBSD. The problem is that the Makefile created by imake contains references to macros that are supposed to handle the encoding. My guess is that they are defined anywhere that the make program can find. : : I didn't see any response to your question, but I wondered if someone contacted you directly about the solution to this problem. I am stuck now, in that I can't use either gnome or kde, because they require that the fonts are installed. : : Your question was submitted to: : [EMAIL PROTECTED] : : The subject was: : Makefile for XFree86-fontScalable-4.3.0 port is broken? : : Please let me know if you were able to resolve the problem, and how you did it. : : Thank you very much, : : Rob Robertson [EMAIL PROTECTED] : : : -- : (NOTE: This message was submitted via the website) -- Mike Harlan [EMAIL PROTECTED] http://www.harlanonline.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Running RawIO
I am newbie who just installed RawIO ('cd /usr/ports/benchmarks/rawio', 'make install') but am having trouble running the benchmark. I run 'pkg_info -L rawio-1.2' to see that the program is installed in /usr/local/bin/rawio. To run the program, I used: '/usr/local/bin/rawio -a /dev/da0' but the only ouput is a list of command-line switches and their definitions. Am I doing something wrong? My system only has 1 hard drive, and I've tried using /dev/rasr0 with the same result. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 4.8 questions
Is this where I ask for help configuring my mouse, and sound card, and nic card? I read all documentation before writing this email. I just want to be sure where to direct my questions before asking them. thank you Nickyrock ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 4.8-P10 Mouse doesn't move in the console or XFree86
Problem found. Update posted to: http://69.3.136.141/freebsd/usb_mouse.txt This case/instance is considered closed; --bum chipset/hardware to blame. - All incoming attachments get deleted. Have a nice day. - - Original Message - From: "nw1" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, September 28, 2003 12:51 PM Subject: Re: FreeBSD 4.8-P10 --Mouse doesn't move in the console or XFree86-- > Alex: please see the update/corrections to this post at > http://69.3.136.141/freebsd/usb_mouse.txt > > - Original Message - > From: "Alex de Kruijff" <[EMAIL PROTECTED]> > To: "nw1" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Sunday, September 28, 2003 1:44 PM > Subject: Re: FreeBSD 4.8-P10 --Mouse doesn't move in the console or XFree86-- > > > > On Sun, Sep 28, 2003 at 07:41:04AM -0400, nw1 wrote: > > > Neither mouse will work in the console or in XFree86. > > > > > > Gigabyte GA-6BXDS = main board > > > BIOS= AWARD (2A69KG01) ver. 4.51PG > > > > > > In the PCI/ISA section of the BIOS, a USB setting of: "Assign IRQ For USB: > > > Enabled" > (is > > > set) > > > There is also a "USB Keyboard Support" setting within the BIOS's "INTERGRATED > > > PEROPHERALS" section; I have tried this setting to both "Enabled and Disabled". > > > > > > There aren't any other USB settings in this BIOS. > > > > > > We are using these devices that are known working devices. > > > Mouse-1 is: Logitech | model: M-BD58 | optical corded wheel > > > Mouse-2 is: Logitech | model: M-RM67A | Optical cordless wheel > > > > > > Our Kernel: > > > # USB support > > > device uhci# UHCI PCI->USB interface > > > device usb # USB Bus (required) > > > device ums # Mouse > > > pseudo-device ether # Ethernet support > > > > > > Our /etc/rc.conf: > > > # grep -i mouse /etc/rc.conf > > > moused_enable="YES" > > > moused_port="/dev/ums0" > > > # grep -i usb /etc/rc.conf > > > usbd_enable="YES" > > > > > > Our /dev: > > > ls -l /dev | grep -i ums > > > crw-rw 1 root operator 111, 0 Sep 27 13:16 ums0 > > > > > > dmesg reports: > > > # dmesg | grep -i usb > > > uhci0: port 0xa000-0xa01f irq 10 at > > > device > 7.2 > > > on pci0 > > > usb0: on uhci0 > > > usb0: USB revision 1.0 > > > ums0: Logitech USB Mouse, rev 1.10/6.10, addr 2, iclass 3/1 > > > > > > Upon booting into the OS, using the above BIOS, and other settings --with either > > > of > the > > > above devices; the mouse is seen on screen, but it refuse to respond while moving the > > > hand-held device. Should we unplug one mouse (from either usb port) to test the other > > > mouse, we receive the following on-screen message(s), respectively of the motherboards > USB > > > port we were using: > > > > > > uhub0: device problem, disabling port 2 > > > uhub0: device problem, disabling port 1 > > > > > > When we plug the devices back in to either of the motherboards mouse ports, > > > there's no > > > indication at all, from the OS, that a USB device was attached. > > > > > > Reminder: these devices are in perfect working order. > > > > It seems to be in order. As i see it thare are two posibilties. 1) Your > > mouse isn't supported or 2) There is a (new) bug in the system. > > > > Did it work on previous version of FreeBSD? > > > > -- > > Alex > > > > Articles based on solutions that I use: > > http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gateway/routing questions
On Fri, Nov 07, 2003 at 02:25:11AM -0700, Chad Leigh -- Shire.Net LLC wrote: > I used to have a situation like this but it was a few years ago and I > have forgotten how to set this up in detail. > > I have a class C network (public) and I have a FreeBSD box with lots of > aliases on it providing various services. There is also a Mandrake > Linux box that belongs to a customer sitting on my net as well. My > provider where I am colocated provides the gateway for my class C in > his fancy shmancy switch :-) . > > I want to add another box (a Linux one unfortunately for some high > performance Java 1.4 stuff that won't run on FreeBSD) but I want to > make it so that it is on a private class C that should co-exist with my > regular class C. > > Lets say my public one is (this is made up) 128.1.1.0. This is where > the FBSD box lives. I want to overlay 192.168.1.0 on my LAN. I will > give my FBSD box the address (alias) of 192.168.1.1 . The new Linux > box will have a bunch of addresses starting at 192.168.1.10 . > > The Linux box on the 192.168 network should not have any access going > out (so I don't need NAT for example) nor of course coming in. But the > FBSD box should continue to have its normal public access on 128.1.1.0 > network plus access the Linux box on 192.168. The Linux box should be > able to talk to the FBSD box. > > I think that all I need to do is add an alias address (and a static > route out the ethernet port?) to my BSD box and it should work. I > don't need anything else to have the BSD box live in this private > network as well as the public one, since the private network does not > need to get out at all. > > Is this reasoning correct? In my test lab here I cannot recreate this > exactly given some restrictions on how it is set up and so when I go > and take the Linux box and stick it in the data room on Friday it > needs to work without lots of trouble :-) You don't need static route at all. You only use this when you default route doesn't apply. This doesn't apply to you since you only have traffic on your 192.168.1.0/24 network. So all you need is an alias. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fresh install for XFree86-4
On Fri, 7 Nov 2003, Odhiambo Washington wrote: > * Norhisham Khalil <[EMAIL PROTECTED]> [20031107 11:30]: wrote: > > Quoting Kris Kennaway <[EMAIL PROTECTED]>: > > > > > On Fri, Nov 07, 2003 at 08:23:03AM +0800, Sham Khalil wrote: > > > > > > > > /usr/libexec/elf/ld: bad -rpath option > > > > *** Error code 1 > > > > Stop in /shared/ports/x11-servers/XFree86-4-Server/work/xc/lib/font. > > > > *** Error code 1 > > > > > > > > > > cvsup your ports and try again..that was a transient error that has > > > since been fixed. > > > > > > The XFree86-4 port installs everything you need to run XFree86 4.x. > > > > > > Kris > > > > > > > i've done another cvsup today, the problem still would not go away > > Question: How are you installing it? > > Are you using something like > > portinstall -Rr XFree86 > > thanks last nite i used this command and it successfully install check the man page portinstall = portupgrade -N something new i learned yesterday i also installed xfce4, mozilla-firebird and plugger with the command and successful. i wanted to install openoffice, but a peek into Makefile, it will need mozilla. i do not need mozilla as i have mozilla-firebird. could i skip mozilla to install openoffice? sham khalil ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fresh install for XFree86-4
On Fri, 7 Nov 2003, Kris Kennaway wrote: > On Fri, Nov 07, 2003 at 04:27:17PM +0800, Norhisham Khalil wrote: > > > > i've done another cvsup today, the problem still would not go away > > What release of FreeBSD are you running? > > Kris > thanks, it's a FreeBSD 4.9-Release the problem solved with portinstall command sham khalil ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sftp mount?
On Sat, 8 Nov 2003 01:31, Lewis Thompson wrote: > On Fri, Nov 07, 2003 at 05:56:43PM +0300, Odhiambo Washington wrote: > > * Lewis Thompson <[EMAIL PROTECTED]> [20031107 17:28]: wrote: > > > At my university everything is firewalled and the only way I can > > > transfer files to/from my account is to use sftp -- but that gets quite > > > painful after a while. > > > > What do you mean by quite painful? sftp should be very easy to use > > Yeah, it is fairly easy to use but it's still annoying to be doing it. > In reality what I want is to edit the remote files directly. I don't > want to be copying back/forth. It can't really be automated either, > since I'm not doing the same task over and over. Am I missing something? To edit the remote files *directly*, login via ssh and edit. Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2003/03/09 22:09:31 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to "[EMAIL PROTECTED]" with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]> Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to [EMAIL PROTECTED], and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies l
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sftp mount?
On Sat, Nov 08, 2003 at 11:22:57AM +1030, Malcolm Kay wrote: > On Sat, 8 Nov 2003 01:31, Lewis Thompson wrote: > > Yeah, it is fairly easy to use but it's still annoying to be doing it. > > In reality what I want is to edit the remote files directly. I don't > > want to be copying back/forth. It can't really be automated either, > > since I'm not doing the same task over and over. > > Am I missing something? To edit the remote files *directly*, login > via ssh and edit. Hehe. I'm hacking java stuff and I have no X11 forwarding (well, I actually do but it's horrendously slow ;). Thanks, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: sftp mount?
Lewis Thompson <[EMAIL PROTECTED]> writes: > On Fri, Nov 07, 2003 at 05:56:43PM +0300, Odhiambo Washington wrote: > > * Lewis Thompson <[EMAIL PROTECTED]> [20031107 17:28]: wrote: > > > At my university everything is firewalled and the only way I can > > > transfer files to/from my account is to use sftp -- but that gets quite > > > painful after a while. > > > > What do you mean by quite painful? sftp should be very easy to use > > Yeah, it is fairly easy to use but it's still annoying to be doing it. > In reality what I want is to edit the remote files directly. I don't > want to be copying back/forth. It can't really be automated either, > since I'm not doing the same task over and over. rdist (or something like it) would automate the whole copy process pretty well, though. > > Basically you have to ask the folks administering your systems if they > > allow NFS and I doubt it already. > > No, they don't. Pretty much the only thing allowed is ssh/sftp. If port forwarding is available/allowed, you could forward NFS through ssh. Might be a little painful unless the connection is fast and dependable, though. > > > Or can anybody suggest any other way I might achieve something similar? > > > Bear in mind I am actually restricted to sftp/ssh. > > > > Forget your ideas. Tell us what it is that you want to be doing. > > I want my remote home directory (available just by ssh) to be > transparently available from a local directory :P Copying a whole directory tree is pretty easy, especially with tool support, it's transparent while you're doing the editing, and you get full speed while you're editing. That would be my recommendation. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Possible CDROM problems with install
Thanks for the advice. I wiped the drive and successfully installed the minimal install. Since things looked good at that point, I tried to add some software packages. There I ran into trouble. Almost every package errored out. By pressing ALT-F2, I observerd the following errors: gzip: stdin: invalid compressed data --CRC error tar: child returned status 1 tar: error exit delayed from previous errors pkg-add: tar extract of - failed pkg-add: unable to extract table of contents file from "-" Does this sound like a problem reading the CD? Tonight I tried booting from the CD and installing XWindows. The install stopped almost immediately. Now I can't boot from the hard drive or the CD. Both ways the boot stops with the line "Mounting root from ufs:/dev/ad1s1a. Looks like I'll be wiping the drive again. Any suggestions? Would copying the CD to another hard drive on the same machine make installing the software packages easier? Thanks, Mike Lowell Gilbert wrote: When Greg talked about bad CD-ROMs, he meant CD-ROMs, not CD-ROM drives. It is, in fact, most likely a bad install disk. It could be a bad drive, but that's far less likely. Try an absolute minimum install, then go back afterards and add additional distribution sets from sysinstall. That will either work or will give you more useful clues about the source of the problem. Mike Leman <[EMAIL PROTECTED]> writes: I am trying to install Freebsd 4.8 on a computer and having a great deal of problems. The first time I tried the install stopped when the doc install was at 100% and would not go on. I rebooted and it would boot, but I didn't have much. I tried booting from the CD to finish the install, but that didn't work. I would get a screen screen dump that just kept scrolling. Since I'm putting this on a second hard drive, I wiped everything off the drive and started over. When it was loading the BIN to first directory, I noticed I was getting a lot of "/stand/cpio: invalid header: checksum error" messages. Then on the window with progress bar, I got a message "write failure on transfer". I acknowledged the error and received a message asking to try again yes/no. After retrying and failing a number of times, I selected no and the docs installed OK. After this every part of the install had the write failure until I stopped the install. On monitoring side, there were invalid header errors and other errors also. In Greg Lehey's book "The Complete FREEBSD", he notes can be problems with ATAPI CD-ROMs. I have a Acer 36X CDROM that reports "ATAPI 36X MAXIMUM" when the computer boots. Could there be problem with the CDROM drive? Is there something I do for this? Or do I have a bad install CD? I just purchased the intall CDs. Also the Hard drive in fairly new. I bought it and installed six months ago, but have not used till now. When Greg talked about bad CD-ROMs, he meant CD-ROMs, not CD-ROM drives. It is, in fact, most likely a bad install disk. It could be a bad drive, but that's far less likely. Try an absolute minimum install, then go back afterards and add additional distribution sets from sysinstall. That will either work or will give you more useful clues about the source of the problem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.8 questions
Nickyrock wrote: Is this where I ask for help configuring my mouse, and sound card, and nic card? I read all documentation before writing this email. I just want to be sure where to direct my questions before asking them. thank you Nickyrock ___ I suppose the answer is yes. Have you subscribed to the list? It's a good idea, IMHO, to subscribe and try to get a 'feel' for the way a list works before you do many postings. I'll try and give some advice, just in case "Netiquette" wasn't a required subject in whatever school you're from ;-) 1. Some folks still read email with "text only" mailers and at low screen resolutions. So, wrap your lines (ie, hit "enter" key) every 80 characters or so, or someone may complain about your message format. 2. While we're on that subject, your mailer may have the capability to remember that when you send mail to the questions list, it should only use plain text. The afore- mentioned "folks" would appreciate that, also. 3. You mentioned you've read the docs ... that is great!! Do you mean the "Handbook"? It's quite possible to get everything going just with the handbook. How about the man pages? Do you know about 'apropos'??? Also try visiting a good search engine, and doing a site-specific search at www.freebsd.org. (Good Search Engine=google.com! ---so say the masses ) 4. Once you've read the docs, try doing what they say, and report any confusion or questions or problems that result, along with: a concise description of the problem actions or changes occuring prior to the problem becoming known what may have created the problem, if known what you've you tried to do to fix the problem 5. Remember that everyone on the list is a volunteer with there own problems (whether computer-related or not) and don't go 'over the top' with what you post Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Gateway traffic reporting tool (port)
Hi all, I have a small home LAN with four machines. One of them (mine, actually) runs FreeBSD 5.1 and serves as a NAT/gateway between the LAN and an ADSL connection. I would like a tool for traffic reporting, detailing traffic information for each LAN computer (by IP or MAC address) so that I know who uses more bandwidth. This information should be provided on a time interval basis (e.g., between 2 a.m. and 3 a.m., how much traffic per IP/MAC address). If possible, I would like to know traffic from my localhost regardless of what it is forwarding (as it is the default gateway for the LAN, I don't know if that would be possible). TIA for any suggestions, Augusto Jun Devegili ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gateway/routing questions
On Nov 7, 2003, at 5:15 PM, Alex de Kruijff wrote: You don't need static route at all. You only use this when you default route doesn't apply. This doesn't apply to you since you only have traffic on your 192.168.1.0/24 network. So all you need is an alias. Thanks to all who replied. Helped me get my screwed on straight! thanks Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: the -L in dump
It should. To test it after running the dump do a restore -i -f /mnt/backup_drive/ad0backup/main_backup11_03 [EMAIL PROTECTED] wrote: Was working my way through dump and was going over what the -L switch is used for. I guess one would use this when you are dumping a mounted file system correct? Here's what I've been trying to do, dump all of / without dumping /tmp, /proc, /mnt, and /entropy. I've already learned to use the nodump flag with some help from a list member and now I want my dump to run correctly. My commandline is as follows: dump -0 -a -f /mnt/backup_drive/ad0backup/main_backup11_03 -h 0 -L -u / Will a command like this dump the entire file system for me for later restore should a complete meltdown happen? ___ [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: Running RawIO
If your hard drive is IDE, then /dev/da0 is definately wrong. :) Try /dev/ad0. This is presuming of course that rawio doesn't do anything *bad* to your data. Rishi Chopra wrote: I am newbie who just installed RawIO ('cd /usr/ports/benchmarks/rawio', 'make install') but am having trouble running the benchmark. I run 'pkg_info -L rawio-1.2' to see that the program is installed in /usr/local/bin/rawio. To run the program, I used: '/usr/local/bin/rawio -a /dev/da0' but the only ouput is a list of command-line switches and their definitions. Am I doing something wrong? My system only has 1 hard drive, and I've tried using /dev/rasr0 with the same result. ___ [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]"
revived ports collection, errors galore
I am running a FreeBSD 4.0 box. I had never updated the ports collection, so it just kind of stopped working over time. This last week, I got sick of installing some things by src, so I wiped out the ports collection, and did a cvsup to create a new, modern, up to date ports collection. I executed "cvsup /usr/share/examples/cvsup/ports-supfile", with ports-supfile looking like this: *default host=cvsup10.us.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-base ports-dns ports-mail ports-net ports-security ports-shells ports-sysutils ports-www Now, when I try to make anything, I get many errors. I was trying to make openssh-portable in this example (more after massive error dump): [errors below] [EMAIL PROTECTED]:/usr/ports/security/openssh-portable] make Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier '/' Unknown modifier '/' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'C' Unknown modifier '[' Unknown modifier ']' Unknown modifier 'U' Unknown modifier 'U' [snip about 100 more "unknown modifier U's"] Unknown modifier 'L' Unknown modifier 'L' Unknown modifier 'L' Unknown modifier 'L' Unknown modifier 'L' Unknown modifier 'L' "/usr/ports/Mk/bsd.port.mk", line 10: Malformed conditional (${XFREE86_HTML_MAN:L} == "yes") Unknown modifier 'L' "/usr/ports/Mk/bsd.port.mk", line 10: Need an operator "/usr/ports/Mk/bsd.port.mk", line 4485: if-less endif "/usr/ports/Mk/bsd.port.mk", line 4485: Need an operator make: fatal errors encountered -- cannot continue [/errors] SO...this is annoyingbut I figure I'll just grab the packages then and install them. Ah yes.it gets better: [EMAIL PROTECTED]:/apps/pkgs] pkg_add openssh-portable-3.7.1p2.tgz pkg_add: bad command '@conflicts openssh-3.*' [EMAIL PROTECTED]:/apps/pkgs] pkg_add openssh-3.6.1_5.tgz pkg_add: bad command '@conflicts openssh-portable-*' OKI cannot for the life of me even figure out what is going on here much less know how to fix it. Can anyone illuminate this topic and help me make my ports collection work? I would be highly appreciative. THANKS!! Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"