Bug with tcsh? : if evaluating true instead of false
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, so I tried to make a simple script to add users so I wouldn't have to type in groups/pw over and over again... the problem is that it's not behaving like it should =o. Script: #!/bin/tcsh -x # if ( ( $# != 0 ) ) { set GROUPS=""; set USER=""; if( ( $# == 2 ) ) { set USER=$1; set GROUPS=$0; switch($0) case "-v": set GROUPS="-G vip"; breaksw case "-w": set GROUPS="-G vip,wheel"; breaksw default: echo "bad argument(s) specified!"; exit(1); endsw } else if($# == 1) { set USER=$0; } else { echo "bad # of args; exiting.."; } `pw add user -N -d /home/$USER -s /usr/local/bin/bash $GROUPS $USER && mkdir /home/$USER && ln -s /home/dud.bash_login /home/$USER/.bash_login`; } else { print "Usage [-r|-v|-w] username" } Output: [EMAIL PROTECTED] ~]# ./mkuser if ( ( 0 != 0 ) ) { set GROUPS= set USER= if ( ( 0 == 2 ) ) { set USER= set GROUPS=./mkuser switch ( ./mkuser ) echo bad argument(s) specified! bad argument(s) specified! exit ( 1 ) Basically it should drop out at the first if statement due to 0 != 0 being true and go straight to the else block, but it's falling through to the switch statement. Any ideas? Also.. [EMAIL PROTECTED] /home/gcooper]# tcsh --version tcsh 6.14.00 (Astron) 2005-03-25 (i386-intel-FreeBSD) options wide,nls,dl,al,kan,rh,color,filec Thanks! - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFPwXc6CkrZkzMC68RAo4sAJ9LOcJ6xnjTo2pWF8W6nOjqXqjfmACeP9OC WQWFzBpbKca+kkdT1APlo3k= =G6sT -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems booting on a Compaq DL360 (P21 version)
Then you have a hardare revision difference on the controller or motherboard. I think the raid cards are in slots on that server, try exchanging them. If the problem follows the card you can probably pick up a replacement card from Ebay. Otherwise, install Windows on the server and sell it on Ebay as a running server, you will probably get back almost what you put into it. You could probably buy a dozen of these servers off the used market and a couple of them are going to have this problem. We noticed similar issues with the first generation DL360, the difference was although FreeBSD booted on all of them, Solaris only ran on a few of them. I never bothered to dig down and find out what the bad motherboard revisions were since I needed both Solaris and FreeBSD servers and I just swapped server hardware around. Like FreeBSD, Solaris is also not a supported OS on that hardware so we were in the same boat, supportwise. This is why you buy servers brand new, if you get these problems you can return the server. When you get them used, your playing craps. Ted - Original Message - From: "Josh Endries" <[EMAIL PROTECTED]> To: "Ted Mittelstaedt" <[EMAIL PROTECTED]> Cc: Sent: Monday, October 23, 2006 9:04 AM Subject: Re: Problems booting on a Compaq DL360 (P21 version) > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ted Mittelstaedt wrote: > > Pull the disk set in the running system and put it in the non-running > > system and see if it boots, if it does, try putting the disks that came > > out of the non-running system into the running system and seeing if you > > can install on them. > > I tried using the working computer's disks (they are all Compaq brand) > in the non-working machine and they wouldn't boot. Just now I took the > non-working computer's disks, put them into the working machine and > installed to them. I rebooted (in the working machine) and it worked, > then moved the disks back to the non-working machine and booted that, > and no luck. Same _ screen, no booting. :( > > Josh > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.2.2 (FreeBSD) > > iD4DBQFFPOgeV/+PyAj2L+IRAgFXAJ92tOch5p8Hqf7M8yzxPfbwf+GTOwCWJ0bW > xlr0OdXj0oLQSeYUH94NnA== > =KLZS > -END PGP SIGNATURE- > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
Ugh...my ssh session to the new (remote) server was killed, presumably when restore overwrote something sshd needed. I was able to telnet back in, restart sshd and get back in, but since I was doing the restore interactively, and not in the background, was the restore interrupted? I highly recommend screen (misc/screen) for this sort of thing. Then you can lose your connection without killing foreground processes, and even detach and reattach the terminal later ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Reading /dev/klog / log(9)
/dev/klog seems to be special in that, even in O_NONBLOCk, it: *) Never blocks, but does(?) *) Always returns read(2) = 0 *) Never returns EOF I'm trying to read out the contents silently via a shell script prior to starting syslog-ng. I.e., "drain it". One would think any I/O manipulation utility (dd/pax/cpio/cat, etc.) would work. The problem is that dd(1) w/ count=1 && bs=1 will always hang after reading the last byte is read. If I had some way of couting the bytes that could be read using stat(1) or fstat(1), I could pass the correct count=$val I've been staring at syslogd.c on FreeBSD for a while, but I'm still at a lost as to the logic of how it even gets into klog_read(); I don't see any select(2) or stat(2) logic. Anyway, this perl script sort of explains where I'm trying to go: $BUFSIZ=1; sysopen(KLOG, "/dev/klog", O_RDONLY|O_NONBLOCK); $oldbuffer="init"; while (1) { undef($rv); $rv = sysread(KLOG, $buffer, $BUFSIZ); if (!defined($rv) && $! == EAGAIN) { # would block print "$rv\n"; print "Would block"; exit; } else { #successfully read $rv bytes from HANDLE print "No Block"; print "$rv\n"; print "Buffer: \"" . $buffer . "\"\n"; chomp($buffer); print "Buffer Chomped: \"" . $buffer . "\"\n"; print "Old Buffer: \"" . $oldbuffer . "\"\n"; print "Old Buffer Unchomped: \"" . $oldbufferunchomped . "\"\n"; #if ( ($buffer eq "") && ($oldbuffer eq "")) { if ($buffer eq "") { print "match, exit!\n"; } $oldbuffer = $buffer } } sysclose (KLOG); ~BAS l8* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a simple questions about sshd and PasswordAuthentication
On Tuesday 24 October 2006 21:49, Juha Saarinen wrote: > On 10/25/06, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > > Is there anything inherintaly dangerous or wrong about enabling > > PasswordAuthentication in sshd_config ? > > > > I understand how public keys are better and everything else. And I do > > use them. I'm just curious. > > Probably not, if you have strong passwords and sensible management > policies. That said, PasswordAuthentication attracts the brute-force > crackers like flies to rotting meat, so... agreed. 3 weeks ago, i just firewalled off the port (actually, removed the nat), and now require vpn to gain access to my home network. i was repeatedly having pages and pages long nightly security emails of failed ssh attempts. not any more. if the port aint there... they cant bruteforce it! cheers, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a simple questions about sshd and PasswordAuthentication
On Tuesday 24 October 2006 21:54, Atom Powers wrote: > On 10/24/06, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > > Is there anything inherintaly dangerous or wrong about enabling > > PasswordAuthentication in sshd_config ? > > > > I understand how public keys are better and everything else. And > > I do use them. I'm just curious. > > There are many arguments for and against, but /inherintaly/ they > are the same. You are comparing your secret to the secret stored on > the server. Keys just tend to be much longer secrets, and are also > more difficult to change. I don't know about that. With password authentication someone has to guess a valid username and password. With key authentication someone has to guess a valid username, key, and passphrase. While I have boxes that experience thousands of password based brute force attempts a day I don't recall anyone ever bothering to try and brute-force a key. My personal opionion is that if you are using key-based authentication you are for all practical purposes invulnerable to brute-forcing. The only way someone is going to get in is via an exploit in ssh or by stealing the key and passphrase from a valid user. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a simple questions about sshd and PasswordAuthentication
On 10/24/06, Jeff MacDonald <[EMAIL PROTECTED]> wrote: Is there anything inherintaly dangerous or wrong about enabling PasswordAuthentication in sshd_config ? I understand how public keys are better and everything else. And I do use them. I'm just curious. There are many arguments for and against, but /inherintaly/ they are the same. You are comparing your secret to the secret stored on the server. Keys just tend to be much longer secrets, and are also more difficult to change. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a simple questions about sshd and PasswordAuthentication
--- Juha Saarinen <[EMAIL PROTECTED]> wrote: > On 10/25/06, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > > Is there anything inherintaly dangerous or wrong about enabling > > PasswordAuthentication in sshd_config ? > > > > I understand how public keys are better and everything else. And I > do > > use them. I'm just curious. > > Probably not, if you have strong passwords and sensible management > policies. That said, PasswordAuthentication attracts the brute-force > crackers like flies to rotting meat, so... Password authentication in combination with running sshd on a non-standard port is what I use. No problem there. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a simple questions about sshd and PasswordAuthentication
On 10/25/06, Jeff MacDonald <[EMAIL PROTECTED]> wrote: Is there anything inherintaly dangerous or wrong about enabling PasswordAuthentication in sshd_config ? I understand how public keys are better and everything else. And I do use them. I'm just curious. Probably not, if you have strong passwords and sensible management policies. That said, PasswordAuthentication attracts the brute-force crackers like flies to rotting meat, so... -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
a simple questions about sshd and PasswordAuthentication
Is there anything inherintaly dangerous or wrong about enabling PasswordAuthentication in sshd_config ? I understand how public keys are better and everything else. And I do use them. I'm just curious. Jeff. -- Unless otherwise indicated, anything I write is either garnered from experience or pulled out of my ass, depending on situational needs.. Jeff MacDonald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, 24 Oct 2006 11:37:29 -0400 (EDT) James Smallacombe <[EMAIL PROTECTED]> wrote: > Is there any reason I shouldn't just copy all of /usr and /var from the old > server, or do I really need to compile everything anew and sort out any > simlinks to other file systems? why not use packages? from the already installed ones . I was agreeing with the dump/restore option, but doing it on top of a running system is possibly not the best idea...specially if you are going to be overwriting /etc and /usr/local/etc/... If you *didnt* have a running system on your new box, then definitely, dump/restore is great. Alternatively, you can get clever with dumping/restoring to alternative partitions and then adapt /etc/fstab in the new box to use the new files... the issue with libarchive + tar is, maybe, that is heavily used by tar itself? good luck _ {Beto|Norberto|Numard} Meijome "Whenever you find that you are on the side of the majority, it is time to reform." Mark Twain I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] a mysql question
On 10/25/06, Jonathan Horne <[EMAIL PROTECTED]> wrote: typical OT thread apologies, but the truth *really* is that this is the best and most intelligent list i read. so... i use veritas netbackup 5.1 to backup my bsd machines, and i would like to restore some mysql databases onto another machine. is restoring any mysql database, as simple as reloading the database directories in /var/db/mysql? do i need to create the blank database first, then do it? i do know how to import a .sql database dump, i was just wondering if i can do it via a restore job from netbackup. any opinions i can get, are greatly appreciated. i'm not a mysql guru but backing up and restoring a mysql database is just like riding a bike, it's that easy :D to backup a mysql database: $ mysqldump -u user -p --opt databasename > database.bak.sql to restore a database from the backup: $ mysql -u user -p database < database.bak.sql just make sure user has privileges to do the necessary commands, if not you can use the root user of mysql. you can also use a gui tool like phpmyadmin for managing mysql. cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Some old fashioned assistance requested, and some oppinions wanted.
On Tue, 24 Oct 2006 15:36:41 -0400 "Jim Stapleton" <[EMAIL PROTECTED]> wrote: > 1) If Toshiba were to provide open source drivers for it's > "weirdities", would you purchase their machines? Yes > > 2) If "yes" to #1, would you join me in a snail-mail writing campaign > to them to request they provide drivers for BSD and/or Linux - > preferrably open source for one, or closed source for both, if it must > remain closed for whatever reasons. Sure > 3) Off the topic of the main post, what are your top 3 vendors if your > main consideration is the combination of (1) FreeBSD compatable > hardware, and (2) Reliable/Honest/Intelligent and Customer Friendly > tech support for hardware issues. Depends what for... notebooks : had some mostly-OK experience with Tosh, definitely good with IBM. Servers, HP have been good so far, and so have hand-picked hardware... B _ {Beto|Norberto|Numard} Meijome "Tell a person you're the Metatron and they stare at you blankly. Mention something out of a Charleton Heston movie and suddenly everyone's a Theology scholar!" Dogma I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uvscan
--On October 24, 2006 8:16:42 PM + justin <[EMAIL PROTECTED]> wrote: Hello, Does anyone know or can give me a hint about this command line scanner. I`ve red the manual page but i still got trouble in starting this virusscanner. i`ve got the message:: invalid switch or incorrect usage or: A target has not been specified for scanning! I`ve tryed for hours to get this thing running but i guess i`m not so succesful, can someone please help me on this. Have you tried uvscan -h? Basically, the way uvscan works is uvscan {options} target file/directory. E.g. uvscan --analyze file Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Wireless Inspiron 6400 anyone?
On Sun, 22 Oct 2006 07:30:26 -0500 Lane <[EMAIL PROTECTED]> wrote: >On Sunday 22 October 2006 01:21, Scott Bennett wrote: >> On Sun, 22 Oct 2006 00:06:36 -0500 Patrick Bowen <[EMAIL PROTECTED]> >> >> wrote: >> >Lane wrote: >> >> Hello, >> >> >> >> I've a new inspiron 6400 running FreeBSD 6.1 and I can't get Wireless to >> >> work. It works on WXP using the Dell WLAN drivers at >> >> http://ftp.us.dell.com/network/R115321.EXE >> >> >> >> I've followed the instructions at >> >> http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-dr >> >>ivers/ but no ndis driver shows up after kldload if_ndis. >> >> >> >> ifconfig -a looks like: >> >> >> >> bfe0: flags=8843 mtu 1500 >> >> options=8 >> >> inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1 >> >> inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255 >> >> ether 00:15:c5:b8:03:9e >> >> media: Ethernet autoselect (100baseTX ) >> >> status: active >> >> fwe0: >> >> flags=108943 >> >> mtu 1500 >> >> options=8 >> >> inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2 >> >> inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 >> >> ether 32:4f:c0:9c:75:41 >> >> ch 1 dma 0 >> >> I hate to be a wet blanket, but the above is most likely not the >> wireless card. Did the Inspiron 6400 come with an IrDA (infrared >> interface)? FreeBSD seems to want to treat the IrDA as an ordinary network >> interface attached to the firewire controller. A Dell wireless card uses, >> as you noted, a Broadcom chip set, typically one for which no information >> has been made available to open source developers. Some of the older ones >> appear to work using the ndisgen/ndiscvt method. I've had no luck with >> that so far on an Inspiron XPS (the original model) with a Dell 1450 >> dual-band wireless card. >> I called Dell XPS tech. support yesterday to find out the path to the >> correct bcmwl5.inf file in Windows XP Home Ed., and they *refused* to tell >> me. They even seemed slightly dismayed that I'd already found the correct >> bcmwl5.sys file via the Windows XP device manager. After more digging >> around, I think I've found the correct .inf file, but have yet to find time >> to try running the two files through ndisgen to see what happens under 6.1. >> Under 5.x using ndiscvt, I got either panics during boot or else other, >> non-panic error messages when trying to load the .ko file. >> >> [.sig deleted --SB] >> ___ >Thanks, Scott. You may be right about that device, although I don't remember >anything about a irDa in the specs. If you have one, the sensor window should be easily visible on the outside of the case. On my Inspiron XPS, it's right below the cover latch button. > >I've found that I can kldload if_fwip.ko and device fwip0 is created. Whereas >no combination bcmwl5.inf and bcmwl5.sys (so far) has ever caused ndis0 to >show up (but they do love the kernel panic!). Since fwip0 is specific to ip >over firewire, it may mean that the ndis route is a dead end on this >particular machine. I just tried ndisgen on the two files from my WinXP system. It complains that the bcmwl5.inf is in Unicode and needs to be converted to ASCII, but that iconv is not installed. Well, iconv is not part of the base system, but rather is in the ports tree. I can't install iconv because, without the wireless access, I have no Internet connection on my FreeBSD 6.1 system. Sigh. I guess I'm going to have to bother a friend to let me plug my machine into his router for a few hours to fetch and build ports. Bummer. > >I guess I keep monkeying with it until it breaks or works ... then I'll report >back :) > Yes, I'd like to know if and how you can get past it. For now, it seems that FreeBSD is still only generally useful as a desktop system. To use it on a portable/laptop/notebook, one has to be lucky enough to have a supported wireless card unless one has a plug-in network connection at home. I'm stuck using twm until I can fetch and build a better window manager, and I have no DRM support because the version of X that shipped with FreeBSD 6.1 doesn't have 3D support for a Mobility Radeon 9800. At least under 5.x, MESA DRM was included, which was indeed slow, but did also work. BTW, does anyone know why the radeon driver complains during initialization that a device found in LINUX (but not in FreeBSD) is not found? Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army."
mapserver in ports error
hey folks, im trying to install this from ports on a 4.11 box and get the dreaded message about configure: error: !!! You PHP was compiled with PHP's bundled regex library. !!! !!! In this case MapServer and PHP MapScript must also be compiled !!! !!! using the same copy of regex.!!! !!! There are two possible ways to get rid of this error:!!! etc.. so how exactly do I !!! use the --with-php-regex-dir=DIR configure !!! !!!option to specifiy the location of the PHP source tree where the !!! !!!regex/*.o files are located. I know where the php dir is, but do I do this from the /usr/ports/graphics/mapserver/work/mapserver-4.4.1 with a configure command or is there some switch on "make install" that I use? regards, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two NIC and nfs
On Mon, 23 Oct 2006, Jeff Mohler wrote: Well..the right way to do this is with a switch that can etherchannel the NICs together, im not sure if Fbsd can do that..of course. FreeBSD supports EthernetChannel, 802.1ad, etc. So does NetBSD. I's LACP that needs work. ~BAS___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, Oct 24, 2006 at 03:57:53PM -0400, James Smallacombe wrote: > On Tue, 24 Oct 2006, Jerry McAllister wrote: > > > > True, but I think the poster was suggesting that dump/restore is > > a better way than using tar. > > I'm not as familiar with BSD dump...does it compress well? Also, what's this? > > su-2.05b# dump -0L -f ns1.usr.dump /usr > DUMP: Date of this level 0 dump: Tue Oct 24 15:52:01 2006 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping snapshot of /dev/da0s1d (/usr) to ns1.usr.dump > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 3077070 tape blocks on 79.03 tape(s). > DUMP: dumping (Pass III) [directories] > DUMP: Closing ns1.usr.dump > DUMP: Change Volumes: Mount volume #2 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 2 begins with blocks from inode 149561 > DUMP: Closing ns1.usr.dump > DUMP: Change Volumes: Mount volume #3 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") > > What volume? The one I'm dumping? If so, why does it keep asking whether > it's mounted? What are all these different volume numbers? I just want to > dump /usr to one file, compressing and preserving permissions and symlinks as > much as possible, so I can restore it to a new server. It is asking for the next "tape". You apparently left off the 's' flag which you want to use when you write to a file. Otherwise it assumes you are writing to a tape type of media and it tries to guess how big the tape is based on other values you might give it - but if you don't tell it anything, it uses very old very small values for media size. So, anyway, you need the 'a' flag for dumps to a file. jerry > > James SmallacombeInternet Access for The Delaware > [EMAIL PROTECTED]Valley in PA, NJ and DE > PlantageNet Internet Ltd.http://www.pil.net > = > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] a mysql question
typical OT thread apologies, but the truth *really* is that this is the best and most intelligent list i read. so... You're really going to get better answers from the mysql lists... really. :) i use veritas netbackup 5.1 to backup my bsd machines, and i would like to restore some mysql databases onto another machine. is restoring any mysql database, as simple as reloading the database directories in /var/db/mysql? do i need to create the blank database first, then do it? maybe. maybe not. depends on the engine's used. http://dev.mysql.com/doc/refman/5.0/en/backup.html http://jeremy.zawodny.com/mysql/mysql-backup-and-recovery.html -philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[OT] a mysql question
typical OT thread apologies, but the truth *really* is that this is the best and most intelligent list i read. so... i use veritas netbackup 5.1 to backup my bsd machines, and i would like to restore some mysql databases onto another machine. is restoring any mysql database, as simple as reloading the database directories in /var/db/mysql? do i need to create the blank database first, then do it? i do know how to import a .sql database dump, i was just wondering if i can do it via a restore job from netbackup. any opinions i can get, are greatly appreciated. thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
QEMU crash
Hi List, I just had a crash in QEMU while trying to boot a Xubuntu installation QEMU was launched with this script #!/bin/sh kldload snd_driver kldload bridge kldload kqemu sysctl net.link.ether.bridge_cfg=re0,tap0 sysctl net.link.ether.bridge.enable=1 qemu -net nic,model=rtl8139 -net tap -localtime -m 256 -boot c -soundhw pcspk,sb16,es1370 -k fr-ch -kernel-kqemu -hda xubuntu.img -no-acpi sysctl net.link.ether.bridge.enable=0 sysctl net.link.ether.bridge_cfg= kldunload kqemu kldunload bridge kldunload snd_driver and here's the output from QEMU: qemu: fatal: Trying to execute code outside RAM or ROM at 0x000ec58f EAX=4f02 EBX=0003 ECX=0400 EDX=0555 ESI= EDI=2000 EBP= ESP=0ffa EIP=071f EFL=00020202 [---] CPL=3 II=0 A20=1 HLT=0 ES = CS =ebe7 000ebe70 SS =0100 1000 DS =0040 0400 FS = GS = LDT=0088 c03d2da0 0027 c000823d TR =0080 c0331f20 2073 c0008933 GDT= c033 00ff IDT= c037b000 07ff CR0=8005003b CR2=b7e21375 CR3=01374000 CR4=0690 CCS= CCD=cb477f10 CCO=EFLAGS FCW=037f FSW= [ST=0] FTW=00 MXCSR=1f80 FPR0=0048b0e9fae39c25 FPR1=00ff00ca00c500bf FPR2=ffcac5bf FPR3=0080008000800080 FPR4=00ff00ff00ff00ff FPR5= 8000 FPR6=8000 3ffe FPR7=f544f500 4004 XMM00= XMM01= XMM02= XMM03= XMM04= XMM05= XMM06= XMM07= Abort trap (core dumped) If related, after the crash my mouse stopped working until I restarted X. wm is Enlightenment-0.16.8.2 Any ideas? Thanx -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, 24 Oct 2006, James Smallacombe wrote: > On Tue, 24 Oct 2006, Eric wrote: > > > James Smallacombe wrote: > > > On Tue, 24 Oct 2006, Jerry McAllister wrote: > > >> True, but I think the poster was suggesting that dump/restore is > > >> a better way than using tar. > > > > > > I'm not as familiar with BSD dump...does it compress well? Also, what's > > > this? > > > > Take a dump > > dump -0uanLf - /var | bzip2 | dd of=/some/path/dump-var-level0.bz2 > > dump -0uanLf - / | bzip2 | dd of=/some/path/dump-root-level0.bz2 > > dump -0uanLf - /usr | bzip2 | dd of=/some/path/dump-usr-level0.bz2 > > > > Restore a dump > > To Restore Interactively > > Thanks, this seems to be doing the trick. However, I am getting a ton of > these upon restoring the contents of /usr on the new server: > > warning: cannot create symbolic link > ./src/sys/i386/compile/NEW_NS1.SMP/modules/usr/src/sys/modules/if_ppp/machine->/usr/src/sys/i386/include: > File exists > > Is it just that the symlinks already exist on the new server and it won't > overwrite them the way they overwrite regular files? Ugh...my ssh session to the new (remote) server was killed, presumably when restore overwrote something sshd needed. I was able to telnet back in, restart sshd and get back in, but since I was doing the restore interactively, and not in the background, was the restore interrupted? This is the problem with trying to copy a /usr or / file system to a live system... James SmallacombeInternet Access for The Delaware [EMAIL PROTECTED]Valley in PA, NJ and DE PlantageNet Internet Ltd.http://www.pil.net = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, 24 Oct 2006, Eric wrote: > James Smallacombe wrote: > > On Tue, 24 Oct 2006, Jerry McAllister wrote: > >> True, but I think the poster was suggesting that dump/restore is > >> a better way than using tar. > > > > I'm not as familiar with BSD dump...does it compress well? Also, what's > > this? > > Take a dump > dump -0uanLf - /var | bzip2 | dd of=/some/path/dump-var-level0.bz2 > dump -0uanLf - / | bzip2 | dd of=/some/path/dump-root-level0.bz2 > dump -0uanLf - /usr | bzip2 | dd of=/some/path/dump-usr-level0.bz2 > > Restore a dump > To Restore Interactively Thanks, this seems to be doing the trick. However, I am getting a ton of these upon restoring the contents of /usr on the new server: warning: cannot create symbolic link ./src/sys/i386/compile/NEW_NS1.SMP/modules/usr/src/sys/modules/if_ppp/machine->/usr/src/sys/i386/include: File exists Is it just that the symlinks already exist on the new server and it won't overwrite them the way they overwrite regular files? Thanks again, James SmallacombeInternet Access for The Delaware [EMAIL PROTECTED]Valley in PA, NJ and DE PlantageNet Internet Ltd.http://www.pil.net = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Python memory allocator: Free memory (fwd)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 How can you verify that the problem still exists? Nguyen Tam Chinh wrote: > Hello, > > I really don't know whether this is a good idea to forward this message > to ports@ and [EMAIL PROTECTED] I wrote to freebsd-python@ but there's no > reply so far. > So this is the problem description: > I noticed that the free memory function patch > (http://sourceforge.net/tracker/index.php?func=detail&aid=1123430&group_id=5470&atid=305470) > was included in Python-2.5. > I built the Python-2.5 port in FreeBSD (6.2-PRELENG, latest ports tree) > but the problem with free allocated memory still exists. > Do you have any information about this case? The feature seems to work > in GNU/Linux and Windows. > > Thank you all for your attention. > - > With best regards, |The Power to Serve > Nguyen Tam Chinh| http://www.FreeBSD.org > Loc: sp.cs.msu.su | > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-python > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) iQEVAwUBRT6Cav6xkxz4DngiAQiDvAf+MuKUyDZnVmCBnMNMJWdFcbCexmdZy5ng yHQdf/GmAX4mcEUCfXhLJ2NB6YyRae8Z+RxSbqc0El/25DJtxwLI4av1k2RLHWGg qoBSSv3nlVYsJ+fLlXFtX5oJbHdnbNQDUHIPQBPdrmTB16vra6Fsu7IuHmME2ZjO HvT+5aRAYhKmF17f1lJsc/DGJhv+oyLj7xmcFntuhpBcEokY4ZuO97Z8PkiiAcOV 1SUXXpa/j/d2mMRMXXkCYQa8pMdOuTkGTXku4uFwkYt3vRotKB3J5t8EKzbQ3mNj 5fUDiOyltepIWqZYbmokOHt+MptFSDBpLqoKlgnM60DA+ktPJJj9nw== =VPip -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Slow boot from btx load to kernel.
Second try... I have a triple boot setup ( WinXP, FreeBSD, and Ubuntu Linux) on which I upgraded the Ubuntu from 6.06 to 6.10. Now, when I boot the FreeBSD slice, it will take tens of seconds to load /boot/loader and the sound modules I use. It used to go by so fast I couldn't even see what exactly was happening. I tried using "fdisk -B -b /boot/boot0 /dev/ad0" and "boot0cfg -B /dev/ad0", thinking that moving back to the FreeBSD booter might do it, but to no avail. Can anyone tell me what I might have hosed, and how I might regain the previous booting speed? Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
uvscan
Hello, Does anyone know or can give me a hint about this command line scanner. I`ve red the manual page but i still got trouble in starting this virusscanner. i`ve got the message:: invalid switch or incorrect usage or: A target has not been specified for scanning! I`ve tryed for hours to get this thing running but i guess i`m not so succesful, can someone please help me on this. Thanks, Justin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
James Smallacombe wrote: On Tue, 24 Oct 2006, Jerry McAllister wrote: True, but I think the poster was suggesting that dump/restore is a better way than using tar. I'm not as familiar with BSD dump...does it compress well? Also, what's this? su-2.05b# dump -0L -f ns1.usr.dump /usr DUMP: Date of this level 0 dump: Tue Oct 24 15:52:01 2006 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to ns1.usr.dump DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 3077070 tape blocks on 79.03 tape(s). DUMP: dumping (Pass III) [directories] DUMP: Closing ns1.usr.dump DUMP: Change Volumes: Mount volume #2 DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes DUMP: Volume 2 begins with blocks from inode 149561 DUMP: Closing ns1.usr.dump DUMP: Change Volumes: Mount volume #3 DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") What volume? The one I'm dumping? If so, why does it keep asking whether it's mounted? What are all these different volume numbers? I just want to dump /usr to one file, compressing and preserving permissions and symlinks as much as possible, so I can restore it to a new server. i have never seen the volume messages when i backup. this is how i do it: Take a dump dump -0uanLf - /var | bzip2 | dd of=/some/path/dump-var-level0.bz2 dump -0uanLf - / | bzip2 | dd of=/some/path/dump-root-level0.bz2 dump -0uanLf - /usr | bzip2 | dd of=/some/path/dump-usr-level0.bz2 Restore a dump To Restore Interactively * First bunzip, make sure you have disk space. * restore -i -f filename.dump0 * or bzcat filename.dump0.bz2 | restore -i -f - without bunziping first. By the way bzcat filename.dump0.bz2 | ssh computer.bei$ * Navigage using cd, ls, etc. Use the verbose command to make things more verbose. * use add to add to list of stuff to extract. Will extract in CWD. * use delete to remove from list of stuff to extract. * When ready use the extract command to restore. Should look something like the following: restore > extract Extract requested files You have not read any tapes yet. If you are extracting just a few files, start with the last volume and work towards the first; restore can quickly skip tapes that have no further files to extract. Otherwise, begin with volume 1. Specify next volume #: 1 Mount tape volume 1 Enter ``none'' if there are no more tapes otherwise enter tape name (default: filename.dump0) extract file ./foobar/public_html/somefile.html Add links Set directory mode, owner, and times. set owner/mode for '.'? [yn] n restore > quit To Restore Entire Disk * Plug in fresh drive * /stand/sysinstall * fdisk, add bootloader, disklabel * Mount new drive somewhere, i.e. /mnt-root * Mount backups * cd /mnt-root; bzcat /backups/server/dump-root-level0.bz2 | restore -f - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, 24 Oct 2006, Jerry McAllister wrote: > > True, but I think the poster was suggesting that dump/restore is > a better way than using tar. I'm not as familiar with BSD dump...does it compress well? Also, what's this? su-2.05b# dump -0L -f ns1.usr.dump /usr DUMP: Date of this level 0 dump: Tue Oct 24 15:52:01 2006 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to ns1.usr.dump DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 3077070 tape blocks on 79.03 tape(s). DUMP: dumping (Pass III) [directories] DUMP: Closing ns1.usr.dump DUMP: Change Volumes: Mount volume #2 DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes DUMP: Volume 2 begins with blocks from inode 149561 DUMP: Closing ns1.usr.dump DUMP: Change Volumes: Mount volume #3 DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") What volume? The one I'm dumping? If so, why does it keep asking whether it's mounted? What are all these different volume numbers? I just want to dump /usr to one file, compressing and preserving permissions and symlinks as much as possible, so I can restore it to a new server. James SmallacombeInternet Access for The Delaware [EMAIL PROTECTED]Valley in PA, NJ and DE PlantageNet Internet Ltd.http://www.pil.net = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Some old fashioned assistance requested, and some oppinions wanted.
Ok, to start this off, and so you know where I'm coming from - I do a lot with comptuers and I'm visually impared. This makes notebooks a royal pain in the posterior - to the point where I NEED a few features in KDE/Gnome,a nd cannot use Windows. However, add to that a lot of manufacturers don't support their customers very well, not even if it is plain and simple hardware, and you suddenly have a *very* restrictive list. I I've had bad experiences with many companies, and good experiences with really only two. One of which, while BSD/Linux friendly, is out of the picture for reasons of exceptionally immoral and frivolous lawsuites (in my oppinion), the other, while their support is surperb, does not provide drivers for anything but windows, and does weird stuff to their hardware. The latter company is Toshiba. I'm putting this here on the questions and not the mobile forum because I believe that they also make non-mobile machines, and this is a slightly more wide ranging question that normally is found there. My question: 1) If Toshiba were to provide open source drivers for it's "weirdities", would you purchase their machines? 2) If "yes" to #1, would you join me in a snail-mail writing campaign to them to request they provide drivers for BSD and/or Linux - preferrably open source for one, or closed source for both, if it must remain closed for whatever reasons. 3) Off the topic of the main post, what are your top 3 vendors if your main consideration is the combination of (1) FreeBSD compatable hardware, and (2) Reliable/Honest/Intelligent and Customer Friendly tech support for hardware issues. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, Oct 24, 2006 at 01:14:16PM -0500, Eric wrote: > James Smallacombe wrote: > >On Tue, 24 Oct 2006, Eric wrote: > > > >>James Smallacombe wrote: > >>>A couple of months ago, I spent a couple of weeks compiling and > >>>configuring > >>>the latest FBSD, apache, perl, qmail and the bazzilion modules, patches > >>>and > >>>addon apps that go with all of it on an existing server, and ironing out > >>>all > >>>the upgrade issues that entailed. > >>> > >>>Since then, due to apparent hardware problems with that server, I just > >>>put > >>>together a new server using new hardware. > >>> > >>>The old hardware was dual P-III, Adaptec SCSI RAID 1 > >>> > >>>The new hardware is single Xeon, LSI SAS RAID 1 > >>> > >>>Both running 6.2-Prerelease. > >>> > >>>Is there any reason I shouldn't just copy all of /usr and /var from the > >>>old > >>>server, or do I really need to compile everything anew and sort out any > >>>simlinks to other file systems? > >>> > >>>Please copy me directly, since I am no subscribed > >>why not just a dump/restore of the file systems in question? > > > >Here's another issue I just ran into while trying to do just that, using > >tar: > > > >su-2.05b# tar xpPvfz > > > >x /usr/lib/libtacplus.so.2 > >x /usr/lib/libtacplus.so > >x /usr/lib/libutil.a > >x /usr/lib/libutil.so > >x /usr/lib/libypclnt.a > >x /usr/lib/libypclnt.so.2 > >x /usr/lib/libypclnt.so > >x /usr/lib/libalias.a > >x /usr/lib/libalias.so > >x /usr/lib/libarchive.a > >x /usr/lib/libarchive.so.2Bus error: 10 (core dumped) > > > >I take it the core dump occured because I was trying to overwrite a lib > >that > >was in use by tar, right? Is there a good way around this? > > > >TIA, > > > >James SmallacombeInternet Access for The Delaware > >[EMAIL PROTECTED]Valley in PA, NJ and DE > >PlantageNet Internet Ltd.http://www.pil.net > >= > > > > dump and restore do not have anything to do with tar. check out the > handbook. it has some good info. True, but I think the poster was suggesting that dump/restore is a better way than using tar. As for the core dump, I don't know. jerry > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ndis on startup
I've got a encore enlwi-g pci wireless network card that has a marvel chipset that is not supported by the current drivers. The ndis driver will run the card just fine. But if I try to load the ndis driver from loader.conf the card errors out and cannot be recovered until you reboot the computer. Unloading the driver and reloading will not work. Loading the driver after the computer is up seems to be the only option. In the loader.conf I have the following. if_ndis.ko_load="YES" ndis.ko_load="YES" Mrv8000c_sys.ko_load="YES" error msg Oct 23 17:57:51 lame kernel: pci0: at device 11.0 (no driver attached) Oct 23 17:57:51 lame kernel: ndis0: mem 0xf401-0xf40 Oct 23 17:57:51 lame kernel: ndis0: NDIS API version: 5.0 Oct 23 17:57:52 lame kernel: ndis0: init handler failed Oct 23 17:57:52 lame kernel: device_attach: ndis0 attach returned 6 Is there a way to script the load on start after everything is running? 6.1-RELEASE i386 FreeBSD 6.1-RELEASE #0: Mon Oct 23 16:34:04 CDT 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Escaping From
Hi: I am running a new install of FreeBSD 6.1-RELEASE-p10 and went through the entire buildworld process. So I know this system is up to date as of a few days ago. This is a fairly new install replacing Linux. My MTA is Sendmail and I configured it with procmail as the delivery agent. Here is what I wish to do: I want to escape all ^From lines in the body of all inbound messages, with a ">" making them read >From. I wish to do this by editing the proper M4/MC file. I have read the faqs, and the install manual. I even have Oreilly's 1000+ page Sendmail book! I can not find a reference anywhere to what I want to do. Either I am not recognizing it or it's not there? Should I be looking at procmail piping to sed 's/^From/>From' ?? I shouldn't have to do that. I can swear I did this with sendmail on a Linux box some years ago. Can someone point me to right place, or give me a hint? TIA Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, 24 Oct 2006, Dan Nelson wrote: > In the last episode (Oct 24), James Smallacombe said: > > Here's another issue I just ran into while trying to do just that, using > > tar: > > > > su-2.05b# tar xpPvfz > > > > x /usr/lib/libypclnt.so > > x /usr/lib/libalias.a > > x /usr/lib/libalias.so > > x /usr/lib/libarchive.a > > x /usr/lib/libarchive.so.2Bus error: 10 (core dumped) > > > > I take it the core dump occured because I was trying to overwrite a lib that > > was in use by tar, right? Is there a good way around this? > > You can try the -U option, which will unlink existing files before > creating the new version. I just noticed the problem was in creating the tarball, not extracting itI will try the "-W exclude=libarchive.*" first... thanks James SmallacombeInternet Access for The Delaware [EMAIL PROTECTED]Valley in PA, NJ and DE PlantageNet Internet Ltd.http://www.pil.net = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
In the last episode (Oct 24), James Smallacombe said: > Here's another issue I just ran into while trying to do just that, using tar: > > su-2.05b# tar xpPvfz > > x /usr/lib/libypclnt.so > x /usr/lib/libalias.a > x /usr/lib/libalias.so > x /usr/lib/libarchive.a > x /usr/lib/libarchive.so.2Bus error: 10 (core dumped) > > I take it the core dump occured because I was trying to overwrite a lib that > was in use by tar, right? Is there a good way around this? You can try the -U option, which will unlink existing files before creating the new version. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
James Smallacombe wrote: On Tue, 24 Oct 2006, Eric wrote: James Smallacombe wrote: A couple of months ago, I spent a couple of weeks compiling and configuring the latest FBSD, apache, perl, qmail and the bazzilion modules, patches and addon apps that go with all of it on an existing server, and ironing out all the upgrade issues that entailed. Since then, due to apparent hardware problems with that server, I just put together a new server using new hardware. The old hardware was dual P-III, Adaptec SCSI RAID 1 The new hardware is single Xeon, LSI SAS RAID 1 Both running 6.2-Prerelease. Is there any reason I shouldn't just copy all of /usr and /var from the old server, or do I really need to compile everything anew and sort out any simlinks to other file systems? Please copy me directly, since I am no subscribed why not just a dump/restore of the file systems in question? Here's another issue I just ran into while trying to do just that, using tar: su-2.05b# tar xpPvfz x /usr/lib/libtacplus.so.2 x /usr/lib/libtacplus.so x /usr/lib/libutil.a x /usr/lib/libutil.so x /usr/lib/libypclnt.a x /usr/lib/libypclnt.so.2 x /usr/lib/libypclnt.so x /usr/lib/libalias.a x /usr/lib/libalias.so x /usr/lib/libarchive.a x /usr/lib/libarchive.so.2Bus error: 10 (core dumped) I take it the core dump occured because I was trying to overwrite a lib that was in use by tar, right? Is there a good way around this? TIA, James SmallacombeInternet Access for The Delaware [EMAIL PROTECTED]Valley in PA, NJ and DE PlantageNet Internet Ltd.http://www.pil.net = dump and restore do not have anything to do with tar. check out the handbook. it has some good info. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, 24 Oct 2006, Eric wrote: > James Smallacombe wrote: > > A couple of months ago, I spent a couple of weeks compiling and configuring > > the latest FBSD, apache, perl, qmail and the bazzilion modules, patches and > > addon apps that go with all of it on an existing server, and ironing out all > > the upgrade issues that entailed. > > > > Since then, due to apparent hardware problems with that server, I just put > > together a new server using new hardware. > > > > The old hardware was dual P-III, Adaptec SCSI RAID 1 > > > > The new hardware is single Xeon, LSI SAS RAID 1 > > > > Both running 6.2-Prerelease. > > > > Is there any reason I shouldn't just copy all of /usr and /var from the old > > server, or do I really need to compile everything anew and sort out any > > simlinks to other file systems? > > > > Please copy me directly, since I am no subscribed > > why not just a dump/restore of the file systems in question? Here's another issue I just ran into while trying to do just that, using tar: su-2.05b# tar xpPvfz x /usr/lib/libtacplus.so.2 x /usr/lib/libtacplus.so x /usr/lib/libutil.a x /usr/lib/libutil.so x /usr/lib/libypclnt.a x /usr/lib/libypclnt.so.2 x /usr/lib/libypclnt.so x /usr/lib/libalias.a x /usr/lib/libalias.so x /usr/lib/libarchive.a x /usr/lib/libarchive.so.2Bus error: 10 (core dumped) I take it the core dump occured because I was trying to overwrite a lib that was in use by tar, right? Is there a good way around this? TIA, James SmallacombeInternet Access for The Delaware [EMAIL PROTECTED]Valley in PA, NJ and DE PlantageNet Internet Ltd.http://www.pil.net = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
clean old portsnap snapshots?
Hello, What is the best mechanism for deleting old portsnap shots to free up some space? Or, is this supposed to be handled automatically? --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux programs accessing non-linux programs
In the last episode (Oct 24), Giuseppe Pagnoni said: > I have been having trouble figuring out how to make linux programs > (installed and running under /compat/linux) access other FreeBSD > binaries that are *not* located under /compat/linux. For instance, I > am running linux-thunderbird and when I want to open a *.doc file > attachment, thunderbird asks me which application I would like to > use: I would like to point it to /usr/X11R6/bin/abiword , but > unfortunately when I chdir to /usr/X11R6/bin in the dialog box, it > goes actually to /compat/linux/usr/X11R6/bin (and abiword is *not* > there). Is there a way to make linux programs be able to jump out of > /compat/linux/ when looking for helper applications? If you specify the full path instead of browsing to the directory, it should work. When linux programs ask for files, the kernel first looks in /compat/linux/, then /. If you need to be able to browse to files, you can try null mounting / and /usr into /compat/linux/realroot, then browse through that. Or, if you have amd enabled, browse through /net/localhost/... -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
linux programs accessing non-linux programs
Hi all, I have been having trouble figuring out how to make linux programs (installed and running under /compat/linux) access other FreeBSD binaries that are *not* located under /compat/linux. For instance, I am running linux-thunderbird and when I want to open a *.doc file attachment, thunderbird asks me which application I would like to use: I would like to point it to /usr/X11R6/bin/abiword , but unfortunately when I chdir to /usr/X11R6/bin in the dialog box, it goes actually to /compat/linux/usr/X11R6/bin (and abiword is *not* there). Is there a way to make linux programs be able to jump out of /compat/linux/ when looking for helper applications? thanks in advance for any advice best giuseppe -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 1639 Pierce Drive, Suite 4000 Atlanta, GA, 30322 tel: 404.712.8431 fax: 404.727.3233 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Question
In response to [EMAIL PROTECTED]: > > - Original Message - > From: "Bill Moran" <[EMAIL PROTECTED]> > > > On Sat, 21 Oct 2006 16:02:19 +0330 > > [EMAIL PROTECTED] wrote: > > > >> hi all dear in freebsd project > >> > >> Default FreeBSD kernel not support any ability and compile kernel take > >> any time. I need some help for make freeBSD boot CD whit my custom > >> KERNEL. how make own FreeBSD bootabel cd ? > > > > FreeSBIE has a set of scripts that allow you to do this. You can install > > it from the ports collection. > > hi dear Bill Moran > > I install FreeSBIE from ports in FreeBSD . I think this program uses for > make Live CD. How can i use this program to make custom FreeBSD > installations CD whit new kernel? http://wiki.freesbie.org/documentation -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [fbsd] Running a FreeBSD guest with qemu on a FreeBSD host
Hi, On Tue, Oct 24, 2006 at 05:43:44PM +0200, Jeremie Le Hen wrote: > Hi, > > (Please Cc: me in your replies.) > > I'm trying to run TinyBSD in Qemu, using the -nographic mode. Thus > I need to configure FreeBSD to use a serial console. > > % # cat /mnt/md/boot.config > % -h > % # cat /mnt/md/boot/loader.conf > % console="comconsole" > % boot_serial="YES" > > > When I run Qemu with this command: > % qemu -hda tinybsd.img -m 64 -nographic -serial telnet:127.0.0.1:1234,server > > I get the following output, when telnet(1)'ing to 127.0.0.1:1234: > % Trying 127.0.0.1... > % Connected to localhost. > % Escape character is '^]'. > % /boot.config: -hConsoles: serial port > % BIOS drive C: is disk0 > % BIOS 639kB/64512kB available memory > % > % FreeBSD/i386 bootstrap loader, Revision 1.1 > % ([EMAIL PROTECTED], Fri Oct 20 22:23:14 UTC 2006) > % Loading /boot/defaults/loader.conf > % /boot/kernel/kernel text=0x337d74 data=0x357c4+0x3125c > syms=[0x4+0x42d60+0x4+0x5527d] > % can't open '/boot/beastie.4th': no such file or directory > % > % - > % Hit [Enter] to boot immediately, or any other key for command prompt. > % Booting [/boot/kernel/kernel]... > % - > > And the output stalls here. Any idea what's happening ? Does the kernel > switch back console to vga ? Maybe because the kernel didn't have sio(4) ? Sorry for the noise. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Question
- Original Message - From: "Bill Moran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Saturday, October 21, 2006 5:31 PM Subject: Re: Question On Sat, 21 Oct 2006 16:02:19 +0330 [EMAIL PROTECTED] wrote: hi all dear in freebsd project Default FreeBSD kernel not support any ability and compile kernel take any time. I need some help for make freeBSD boot CD whit my custom KERNEL. how make own FreeBSD bootabel cd ? FreeSBIE has a set of scripts that allow you to do this. You can install it from the ports collection. -- Bill Moran Potential Technologies http://www.potentialtech.com hi dear Bill Moran I install FreeSBIE from ports in FreeBSD . I think this program uses for make Live CD. How can i use this program to make custom FreeBSD installations CD whit new kernel? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
On Tue, 24 Oct 2006, Eric wrote: > James Smallacombe wrote: > > A couple of months ago, I spent a couple of weeks compiling and configuring > > the latest FBSD, apache, perl, qmail and the bazzilion modules, patches and > > addon apps that go with all of it on an existing server, and ironing out all > > the upgrade issues that entailed. > > > > Since then, due to apparent hardware problems with that server, I just put > > together a new server using new hardware. > > > > The old hardware was dual P-III, Adaptec SCSI RAID 1 > > > > The new hardware is single Xeon, LSI SAS RAID 1 > > > > Both running 6.2-Prerelease. > > > > Is there any reason I shouldn't just copy all of /usr and /var from the old > > server, or do I really need to compile everything anew and sort out any > > simlinks to other file systems? > > > > Please copy me directly, since I am no subscribed > > > > TIA! > > > > why not just a dump/restore of the file systems in question? That's what I'm asking...I just want to make sure that binaries compiled on a dual PIII wouldn't have stability issues running on a single Xeon...I know they're both I386, but am uncertain as to how system-specific binaries can be... James SmallacombeInternet Access for The Delaware [EMAIL PROTECTED]Valley in PA, NJ and DE PlantageNet Internet Ltd.http://www.pil.net = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
process stopped
Hi everyone, I'm trying to pinpoint what made my clamav process crap out last night, I see in the paniclog that when it failed. My two questions are Why did it fail , and can I be alerted to such a failure, we did not receive outside mail from last night till this morning when I came in (needless to say people were less than thrilled) Here's the entry from the panic log; 2006-10-23 18:15:53 getsockname() failed: Connection reset by peer 2006-10-23 18:15:53 daemon: fclose(smtp_out) failed: Broken pipe 2006-10-23 18:49:15 1Gc8V1-8X-Oe spam acl condition: error reading from spamd socket: Operation timed out 2006-10-23 18:51:16 1Gc8V1-8X-Oe spam acl condition: error reading from spamd socket: Operation timed out 2006-10-23 18:53:17 1Gc8V1-8X-Oe spam acl condition: error reading from spamd socket: Operation timed out 2006-10-23 18:55:18 1Gc8V1-8X-Oe spam acl condition: error reading from spamd socket: Operation timed out 2006-10-23 20:05:12 1Gc9gF-FN-Tw spam acl condition: error reading from spamd socket: Operation timed out 2006-10-23 20:07:13 1Gc9gF-FN-Tw spam acl condition: error reading from spamd socket: Operation timed out 2006-10-23 20:09:14 1Gc9gF-FN-Tw spam acl condition: error reading from spamd socket: Operation timed out 2006-10-23 20:11:14 1Gc9gF-FN-Tw spam acl condition: error reading from spamd socket: Operation timed out 2006-10-23 21:28:22 1GcB2U-Mk-R3 malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd (Connection refused) 2006-10-23 21:28:43 1GcB5v-Mv-80 malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd (Connection refused) Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL: Default and other problems
On Oct 24, 2006, at 1:32 AM, Nico -telmich- Schottelius wrote: Situation: - git running on fbsd 5.3. - 4 people work on the same project - git is used over ssh (aka git+ssh://) - when new objects are created, they belong to the creating user - normal umask is 077 (we are all paranoid) We want that every newly created file and directory is modifyable by any user of the 'git' group. Have git be setgid to this git group and call umask() to 027. Or write a trivial shell-script wrapper to reset the umask, if you want to do it that way. Now I am interested on how you would solve this problem with standard Unix-Ids without using external tools (like callin chown/chgrp/chmod each update). This constraint makes the problem impossible to solve. Either you are interested in the impossible, or you aren't really looking to solve the problem using standard Unix mechanisms... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
Hi, > >Is there any reason I shouldn't just copy all of /usr and /var from the old > >server, or do I really need to compile everything anew and sort out any > >simlinks to other file systems? > why not just a dump/restore of the file systems in question? He could also fire up nfsd, mount /usr/src and /usr/obj from the y'old to the new and make a installworld/kernel; keep an eye on cpu-optimization options though 8-/ Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying binaries to new server
James Smallacombe wrote: A couple of months ago, I spent a couple of weeks compiling and configuring the latest FBSD, apache, perl, qmail and the bazzilion modules, patches and addon apps that go with all of it on an existing server, and ironing out all the upgrade issues that entailed. Since then, due to apparent hardware problems with that server, I just put together a new server using new hardware. The old hardware was dual P-III, Adaptec SCSI RAID 1 The new hardware is single Xeon, LSI SAS RAID 1 Both running 6.2-Prerelease. Is there any reason I shouldn't just copy all of /usr and /var from the old server, or do I really need to compile everything anew and sort out any simlinks to other file systems? Please copy me directly, since I am no subscribed TIA! why not just a dump/restore of the file systems in question? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What's so compelling about FreeBSD?
yeah. just trying to please ya... On Oct 24, 2006, at 10:15 PM, Garrett Cooper wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Schulz wrote: i guess this is kind of interesting and relating to the subject, at least i have found it a good read : http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php That's been around the list at least a few times since I've been subscribed (~1.25 years) :). - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFPiAM6CkrZkzMC68RAmcKAJ44f4P8/Nnx2YKsZZT7fABwbOOmVwCghTP1 1hVYbkDb5EVneYJrNvg+aX4= =60eV -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" !DSPAM:1,453e20c26294668080009! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Running a FreeBSD guest with qemu on a FreeBSD host
Hi, (Please Cc: me in your replies.) I'm trying to run TinyBSD in Qemu, using the -nographic mode. Thus I need to configure FreeBSD to use a serial console. % # cat /mnt/md/boot.config % -h % # cat /mnt/md/boot/loader.conf % console="comconsole" % boot_serial="YES" When I run Qemu with this command: % qemu -hda tinybsd.img -m 64 -nographic -serial telnet:127.0.0.1:1234,server I get the following output, when telnet(1)'ing to 127.0.0.1:1234: % Trying 127.0.0.1... % Connected to localhost. % Escape character is '^]'. % /boot.config: -hConsoles: serial port % BIOS drive C: is disk0 % BIOS 639kB/64512kB available memory % % FreeBSD/i386 bootstrap loader, Revision 1.1 % ([EMAIL PROTECTED], Fri Oct 20 22:23:14 UTC 2006) % Loading /boot/defaults/loader.conf % /boot/kernel/kernel text=0x337d74 data=0x357c4+0x3125c syms=[0x4+0x42d60+0x4+0x5527d] % can't open '/boot/beastie.4th': no such file or directory % % - % Hit [Enter] to boot immediately, or any other key for command prompt. % Booting [/boot/kernel/kernel]... % - And the output stalls here. Any idea what's happening ? Does the kernel switch back console to vga ? Thank you. Cheers, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Copying binaries to new server
A couple of months ago, I spent a couple of weeks compiling and configuring the latest FBSD, apache, perl, qmail and the bazzilion modules, patches and addon apps that go with all of it on an existing server, and ironing out all the upgrade issues that entailed. Since then, due to apparent hardware problems with that server, I just put together a new server using new hardware. The old hardware was dual P-III, Adaptec SCSI RAID 1 The new hardware is single Xeon, LSI SAS RAID 1 Both running 6.2-Prerelease. Is there any reason I shouldn't just copy all of /usr and /var from the old server, or do I really need to compile everything anew and sort out any simlinks to other file systems? Please copy me directly, since I am no subscribed TIA! James SmallacombeInternet Access for The Delaware [EMAIL PROTECTED]Valley in PA, NJ and DE PlantageNet Internet Ltd.http://www.pil.net = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd
On Tue, Oct 24, 2006 at 01:17:25AM +0100, layla wrote: > my name is layla, i am from the uk, > > im loading up, freebsd operating system and would like to run a server > from it, i would like to know what the best webhosting control panal > would be for this and if there is a free one that you would recomend i > would be very greatful, i hope that you can help, and look foward to > your reply, If by this, you mean a web based system management utility, then probably the best know and accepted one at this time is 'webmin' see:http://www.webmin.com/ or at SourceForge: http://sourceforge.net/projects/webadmin/ Install is from FreeBSD ports at: /usr/ports/sysutils/webmin/ If you mean a web content management tool, then that is something else again. I am not sure if there is anything good available in Opensource Freeware, but maybe someone else will have an idea. jerry > best wishes > layla > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to use the freebsd help
On Tue, Oct 24, 2006 at 02:21:19PM +0100, shonbir singh tomar wrote: > hello, > i have installed the freebsd but i dont know how to use it after > installation a black scrren comes prompting for login and password after > login by root or user a # or $ sign appears its the console mode how i > want to use window mode how can i use it plz help me You have some studying to do. FreeBSD uses X-Windows to create graphics screens and windows. The current X-windows system used in FreeBSD is called X.org. You may have installed this during the regular installation if you selected that option, so it might already be there and just needs starting. If not you will have to install it. The FreeBSD Handbook covers this quite extensively. Go to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html As for which window manager you use, it is really a matter of taste and what you want to accomplish. I use AfterStep because it gives me good working screens and handles all the utilities I need to run without a lot of extra garbage or bloat. Some people prefer KDE or Gnome or others. You might, over time, want to experiment with each of the main ones to get your own ideas. Then you will need to learn something about running under UNIX. It is quite different than a Microsloth system or a MAC. You have your hands right on the system in FreeBSD and it makes very few assumptions for you. You need to decide what you want to do and then install and run the things you want.There are many books on using UNIX. But, start with the FreeBSD Handbook that is online. On useful section might be: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics.html and another: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/common-tasks.html There is no magic about learning FreeBSD. You just have to read a lot and try out everything. You should give yourself time to experiment with it as that will be the best way to learn. Once you get the hang of it, you will begin to discover the magic that is inside of FreeBSD. jerry > i am a new user to bsd > i will be very thankful to u if u help me plz... > contact me as soon as possible plz... > [EMAIL PROTECTED] or [EMAIL PROTECTED] or [EMAIL PROTECTED] > > > - > Find out what India is talking about on - Yahoo! Answers India > Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get > it NOW > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to use the freebsd help
On Tue, 2006-10-24 at 14:21 +0100, shonbir singh tomar wrote: > hello, > i have installed the freebsd but i dont know how to use it after > installation a black scrren comes prompting for login and password after > login by root or user a # or $ sign appears its the console mode how i want > to use window mode how can i use it plz help me > i am a new user to bsd > i will be very thankful to u if u help me plz... > contact me as soon as possible plz... Hi Shonbir, Welcome, the handbook is your friend: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ specifically this section if you're looking for a workstation: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: GRE to Cisco
> > On 10/24/06, Tuc at T-B-O-H.NET <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I was wondering if anyone has used GRE tunnel extensively. I'm > > trying to > > connect a FreeBSD system to a Cisco router. For testing ONLY I'm trying to > > do > > it to two devices on the same subnet. When I bring the gre up, I can't > > ping the other side. I have my FreeBSD at 192.168.3.21 and gre0 looks like : > > > > gre0: flags=9051 mtu 1476 > > tunnel inet 192.168.3.21 --> 192.168.3.149 > > inet6 fe80::212:3fff:fedd:58b2%gre0 prefixlen 64 scopeid 0x7 > > inet 192.168.3.21 --> 192.168.3.149 netmask 0x > > > > My Cisco is at 192.168.3.149 and looks like : > > > > interface Tunnel0 > > ip unnumbered Ethernet0 > > tunnel source Ethernet0 > > tunnel destination 192.168.3.21 > > ! > > interface Ethernet0 > > ip address 192.168.3.149 255.255.255.0 > > > > Ideas? > > I'm not very experienced with this, but if your routing table > lists 192.168.3.149 as reachable through the tunnel, then > the tunnel itself can't function, naturally. > It looks like the man page and lack of sleep made this a disaster... I've changed things around : FREEBSD: ifconfig wi0 192.168.3.21 netmask 255.255.255.0 up ifconfig gre0 unplumb ifconfig gre0 create ifconfig gre0 192.168.4.1 192.168.4.2 netmask 0xff00 link0 up ifconfig gre0 tunnel 192.168.3.21 192.168.3.149 Cisco: interface Tunnel0 ip address 192.168.4.2 255.255.255.0 tunnel source Ethernet0 tunnel destination 192.168.3.21 ! interface Ethernet0 ip address 192.168.3.149 255.255.255.0 But still can't ping 192.168.4.2 . Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What's so compelling about FreeBSD?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Schulz wrote: > i guess this is kind of interesting and relating to the subject, at > least i have found it a good read : > http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php That's been around the list at least a few times since I've been subscribed (~1.25 years) :). - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFPiAM6CkrZkzMC68RAmcKAJ44f4P8/Nnx2YKsZZT7fABwbOOmVwCghTP1 1hVYbkDb5EVneYJrNvg+aX4= =60eV -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: building rdiff-backup 1.1.15
thanks I found it Vince. cheers, Noah Vince wrote: Noah wrote: Hi there, I am wondering if somebody can help me here. I am attempting to build rdiff-backup 1.1.15 on my freebsd server. anybody had any success or provide a hand into figuring out how to get it installed? install the ports tree if you havent, update it to the latest if you have. then either cd /usr/ports/sysutils/rdiff-backup-devel make && make install && make clean or if you have portupgrade installed. portinstall sysutils/rdiff-backup-devel Vince # python -V Python 2.4.3 typhoon# python setup.py install running install running build running build_py running build_ext building 'rdiff_backup._librsync' extension cc -fno-strict-aliasing -DNDEBUG -O -pipe -march=pentiumpro -D__wchar_t=wchar_t -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x2 -fPIC -I/usr/local/include/python2.4 -c _librsyncmodule.c -o build/temp.freebsd-4.11-RELEASE-p3-i386-2.4/_librsyncmodule.o _librsyncmodule.c:25: librsync.h: No such file or directory _librsyncmodule.c:32: syntax error before `result' _librsyncmodule.c: In function `_librsync_seterror': _librsyncmodule.c:35: `result' undeclared (first use in this function) _librsyncmodule.c:35: (Each undeclared identifier is reported only once _librsyncmodule.c:35: for each function it appears in.) _librsyncmodule.c:35: `location' undeclared (first use in this function) _librsyncmodule.c: At top level: _librsyncmodule.c:46: syntax error before `rs_job_t' _librsyncmodule.c: In function `_librsync_new_sigmaker': _librsyncmodule.c:62: structure has no member named `sig_job' _librsyncmodule.c:63: `RS_DEFAULT_STRONG_LEN' undeclared (first use in this function) _librsyncmodule.c: In function `_librsync_sigmaker_dealloc': _librsyncmodule.c:70: structure has no member named `sig_job' _librsyncmodule.c: In function `_librsync_sigmaker_cycle': _librsyncmodule.c:84: syntax error before `buf' _librsyncmodule.c:90: `buf' undeclared (first use in this function) _librsyncmodule.c:96: `result' undeclared (first use in this function) _librsyncmodule.c:96: structure has no member named `sig_job' _librsyncmodule.c:98: `RS_DONE' undeclared (first use in this function) _librsyncmodule.c:98: `RS_BLOCKED' undeclared (first use in this function) _librsyncmodule.c: At top level: _librsyncmodule.c:171: syntax error before `rs_job_t' _librsyncmodule.c: In function `_librsync_new_deltamaker': _librsyncmodule.c:182: `rs_job_t' undeclared (first use in this function) _librsyncmodule.c:182: `sig_loader' undeclared (first use in this function) _librsyncmodule.c:183: `rs_signature_t' undeclared (first use in this function) _librsyncmodule.c:183: `sig_ptr' undeclared (first use in this function) _librsyncmodule.c:184: syntax error before `buf' _librsyncmodule.c:196: `buf' undeclared (first use in this function) _librsyncmodule.c:201: `result' undeclared (first use in this function) _librsyncmodule.c:203: `RS_DONE' undeclared (first use in this function) _librsyncmodule.c:212: structure has no member named `sig_ptr' _librsyncmodule.c:213: structure has no member named `delta_job' _librsyncmodule.c: In function `_librsync_deltamaker_dealloc': _librsyncmodule.c:221: `rs_signature_t' undeclared (first use in this function) _librsyncmodule.c:221: `sig_ptr' undeclared (first use in this function) _librsyncmodule.c:221: structure has no member named `sig_ptr' _librsyncmodule.c:224: structure has no member named `delta_job' _librsyncmodule.c: In function `_librsync_deltamaker_cycle': _librsyncmodule.c:238: syntax error before `buf' _librsyncmodule.c:244: `buf' undeclared (first use in this function) _librsyncmodule.c:250: `result' undeclared (first use in this function) _librsyncmodule.c:250: structure has no member named `delta_job' _librsyncmodule.c:251: `RS_DONE' undeclared (first use in this function) _librsyncmodule.c:251: `RS_BLOCKED' undeclared (first use in this function) _librsyncmodule.c: At top level: _librsyncmodule.c:324: syntax error before `rs_job_t' _librsyncmodule.c: In function `_librsync_new_patchmaker': _librsyncmodule.c:350: structure has no member named `patch_job' _librsyncmodule.c:350: `rs_file_copy_cb' undeclared (first use in this function) _librsyncmodule.c: In function `_librsync_patchmaker_dealloc': _librsyncmodule.c:360: structure has no member named `patch_job' _librsyncmodule.c: In function `_librsync_patchmaker_cycle': _librsyncmodule.c:374: syntax error before `buf' _librsyncmodule.c:380: `buf' undeclared (first use in this function) _librsyncmodule.c:386: `result' undeclared (first use in this function) _librsyncmodule.c:386: structure has no member named `patch_job' _librsyncmodule.c:387: `RS_DONE' undeclared (first use in this function) _librsyncmodule.c:387: `RS_BLOCKED' undeclared (first use in this function) _librsyncmodule.c: In function `init_librsync': _librsyncmodule.c:477: `RS_DEFAULT_BLOCK_LEN' undeclared (first use in this function) error: command 'cc' failed with exit status 1 cheers, Noah _
Re: What's so compelling about FreeBSD?
i guess this is kind of interesting and relating to the subject, at least i have found it a good read : http://www.over-yonder.net/ ~fullermd/rants/bsd4linux/bsd4linux1.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to use the freebsd help
hello, i have installed the freebsd but i dont know how to use it after installation a black scrren comes prompting for login and password after login by root or user a # or $ sign appears its the console mode how i want to use window mode how can i use it plz help me i am a new user to bsd i will be very thankful to u if u help me plz... contact me as soon as possible plz... [EMAIL PROTECTED] or [EMAIL PROTECTED] or [EMAIL PROTECTED] - Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nvidia on CURRENT...
Anders Troback wrote: > On Tue, 17 Oct 2006 15:14:38 +0200 > Tore Lund <[EMAIL PROTECTED]> wrote: > >> Anders Troback wrote: >>> On Tue, 17 Oct 2006 11:25:05 +0400 >>> "Andrew Pantyukhin" <[EMAIL PROTECTED]> wrote: I have it working fine on my current. Have you disabled agp in kernel config? >>> No, should I? Running on GENERIC! >> It's a little easier to try it out by putting this line into >> /boot/device.hints: >> >> hint.agp.0.disabled="1" > > No, no luck! > > This is the error from startx: > > NVIDIA: could not open the device file /dev/nvidiactl (No such file or > directory). > (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please > ensure > (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and > (EE) NVIDIA(0): that the NVIDIA device files have been created properly. > (EE) NVIDIA(0): Please consult the NVIDIA README for details. > (EE) NVIDIA(0): *** Aborting *** > (EE) Screen(s) found, but none have a usable configuration. > > And yes there is a Nvidia GPU in my system (at least when I'm > running 6.2):-) Hmmm. What about dmesg? Does it report the device nvidia0 or anything else with nvidia chips? And are you running nvidia-settings? The port nvidia-xconfig solved some problems for me by modifying my xorg.conf. And I solved a couple of other problems by browsing the Nvidia knowledgebase: http://nvidia.custhelp.com/cgi-bin/nvidia.cfg/php/enduser/std_alp.php (Though, I am running 6.1-RELEASE.) -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: building rdiff-backup 1.1.15
Noah wrote: > Hi there, > > I am wondering if somebody can help me here. I am attempting to build > rdiff-backup 1.1.15 on my freebsd server. anybody had any success or > provide a hand into figuring out how to get it installed? > install the ports tree if you havent, update it to the latest if you have. then either cd /usr/ports/sysutils/rdiff-backup-devel make && make install && make clean or if you have portupgrade installed. portinstall sysutils/rdiff-backup-devel Vince > > # python -V > Python 2.4.3 > typhoon# python setup.py install > running install > running build > running build_py > running build_ext > building 'rdiff_backup._librsync' extension > cc -fno-strict-aliasing -DNDEBUG -O -pipe -march=pentiumpro > -D__wchar_t=wchar_t -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x2 -fPIC > -I/usr/local/include/python2.4 -c _librsyncmodule.c -o > build/temp.freebsd-4.11-RELEASE-p3-i386-2.4/_librsyncmodule.o > _librsyncmodule.c:25: librsync.h: No such file or directory > _librsyncmodule.c:32: syntax error before `result' > _librsyncmodule.c: In function `_librsync_seterror': > _librsyncmodule.c:35: `result' undeclared (first use in this function) > _librsyncmodule.c:35: (Each undeclared identifier is reported only once > _librsyncmodule.c:35: for each function it appears in.) > _librsyncmodule.c:35: `location' undeclared (first use in this function) > _librsyncmodule.c: At top level: > _librsyncmodule.c:46: syntax error before `rs_job_t' > _librsyncmodule.c: In function `_librsync_new_sigmaker': > _librsyncmodule.c:62: structure has no member named `sig_job' > _librsyncmodule.c:63: `RS_DEFAULT_STRONG_LEN' undeclared (first use in > this function) > _librsyncmodule.c: In function `_librsync_sigmaker_dealloc': > _librsyncmodule.c:70: structure has no member named `sig_job' > _librsyncmodule.c: In function `_librsync_sigmaker_cycle': > _librsyncmodule.c:84: syntax error before `buf' > _librsyncmodule.c:90: `buf' undeclared (first use in this function) > _librsyncmodule.c:96: `result' undeclared (first use in this function) > _librsyncmodule.c:96: structure has no member named `sig_job' > _librsyncmodule.c:98: `RS_DONE' undeclared (first use in this function) > _librsyncmodule.c:98: `RS_BLOCKED' undeclared (first use in this function) > _librsyncmodule.c: At top level: > _librsyncmodule.c:171: syntax error before `rs_job_t' > _librsyncmodule.c: In function `_librsync_new_deltamaker': > _librsyncmodule.c:182: `rs_job_t' undeclared (first use in this function) > _librsyncmodule.c:182: `sig_loader' undeclared (first use in this function) > _librsyncmodule.c:183: `rs_signature_t' undeclared (first use in this > function) > _librsyncmodule.c:183: `sig_ptr' undeclared (first use in this function) > _librsyncmodule.c:184: syntax error before `buf' > _librsyncmodule.c:196: `buf' undeclared (first use in this function) > _librsyncmodule.c:201: `result' undeclared (first use in this function) > _librsyncmodule.c:203: `RS_DONE' undeclared (first use in this function) > _librsyncmodule.c:212: structure has no member named `sig_ptr' > _librsyncmodule.c:213: structure has no member named `delta_job' > _librsyncmodule.c: In function `_librsync_deltamaker_dealloc': > _librsyncmodule.c:221: `rs_signature_t' undeclared (first use in this > function) > _librsyncmodule.c:221: `sig_ptr' undeclared (first use in this function) > _librsyncmodule.c:221: structure has no member named `sig_ptr' > _librsyncmodule.c:224: structure has no member named `delta_job' > _librsyncmodule.c: In function `_librsync_deltamaker_cycle': > _librsyncmodule.c:238: syntax error before `buf' > _librsyncmodule.c:244: `buf' undeclared (first use in this function) > _librsyncmodule.c:250: `result' undeclared (first use in this function) > _librsyncmodule.c:250: structure has no member named `delta_job' > _librsyncmodule.c:251: `RS_DONE' undeclared (first use in this function) > _librsyncmodule.c:251: `RS_BLOCKED' undeclared (first use in this function) > _librsyncmodule.c: At top level: > _librsyncmodule.c:324: syntax error before `rs_job_t' > _librsyncmodule.c: In function `_librsync_new_patchmaker': > _librsyncmodule.c:350: structure has no member named `patch_job' > _librsyncmodule.c:350: `rs_file_copy_cb' undeclared (first use in this > function) > _librsyncmodule.c: In function `_librsync_patchmaker_dealloc': > _librsyncmodule.c:360: structure has no member named `patch_job' > _librsyncmodule.c: In function `_librsync_patchmaker_cycle': > _librsyncmodule.c:374: syntax error before `buf' > _librsyncmodule.c:380: `buf' undeclared (first use in this function) > _librsyncmodule.c:386: `result' undeclared (first use in this function) > _librsyncmodule.c:386: structure has no member named `patch_job' > _librsyncmodule.c:387: `RS_DONE' undeclared (first use in this function) > _librsyncmodule.c:387: `RS_BLOCKED' undeclared (first use in this function) > _librsyncmodule.c: In function `init_librsync': > _librsyncmodule.c:477: `RS_DEFAULT_BLOCK_LEN' undecla
Re: SunFire V210/V240 (UltraSparc IIIi) and FreeBSD
On 10/24/06, Josh Paetzel <[EMAIL PROTECTED]> wrote: On Monday 23 October 2006 11:14, Alexandre Vieira wrote: > > Hello, > > I'm unable to boot 6.2-BETA2 on a SunFire V210. It stalls in the > start of kernel boot: > Right. It has an UltraSparc III CPU which just isn't supported. -- Thanks, Josh Paetzel I am aware that this CPI isn't supported, you can read the initial post. Thing is, there are several reports of successfull boots with this specific machine and since i'm a curious guy I would like to ride freebsd with one of these. cheers -- Alexandre Vieira - [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Small Redundant web/mail setup
On 10/18/06, Martin Hepworth <[EMAIL PROTECTED]> wrote: Have a look at how Cambridge University (UK) have setup their email. Any URLs? I did not find any in the Engineering dept wesite of Cambridge University raj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nvidia on CURRENT...
On Tue, 17 Oct 2006 15:14:38 +0200 Tore Lund <[EMAIL PROTECTED]> wrote: > Anders Troback wrote: > > On Tue, 17 Oct 2006 11:25:05 +0400 > > "Andrew Pantyukhin" <[EMAIL PROTECTED]> wrote: > >> I have it working fine on my current. Have you disabled agp in > >> kernel config? > > > > No, should I? Running on GENERIC! > > It's a little easier to try it out by putting this line into > /boot/device.hints: > > hint.agp.0.disabled="1" No, no luck! This is the error from startx: NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory). (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and (EE) NVIDIA(0): that the NVIDIA device files have been created properly. (EE) NVIDIA(0): Please consult the NVIDIA README for details. (EE) NVIDIA(0): *** Aborting *** (EE) Screen(s) found, but none have a usable configuration. And yes there is a Nvidia GPU in my system (at least when I'm running 6.2):-) \\troback -- How many Microsoft employees does it take to screw in a light bulb? None, they declare darkness a new standard. Anders Trobäck http://www.troback.com/ - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
eclipse CDT remote to FreeBSD
I would like to use Eclipse's C++ CDT on OS X to remote debug apps on FreeBSD 6.1. Does anyone have experience with this? Is there any problem with the GNU compiler toolchain as it may differ in setup from a standard Linux one? Any other pointers to remote dev/debugging on FreeBSD? thanks, ke han ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ACL: Default and other problems
Wow, sombody even reads this thread! Wojciech Puchar [Mon, Oct 23, 2006 at 07:43:47PM +0200]: > >>posted a question about ACLs because I'm having difficulties setting up > >>default ACLs. My question was posted 11/10 but I haven't got an answer > >>yet. > > > >Looks like noone is really using ACLs (and default ACLs) on fbsd. > > classic unix uid/gid is simplest and enough for MOST (or every - i think) > cases. it just needs to be used right Situation: - git running on fbsd 5.3. - 4 people work on the same project - git is used over ssh (aka git+ssh://) - when new objects are created, they belong to the creating user - normal umask is 077 (we are all paranoid) We want that every newly created file and directory is modifyable by any user of the 'git' group. Now I am interested on how you would solve this problem with standard Unix-Ids without using external tools (like callin chown/chgrp/chmod each update). Sincerly Nico -- ``...if there's one thing about Linux users, they're do-ers, not whiners.'' (A quotation of Andy Patrizio I completely agree with) signature.asc Description: Digital signature
Re: ACL: Default and other problems
Looks like noone is really using ACLs (and default ACLs) on fbsd. classic unix uid/gid is simplest and enough for MOST (or every - i think) cases. it just needs to be used right Please imagine this. We're running a web server and want each user to be able to modify/delete files created (owned) by Apache user if the file is in that particular users home directory. Maybe this is possible with just uid/gid if every new file created within this directory has the users group and the permissions 664 or even 775, how would this be done (forcing new files group identity and permissions). Thanks, -Patrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"