VimDebug Problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I am trying to use the Vim plugin VimDebug, a debugging tool for C/C++, Java, Python, etc. which can be executed from the Vim editor. However, I am having problems, if anyone is using this tool I would *appreciate* some help. I am new to C programming and the documentation on this plugin is pretty bad. I have all of the associated documentation (INSTALL, README, USAGE, etc.) but it is not intuitive. Best, - -- Hakim Singhji New York University [EMAIL PROTECTED] Win95 is not a virus; a virus does something. -- unknown source -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDEAjNtNw+O5WCyMQRArC7AJ9cBROfayFMw2CMSZsEbbpQmn9IbACfQT/n AA0K6XzMpvbKT441fGnF7nM= =7Z1/ -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: Sending files to Win/Linux clients from FreeBSD 4.3 server?
Ooops. I already got ftp to run in my Windows client. However, the file sizes drop to almost half of its actual value after transmission using get or recv, and the downloaded files themselves aren't consistent with the original files in the server.What the...? --- Jamie Ann P. Zamodio [EMAIL PROTECTED] wrote: Thanks to Nick, Glenn, Andreas, Roland, Chris and John for their immediate answers.Ü I tried most of your suggestions - scp, PuTTY, WinSCP, ftp (haven't tried samba yet, though) - but I think I'm missing something important. All my attempts to connect to the server always fail, and I get error messages like Lost connection or Server unexpectedly closed connection or Authentication failed. What am I doing wrong? I'm running on a wireless connection, if that information helps. Again, thanks in advance, Jamie __ 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] Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Conexant Softv92 Data Fax Modem PROBLEM!!!
-- Dear FRIENDS! Does FreeBSD support Conexant Softv92 Data Fax Modem? HOW can i setup modem driver? I need an easy way for kde. I couldn't setup modem... Best regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error sending message [1125133486424.10251.mailhost] from [euro.centre.org]
[00] XMail bounce: [EMAIL PROTECTED];Error=[554 mail server rejected message: spam or virus detected (#5.3.0)] [01] Error sending message [1125133486424.10251.mailhost] from [euro.centre.org]. ID:S120F87 Mail From: freebsd-questions@freebsd.org Rcpt To: [EMAIL PROTECTED] Server:EMAIL-AON.highway.telekom.at [195.3.96.71] [02] The reason of the delivery failure was: 554 mail server rejected message: spam or virus detected (#5.3.0) [05] Here is listed the initial part of the message: X-Deliver-To: [EMAIL PROTECTED] Received: from freebsd.org (58.225.218.245:3603) by euro.centre.org with [XMail 1.17 (Linux/Ix86) ESMTP Server] id S120F87 for [EMAIL PROTECTED] from freebsd-questions@freebsd.org; Sat, 27 Aug 2005 11:04:42 +0200 From: freebsd-questions@freebsd.org To: [EMAIL PROTECTED] Subject: [EMAIL PROTECTED] Date: Sat, 27 Aug 2005 18:04:41 +0900 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary==_NextPart_000_0008_53C3A0B1.0D83B0D9 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600. X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600. X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailhost.euro.centre.org X-Spam-Status: No, hits=4.3 required=5.0 tests=FORGED_MUA_OUTLOOK, MIME_BASE64_ILLEGAL,NO_REAL_NAME autolearn=no version=2.63 X-Spam-Level: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot ssh to machine on lan when it has no internet connection
On 8/26/05, Adi Pircalabu [EMAIL PROTECTED] wrote: You could also search your /etc/hosts.allow for the following line: ALL : PARANOID : RFC931 20 : deny No luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
éö-chars in directories
I have a question of which I'm not quite sure it's FreeBSD only. Forfive me if it's not. Here's the problem: I have lots of mp3 files. Some of them contain highascii in the title which also is in the directory. No problem. It goes well. I use iso-8859-1 as charset ;-) The problem is that these songs *DON'T* show off well when read from a windows computer connected to my freebsd server through samba. Can this problem be solved? I'd like to read my iso-8859-1 coded directory right on both systems. Or is this wishful thinking? ;-) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any thing better then portupgrade?
Every time I run that POS I end up pulling my hair out and trying to stop myself from beating the system with a sledge hammer. Their has to be something better. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any thing better then portupgrade?
On 8/27/05, Nikolas Britton [EMAIL PROTECTED] wrote: Every time I run that POS I end up pulling my hair out and trying to stop myself from beating the system with a sledge hammer. Their has to be something better. And why is it such a pain in the ass to upgrade Perl (5.8.6 = 5.8.7)? it's a frickin bugfix point release! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Conexant Softv92 Data Fax Modem PROBLEM!!!
On Sat, Aug 27, 2005 at 01:44:00PM +0500, 897344 wrote: Does FreeBSD support Conexant Softv92 Data Fax Modem? HOW can i setup modem driver? No. It is a software modem which needs a driver. No such driver has been written for FreeBSD, although a company called Linuxant has written a Linux driver. See http://www.linuxant.com/drivers/ This dirver is for Linux only, and only gives you 14.4Kbps in the free version. Buy a proper hardware modem, preferably one that connects to a serial port. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp9sKDbYcYhb.pgp Description: PGP signature
Re: Any thing better then portupgrade?
On Sat, Aug 27, 2005 at 05:09:01AM -0500, Nikolas Britton wrote: On 8/27/05, Nikolas Britton [EMAIL PROTECTED] wrote: Every time I run that POS I end up pulling my hair out and trying to stop myself from beating the system with a sledge hammer. Their has to be something better. And why is it such a pain in the ass to upgrade Perl (5.8.6 = 5.8.7)? it's a frickin bugfix point release! Since you don't bother telling us what problems you have been having, your questions are impossible to answer. I will just note that I certainly did not have any problems at all updating Perl from 5.8.6 to 5.8.7, but then I almost never have any problems updating ports on my systems. -- Insert your favourite quote here. Erik Trulsson [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: cpio and tar are loosing flags (and a panic message without trace)
Am Samstag, 27. August 2005 06:58 CEST schrieb Matthew Dillon: :Thank you, I know cpdup but I haven't known that it's flags aware! :Unfortunately I need to write to a raw device, I guess there's no way : for=20 cpdup without a filesystem... : :I guess cpio and tar really should take care about flags. Am I wrong? : :Thanks, : :=2DHarry cpio won't do it, tar won't do it, dump only does whole partitions, cpdup is not an archiver. Hmm. I can think of two possibilities. First, use a MFS or VN block device, create a filesystem, and use cpdup, then gzip the file representing the backing store. Since the extra space in the filesystem will contain zeros (you should make sure it does, that is), it should compress pretty well. Second, use cpio and then do a separate 'find' or 'ls' or something to get the chflags info and write a script that restores the flags after unpacking. They are both pretty narley solutions. Hmm.. wait a sec... I just thought up of another possibility... take the tar or cpio source code and modify it to also save and restore the chflags data. It won't be a 'standard' utility any more, but it WILL work for your needs. Call it by another name so there's no confusion. That might be your best bet, actually. Right, and you can be sure, I had that done already if I spoke c. But if I understand you correctly, it is intended that cpio doesn't hanlde file flags? And (bsb)tar too? Then what are flags good for if no application makes use of them? For now I think I have to be happy with my script solution, at least it works. Thanks, -harry -Matt pgpLzJ0A5b4RL.pgp Description: PGP signature
RE: See what raid arrays are?
Hi Matt, I quote : What raid hardware? In general, with hardware RAID (PCI cards and the like), the component physical disks of a logical array are hidden from the OS to keep you from accessing them directly and destroying the array, and to simplify the presentation of the array to the OS. -- Doug White| FreeBSD: The Power to Serve [EMAIL PROTECTED] | www.FreeBSD.org However, you could see if # camcontrol devlist -v gives a little more information. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Juszczak Sent: August 26, 2005 11:40 PM To: freebsd-questions@freebsd.org Subject: See what raid arrays are? Hi all, I was wondering if there is a way to see the RAID setup of a freebsd machine without rebooting it. I Know I've got 5 drives in the system, and I know that da0 is 36 gig, da1 is 140 gig, and da2 is 18 gig, but I dont know how the five drives play out among those arrays. I'm PRETTY sure (pretty sure!) that da0 is a raid 1 and da1 is a raid 1 and da2 is just a stand alone 18 gig drive, but I'd love to know for sure. dmesg doesn't say much, probably because this is hardware raid so the system itself only sees one drive even if there is more. was wondering if there's a way to go above that restriction. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 08/25/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 08/25/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 08/26/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt Storm Dell PowerEdge 1850
John Straiton wrote: Hello, I am attempting to install 5.4R on a brand new Dell PowerEdge 1850 machine. The installation goes perfectly however after the reboot, I am unable to log into the machine (or in this case, create the entropy salt) John, Let me take a quick guess.. You've got the DRAC4 card installed? If you do, that's why the keyboard doesn't work, as it defaults to the DRAC4 one (Although it's only a virtual keyboard). If that's the case, just go to singleuser, and change devd.conf and change ukbd0 to ukbd1. Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any thing better then portupgrade?
On Sat, 27 Aug 2005 05:01:23 -0500 Nikolas Britton [EMAIL PROTECTED] wrote: Every time I run that POS I end up pulling my hair out and trying to stop myself from beating the system with a sledge hammer. Their has to be something better. There is. portupgrade -rR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
boot problem (stage 2 boot?)
Just installed on a new system and I am unable to boot. Currently when that system boots it comes up with what looks like the following example from the handbook FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: from my reading this is a boot2 stage booting from cd and going into Fixit it fdisk shows partition 1, 2, and 3 unused, and Freebsd is on partition 4. I thought it should be on partition 1? Note: on install I choose the Standard boot manager. I have tried playing with fdisk and disklabel to try to cure this problem, but continually get the example shown above. With none of the above efforts working I have tried changing the boot manager and no luck, both by reinstalling and just by using sysinstall to modify the boot manager.I did get F1 FreeBSD when trying the FreeBSD boot manager option, but it still did not start the system. Thanks Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bind9: dir for files with dynamic updates
Hi. As I can see there is a directory for dynamic updates: /var/named/etc/namedb/dynamic. But files with dynamic updates still placed next to zones files (/var/named/etc/namedb/master). I've looked for an option for it in documentation but failed. So, how can I use /var/named/etc/namedb/dynamic? -- Sem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: burncd multiple files
dick hoogendijk [EMAIL PROTECTED] wrote: One question still: you mention cdrtools-devel. What are the pro's/cons of a devel port above the normal sysutils/cdrtools. If you take cdrtools-devel, you get the latest version (ATM cdrtools-2.01.01a03). The normal cdrtools port contains the latest stable version (ATM cdrtools-2.01). cdrtools-2.01 have fewer features, for example its cdrecord can't use gigarec, and contain a cdda2wav version which doesn't work suid under BSD. In general cdrtools alpha versions are quite stable. See http://www.freshports.org/sysutils/cdrtools/ and http://www.freshports.org/sysutils/cdrtools-devel/ for more information. Fabian -- http://www.fabiankeil.de/ pgp0yKJDBc740.pgp Description: PGP signature
shell usage (syntax) question
Hello, how can I delimit a program parameter from a shell instruction? Example: I want to tell the shell that stderr should be redirected to file /tmp/test, not cpio to use /file/test: # /usr/bin/cpio -idmuv /dev/ad0h 2 /tmp/test This doesn't work, I guess cpio grabs the . How can I write it that the shell sees the ? (sh, but also interesting for csh) Thanks in advance! -Harry pgpbKKQaiZLwN.pgp Description: PGP signature
Re: Any thing better then portupgrade?
Nikolas Britton wrote: Every time I run that POS I end up pulling my hair out and trying to stop myself from beating the system with a sledge hammer. Their has to be something better. Hmm, I don't know about a *better* Piece Of Software ;) but Portmanager also claims it can update all your ports, and goes about it slightly differently. Let's say it's Similar and remove the need for asbestos underclothing. I still find myself using both it and portupgrade from time to time, though, but I can't for sure answer the why on that HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Directory permissions issue taring directories onto a Compact Flash card
Hi, I have done a minimal FreeBSD 5.4 install onto single partition ad0s1a I then mounted my 512MB Compact Flash ide drive on ad2s1. When I run this command su'ed as root: tar --one-file-system cf - -C / . | tar xpvf - -C /mnt I find that all the directories end up with permissions of: drwx-- Even running: dump 0af - / | restore xf - gives the same result. If I manually create a directory on the CF /mnt I get the correct permissions! Files copied over via tar and dump are ok. I have used tar to copy HD contents to larger HD,s before with out a problem. Umask is set to 22, and this is being done in a tcsh shell. Any clue on whats going on? Cheers, Paul Hamilton. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: éö-chars in directories
dick hoogendijk [EMAIL PROTECTED] wrote: I have lots of mp3 files. Some of them contain highascii in the title which also is in the directory. No problem. It goes well. I use iso-8859-1 as charset ;-) The problem is that these songs *DON'T* show off well when read from a windows computer connected to my freebsd server through samba. Can this problem be solved? I'd like to read my iso-8859-1 coded directory right on both systems. Or is this wishful thinking? ;-) Put these lines in /usr/local/etc/smb.conf: dos charset = cp850 unix charset = ISO8859-1 However, transferred files from Windows to the FreeBSD machine, which were displayed wrong from the FreeBSD side, but right from Windows, will now be displayed wrong from both sides. I don't know if you have such files, and I don't know if there is an easier fix than just transferring the files again. Fabian -- http://www.fabiankeil.de/ pgpjF49GZ0DPu.pgp Description: PGP signature
Re: shell usage (syntax) question
On Sat, Aug 27, 2005 at 03:25:27PM +0200, Emanuel Strobl wrote: Hello, how can I delimit a program parameter from a shell instruction? Example: I want to tell the shell that stderr should be redirected to file /tmp/test, not cpio to use /file/test: # /usr/bin/cpio -idmuv /dev/ad0h 2 /tmp/test This doesn't work, I guess cpio grabs the . How can I write it that the shell sees the ? (sh, but also interesting for csh) The example you give above *is* the correct syntax for having stderr of 'cpio' redirected to /tmp/test (instead of to the tty as is the normal case.) The shell reads and takes care of all the redirection stuff before starting the program. In the example above 'cpio' will not see the /dev/ad0h 2/tmp/test part of the commandline, since the shell will not pass it along to the program. -- Insert your favourite quote here. Erik Trulsson [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: Any thing better then portupgrade?
On 8/27/05, Nikolas Britton [EMAIL PROTECTED] wrote: Every time I run that POS I end up pulling my hair out and trying to stop myself from beating the system with a sledge hammer. Their has to be something better. Man, install Fedora Core and stick with yum for a week. If you survive, you'll praise portupgrade for the rest of your life. Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine error
The wine port works fine for me. Never tried M$ Office, but had a success with some complicated software (Counter-Strike with some networking issues, WarCraft3...) Make sure you read the wine user's guide and faq. There's also this linux-winetools port. I haven't tested it a lot, but it might be able to facilitate your wine experience. As for full hardware emulation - I tried qemu and bochs on FreeBSD5.4/i386. Both work flawlessly and quite fast, unlike the much troublesome vmware ports. Andrew P. On 8/26/05, Joe Auty [EMAIL PROTECTED] wrote: At one point I tried very hard to get Wine to work under FreeBSD, but it was very frustrating because Wine is pre-beta software right now designed for Linux. It is hard enough to get it to work under Linux! My suggestion would be to install and setup VMWare 3 on FreeBSD, this works quite well. Either that, or wait for a FreeBSD port of Crossover Office. Hint: you'll need to Google for the file the vmware3 port looks for in /usr/ports/distfiles =) On Aug 26, 2005, at 11:33 AM, Zorro Super Hero wrote: hi i don't know if its the mail that i need to use for my question. i just don't know who do i need to ask. i have a Freebsd 5.4 and i install KDE Gnome on it. i use Gnome all the time. i have P-III 450 with 128mb Ram. and i going to bay mor 256mb Ram son. i try to install wine to run ms office (its the only office that suport hebrew) we use to mach windows in my job place :-( and i wont to move up to Freebsd. and we need to use ms office. i get the wine from winehq.com i go to Freebsd and i get the version...Wine-20050725.tar.gz i do tar -zxvf . the next thing i do ./configure and everything was good. nex i do make depend and it was good to. (with no error). now i do make. and its run for a long time then i get an error.. updown.c: In function `UPDOWN_DoAction': updown.c:619: error: structure has no member named `MaxRal' updown.c: In function `UpDownWindowProc': updown.c:817: error: structure has no member named `MaxRal' updown.c:1007: error: structure has no member named `MaxRal' updown.c:1021: error: structure has no member named `MaxRal' updown.c:1023: error: structure has no member named `MaxRal' *** Error code 1 Stop in /usr/home/emanuel/Wine-20050725/wine-20050725/dlls/comctl32. *** Error code 1 Stop in /usr/home/emanuel/Wine-20050725/wine-20050725/dlls. *** Error code 1 Stop in /usr/home/emanuel/Wine-20050725/wine-20050725. i use sudo to do it, and i try to do it one more time as root, i do su. i try to find help in google.com or google.com/bsd/ but ... nothing :-(. i hope some one can help me or tall me where can i find a good help. i try to give all the ditel's abut my pc and all the command that i do. BTW my name is emanuel and i am from israel. and we wish that one day Freebsd come with Hebrew enable like mandrake and redhat. we just love Freebsd more! Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to find out which ports/dependencies were installed when installing a port?
Hi, New here. I'm running portuprade and wondering if it's possible to find out which ports/dependencies were installed when installing a specific application. For example: I install A which needs B and C to run. So portupgrade installs B and C along with A. Later down the road I deinstall A and decide I'd like to get rid of the ports/dependencies that A needed installed with it. How would I go about finding B and C just by knowing A's name? There has to be an easy answer, but I can't figure it out. Thanks. -- Robert G. ___ 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 find out which ports/dependencies were installed when installing a port?
Later down the road I deinstall A and decide I'd like to get rid of the ports/dependencies that A needed installed with it. How would I go about finding B and C just by knowing A's name? There has to be an easy answer, but I can't figure it out. You might want to look at /usr/ports/sysutils/pkg_cutleaves. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy ___ 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 find out which ports/dependencies were installed when installing a port?
On Sat, Aug 27, 2005 at 12:24:47PM -0400, Robert G. wrote: Hi, New here. I'm running portuprade and wondering if it's possible to find out which ports/dependencies were installed when installing a specific application. For example: I install A which needs B and C to run. So portupgrade installs B and C along with A. Later down the road I deinstall A and decide I'd like to get rid of the ports/dependencies that A needed installed with it. How would I go about finding B and C just by knowing A's name? There has to be an easy answer, but I can't figure it out. pkg_cutleaves and pkg_tree -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpio and tar are loosing flags (and a panic message without
Am Samstag, 27. August 2005 06:58 CEST schrieb Matthew Dillon: :Thank you, I know cpdup but I haven't known that it's flags aware! :Unfortunately I need to write to a raw device, I guess there's no way : for=3D20 cpdup without a filesystem... : :I guess cpio and tar really should take care about flags. Am I wrong? : :Thanks, : :=3D2DHarry cpio won't do it, tar won't do it, dump only does whole partitions, cpdup is not an archiver. Hmm. I can think of two possibilities. First, use a MFS or VN block device, create a filesystem, and use cpdup, then gzip the file representing the backing store. Since the extra space in the filesystem will contain zeros (you should make sure it does, that is), it should compress pretty well. Second, use cpio and then do a separate 'find' or 'ls' or something to get the chflags info and write a script that restores the flags after unpacking. They are both pretty narley solutions. Hmm.. wait a sec... I just thought up of another possibility... take the tar or cpio source code and modify it to also save and restore the chflags data. It won't be a 'standard' utility any more, but it WILL work for your needs. Call it by another name so there's no confusion. That might be your best bet, actually. Right, and you can be sure, I had that done already if I spoke c. But if I understand you correctly, it is intended that cpio doesn't hanlde= =20 file flags? And (bsb)tar too? Then what are flags good for if no=20 application makes use of them? Many utilities make use of the flags. As for preserving flags when transferring files, dump/restore do that as does mv. jerry =46or now I think I have to be happy with my script solution, at least it=20 works. Thanks, =2Dharry -Matt --nextPart1588043.I67yfi4mi7 Content-Type: application/pgp-signature -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDEEEGBylq0S4AzzwRAk9jAJ9BtF55VtpB39Ac3Z0fTkzq9Nv8HwCeKxZY tIuf0zf92rpNIyaZYgUlV4A= =QCBs -END PGP SIGNATURE- --nextPart1588043.I67yfi4mi7-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE
Ariff Abdullah wrote: These are my suggestions: 1) enable 'options PREEMPTION'. This is a MUST. 2) use SCHED_ULE instead of SCHED_4BSD. ULE is pretty stable on me, but I can't guarantee (especially combining with PREEMPTION). It doesn't hurt to give it a try. 3) Apply these patches: http://staff.mybsd.org.my/skywizard/FreeBSD/sound/jroberson_flushbuf_RELENG_5.diff http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_20050825_035.diff Well I added PREEMPTION to the kernel yesterday as well as the first patch by Jeff Robertson. Immediately upon kernelinstall and reboot I tried untarring Firefox and Thunderbird, as well as tarring them both back up. Not a single skip, stutter, or freezing of the mouse/display! I did more testing last night like listening to audio with downloads open and encoding video, and I didn't hear one skip at all. The only time I heard a little static was when I was burning a DVD and listening to audio at the same time, but I can understand that. Thanks to everyone who replied, this seems to be fixed for now. :) -Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Wine
I did a direct install. I'm aware of the report and have read it many times. I thought I'd give it a go from the original CD, as I don't have a Linux machine around. One advantage I have is that I have a version for Small Business so I don't have to worry about Access. I had no issues with files not being found, as the report mentioned, so that part seems to be in error. The install terminates part way through, and IE is not installed. Still, the files are extracted, the DLLs are installed, and it almost works. I may just copy over the files from my Win98 box, and update the Wine registry for it. That may work better. Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot loader won't start windows on other HD
I know questions like this have been asked before, but I can't find a straight answer! Forgive me though if I have missed one. I have a Windows 2000 machine into which I wanted to put an extra hard disk to run FreeBSD. In my pre-installation reading, I noticed that FreeBSD offers a mechanism to boot alternative operating systems, so I opted to put the new FreeBSD disk as 0, and move the original Windows one to position 1. Installation went fine, and I opted to install with the bootloader, and sure enough, on startup I get a little menu saying: F1 FreeBSD F5 Disk 1 If I press F1, FreeBSD boots as expected. However, if I press F5 (it seems I have to do this twice otherwise I get FreeBSD again), I get a prompt saying Default: 0:ad(0,a)/boot/loader boot: Now what? It doesn't seem to matter what I put here, it won't make Windows start. Is there something particular I should enter? Have I missed something else? Please, if you reply, go easy with me - there is a strong chance I won't understand! If you want to suggest that I copy something to somewhere for instance, or install something, *please* spell out in words of one syllable how. I dont' want to be spoon-fed for ever, but I haven't even got off the initial prompt after login yet!! Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE
Mark Kane wrote: Ariff Abdullah wrote: These are my suggestions: 1) enable 'options PREEMPTION'. This is a MUST. 2) use SCHED_ULE instead of SCHED_4BSD. ULE is pretty stable on me, but I can't guarantee (especially combining with PREEMPTION). It doesn't hurt to give it a try. 3) Apply these patches: http://staff.mybsd.org.my/skywizard/FreeBSD/sound/jroberson_flushbuf_RELENG_5.diff http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_20050825_035.diff Well I added PREEMPTION to the kernel yesterday as well as the first patch by Jeff Robertson. Immediately upon kernelinstall and reboot I tried untarring Firefox and Thunderbird, as well as tarring them both back up. Not a single skip, stutter, or freezing of the mouse/display! I did more testing last night like listening to audio with downloads open and encoding video, and I didn't hear one skip at all. The only time I heard a little static was when I was burning a DVD and listening to audio at the same time, but I can understand that. Thanks to everyone who replied, this seems to be fixed for now. :) -Mark I do notice that when doing some things like using unrar to extract a file or loading a video into video encoding software I do get some of the same little crackles and static in the audio. I didn't notice this static/crackling ever before applying that first patch. I am still skip/stutter free though :). Might the second patch help the crackling/static? Thanks -Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to know if i'm under flood?
Hi! How i can verify if i'm under flood atack? ___ 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 know if i'm under flood?
vladone wrote: Hi! How i can verify if i'm under flood atack? Look at netstat, see if tons of connections are there. Maybe try the Ntop port (/usr/ports/net/ntop). It has a nice web interface showing traffic. -Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem (stage 2 boot?)
At 06:04 AM 8/27/2005, Sean wrote: Just installed on a new system and I am unable to boot. Currently when that system boots it comes up with what looks like the following example from the handbook FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: from my reading this is a boot2 stage booting from cd and going into Fixit it fdisk shows partition 1, 2, and 3 unused, and Freebsd is on partition 4. I thought it should be on partition 1? How did you arrange the file systems when you installed. Did you use the defaults, or your own layout? The defaults would have given you 5 partitions inside of the first slice. For example: ad0s1a - / ad0s1b - swap ad0s1d - /var ad0s1e - /tmp ad0s1f - /usr Did you not use the 'a' partition for your root file system? Second stage boot code only knows how to find third stage on the 'a' partition. More details on your installation would help in trying to figure out what the problem is. -Glenn Note: on install I choose the Standard boot manager. I have tried playing with fdisk and disklabel to try to cure this problem, but continually get the example shown above. With none of the above efforts working I have tried changing the boot manager and no luck, both by reinstalling and just by using sysinstall to modify the boot manager.I did get F1 FreeBSD when trying the FreeBSD boot manager option, but it still did not start the system. Thanks Sean ___ 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: shell usage (syntax) question
At 06:25 AM 8/27/2005, Emanuel Strobl wrote: Hello, how can I delimit a program parameter from a shell instruction? Example: I want to tell the shell that stderr should be redirected to file /tmp/test, not cpio to use /file/test: # /usr/bin/cpio -idmuv /dev/ad0h 2 /tmp/test In sh try: /usr/bin/cpio -idmuv 2 /etc/test /dev/ad0h -Glenn This doesn't work, I guess cpio grabs the . How can I write it that the shell sees the ? (sh, but also interesting for csh) Thanks in advance! -Harry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot loader won't start windows on other HD
At 10:24 AM 8/27/2005, Barnaby Scott wrote: I know questions like this have been asked before, but I can't find a straight answer! Forgive me though if I have missed one. I have a Windows 2000 machine into which I wanted to put an extra hard disk to run FreeBSD. In my pre-installation reading, I noticed that FreeBSD offers a mechanism to boot alternative operating systems, so I opted to put the new FreeBSD disk as 0, and move the original Windows one to position 1. Installation went fine, and I opted to install with the bootloader, and sure enough, on startup I get a little menu saying: F1 FreeBSD F5 Disk 1 If I press F1, FreeBSD boots as expected. However, if I press F5 (it seems I have to do this twice otherwise I get FreeBSD again), I get a prompt saying Default: 0:ad(0,a)/boot/loader boot: Now what? It doesn't seem to matter what I put here, it won't make Windows start. Is there something particular I should enter? Have I missed something else? The boot: prompt is the second stage of the FreeBSD boot process. There's no way to get it to boot windows as that point. Additionally, moving the windows disk is likely to confuse the hell out of windows. Your best bet is probably to use the windows boot manager, and have FreeBSD installed on the second disk. For info on how to deal with the windows boot loader, go here: http://hacks.oreilly.com/pub/h/2337 -Glenn Please, if you reply, go easy with me - there is a strong chance I won't understand! If you want to suggest that I copy something to somewhere for instance, or install something, *please* spell out in words of one syllable how. I dont' want to be spoon-fed for ever, but I haven't even got off the initial prompt after login yet!! Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: how to know if i'm under flood?
And how exactly use netstat for this purpose? I see many options in man pages. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
backup and restore mysql
how to backup and restore mysql databases? -- Any help would be greatly appreciated. regards, Carstea Catalin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: backup and restore mysql
On 8/27/05, Carstea Catalin [EMAIL PROTECTED] wrote: how to backup and restore mysql databases? http://dev.mysql.com/doc/mysql/en/mysqldump.html most relevent part of it ( you will need to do -u$username -p$password to login: - - snip - - The most common use of mysqldump is probably for making a backup of an entire database: shell mysqldump --opt db_name backup-file.sql You can read the dump file back into the server like this: shell mysql db_name backup-file.sql Or like this: shell mysql -e source /path-to-backup/backup-file.sql db_name mysqldump is also very useful for populating databases by copying data from one MySQL server to another: shell mysqldump --opt db_name | mysql --host=remote_host -C db_name It is possible to dump several databases with one command: shell mysqldump --databases db_name1 [db_name2 ...] my_databases.sql If you want to dump all databases, use the --all-databases option: shell mysqldump --all-databases all_databases.sql - - snip - - -- Any help would be greatly appreciated. regards, Carstea Catalin ___ 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: backup and restore mysql
On Sat, 27 Aug 2005 14:04:26 -0700 Carstea Catalin [EMAIL PROTECTED] wrote: how to backup and restore mysql databases? man mysqldump http://dev.mysql.com/doc/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem (stage 2 boot?)
Glenn Dawson wrote: At 06:04 AM 8/27/2005, Sean wrote: Just installed on a new system and I am unable to boot. Currently when that system boots it comes up with what looks like the following example from the handbook FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: from my reading this is a boot2 stage booting from cd and going into Fixit it fdisk shows partition 1, 2, and 3 unused, and Freebsd is on partition 4. I thought it should be on partition 1? How did you arrange the file systems when you installed. Did you use the defaults, or your own layout? The defaults would have given you 5 partitions inside of the first slice. For example: ad0s1a - / ad0s1b - swap ad0s1d - /var ad0s1e - /tmp ad0s1f - /usr Did you not use the 'a' partition for your root file system? Second stage boot code only knows how to find third stage on the 'a' partition. More details on your installation would help in trying to figure out what the problem is. -Glenn Note: on install I choose the Standard boot manager. I have tried playing with fdisk and disklabel to try to cure this problem, but continually get the example shown above. With none of the above efforts working I have tried changing the boot manager and no luck, both by reinstalling and just by using sysinstall to modify the boot manager.I did get F1 FreeBSD when trying the FreeBSD boot manager option, but it still did not start the system. Thanks Sean I created the above partitions you listed manually and specified to my choice sizes, and i did choose 'a', or entire disk on creation. No matter how I approach this problem I always wind up in the same place. I am guessing now that the MBR has a problem. Thanks Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: backup and restore mysql
Carstea Catalin wrote: how to backup and restore mysql databases? to backup: # mysqldump --opt -u root -p -A dbs.sql to restore: mysql source dbs.sql; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkgdb usage guide
Hi It would be most appreciated if someone who is familiar with the use of pkgdb could either point to a user guide that tells one how in what circumstances to use the various interactive options offered by this utility or maybe help to draft an faq on it. Thanks -- 40 yrs navigating and computing in blue waters. English Owner Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem (stage 2 boot?)
At 02:13 PM 8/27/2005, Sean wrote: Glenn Dawson wrote: At 06:04 AM 8/27/2005, Sean wrote: Just installed on a new system and I am unable to boot. Currently when that system boots it comes up with what looks like the following example from the handbook FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: from my reading this is a boot2 stage booting from cd and going into Fixit it fdisk shows partition 1, 2, and 3 unused, and Freebsd is on partition 4. I thought it should be on partition 1? How did you arrange the file systems when you installed. Did you use the defaults, or your own layout? The defaults would have given you 5 partitions inside of the first slice. For example: ad0s1a - / ad0s1b - swap ad0s1d - /var ad0s1e - /tmp ad0s1f - /usr Did you not use the 'a' partition for your root file system? Second stage boot code only knows how to find third stage on the 'a' partition. More details on your installation would help in trying to figure out what the problem is. -Glenn Note: on install I choose the Standard boot manager. I have tried playing with fdisk and disklabel to try to cure this problem, but continually get the example shown above. With none of the above efforts working I have tried changing the boot manager and no luck, both by reinstalling and just by using sysinstall to modify the boot manager.I did get F1 FreeBSD when trying the FreeBSD boot manager option, but it still did not start the system. Thanks Sean I created the above partitions you listed manually and specified to my choice sizes, and i did choose 'a', or entire disk on creation. The entire disk option is in the screen that lest you create slices, which is completely different from the screen that lets you create your partitions. (a, b, d, e, f, etc) Keep in mind that what is called a partition in other OS's is called a slice in FreeBSD. You mentioned above that FreeBSD was installed in partition 4. Assuming that's slice 4, are the device names something like /dev/ads4x. where the x is the partition. No matter how I approach this problem I always wind up in the same place. I am guessing now that the MBR has a problem. I doubt there's nothing wrong with the MBR per se, but if it's looking in the wrong place for the third stage loader you'll see exactly the problem you have. -Glenn Thanks Sean ___ 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]
interface alias at start-up
how tu setting-up interface alias at start-up -- Any help would be greatly appreciated. regards, Carstea Catalin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem (stage 2 boot?)
Sean [EMAIL PROTECTED] writes: Just installed on a new system and I am unable to boot. You might get better help if you include details like what you installed. Currently when that system boots it comes up with what looks like the following example from the handbook FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: Of course, standard 5.x kernel is in /boot/kernel/kernel booting from cd and going into Fixit it fdisk shows partition 1, 2, and 3 unused, and Freebsd is on partition 4. I thought it should be on partition 1? I suppose you've tried 0:ad(3,a)/kernel but maybe not: 0:ad(3,a)/boot/loader but I doubt if either will work because it's supposed to be done automatically. But if you got to the boot: prompt, you shouldn't need to worry about the boot manager (i.e., the MBR). It looks like the system is reading the boot records at the start of some FreeBSD primary partition (presumably, the 4th) and it should then try to run /boot/loader. Some disk geometry problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: interface alias at start-up
On Sat, 27 Aug 2005 14:26:32 -0700 Carstea Catalin [EMAIL PROTECTED] wrote: how tu setting-up interface alias at start-up # example /etc/rc.conf part defaultrouter=192.168.2.1 ifconfig_rl0=inet 192.168.2.222 netmask 255.255.255.0 ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem (stage 2 boot?)
Glenn Dawson wrote: At 02:13 PM 8/27/2005, Sean wrote: Glenn Dawson wrote: At 06:04 AM 8/27/2005, Sean wrote: Just installed on a new system and I am unable to boot. Currently when that system boots it comes up with what looks like the following example from the handbook FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: from my reading this is a boot2 stage booting from cd and going into Fixit it fdisk shows partition 1, 2, and 3 unused, and Freebsd is on partition 4. I thought it should be on partition 1? How did you arrange the file systems when you installed. Did you use the defaults, or your own layout? The defaults would have given you 5 partitions inside of the first slice. For example: ad0s1a - / ad0s1b - swap ad0s1d - /var ad0s1e - /tmp ad0s1f - /usr Did you not use the 'a' partition for your root file system? Second stage boot code only knows how to find third stage on the 'a' partition. More details on your installation would help in trying to figure out what the problem is. -Glenn Note: on install I choose the Standard boot manager. I created the above partitions you listed manually and specified to my choice sizes, and i did choose 'a', or entire disk on creation. The entire disk option is in the screen that lest you create slices, which is completely different from the screen that lets you create your partitions. (a, b, d, e, f, etc) Keep in mind that what is called a partition in other OS's is called a slice in FreeBSD. You mentioned above that FreeBSD was installed in partition 4. Assuming that's slice 4, are the device names something like /dev/ads4x. where the x is the partition. Through Fitit, fdisk shows partions 1,2,and 3 unused, and Freebsd sitting in 4. bsdlabel shows on /dev/ad0s1 the six partitions, a, b, c, d, e, f Sysinstall, from the boot cd, shows the following disk name: ad0 and freebsd on ad0s1 disklabel shows ad0s1a, ad0s1d, ad0s1b, ad0s1e, ad0s1f, none of these partitions currently show a mount point, with the exception of b, which is swap. so now am even more puzzled by no mount showing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: interface alias at start-up
At 02:40 PM 8/27/2005, [EMAIL PROTECTED] wrote: On Sat, 27 Aug 2005 14:26:32 -0700 Carstea Catalin [EMAIL PROTECTED] wrote: how tu setting-up interface alias at start-up # example /etc/rc.conf part defaultrouter=192.168.2.1 ifconfig_rl0=inet 192.168.2.222 netmask 255.255.255.0 ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x Also make sure there are no gaps in the sequence, or any aliases after the gap will not be applied. -Glenn ___ 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]
ata2-master: FAILURE
I have failures like the below: ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE status=51READY,DSC,ERROR error=4ABORTED What do I do to fix these failures? All of the FAILURE drives are on my Adaptec ATA RAID 1200A card. My secondary built-in IDE is dead so I have to use this card as an IDE replacement. Thanks, Rob Here is my dmesg: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: ASUS P4SP-MX Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 2.40GHz (2400.18-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HT T,TM,PBE real memory = 1040171008 (991 MB) avail memory = 1008295936 (961 MB) ioapic0 Version 8.0 irqs 0-23 on motherboard npx0: math processor on motherboard npx0: INT 16 interface acpi0: ASUS P4SP-MX on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: SiS 651 host to AGP bridge mem 0xe800-0xebff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 2.0 on pci0 isa0: ISA bus on isab0 atapci0: SiS 962 UDMA133 controller port 0xa400-0xa40f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 16 at device 2.5 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 ohci0: SiS 5571 USB controller mem 0xe700-0xe7000fff irq 20 at device 3.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SiS 5571 USB controller on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: SiS 5571 USB controller mem 0xe680-0xe6800fff irq 21 at device 3.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SiS 5571 USB controller on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pci0: serial bus, USB at device 3.3 (no driver attached) sis0: SiS 900 10/100BaseTX port 0x8800-0x88ff mem 0xe580-0xe5800fff irq 19 at device 4.0 on pci0 miibus0: MII bus on sis0 rlphy0: RTL8201L 10/100 media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:0e:a6:98:41:8b atapci1: HighPoint HPT370 UDMA100 controller port 0x7000-0x70ff,0x7400-0x7403,0x7800-0x7807,0x8000-0x8003,0x8400-0x8407 irq 17 at device 14.0 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 pci0: multimedia, audio at device 16.0 (no driver attached) fdc0: floppy drive controller port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 orm0: ISA Option ROMs at iomem 0xcc000-0xd07ff,0xc-0xcbfff on isa0 pmtimer0 on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter TSC frequency 2400181916 Hz quality 800 Timecounters tick every 10.000 msec ad0: 117246MB Maxtor 6Y120L0/YAR41VW0 [238216/16/63] at ata0-master UDMA133 acd0: DVDROM COMPAQ DVD-ROM GDR8160B/0012 at ata0-slave PIO4 ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE status=51READY,DSC,ERROR error=4ABORTED ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE status=51READY,DSC,ERROR error=4ABORTED ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=51READY,DSC,ERROR error=5ABORTED,ILLEGAL_LENGTH ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=51READY,DSC,ERROR error=5ABORTED,ILLEGAL_LENGTH ad4: FAILURE - SETFEATURES ENABLE RCACHE
Re: boot problem (stage 2 boot?)
Glenn Dawson [EMAIL PROTECTED] writes: I doubt there's nothing wrong with the MBR per se, but if it's looking in the wrong place for the third stage loader you'll see exactly the problem you have. Where it's probably refers to boot code, not to the MBR, which doesn't look for anything except the confusingly-named first-stage boot loader (same as /boot/boot1) in the first sector of your 4th primary partition. Then that loads the second-stage boot loader (same as /boot/boot2) which gives the boot: prompt after failing to run /boot/loader and failing to run a kernel. It seems that finding boot1 and boot2 is possible with bad geometry, but finding /boot/loader or the kernel is not. ??? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem (stage 2 boot?)
At 02:40 PM 8/27/2005, Sean wrote: Glenn Dawson wrote: At 02:13 PM 8/27/2005, Sean wrote: Glenn Dawson wrote: At 06:04 AM 8/27/2005, Sean wrote: Just installed on a new system and I am unable to boot. Currently when that system boots it comes up with what looks like the following example from the handbook FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: from my reading this is a boot2 stage booting from cd and going into Fixit it fdisk shows partition 1, 2, and 3 unused, and Freebsd is on partition 4. I thought it should be on partition 1? How did you arrange the file systems when you installed. Did you use the defaults, or your own layout? The defaults would have given you 5 partitions inside of the first slice. For example: ad0s1a - / ad0s1b - swap ad0s1d - /var ad0s1e - /tmp ad0s1f - /usr Did you not use the 'a' partition for your root file system? Second stage boot code only knows how to find third stage on the 'a' partition. More details on your installation would help in trying to figure out what the problem is. -Glenn Note: on install I choose the Standard boot manager. I created the above partitions you listed manually and specified to my choice sizes, and i did choose 'a', or entire disk on creation. The entire disk option is in the screen that lest you create slices, which is completely different from the screen that lets you create your partitions. (a, b, d, e, f, etc) Keep in mind that what is called a partition in other OS's is called a slice in FreeBSD. You mentioned above that FreeBSD was installed in partition 4. Assuming that's slice 4, are the device names something like /dev/ads4x. where the x is the partition. Through Fitit, fdisk shows partions 1,2,and 3 unused, and Freebsd sitting in 4. Can you send the output that shows that? bsdlabel shows on /dev/ad0s1 the six partitions, a, b, c, d, e, f /dev/ad0s1 is slice one. (partition 1 in the dos/windows world) Sysinstall, from the boot cd, shows the following disk name: ad0 and freebsd on ad0s1 That is exactly as it should be. disklabel shows ad0s1a, ad0s1d, ad0s1b, ad0s1e, ad0s1f, none of these partitions currently show a mount point, with the exception of b, which is swap. so now am even more puzzled by no mount showing. disklabel output can't give you mount points. Can you provide the output from disklabel? That would help in figuring out what's going on. Here's a sample output from one of my systems: # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 52428804.2BSD0 0 0 b: 2045600 524288 swap c: 209647620unused0 0 # raw part, don't edit d: 524288 25698884.2BSD0 0 0 e: 524288 30941764.2BSD0 0 0 f: 17346298 36184644.2BSD0 0 0 -Glenn ___ 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: interface alias at start-up
FWIW: That doesnt work for me :( any other way? [EMAIL PROTECTED] wrote: On Sat, 27 Aug 2005 14:26:32 -0700 Carstea Catalin [EMAIL PROTECTED] wrote: how tu setting-up interface alias at start-up # example /etc/rc.conf part defaultrouter=192.168.2.1 ifconfig_rl0=inet 192.168.2.222 netmask 255.255.255.0 ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x ___ 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: boot problem (stage 2 boot?)
At 02:47 PM 8/27/2005, Gary W. Swearingen wrote: Glenn Dawson [EMAIL PROTECTED] writes: I doubt there's nothing wrong with the MBR per se, but if it's looking in the wrong place for the third stage loader you'll see exactly the problem you have. Where it's probably refers to boot code, not to the MBR, which doesn't look for anything except the confusingly-named first-stage boot loader (same as /boot/boot1) in the first sector of your 4th primary partition. Then that loads the second-stage boot loader (same as /boot/boot2) which gives the boot: prompt after failing to run /boot/loader and failing to run a kernel. It seems that finding boot1 and boot2 is possible with bad geometry, but finding /boot/loader or the kernel is not. ??? The restriction on where stage 2 finds the stage 3 loader, /boot/loader, is that it must be on the 'a' partition. Something like: /dev/ad0s1a If it's somewhere else, like /dev/ad0s1e, then you'll land at the boot: prompt every time. -Glenn ___ 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: interface alias at start-up
At 02:54 PM 8/27/2005, John Barbieri wrote: FWIW: That doesnt work for me :( It should. Can you send the relative parts of your rc.conf? -Glenn any other way? [EMAIL PROTECTED] wrote: On Sat, 27 Aug 2005 14:26:32 -0700 Carstea Catalin [EMAIL PROTECTED] wrote: how tu setting-up interface alias at start-up # example /etc/rc.conf part defaultrouter=192.168.2.1 ifconfig_rl0=inet 192.168.2.222 netmask 255.255.255.0 ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: interface alias at start-up
On Sat, 27 Aug 2005 17:54:04 -0400 John Barbieri [EMAIL PROTECTED] wrote: FWIW: That doesnt work for me :( # in /etc/rc.local you can do this ifconfig vr0 inet alias 192.168.2.4 netmask 0x ifconfig vr0 inet alias 192.168.2.5 netmask 0x ifconfig vr0 inet alias 192.168.2.6 netmask 0x ifconfig vr0 inet alias 192.168.2.7 netmask 0x # (where vr0 is your network-interface) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: interface alias at start-up
At 02:54 PM 8/27/2005, John Barbieri wrote: FWIW: That doesnt work for me :( One other thing. If the aliases you're trying to create are on a different network, the subnet mask of the first one has to be the real mask, and any further aliases in that same network have to use a mask of 255.255.255.255. Example: ifconfig_fxp0=inet 10.0.0.1 netmask 255.255.255.0 ifconfig_fxp0_alias0=inet 10.0.0.2 netmask 255.255.255.255 ifconfig_fxp0_alias1=inet 10.1.1.1 netmask 255.255.255.0 ifconfig_fxp0_alias2=inet 10.1.1.2 netmask 255.255.255.255 -Glenn any other way? [EMAIL PROTECTED] wrote: On Sat, 27 Aug 2005 14:26:32 -0700 Carstea Catalin [EMAIL PROTECTED] wrote: how tu setting-up interface alias at start-up # example /etc/rc.conf part defaultrouter=192.168.2.1 ifconfig_rl0=inet 192.168.2.222 netmask 255.255.255.0 ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with Epia 800 and Freebsd 5.3
What about installing 5.4-Release or -Stable? 5.4-Stable works fine here on an EPIA PD1. If you still get the error, it might be hardware related. Yeah, I'm starting to pick up other problems too, so this might be a much bigger issue than just a nic card. I had the 2nd HD get a dma failure and then lock the machine, so I guess I'm gonna have to pull it back out of service and run it on the bench for a while to be sure everything is fixed and running right again. Doh. And I just nicely got this off the bench. :( Steven Lake -Owner/Webmaster Raiden's Realm www.raiden.net Come see Monk the comic strip and laugh till you die! :) http://www.raiden.net/Monk/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: interface alias at start-up
ifconfig_xl0=inet xxx.xxx.xxx.xxx netmask 255.255.255.128 ifconfig_xl0_alias=inet 172.16.2.138 netmask 255.255.255.0 yea they are in different networks. i will try the 255.255.255.255 thing when i get back to work. that seems odd that you have to put a host netmask on there :/ Glenn Dawson wrote: At 02:54 PM 8/27/2005, John Barbieri wrote: FWIW: That doesnt work for me :( One other thing. If the aliases you're trying to create are on a different network, the subnet mask of the first one has to be the real mask, and any further aliases in that same network have to use a mask of 255.255.255.255. Example: ifconfig_fxp0=inet 10.0.0.1 netmask 255.255.255.0 ifconfig_fxp0_alias0=inet 10.0.0.2 netmask 255.255.255.255 ifconfig_fxp0_alias1=inet 10.1.1.1 netmask 255.255.255.0 ifconfig_fxp0_alias2=inet 10.1.1.2 netmask 255.255.255.255 -Glenn any other way? [EMAIL PROTECTED] wrote: On Sat, 27 Aug 2005 14:26:32 -0700 Carstea Catalin [EMAIL PROTECTED] wrote: how tu setting-up interface alias at start-up # example /etc/rc.conf part defaultrouter=192.168.2.1 ifconfig_rl0=inet 192.168.2.222 netmask 255.255.255.0 ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: interface alias at start-up
FWIW: That doesnt work for me :( Make sure that you replaced rl0 with the name of your interface, which can be found with a simple ifconfig -a. any other way? write a simple shell script to do it or do it manually with the following: ifconfig interface inet ip netmask subnet mask alias However, using your rc.conf should bind them when you boot up. I have heard that sometimes you have to statically add routes to your kernel routing table for aliases to work, however I don't know if there is any truth to that. You can try adding them with the following command: route add -host ip 127.0.0.1 0 Bow Sineath Class of 2006, the Citadel [EMAIL PROTECTED] - [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Sat, 27 Aug 2005 14:26:32 -0700 Carstea Catalin [EMAIL PROTECTED] wrote: how tu setting-up interface alias at start-up # example /etc/rc.conf part defaultrouter=192.168.2.1 ifconfig_rl0=inet 192.168.2.222 netmask 255.255.255.0 ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE
On Sat, 27 Aug 2005 13:38:00 -0500 Mark Kane [EMAIL PROTECTED] wrote: Mark Kane wrote: Ariff Abdullah wrote: These are my suggestions: 1) enable 'options PREEMPTION'. This is a MUST. 2) use SCHED_ULE instead of SCHED_4BSD. ULE is pretty stable on me, but I can't guarantee (especially combining with PREEMPTION). It doesn't hurt to give it a try. 3) Apply these patches: http://staff.mybsd.org.my/skywizard/FreeBSD/sound/jroberson_flushb uf_RELENG_5.diff http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_200 50825_035.diff Well I added PREEMPTION to the kernel yesterday as well as the first patch by Jeff Robertson. Immediately upon kernelinstall and reboot I tried untarring Firefox and Thunderbird, as well as tarring them both back up. Not a single skip, stutter, or freezing of the mouse/display! I did more testing last night like listening to audio with downloads open and encoding video, and I didn't hear one skip at all. The only time I heard a little static was when I was burning a DVD and listening to audio at the same time, but I can understand that. Thanks to everyone who replied, this seems to be fixed for now. :) -Mark I do notice that when doing some things like using unrar to extract a file or loading a video into video encoding software I do get some of the same little crackles and static in the audio. I didn't notice this static/crackling ever before applying that first patch. I am still skip/stutter free though :). Might the second patch help the crackling/static? Perhaps. You should give it a try. There is another issue as well (such as PCI latency timer), but only after you applied all those suggested patches. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: how to know if i'm under flood?
In response to your first question, I would highly recommend setting up a verbose firewall if you have not already done so. Personally, I use ipfw but there are a variety of options available to you (pf/ipf/ipfw/ipfw2), so check out the handbook and figure out which one you want to use. Doing this is a vital step in preventing attacks and keeping track of the connections on your system. There are also a variety of sysctl variables that can help in handling DoS attacks, if you find yourself being flooded on a regular basis then you may want to play with some of them. There are a variety of ways to watch for DoS attacks and floods, but setting up a firewall is a vital part of that. If you need any help doing so then feel free to ask and I would be happy to help (however I am only familiar with ipfw and ipf) but be sure to read the handbook first. And how exactly use netstat for this purpose? I see many options in man pages. try netstat -a. I've never used netstat for this purpose but I believe that may work, it will list all of your current connections. If you have a lot of them then you are probably being DoS'd. Bow Sineath Class of 2006, the Citadel [EMAIL PROTECTED] - [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: adding new lib-PATHs
On Sun, 28 Aug 2005 00:57:28 +0200 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i'd like to add /usr/X11R6/NX/lib/ to my lib-PATH, in the end grep helped out : added this to /etc/rc.conf (one long line) : ldconfig_paths=/usr/X11R6/NX/lib /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg and did /etc/rc.d/ldconfig restart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
adding new lib-PATHs
i'd like to add /usr/X11R6/NX/lib/ to my lib-PATH, is /etc/rc.d/ldconfig the place to add it ? or create a /etc/ld.so.conf ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
I also get a large amount of atttacks via ssh, i decided that the people who have access to my server (only 12) know what their usernames are. my decision was to set up a swatch script to monitor the types of errors that are picked up in the logs: -if the attempt was with a username that doesnt exist - i add the ip to a db of banned ips and flush and restart ipfw -if it is from a username that does exist - i give the person 5 tries, if by the 5th try they cant get in, i add the ip to the db as stated above. it sounds pretty harsh, but it definetely stops those idiots. ive got a large list of ips, and from nmapping them most are from people running entry level linux distros with many holes in their security setup. i could get revenge, but not worth it. if anyone is curious about the script let me know, Ben Maarten Sanders wrote: On Thu, 2005-08-25 at 07:22 -0400, Lee Capps wrote: On 11:18 Wed 24 Aug , Chris St Denis wrote: How can I easily auto deny after x failed attempts? Is this an sshd setting? I could find it. Is there something in ports that will firewall off somebody who is brute forcing? In addition to adding entries to /etc/hosts.allow you could try DenyHosts: http://denyhosts.sourceforge.net/ I didn't find a port, but it works with FreeBSD and isn't too onerous to install. HTH, Lee ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Nice suggestion, but how do I enable tcp_wrappers with sshd? See : http://denyhosts.sourceforge.net/ssh_config.html I tried adding sshd: 127.0.0.1 : deny to /etc/hosts.allow but I failed the described test. Maarten ___ 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: Illegal access attempt - FreeBSD 5.4 Release - please advise
-if the attempt was with a username that doesnt exist - i add the ip to a db of banned ips and flush and restart ipfw I'm curious about this bit - what do you do about accidentally mistyped usernames by valid users? cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
if this server was used by 100+ people i would of course not have such a harsh security script set up. everyone who uses it has great experience and understands the consequences. like i said before, this is usually for personal use and has about 12 users total. if this was used to manage ssh on something big i would lower the security measures. hope you can understand some now :) Ben [EMAIL PROTECTED] wrote: -if the attempt was with a username that doesnt exist - i add the ip to a db of banned ips and flush and restart ipfw I'm curious about this bit - what do you do about accidentally mistyped usernames by valid users? cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gnome2 and packages cleanup
Hey everyone, I was installing gnome2 from the ports collection (on dial-up!) and it took like 3 days of constant work when it finally ran out of space on my /usr drive (only using a 6.4gig). I thought this would be more than enough, but alas... So I guess Gnome is too much for my wee system so I want to go back to using enlightenment. My issue is that now my system is full of packages that I don't need. How do I clean up my system of all of these packages without deleting packages that enlightenment uses?? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnome2 and packages cleanup
On Saturday 27 August 2005 18:12, the author Gareth Campbell contributed to the dialogue on- gnome2 and packages cleanup: Hey everyone, I was installing gnome2 from the ports collection (on dial-up!) and it took like 3 days of constant work when it finally ran out of space on my /usr drive (only using a 6.4gig). I thought this would be more than enough, but alas... So I guess Gnome is too much for my wee system so I want to go back to using enlightenment. My issue is that now my system is full of packages that I don't need. How do I clean up my system of all of these packages without deleting packages that enlightenment uses?? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] what version of freebsd are you using? (just in case I have a spare Cd) david -- 40 yrs navigating and computing in blue waters. English Owner Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
A quick question about X11 and securelevels
I understand the things like not allowing the system clock to change and not allowing formatting of filesystems, but I want to know why you can't run x11 when you have a securelevel greater than or equal to one. there is no _serious_ reason I wish to know, I'm just curious and google keeps feeding me tutorials on making my FreeBSD machine furiously hard to crack. :) Thanks, Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem (stage 2 boot?)
Hi guys, Just wanted to say thanks for all the helpful suggestions. Played with things and got into the geometry idea as the possible cause. Did some more work, adjusting bios and geometry settings around the disk and just a few minutes ago after yet another go at installing the laptop just booted up! I in fact looked twice to make sure it booted on its own and not with the cd installed, it was not completely inserted and I still pulled the disk out completely to convince myself. What I finally did was to do a fdisk during a FixIT session and marked down the settings. The laptop bios would not take all six digits of the cylinders, so I entered five of them, adjusted the heads, and when setting up the disk during the install of FreeBSD set the geometry of the disk to match what fdisk reported and that seemed to do the trick. It is an older laptop so I guess that it was not designed with a 60G hard drive in mind. The previous drive was only 6G. Big difference. Again, the laptop has booted, and is currently doing some compiling. Hopefully the rest will go without problems, the laptop ran fine with the 6G drive so I am not expecting any other problems. The only real annoying part is that it is a real pain to find detailed info on this western digital drive, Thanks again, Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
if this server was used by 100+ people i would of course not have such a harsh security script set up. everyone who uses it has great experience and understands the consequences. like i said before, this is usually for personal use and has about 12 users total. if this was used to manage ssh on something big i would lower the security measures. hope you can understand some now :) Certainly. However, given that you are willing to accept (risk?) 5 attempts at a legitimate account I don't believe there would be any greater risk in allowing the same for invalid accounts also, given that the likelihood of gaining access to those is actually less - and it would make your script simpler, too, whilst preventing the (albeit, unlikely in your situation) possibility of a DoS to a valid user. To be honest, reversing your logic somewhat wrt valid/invalid accounts and 1/5 attempts could have merit also. That said, I'd be interested in seeing how you implement this with swatch as I'm looking at log parsing solutions in general. best regards, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
On 8/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: if this server was used by 100+ people i would of course not have such a harsh security script set up. everyone who uses it has great experience and understands the consequences. like i said before, this is usually for personal use and has about 12 users total. if this was used to manage ssh on something big i would lower the security measures. hope you can understand some now :) Certainly. However, given that you are willing to accept (risk?) 5 attempts at a legitimate account I don't believe there would be any greater risk in allowing the same for invalid accounts also, given that the likelihood of gaining access to those is actually less - and it would make your script simpler, too, whilst preventing the (albeit, unlikely in your situation) possibility of a DoS to a valid user. To be honest, reversing your logic somewhat wrt valid/invalid accounts and 1/5 attempts could have merit also. That said, I'd be interested in seeing how you implement this with swatch as I'm looking at log parsing solutions in general. I'd like to see it too, my logs are filled with brute force ssh login attempts. I'd like something like... x attempts in y time blocks source IP (or class c block etc.) for z hours. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
package foo has no origin recorded
How do I get pkg_info and pkg_delete to stop telling me that my 3rd party app has no origin recorded? I've added the two packages to HOLD_PKGS in pkgtools.conf and put +IGNOREME in the package directories but pkg_delete still bitches every time I do anything with ports/package system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is FreeBSD displaying my RAM correctly?
I have a couple of years old Gateway computer I installed FreeBSD on. It came with a P4 2.26GHz CPU (which it recognizes correctly), but when I check out /var/boot/dmesg.today I see the following: real memory = 536608768 (511 MB) avail memory = 519630848 (495 MB) Does this mean it's only recognizing about 512MB of RAM, or am I interpreting it wrong? -- Robert G. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is FreeBSD displaying my RAM correctly?
On 8/27/05, Robert G. [EMAIL PROTECTED] wrote: I have a couple of years old Gateway computer I installed FreeBSD on. It came with a P4 2.26GHz CPU (which it recognizes correctly), but when I check out /var/boot/dmesg.today I see the following: real memory = 536608768 (511 MB) avail memory = 519630848 (495 MB) Does this mean it's only recognizing about 512MB of RAM, or am I interpreting it wrong? Yes, should their be more? What's the chipset on the board, i845 with ICH4? 536,608,768 -519,630,848 16,977,920 = Kernel took it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sending files to Win/Linux clients from FreeBSD 4.3 server?
On 8/27/05, Jamie Ann P. Zamodio [EMAIL PROTECTED] wrote: Ooops. I already got ftp to run in my Windows client. However, the file sizes drop to almost half of its actual value after transmission using get or recv, and the downloaded files themselves aren't consistent with the original files in the server.What the...? Make sure you access the files in binary mode, not in the ascii mode (default on many ftp clients). -- Dmitry Mityugov, St. Petersburg, Russia I ignore all messages with confidentiality statements We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: basic install question - what am I missing?
On Aug 26, 2005, at 7:14 PM, D. Goss wrote: Sorry to have to ask this but I'm stuck... I've had FreeBSD 5.4 installed on an IBM xSeries 345 (the same box) many times. I've been experimenting with (a) the stock setup and then (b) adding a ServeRAID card which led to (c) an Adaptec (ASR-2230) RAID card (software management exists that runs under Linux mode). All has been well until stage (c). After setting up logical drive from RAID5 array using either of the two FreeBSD install CDs that I have (normal ISO and network install ISO) lead to: Building the boot loader arguments Looking up /BOOT/LOADER... Found Load Error: 0x12 Could not find Primary Volume Descriptor I have tried removing the Adaptec card and reverting to stock mode... same error. I have checked the BIOS on the machine and for the heck of it reset it to the default configuration. I've double checked cabling and am out of things to try. Can someone please shed some light on this one? I've Googled my error message and only come up with things relating to older hardware. Also, I've had FreeBSD installed on this machine fine from the ISOs. I re-downloaded the net install ISO and burnt it, same problem. I didn't get a response yet so maybe I can simplify my question (and make it more machine independent). Can someone tell me what exactly happening when the primary volume descriptor can't be found so maybe I can take some guesses at where to start hunting for what changed on my machine? I'm lost as to where to hunt, I'm gussing it's BIOS settable since machine was working before in this configuration... Thanks - d. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]