Re: How does one bond two interfaces together to share bandwidth?
On Wednesday 13 December 2006 19:08, Chuck Swiger wrote: On Dec 13, 2006, at 5:01 PM, N. Harrington wrote: I have tried one way, however when I use it I seem to have an odd broadcast occuring on my switch. Such that I am seeing incoming traffic hit some other ports on the switch. Can someone confirm if I am doing it correctly? Perhaps I have a switch issue? Do I also need to bond the ports together on the switch? Yes, the switch would need to support Cisco's FEC protocol if you want to use ng_fec with it. Sadly the switch they are connected to does not support port bonding. Does that matter? Yep. In many cases, a single 100Mbs link does just fine, but if you need more bandwidth, you can pick up a gigabit NIC nowadays for not much. Picking up a GB-capable switch is more expensive, but perhaps your existing switch might have one or a couple of GB ports... Maybe ng_one2many would be of some use depending on the exact situation. -- 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: ask to borrow 6.1-RELEASE /etc/ttys
On Friday 08 December 2006 17:56, Beech Rintoul wrote: On Friday 08 December 2006 14:14, 张韡武 wrote: As every careless stupid user would do, today I have destroyed my /etc/ttys. Luckily I didn't reboot after I destroyed this file. (Yes I know I should backup before editing /etc/ttys, the fact is I didn't try to edit it at all, it's a typo that made me pipe the output of some app to this file) Can someone send his /etc/ttys ? I don't have another FreeBSD to recover this file. No prob. Beech For what it's worth, if you have the system sources installed there's a copy of ttys in /usr/src/etc/etc.i386 -- 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: Corrupted C Compiler
On Tuesday 05 December 2006 05:38, Rachel Florentine wrote: 81- Original Message From: Jan Grant [EMAIL PROTECTED] When you have a chance, it'd be nice to get a detailed error report (including the command you were running to clean up the libraries). I get this error when I try to runzope: ImportError: No module named cPersistence I yahoo'd this page: http://aspn.activestate.com/ASPN/Mail/Message/zope-List/1985451 which told me about the problem with my corrupted files (c extensions) and said I needed to recompile them with this command: python setup.py build_ext -if which takes care of that problem. What is interesting is that I do not have this problem if I compile from port! Now, all I'm doing is the configure-make-make install-make instance dance, which is a no-brainer. TIA, Rachel That rebuilds the python C library interface stuff I believe, but doesn't have anything at all to do with the system C compiler. There is nothing wrong with your system C compiler. If you look at the Zope port there are a bunch of FreeBSD-specific patches and some additional magic is performed after the build that would also be FreeBSD-centric. I suspect your problems perhaps stem from the fact that installing Zope by hand doesn't give you these patches. -- 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: How Do Binary Repair
On Tuesday 05 December 2006 01:16, Rachel Florentine wrote: 858376 - Original Message From: Kris Kennaway [EMAIL PROTECTED] To: Rachel Florentine [EMAIL PROTECTED] Uh, what I said. Fresh binary media = either reinstall from an iso image, or extract a copy of the damaged files from the freebsd release media in another way (e.g. fetch the base.* files from the ftp site, and pass through cat | tar -xfj -). Okay, please walk me through this one, since I can't afford to screw it up. The server is on the other side of the planet, so reinstalling from an iso is impractical. How do I fetch the base files? TIA, Rachel You're barking up the wrong tree. There's nothing at all wrong with your system compiler. See your other thread about your problems with Zope. You've mistaken using python to repair the python libraries that interface with the C libraries with using gcc to fix something. You admit that you were able to successfully compile and install Zope from the ports system, which uses the system C compiler. If you don't believe me try installing some other ports, or even cd /usr/src make buildworld. (which won't actually touch anything, it's completely safe to do) If you run into compiler issues doing that *THEN* you can start to deal with a corrupted C compiler. Until then I think you'd be money ahead to look at the FreeBSD-specific patches that are applied during the Zope build from the port, and the additional magic that is done in the port's Makefile. I suspect the differences between the port and your hand installation are the root of your problem. -- 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: Corrupted C Compiler
On Monday 04 December 2006 07:05, Rachel Florentine wrote: 106Hi; I entered the following stupid command: cp -R /* /ad2 thinking that would copy the contents of my working HD to my new 1/2 teraflop HD (ad2). What it did was manage to wipe out some very important files (thank goodness I had up-to-date backups) and it appears to have corrupted gcc...my C compiler. I deduce this because when I go to build Zope (as an example) from source I have to run a script afterwards that repairs the broken C files. (This, strangely, is not the case if I build Zope from port.) So, my questions for you programmers more experienced than I, are: 1) Does my assessment make sense? Is gcc corrupt? 2) Whether it is or not, how should I troubleshoot/fix my problem? It seems to me I should re-install FBSD, but how? TIA, Rachel It's not immediately clear to me what you mean by repairing broken C files. The port uses the Zope source and the system compiler, presumably the same source and compiler you are using to build it by hand. Are you sure you aren't just 'doing it wrong' ? If you really suspect gcc is corrupted then some sort of binary repair is really your only option. A make buildworld/make installworld is unlikely to be feasible. -- 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: stop a freebsd server from responding to pinging?
On Thursday 30 November 2006 13:10, Chuck Swiger wrote: On Nov 30, 2006, at 10:55 AM, Wasp King wrote: 1. How do I stop others from port scanning a server? Marcus Ranum suggests using wirecutters on the ethernet cable. If the server is internet-reachable, then it can be port-scanned. Less drastic measures than removing it from the network entirely would including configuring a firewall to block all ports except those absolutely required for the necessary functions which the machine needs to perform, and hardening the OS to reduce the potential exposure. 2. is stopping the response to pinging enough? No. 3. how to do I stop the server from responding to pinging? Use a firewall like ipfw or ipf to block ICMP traffic types 0 8: ipfw add 1 deny icmp from any to any icmptype 0,8 I find it a tad ironic that someone running FBSD 4.2 is worried about getting port scanned.or maybe that's why he is worried, since the laundry list of exploits and holes against a box running something that old and unsupported is fearsome. -- 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: 6.2 Release delayed?
On Monday 13 November 2006 14:48, Peo Nilsson wrote: A while back, I read that 6.2 was going to be released today. Now I see that 6.2 won't be released until Mid December. Where did you get the information that it shouldn't be out before mid december? http://www.freebsd.org/releng/ -- 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: PHP compile arguements
On Thursday 26 October 2006 15:04, Andreas Widerøe Andersen wrote: Hi, I need to recompile PHP on my FreeBSD 6.1 STABLE system with two compile arguements and I don't know how to do this. What would the correct compile arguements be when using PORTINSTALL for: WITH apache and WITHOUT versioning? Thanks! Andreas If you use the lang/php5 port and do a make config it will pop up a dialog box which will allow you to select the apache option. To take out versioning you'll have to edit the port's Makefile and remove --enable-versioning from the CONFIGURE_ARGS -- 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 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: SunFire V210/V240 (UltraSparc IIIi) and FreeBSD
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: non-ATA66 cable?
On Saturday 21 October 2006 23:46, Juha Saarinen wrote: On 10/22/06, David Kelly [EMAIL PROTECTED] wrote: Dell PowerEdge 400SC, 6.2-PRERELEASE (altho this is an old issue) dmesg says: acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR LITE-ON DVDRW SOHW-1633S/BS0K at ata1-master UDMA33 cd0: 33.000MB/s transfers The controller is properly probed as, atapci0: Intel ICH5 UDMA100 controller This DVD isn't writing discs as fast as other brands on other machines and OS's (such as MacOS X). Lite-On has a newer firmware that I have not tried. But first was checking for any sort of errors or irregularities and came across this mismatch. Lite-On says Supported transfer mode : PIO mode 4, DMA mode 2 and Ultra DMA mode 2, so is there something I should do to my FreeBSD to make this device happier? Try a different cable? It's not going to come up faster than UDMA33and even if it did UDMA33 is far faster than a DVD burner. What sort of write performance are you getting? -- 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: Redistribution of FreeBSD
On Monday 16 October 2006 18:44, Doel-Mackaway, Richard wrote: I am currently developing course material for students relating to server installations. Does the FreeBSD license allow me to download FreeBSD and redistribute that download to students? Yes. You can even charge them for it if you want. :) About the only thing you can't do is claim your wrote it. ;) -- 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: FreeBSD and 2 ADSL links
On Thursday 05 October 2006 20:22, J65nko wrote: On 10/5/06, Thiago Rocha [EMAIL PROTECTED] wrote: hi! Brazilian I and do not say English, I forgive for any error! I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to balance the load between them, e also case one stops the other keeps the connection. You can do this with pf, see http://openbsd.org/faq/pf/pools.html#outgoing and http://openbsd.org/faq/pf/carp.html Using pools is sort of a poor man's load balancing. It's more of a round-robin approach to using more than one link. It's not going to allow you to do a single transfer using the aggregated bandwidth of both links. -- 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: error in building a fortune-mod port, where is fortune?
On Friday 06 October 2006 11:05, Michael P. Soulier wrote: [EMAIL PROTECTED] fortune-mod-futurama]$ sudo make Password: = fortune-mod-futurama-0.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.netmeister.org/apps/. fortune-mod-futurama-0.2.tar.bz2 100% of 16 kB 85 kBps === Extracting for fortune-mod-futurama-0.2_3 = MD5 Checksum OK for fortune-mod-futurama-0.2.tar.bz2. === Patching for fortune-mod-futurama-0.2_3 === Configuring for fortune-mod-futurama-0.2_3 === Building for fortune-mod-futurama-0.2_3 /usr/games/strfile: not found *** Error code 127 Stop in /usr/ports/misc/fortune-mod-futurama. [EMAIL PROTECTED] fortune-mod-futurama]$ pwd /usr/ports/misc/fortune-mod-futurama Presumably I need the base fortune-mod program, which would include strfile. But, I don't see it in the ports tree. Any pointers? Thanks, Mike Fortune is in the 'games' distribution of the base system. -- 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: Error with CVSUP server
On Friday 06 October 2006 17:17, Warren Liddell wrote: is the cvsup2 server in australia down? As trying to connect i get a lookup failure ;; QUESTION SECTION: ;cvsup2.au.freebsd.org. IN A ;; ANSWER SECTION: cvsup2.au.freebsd.org. 43200 IN CNAME cvsup.isp.net.au. cvsup.isp.net.au. 86400 IN A 202.1.117.1 [EMAIL PROTECTED] /home/jpaetzel - telnet cvsup2.au.freebsd.org 5999 Trying 202.1.117.1... Connected to cvsup.isp.net.au. Escape character is '^]'. OK 17 0 SNAP_16_1h CVSup server ready -- 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: ipfw, ftp and wget
On Tuesday 26 September 2006 20:07, vittorio wrote: I'm using ipfw as firewall. What rules should I add to use both wget and ftp from my box only towards the internet through my iwi0? (I found the following lines for ftp but they don't seem to work: .. ipfw add 45 allow tcp from any to any 21 in setup keep-state ipfw add 46 allow udp from any to any 21 in setup keep-state) Vittorio You want to allow traffic out. The keep state will take care of allowing responses back in. -- 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]
Veritas backup software
Just wondering if anyone has managed to make the Veritas Backup Exec client work on FBSD 6.x using linux emulation. I can get it to run but the server doesn't seem to be able to actually backup anything. -- 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: Veritas backup software
On Monday 18 September 2006 23:06, Jonathan Horne wrote: On Monday 18 September 2006 11:25, Josh Paetzel wrote: Just wondering if anyone has managed to make the Veritas Backup Exec client work on FBSD 6.x using linux emulation. I can get it to run but the server doesn't seem to be able to actually backup anything. i havent used backup exec server in freebsd, but i have many NetBackup 5.1 clients. are you sure that the veritas binaries for backup exec are actually working? when i first installed my netbackup clients, i ran thru the entries listed in /etc/inetd.conf to make sure they ran, and came up with 6 .so files that were missing (were actually much newer). after i symlinked the existing .so files to the versions the the netbackup client was looking for, when i re-ran all the executable pieces from command line, i finally got either no, or output that told me all the bits were working. hth, jonathan The binaries run, I can see it listening in sockstat, I can see packets going back and forth between the server and the client in tcpdump, but the server is unable to actually back anything up. -- 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: recommended network games to play with your best bud.
On Tuesday 19 September 2006 03:40, Mark Jayson Alvarez wrote: Hi, Say you are working in a place where all workstations are mixtures of Unixes..Now you have your bestfriend somewhere far away. And he was complaining of severe boredom in his current work. What *nix network game would you two play? Dopewars -- 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: Building ports with sorces on a local mirror?
On Saturday 26 August 2006 15:35, Chris Knipe wrote: Look at the cvs-mirror port... Regards, Chris. - Original Message - From: stan [EMAIL PROTECTED] To: Free BSD Questions list freebsd-questions@freebsd.org Sent: Saturday, August 26, 2006 10:15 PM Subject: Building ports with sorces on a local mirror? I'm in the process of seting up to build a fair number of machines behind a very restrictive firewall (and besides that the outbound link is very slow). What I have in mind is setting up a machine using mirror software to create a local mirror of the FreeBSD site, including the distfiles for the ports tree. Is thee a way to get the ports build system to look for distfiles on this local mirror? The cvs-mirror port won't download the distfiles for all of the ports. Depending on how 'slow' your link is that could be a very daunting task. The MASTER_SITES environment variable is probably what you want. man ports for the details. -- 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: Too many Xorg modes
On Thursday 24 August 2006 17:43, Perry Hutchison wrote: In 6.1, how would I set up xorg.conf to restrict Xorg to a few specific modes? The Xorg.8.log created during xorgcfg shows 24 modelines, but when I cycle through the modes using CtrlAltPlus there are two which don't work at all and the remaining 22 cover only 8 resolutions (of which only about 3 seem likely to actually be useful.) A search for modeline in the docs and manpages turned up nothing applicable beyond xorg.conf(5), which does not describe how to prevent the implicit inclusion of built-in modes whose names do not match any explicitly-specified modes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The easiest way to do this is manually remove the modes you don't use from your xorg config. The config can be in a couple of different places, your log will show where it is. -- 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]
syslogd remote logging
I am trying to get syslogd configured to do remote logging to another box. In my syslog.conf on the local machine I have: local0.* @xx.xx.xx.xx In syslog.conf on the remote machine I have: local0.* /some/file.log and I have added the syslogd_flags=-a xx.xx.xx.xx/xx to rc.conf on the remote machine and restarted syslogd. So far nothing is being logged to the remote machine. Can anyone point out a step that I have missed? -- 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: syslogd remote logging
On Monday 21 August 2006 15:13, Paul Schmehl wrote: --On Monday, August 21, 2006 14:40:37 -0500 Josh Paetzel [EMAIL PROTECTED] wrote: I am trying to get syslogd configured to do remote logging to another box. In my syslog.conf on the local machine I have: local0.* @xx.xx.xx.xx In syslog.conf on the remote machine I have: local0.* /some/file.log and I have added the syslogd_flags=-a xx.xx.xx.xx/xx to rc.conf on the remote machine and restarted syslogd. Did you also restart syslogd on the local box? Yes. Does local0.* log anything locally? No. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ -- 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]
FreeBSD on Dell PE850
Does anybody have any experience running FBSD 6.x on a PE850? I'm specifically wondering about support for their base-configuration onboard NIC and their CERC SATA RAID controller. -- 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]
Using putty as a ssh client on FreeBSD
I'm trying to use putty on my FBSD 6.1-R box to access another FreeBSD box. I can get in fine using the command line ssh client but when I attempt to use putty I get the following error: Unable to use key file /usr/home/jpaetzel/.ssh/id_rsa (OpenSSH SSH-2 private key) Can anyone point out to me what I am doing wrong? -- 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: Are hardware vendors starting to bail on FreeBSD ... ?
On Friday 28 July 2006 23:56, Ted Mittelstaedt wrote: The people who are willing to be open minded will use a mix of tools from Microsoft and the rest of the world, and the people who are closed minded will use tools from Microsoft, and neither is going to pay any attention to whatever loudmouths are bandmouthing their choices. That's the way the world has worked in the past when IBM was king people did the same thing, and that's the way it will always work. You can stand up an be counted as an open minded person, or you can use NT and stand up to be counted with the closed minded people who only use Microsoft solutions. It's your choice. Ted I don't mean to troll at all but I have to point out that I've met a lot of closed minded people who will only use FBSD solutions. :) -- 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]
syslogd configuration question
I have the following in my named.conf logging { channel my_syslog { syslog local5; severity info; }; }; In /etc/syslog.conf I have the following local5.*/var/log/bind/bind.log *.info;mail.none;cron.none;kern.none;local0.none;local5.none;ftp.none;auth.none;authpriv.none;secur ity.none/var/log/messages/messages named is logging to both /var/log/bind/bind.log and /var/log/messages/messages What can I do to stop named from logging to /var/log/messages/messages? -- 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]
sysutils/ipmi-kmod errors
I'm attempting to install sysutil/ipmi-kmod on a 6.1-RELEASE system. I get the following output from the port: === Installing for ipmi-kmod-20060418 === Generating temporary packing list === Checking if sysutils/ipmi-kmod already installed install -o root -g wheel -m 444 /usr/ports/sysutils/ipmi-kmod/work/ipmi-kmod-20060418/sys/ipmi.h /usr/local/include/sys install -s -o root -g wheel -m 555 /usr/ports/sysutils/ipmi-kmod/work/ipmi-kmod-20060418/ipmi.ko /boot/modules kldxref: /boot/modules/ipmi.ko: file has no valid symbol table Segmentation fault (core dumped) Attempting to kldload the module causes the box to reboot. Just for a test it installed fine on another 6.1-R box I have here. Any suggestions? -- 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: sysutils/ipmi-kmod errors
On Monday 03 July 2006 17:04, Josh Paetzel wrote: I'm attempting to install sysutil/ipmi-kmod on a 6.1-RELEASE system. I get the following output from the port: === Installing for ipmi-kmod-20060418 === Generating temporary packing list === Checking if sysutils/ipmi-kmod already installed install -o root -g wheel -m 444 /usr/ports/sysutils/ipmi-kmod/work/ipmi-kmod-20060418/sys/ipmi.h /usr/local/include/sys install -s -o root -g wheel -m 555 /usr/ports/sysutils/ipmi-kmod/work/ipmi-kmod-20060418/ipmi.ko /boot/modules kldxref: /boot/modules/ipmi.ko: file has no valid symbol table Segmentation fault (core dumped) Attempting to kldload the module causes the box to reboot. Just for a test it installed fine on another 6.1-R box I have here. Any suggestions? Forgot to mention that the box that this breaks on is AMD64. I'm pretty sure that's the issue. Sorry about the noise. -- 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]
Using syslogd to log for BIND
I have a nameserver running BIND 9.3.2 on a FreeBSD box running 6.1-RELEASE. BIND seems to log to /var/log/messages by default and I would like to change that behavior. Here's what I've done so far: syslog.conf local1.*/var/log/bind/bind.log *.info;mail.none;cron.none;kern.none;local0.none;local1.none;ftp.none;auth.none; authpriv.none /var/log/messages/messages !named *.* /var/log/bind/bind.log named.conf logging { channel my_syslog { syslog local1; severity info; }; }; I am getting the logging into bind.log which is what I want but named is still logging to /var/log/messages/messages How do I disable this undesirable behaviour? -- 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]
Error in logs
This morning my kernel.log is full of the following messages (about 300 of them) kernel: pid 44 (softdepflush), uid 0 inumber 9114634 on /var: bad block kernel: bad block 3478527437627865156, ino 9114634 This looks like a hardware issue to me but I'd like a second opinion. -- 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]
burncd error
I'm running 6.1-RELEASE Trying to burn iso's using burncd gives me an error. gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate next writeable LBA 0 writing from file i386pkg-3.0.iso size 710566 KB written this track 710566 KB (100%) total 710566 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error The 'funny' thing about this is that the CDs I burn work fine. (I've tried several different ISOs and have checked the md5's on all of them.) Anyone have an idea of what is going on? I never tried to burn anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE dmesg is attached. -- 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: burncd error
On Wednesday 07 June 2006 14:46, you wrote: On Wednesday 07 June 2006 11:04, Josh Paetzel wrote: I'm running 6.1-RELEASE Trying to burn iso's using burncd gives me an error. gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate next writeable LBA 0 writing from file i386pkg-3.0.iso size 710566 KB written this track 710566 KB (100%) total 710566 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error The 'funny' thing about this is that the CDs I burn work fine. (I've tried several different ISOs and have checked the md5's on all of them.) Anyone have an idea of what is going on? I never tried to burn anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE I've seen the same thing for the past several weeks (worked fine at some point prior to 6.1). I'm running 6-STABLE, updated every couple weeks. As near as I've been able to determine, the fixate step doesn't actually do anything, so your CD's will still be open but should work fine under any modern OS. As a workaround you can repeat the fixate step at a lower speed: burncd -f /dev/acd0 -s 4 fixate I haven't experimented enough to know at what speed the fixate step breaks, but that does seem to be what's going on. I also haven't tried turning off ATAPICAM, which would be another interesting data point. If you or someone else has the time to figure out exactly which (set of) commits started producing this behavior, that would be excellent material for a PR. I may get around to it myself but it's not a high priority. dmesg is attached. Looks like you forgot it. In my case (using ATAPICAM): acd1: CDRW SONY CD-RW CRX215E1/SYS2 at ata1-slave UDMA33 cd1 at ata1 bus 0 target 1 lun 0 cd1: SONY CD-RW CRX215E1 SYS2 Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present JN My client says it included a dmesg...wonder what's going on with that. I've tried using different burn speeds all the way down to 32x. I am using ATAPICAM, I wonder if it is somehow related to that? I think I'll unload that and give it a shot. -- 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: Firewall Speed
On Thursday 18 May 2006 14:48, Chad Leigh -- Shire.Net LLC wrote: On May 18, 2006, at 12:39 PM, Giorgos Keramidas wrote: On 2006-05-18 11:03, bc [EMAIL PROTECTED] wrote: I want to run 6.1_RELEASE with Packet Filter(PF) configured as a gateway using 2 identical 10/100 nics, on an old 450mhz pentium with 256 meg ram and an 8 gig HD. In general, should I expect any speed performance issues with internet access base on the processor, ram and bus speeds of the MB? Would the PF config cause any speed performance deficiencies? I had same setup as above but with IPF firewall and received complaints about surfing speed so I put them back on a Linksys router firewall. We'd have to see the ruleset to be able to reply in an informed manner. I have seen firewalls doing both filtering NAT on a system, with almost no overhead at all though. This top output: http://keramida.serverhive.com/pixelshow-top.txt shows that a FreeBSD 5.X system with 256 MB of physical memory is happily filtering the traffic and doing NAT for more than 100 users, while still being 97% idle. I would think it is more than CPU speed. The speed of the PCI bus and the speed and efficiency of the two network cards being used and their drivers may have a bit to do with latency (surfing speed)... Just a guess Chad I had a dual pentium 100 with 96 megs of RAM that did ipf/ipnat for a 10mbps connection with a couple dozen users. CPU usage was usually around 1% and load averages .03 or so. Latency and throughput were both acceptable. The only reason I replaced the box was it was a single point of failure and the hardware was old enough that I was afraid there would be some sort of show stopper breakdown. -- 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]
/etc/hosts isn't being read
I have a stock 6.0-RELEASE box that doesn't seem to be reading /etc/hosts In /etc/hosts I have: 192.168.1.101 example example.example.org /etc/nsswitch.conf is stock: group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files $ host example Host example not found: 3(NXDOMAIN) $ host example.example.org Host example not found 3(NXDOMAIN) What am I doing wrong here that is keeping /etc/hosts from being read? -- 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: /etc/hosts isn't being read
On Thursday 13 April 2006 11:11, Wojciech Puchar wrote: shells: files $ host example Host example not found: 3(NXDOMAIN) host command always use DNS. try ping, telnet, whatever use IP connections $ host example.example.org Host example not found 3(NXDOMAIN) What am I doing wrong here that is keeping /etc/hosts from being read? Ok...That solved my hostname resolution issues. Now the next issue is why it takes ssh 60 seconds to give me a password prompt. I thought that was always caused by not having name resolution working. Any thoughts on this issue? -- 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: Xlib: extension GLX missing on display :0.0.
On Wednesday 12 April 2006 15:07, fredthetree wrote: nothing. i just noticed something though: X Window System Version 6.9.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 6.9 Build Operating System: FreeBSD 6.1 i386 [ELF] Current Operating System: FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Apr 7 23:44:35 ADT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE i386 Build Date: 08 April 2006 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Apr 12 16:59:25 2006 (==) Using config file: /etc/X11/xorg.conf (EE) Failed to load module glx (module does not exist, 0) so where do i get the glx module? On 4/12/06, David J Brooks [EMAIL PROTECTED] wrote: On Wednesday 12 April 2006 14:03, fredthetree wrote: glx doesn't work. both glx and dri are in my xorg.conf, i'm using the nv driver, i have graphics/dri installed. [EMAIL PROTECTED] ~]$ glxgears Xlib: extension GLX missing on display :0.0. glxgears: Error: couldn't get an RGB, Double-buffered visual. -- [EMAIL PROTECTED] ~]$ uname -a FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Apr 7 23:44:35 ADT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE i386 [EMAIL PROTECTED] ~]$ pkg_info |grep dri dri-6.4.1,2 OpenGL hardware acceleration drivers for the DRI relevent bits of xorg.conf: Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Module Load dbe Load dri Load extmod Load glx Load record Load xtrap Load freetype Load type1 EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option Rotate# [str] #Option VideoKey # i #Option FlatPanel # [bool] #Option FPDither # [bool] #Option CrtcNumber# i #Option FPScale # [bool] #Option FPTweak # i Identifier Card0 Driver nv VendorName nVidia Corporation BoardName NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] BusID PCI:1:0:0 EndSection Try adding this section in /etc/X11/xorg.conf: Section DRI Mode 0666 EndSection You need to install the official nvidia drivers to get 3d acceleration. The nv driver provided by Xorg will not work. -- 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]
2d performance issues fixed
Some time ago I posted about having 2d performance issues with Xorg, nvidia driver, and linux-opera. I haven't had much time lately to figure out what is going on but I finally found a solution/workaround yesterday. The fix was to take device agp out of the kernel and use Option NvAGP 1 in the Xorg.conf file. Hope this is useful to anyone else running into this issue. -- 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]
Compiling an app made for linux
I'm trying to compile a browser called flock from source. My hope is to create a FBSD port for it. The compile bombs out with the following error: updater.o(.text+0x1373):/usr/home/jpaetzel/flock/mozilla/toolkit/mozapps/update/src/updater/updater.cpp:220: undefined reference to `pthread_join' gmake[6]: *** [updater] Error 1 I have linux compat enabled. What library do I have to feed to it so that it can use this function? -- 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: Compiling an app made for linux
On Friday 10 March 2006 12:13, Josh Paetzel wrote: I'm trying to compile a browser called flock from source. My hope is to create a FBSD port for it. The compile bombs out with the following error: updater.o(.text+0x1373):/usr/home/jpaetzel/flock/mozilla/toolkit/mo zapps/update/src/updater/updater.cpp:220: undefined reference to `pthread_join' gmake[6]: *** [updater] Error 1 I have linux compat enabled. What library do I have to feed to it so that it can use this function? Never mind, found the issue. -- 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]
Finding a file with wrong permissions
I managed to install a pkg that I created and somehow the file +COMMENT wasn't created in /var/db/pkg/portname. I touched +COMMENT in the correct directory because pkg_info was complaining about a missing +COMMENT. Some time has gone by and I have forgotten which port it is. Now pkg_info complains: pkg_info: show_file: can't open '+COMMENT' for reading I'm looking for a way to locate this file. #find /var/db/pkg -perm 644 -name +COMMENT | wc -l 378 #pkg_info | wc -l pkg_info: show_file: can't open '+COMMENT' for reading 379 I've looked through the manpage for find and can't find a 'not' modifier. Is there an easy way to find a file that doesn't have a specific permission. ie something like: #find /var/db/pkg -perm !644 -name +COMMENT -- 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: Finding a file with wrong permissions
On Wednesday 08 March 2006 11:59, Daniela wrote: On Wednesday 08 March 2006 16:58, Josh Paetzel wrote: I managed to install a pkg that I created and somehow the file +COMMENT wasn't created in /var/db/pkg/portname. I touched +COMMENT in the correct directory because pkg_info was complaining about a missing +COMMENT. Some time has gone by and I have forgotten which port it is. Now pkg_info complains: pkg_info: show_file: can't open '+COMMENT' for reading I'm looking for a way to locate this file. #find /var/db/pkg -perm 644 -name +COMMENT | wc -l 378 #pkg_info | wc -l pkg_info: show_file: can't open '+COMMENT' for reading 379 I've looked through the manpage for find and can't find a 'not' modifier. Is there an easy way to find a file that doesn't have a specific permission. ie something like: #find /var/db/pkg -perm !644 -name +COMMENT Or you could look for a file with zero size. Forgot to mention that I tried that. I may have put something in the filedamn my memory. :( -- 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: Finding a file with wrong permissions
On Wednesday 08 March 2006 12:06, Daniela wrote: On Wednesday 08 March 2006 17:04, Josh Paetzel wrote: On Wednesday 08 March 2006 11:59, Daniela wrote: On Wednesday 08 March 2006 16:58, Josh Paetzel wrote: I managed to install a pkg that I created and somehow the file +COMMENT wasn't created in /var/db/pkg/portname. I touched +COMMENT in the correct directory because pkg_info was complaining about a missing +COMMENT. Some time has gone by and I have forgotten which port it is. Now pkg_info complains: pkg_info: show_file: can't open '+COMMENT' for reading I'm looking for a way to locate this file. #find /var/db/pkg -perm 644 -name +COMMENT | wc -l 378 #pkg_info | wc -l pkg_info: show_file: can't open '+COMMENT' for reading 379 I've looked through the manpage for find and can't find a 'not' modifier. Is there an easy way to find a file that doesn't have a specific permission. ie something like: #find /var/db/pkg -perm !644 -name +COMMENT Or you could look for a file with zero size. Forgot to mention that I tried that. I may have put something in the filedamn my memory. :( What is (or was) your file creation mask (umask) set to? 022.but I found the solution. pkg_info -c -a -- 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]
pointy-hat question
I posted this to ports@ and didn't get a response. http://people.freebsd.org/~fenner/errorlogs/[EMAIL PROTECTED] The top line of the page says i386 package building errors for [EMAIL PROTECTED] The Run column says ia64-7-latest Which architecture is broken? (make package works on all of the i386 machines I have here) -- 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: Slow 2d performance in X / opera / nvidia drivers
On Thursday 12 January 2006 04:25 am, Joseph Kerian wrote: On 1/11/06, Martin Tournoy [EMAIL PROTECTED] wrote: On 10/01/06, Josh Paetzel [EMAIL PROTECTED] wrote: *many helpful attachments snipped* I've been having terrible 2d performance with opera (linux-opera and native 8.51 and 9.0) using the nvidia drivers. When I windowshade it and then restore it there is a sizeable delay while it redraws the window. If I rapidly shade and restore the window my idle CPU time goes to 0% and mp3 playback will occassionally skip. The problem first started when Opera 8 was released, I hoped that further releases would address it but so far that has not been the case. Any suggestions for a fix welcome. (Yes, I have been seeking support on opera.com but this feels like a FreeBSD mis-configuration of some sort on my end. :) You might try turning the twinview of, it takes up heaps of resources on my machine, then again, your machine has 300% more RAM and clockspeed, so it should be able to handle it fine Try using freebsd AGP, the nvidia should work better but you might want to try it anyway... The other useful file for this might be your Xorg log. Which window manager do you use, I noted that KDE can be really, really slow even on newer machines (Krap Desktop Enviorment) *bites the troll* Is this problem ONLY with opera? or with other applications to? if you have another QT application you might want try how that runs. Also check you QT version, maybe it's ancient? Did you try using both the static/shared QT versions? If not, it might make a diffrence. I haven't had this problem at all with Opera on the ports KDE, using a far inferior nvidia card. I have had a bit of shared library wierdness, but Opera simply refused to run until I fixed that. If this is a PCI-Express card, note the discussion of 3d performance here: http://www.nvnews.net/vbulletin/showthread.php?t=59981 Well, I think I may have found the problem but can't seem to find a fix to test my theory. Xorg is loading Xinerama and I've found some noise via google that there is a 'nvidia-xinerama' that is faster than the native 'xorg-xinerama'. I've tried disabling xinerama in my Xorg conf file but it loads anyways. Attached is my xorg.log -- 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]
VIA 6420 SATA150 controller RAID questions
I'm considering installing FBSD 6.0-R onto a pair of SATA drives in RAID 1 on a Via 6420 SATA150 RAID controller. (I realize it's software RAID but better than nothing. :) Has anyone done this and had issues? I did a quick google/mailing list search and didn't see anything relevent. -- 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: VIA 6420 SATA150 controller RAID questions
On Thursday 12 January 2006 05:35 pm, Josh Paetzel wrote: I'm considering installing FBSD 6.0-R onto a pair of SATA drives in RAID 1 on a Via 6420 SATA150 RAID controller. (I realize it's software RAID but better than nothing. :) Has anyone done this and had issues? I did a quick google/mailing list search and didn't see anything relevent. Sorry...I was in a hurry when I sent this. To clarify I am looking for feedback from people that have used this particular VIA controller in FBSD (preferably 6.0) whether in RAID or as regular controllers. -- 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]
Slow 2d performance in X / opera / nvidia drivers
gimpy# uname -a FreeBSD gimpy.tcbug.org 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #9: Fri Jan 6 20:26:44 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GIMPY i386 dmesg attached Xorg config attached Kernel config attached I've been having terrible 2d performance with opera (linux-opera and native 8.51 and 9.0) using the nvidia drivers. When I windowshade it and then restore it there is a sizeable delay while it redraws the window. If I rapidly shade and restore the window my idle CPU time goes to 0% and mp3 playback will occassionally skip. The problem first started when Opera 8 was released, I hoped that further releases would address it but so far that has not been the case. Any suggestions for a fix welcome. (Yes, I have been seeking support on opera.com but this feels like a FreeBSD mis-configuration of some sort on my end. :) -- Thanks, Josh Paetzel 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-p8 #9: Fri Jan 6 20:26:44 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GIMPY ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3500+ (2202.84-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20ff2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe050NX,AMIE,LM,DSP,3DNow! real memory = 1073414144 (1023 MB) avail memory = 1036673024 (988 MB) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 0.3 irqs 0-23 on motherboard npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 nvidia0: GeForce 6600 GT mem 0xfa00-0xfaff,0xe000-0xefff,0xfb00-0xfbff irq 16 at device 0.0 on pci1 pcm0: Creative EMU10K1 port 0xa400-0xa41f irq 16 at device 9.0 on pci0 pcm0: eMicro EM28028 AC97 Codec pci0: network, ethernet at device 10.0 (no driver attached) xl0: 3Com 3c905-TX Fast Etherlink XL port 0xb400-0xb43f irq 19 at device 14.0 on pci0 miibus0: MII bus on xl0 nsphy0: DP83840 10/100 media interface on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:60:97:d8:ad:bd atapci0: VIA 6420 SATA150 controller port 0xb800-0xb8ff,0xc000-0xc00f,0xc400-0xc403,0xc800-0xc807,0xd000-0xd003,0xd400-0xd407 irq 20 at device 15.0 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: VIA 8237 UDMA133 controller port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 uhci0: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.0 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xe000-0xe01f irq 21 at device 16.1 on pci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xe400-0xe41f irq 21 at device 16.2 on pci0 usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: VIA 83C572 USB controller port 0xe800-0xe81f irq 21 at device 16.3 on pci0 usb3: VIA 83C572 USB controller on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: VIA VT6202 USB 2.0 controller mem 0xf9e0-0xf9e000ff irq 21 at device 16.4 on pci0 usb4: waiting for BIOS to give up control usb4: timed out waiting for BIOS usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: VIA VT6202 USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered umass0: Jabil Circuit Seagate External Drive, rev 2.00/2.40, addr 2 isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: floppy drive controller (FDE) port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: Standard
Re: USB 2.0 (somewhat OT)
The USB 2.0 driver in 5.4R does not work on my Inspiron 7500 (IIRC, it locks up the system). It is not ready for prime time - which is stated in the man page. Perhaps that should be # 'd into the GENERIC kernel config file. :) -- 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]
USB 2.0 (somewhat OT)
Just wondering why USB 2.x support isn't in the GENERIC kernel on 5.4-RELEASE -- 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: Problem with Firewall...
On Saturday 26 November 2005 12:02 pm, siva m wrote: Hi, I recently installed FreeBSD 6-Release on my AMD AthlonXP box. I recompiled the kernel with 'cvstag=6_RELENG' with firewall enabled and everything went smoothly. I buildworld, compiled kernel and installed it. And after installing the world in single user mode, I tried to boot into newly installed kernel, everything seems to be fine except that there is no internet connection. I enabled the FIREWALL=yes in my rc.conf and the firewall type I specied as 'client'. Also I specified the IP address and network in the 'rc.firewall' file. I have a VoIP adapter at home connected through my cable modem, and my ethernet connection is coming out of it. I specied a static internal IP with a gateway. Even when I booted my newly compiled kernel, the VoIP phone seems to be not working. I also have debian linux on my second harddisk and the internet is working fine on debian. Can anyone please tell me what's going wrong? and if I am missing something. thanks in advance, Siva Could you attach your kernel config file and /etc/rc.conf. I suspect that you didn't put gateway_enable=YES into rc.conf but there are other things that could be an issue besides that. -- 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]
SFTP command-line client
Is there a command line sftp client that supports command-history and file completion similar to the ftp client in the base system? -- 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: Problems with hard drives
On Saturday 12 November 2005 04:28 pm, Javier Matos wrote: Hi, I was trying to install FreeBSD 6.0-CURRENT in my box but when I do it... Usually my hard drive make a strange noise... and the screen show DMA problems (ok, it may be the hard drive)... but... I change my hard drive and I take one more time problems with the hard drive... (ok, it may be the hard drive, the second hard drive that is broke... maybe)... I take a third hard drive and have the same problem... but... I don't know If is possible to have bad luck to put 3 hard drivers brokens... . Anyone is having problems with FreeBSD and Seagate hard drives? My system is so unstable and I don´t know how to solve the situation... hard drives hare Seagate 160 Gb SATA ___ Have you tried using a different cable or a different controller? -- 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]
Lockup/Halt issues on FreeBSD-6.0-RELEASE
#uname -a FreeBSD gimpy.tcbug.org 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 11 20:00:32 CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 dmesg attached This box has run 5.4-RELEASE-p(x) for quite some time without issue. I cvsupped it to 6.0-RC1 and that worked fine. I cvsupped to 6.0-RELEASE and that's when I started getting strange behaviour. I run Xorg and fluxbox-devel with a large variety of apps. A typical mix is gaim, linux-opera, kate, kmail, xmms, xchat, gimp and a half dozen xterms for good measure. Every once in a while the box will hang in a very strange way. xmms plays music, irc stuffs scrolls on xchat, compiles on an xterm keep going, and the mouse pointer works. The mouse buttons won't do anything, the keyboard won't do anything, I can't switch to a different virtual terminal, nothing is logged, I can't get to a debugger. If I hit the power button (this is an ATX system) the box immediately shuts off. On reboot it doesn't need to do an fsck of any kind nor does it complain about filesystems being unmounted improperly. This sort of leads me to believe that somehow parts of shutdown are being run (or insert your theoretical theory here) I'm willing to do trouble-shooting on this if anyone is interested in looking at it. I may be able to get a serial console when the hang occurs. (haven't tried that yet) -- Thanks, Josh Paetzel Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE #1: Fri Nov 11 20:00:32 CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) 2500+ (1767.87-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x681 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow+,3DNow real memory = 1072627712 (1022 MB) avail memory = 1040748544 (992 MB) ACPI APIC Table: KT600 AWRDACPI ioapic0 Version 0.3 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: KT600 AWRDACPI on motherboard acpi0: Power Button (fixed) pci_link0: ACPI PCI Link LNKA irq 12 on acpi0 pci_link1: ACPI PCI Link LNKB irq 11 on acpi0 pci_link2: ACPI PCI Link LNKC irq 10 on acpi0 pci_link3: ACPI PCI Link LNKD irq 5 on acpi0 pci_link4: ACPI PCI Link LNKE on acpi0 pci_link5: ACPI PCI Link LNKF on acpi0 pci_link6: ACPI PCI Link LNK0 on acpi0 pci_link7: ACPI PCI Link LNK1 on acpi0 pci_link8: ACPI PCI Link ALKA irq 11 on acpi0 pci_link9: ACPI PCI Link ALKB irq 21 on acpi0 pci_link10: ACPI PCI Link ALKC irq 22 on acpi0 pci_link11: ACPI PCI Link ALKD irq 23 on acpi0 Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge mem 0xe000-0xe7ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) xl0: 3Com 3c905-TX Fast Etherlink XL port 0xb000-0xb03f irq 18 at device 10.0 on pci0 miibus0: MII bus on xl0 nsphy0: DP83840 10/100 media interface on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:60:97:d8:ad:bd pcm0: Creative EMU10K1 port 0xb400-0xb41f irq 19 at device 12.0 on pci0 pcm0: eMicro EM28028 AC97 Codec atapci0: VIA 6420 SATA150 controller port 0xbc00-0xbc07,0xc000-0xc003,0xc400-0xc407,0xc800-0xc803,0xcc00-0xcc0f,0xd000-0xd0ff irq 20 at device 15.0 on pci0 ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 atapci1: VIA 8237 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd400-0xd40f at device 15.1 on pci0 ata0: ATA channel 0 on atapci1 ata1: ATA channel 1 on atapci1 uhci0: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xe000-0xe01f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: VIA 83C572 USB controller port
Re: Lockup/Halt issues on FreeBSD-6.0-RELEASE
On Saturday 12 November 2005 09:02 pm, Dev Tugnait wrote: Remove device agp from kernel or set it to use freebsd's agp in xorg.conf. This shouldn't cause the machine to hang though, having no trouble with nvidia here. On Sat, 2005-11-12 at 20:09 -0600, Josh Paetzel wrote: nvidia0: GeForce 6600 GT mem 0xe800-0xe8ff,0xd000-0xdfff,0xe900-0xe9ff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] NVRM: detected agp.ko, aborting NVIDIA AGP setup! NVRM: detected agp.ko, aborting NVIDIA AGP setup! Thanks for your rapid reply. Here's some more details: #kldstat Id Refs AddressSize Name 1 12 0xc040 63070c kernel 21 0xc0a31000 7794 snd_emu10k1.ko 32 0xc0a39000 1d408sound.ko 4 16 0xc0a57000 568dcacpi.ko 51 0xc2755000 37d000 nvidia.ko 61 0xc2adc000 15000linux.ko #grep agp /sys/i386/conf/GIMPY #device agp # support several AGP chipsets I set Option NvAGP 2 and now it stops complaining about detecting agp.ko although I'm curious how it was detecting it in the first place since the module wasn't loaded and the device wasn't compiled in the kernel. At any rate I'll give this a go and report back if I am still having problems. -- 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]
Gathering statistics on disk usage
I am trying to set up mrtg to graph disk usage. I've tried using the output of iostat to provide me with usage in MB/s. The problem with this is that moving data from disk to disk on the system causes the usage to jump to around 30MB/s. Even with mrtg configured to draw the graphs logarithmically they basically blow up and the normal transfers are not really visable. systat -vm gives statistics on disk usage with a percent busy field. This stat would be easier to graph and I would like to use it. My problem is that I can't seem to extract the output of systat properly. I've tried doing systat -vm | tail -n -1 and that doesn't work. I've also tried systat -vm somefile.txt and that doesn't work. There doesn't seem to be a way to get systat to run once and then quit either. Can anyone think of a way to either capture systat's output or recommend a utility that will give me a % busy output? I've tried iostat without success. -- 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: Gathering statistics on disk usage
If you apply the patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68840, you will be able to get %busy stats out of iostat. Thanks for your quick reply. Unfortunately your patch does not apply cleanly to a 4.11-STABLE box. I can supply iostat.c.rej if you want it. I also tried it on a 5.4-RELENG-p7 box and it failed there as well. -- 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: Gathering statistics on disk usage
It definitely should have applied cleanly on 5.4. I just tested it. Try downloading the Raw PR link at the bottom of the page; that will remove any html-escaping. The patch won't work on 4.x because the devstat interface got overhauled between 4.x and 5.x. All right, I get the point hat for this one. You're right, it works fine on 5.4 for me now. -- 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: AMD Sempron CPUTYPE Co.
On Tuesday 20 September 2005 15:21, Andrew P. wrote: Hello! So I have a Sempron 2500+ CPU, one that supports SSE3. What should I place in my /etc/make.conf? I use ssh with X11Forward very often, so OpenSSL should be compiled to be as fast as it can be on this CPU. Here's a part of dmesg: CPU: AMD Sempron(tm) Processor 2500+ (1407.05-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20fc2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR, PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+, b25,LM,3DNow+,3DNow I want to use SSE3, but I don't want to set CPUTYPE to nocona, cause that way compilers won't ever use AMD features. Is there a way to tell compilers to use every feature I've got? Thanks very much, Andrew P. I don't know what options to put in /etc/make.conf, but I see that you are running your FSB @ 133mhz when it should be @ 166mhz. A Sempron 2500+ runs at 1.75ghz -- 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: Intel related question ...
On Monday 22 August 2005 22:43, Marc G. Fournier wrote: Sorry for asking here, but y'all are the only useful techies I know :) Am trying to put together my next new FreeBSD server ... Intel based, on an SE7520JR2 DDR2 motherboard ... problem is simple ... I have 4x1G Kingston DIMMs to put in (KVR400D2R3K2/2G) ... if I put two in Bank 1, I can boot ... if I put the other two in Bank 1, I can boot ... if I put 4 in (2 in Bank1, 2 in Bank2), I get three long beeps ... Is ther something obvious I'm overlooking here? It doesn't seem like the RAM, since all 4 sticks do work, so its only leaving me the motherboard itself ... but wanted to double check ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 I have seen motherboards that can use up to a certain amount of DDRpast which you are required to use registered DDR -- 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]
CD Burning Error
I have recently aquired a DVD+-RW drive. I am running into some problems when trying to burn CD-Rs (I haven't tried a DVD yet) *I've tried -s 24 as well* gimpy# burncd -f /dev/acd0 -s 48 data 6.0-BETA2-i386-disc1.iso fixate next writeable LBA 0 writing from file 6.0-BETA2-i386-disc1.iso size 460518 KB written this track 460518 KB (100%) total 460518 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error Trying to use the CD gives: gimpy# mount /cdrom cd9660: /dev/acd0: Input/output error gimpy# grep acd0 /etc/fstab /dev/acd0 /cdrom cd9660 ro,noauto 0 0 gimpy# uname -a FreeBSD gimpy.tcbug.org 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #5: Thu Aug 11 19:49:26 CDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GIMPY i386 gimpy# dmesg | grep acd acd0: DVDR NEC DVD RW ND-3520A/1.04 at ata1-master PIO4 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00 error=4ABORTED I've tried with UDMA33 and PIO4, I've also tried ATAPICAM and k3b in both UDMA33 and PIO4 -- 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: Seagate HD not detected by FreeBSD
On Saturday 28 May 2005 20:11, Vizion wrote: OK your drive is recognized as at1 David Where on earth did you pull at1 out of? FreeBSD is not seeing his drive at all...if it's on the secondary controller as a slave it should show up as /dev/ad3 -- 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: multiple os
On Sunday 29 May 2005 17:07, Eric LaVoie wrote: I currently have suse 9.2 loaded on a emachines T3985. I want to install freebsd on the machine as well and would like to be able to choose at boot time which I would like to load. How do i do this? You help is appreciated. FreeBSD comes with a boot manager that has a little menu to chose which OS to boot. You will be asked if you want to use a boot manager during the install process. -- 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: READ_DMA errors preventing installation
On Wednesday 25 May 2005 20:37, Richard McCoy wrote: Hey everyone. I'm trying to start my fbsd experience and things aren't going so hot. I spent the entire day trying to get this to work, but to no avail: I tried two different fbsd versions (5.4 and 4.11), two different mobos (gigabyte ga-7n400 pro2, and another gigabyte mobo for amd-64, I don't know the model #), as well as three (!!!) different Maxtor IDE hard drives (60, 80, and 100 gb). The cds boot fine, but after I partition the hd (tried manual and auto settings) choose my packages and try to install, I immediately get an error, something to the effect of: ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE I know at least the 100 gb hd is working great, and I suspect both the others are working properly. The only thing I can think of is it's a conflict with something on these Gigabyte mobos, like the ide controller, but I can't find anything that pans out into a solution anywhere on google. Is there a BIOS setting I need to enable/disable or what's the deal? FWIW I can't get any versions of Linux to work either (tried Red Hat 9.0 and Slackware umm. 10.1 I think, all with similar errors), but Windows XP works on both mobo setups. Any suggestions? Thanks. Try setting Plug n Play OS to no in the BIOS -- 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: The configuration of my core doesn't work!!
On Wednesday 18 May 2005 06:28, Daniel wrote: Hi, the same problem here. I have a 5.4 Release and I'm trying to remove some options and add few others make buildkernel KERNCONF=PHOENIX# PHOENIX is my custom kernel says dont know how to make or smth like that on the other hand /usr/sbin/config PHOENIX works On 5/9/05, Sergey S. Ropchan [EMAIL PROTECTED] wrote: When I try to use the command make depend it doesn't work. What must I do. Yon need to do following, New Way (in order as below): make buildkernel KERNCONF=YOUR_KERNEL_NAME_HERE make installkernel KERNCONF=YOUR_KERNEL_NAME_HERE Check handook: Not to ask the obvious but you are trying make buildkernel from /usr/src, right? -- 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: Multiple Apaches
On Tuesday 17 May 2005 18:00, David Marshall wrote: Hi all, My boss has finally seen the light, and we're migrating from a cobbled-together Linux box to FreeBSD very soon. In the four months I've been working for him, I have spent more time fiddling with our Linux servers than I spent in 4 years running FreeBSD on a number of servers. On one of my old FreeBSD servers, I wanted a regular Apache installation, so I had /usr/ports/www/apache13 installed. At the same time, I maintained a specially-configured Apache installation in /usr/local2 that was, among other things, statically linked with mod_perl. On the new box that we're putting together soon, we'll need to have apache2 going, so that's obviously something to install/maintain via ports. At the same time, we're going to need a couple of statically linked apache13 installations. Should I plan on repeating the what I did before, which is to maintain an apache installation separate from ports? Or is there some clever way to have ports install stuff in different places under different names? For instance, I'd like to have www/apache2 installed in the default location and install www/apache13-modperl with some PREFIX, telling it to disregard any CONFLICTS? Can I give a ports installation a different DISTNAME so that it's in the package database under some other name? TIA! This may be wrong or even mis-guided advice but the first thing that came to my mind was perhaps running one (or both I suppose) apache in a jail. -- 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: suspending login
On Tuesday 05 April 2005 17:42, Bob Ababurko wrote: Hello all- I am trying to figure out how to suspend a login for a user. Do I have to do this with password aging or is there an easier(read brute force) way to disallow a user from logging in? -thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Will setting their shell to /sbin/nologin do what you want? -- 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: Testing/repairing IDE drive
On Thursday 31 March 2005 21:25, Olivier Nicole wrote: Hi Hi have an IDE drive (bit old) that is starting to develop bad blocks. Is there a tool to scan the disk and reassign/block (I don't care loosing some space on that disk) the bad bocks? Best regards, Olivier Most manufacturers have utilities on their website that you can download and put onto a floppy. Generally this floppy is bootable and will perform diagnostics on the drive. -- 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]
Sound stutters and mouse slows way down
] at ata2-master UDMA100 ad6: 76319MB WDC WD800BB-00CAA1/17.07W17 [155061/16/63] at ata3-master UDMA100 ar0: 76293MB ATA RAID1 array [9726/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ad0s2a I'm willing to test and or debug this if anyone has any suggestions. -- 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: Upgrading from 5.3-RELEASE-p5 to p6
On Monday 28 March 2005 16:46, you wrote: I just upgraded a test machine from 5.3-RELEASE-p5 to 5.3-RELEASE-p6. The make buildworld went fine. When I tried to make buildkernel it kept saying that: kernel build for GENERIC complete on xx.xx.xx time I tried using the old way of bulding a kernel and that went without issue. I'm bringing this up to see if it's a bug or if it's just something dorked up on my end. hrmm, I should clarify that I am doing: #make buildkernel KERNCONF=MYKERNEL -- 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]
Upgrading from 5.3-RELEASE-p5 to p6
I just upgraded a test machine from 5.3-RELEASE-p5 to 5.3-RELEASE-p6. The make buildworld went fine. When I tried to make buildkernel it kept saying that: kernel build for GENERIC complete on xx.xx.xx time I tried using the old way of bulding a kernel and that went without issue. I'm bringing this up to see if it's a bug or if it's just something dorked up on my end. -- 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]
FreeBSD 5.3-RELEASE error creating jail
$uname -a FreeBSD twinmp.tcbug.org 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Wed Feb 9 16:54:40 CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TWINMP i386 I am following the directions in man jail to set up a jail on my system: D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D cd etc make distribution DESTDIR=$D mount_devfs devfs $D/dev cd $D ln -sf dev/null kernel make world DESTDIR=$D fails with the following error: make: don't know how to make /storage1/jail/usr/lib/libc.a. Stop *** Error code 2 I've tried rm -rf /usr/obj and also rm -rf /usr/src -- 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: Cutting down on ssh breakin attempts
On Monday 14 March 2005 07:04, Kyle Jensen wrote: Hi, I run a webmail server for a small company, which is (of course) running FreeBSD 5-stable. I get about 50-100 failed loging attempts via ssh on a daily basis. Occasionally, these show up in my daily security digest with messages like: reverse mapping checking getaddrinfo for h169-210-68-8.a dcast.com.tw failed - POSSIBLE BREAKIN ATTEMPT! But mostly it's stuff like Illegal user postgres from 210.68.8.169 What's the best way to cut down on these attempts? I thought about adding a blacklist to my pf.conf rules for the pf firewall. Any thoughts would be greatly appreciated! Kyle Maybe this is an obvious question, but do you need world access to ssh? -- 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]
ssh timeout on 4.x
I have a 4.9 RELEASE system that is running as a gateway / webserver for a small LAN. From the internal LAN I can ssh to it fine. From the internet ssh times out. There are no firewall rules interfering. I haven't tried ssh in debug mode although next time I'm on-site I intend to enable it. The webserver works fine, another oddity is that I can't telnet to port 80 on the machine from the internet. Here's the errors I get trying ssh and telnet respectively: port 22: Operation timed out telnet: Unable to connect to remote host: connect to address 66.103.77.xx: Operation timed out Anyone have any suggestions of things I can try next time I'm on site? -- 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: cdrom image to cdr
On Friday 25 February 2005 10:13, dick hoogendijk wrote: What is the easiest way to copy a complete cdrom with freebsd-4.11? Normally I use burncd to burn an iso file to a new cdr, but I never copied a complete cdrom to cdr under freebsd. My windows machines are down and I need the copy soon. So please forgive me if I'm ignorant. Hope the answer is easy ;-) This is covered in the handbook, but the basic idea is that you mount the CD, use mkisofs to create an iso of it and then burn the iso with burncd. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html -- 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: raid1
On Saturday 19 February 2005 00:51, Chad Leigh -- Shire.Net LLC wrote: On Feb 18, 2005, at 11:39 PM, Spades wrote: hi, my server hardware supports hardware raid, i installed it as per normal freebsd 5.3, however i see no difference in df. its using 2 x 160GB, what do i do during the installation to enable the raid? mobo: http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DV L- EG.cfm -bash-2.05b$ df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad4s1a 66008394 35424 60692300 0%/ devfs 1 10 100%/dev /dev/ad4s1d 66008394 24 60727700 0%/home /dev/ad4s1e 10154158 683442 8658384 7%/usr /dev/ad4s1f 8172302982 7517536 0%/var -bash-2.05b$ What do you expect to see? A raid1 is a mirror set and to the OS would probably look like a single drive if it truly is a HW raid Chad The RAID will ususally show up as something other than ad(x). Generally you create the RAID array in the controller's BIOS and FreeBSD detects it as a single disk (in my case ar0). You may want to google around to see if your controller is supported. -- 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]
problems getting a jail running on 5.3-RELEASE using man 8 jail
I am running a 5.3-RELEASE-p5 machine. $uname -a FreeBSD twinmp.tcbug.org 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Wed Feb 9 16:54:40 CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TWINMP i386 Hardware is basic PC sound/lan/video, 4 IDE channels, dual AMD MP processors. dmesg is attached. I am following the following procedure in the jail manpage: #D=/usr/local/jail #cd /usr/src #mkdir -p $D #make world DESTDIR=$D #cd etc #make distribution DESTDIR=$D #mount_devfs devfs $D/dev #cd $D #ln -sf dev/null kernel I get to: #make world DESTDIR=$D and the compile fails at the following point: === games/fortune/strfile /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c echo strfile: /storage/jail/usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a .depend cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c make: don't know how to make /storage/jail/usr/lib/libc.a. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This is reproducable on my hardware with RELEASE-5.3, RELEASE-5.3-p2 and RELEASE-5.3-p5. I found an email in the -questions mailing list in which the author has the same errors that I do attempting to build world. http://docs.FreeBSD.org/cgi/mid.cgi?57d71501131800788ec662 If I replace: #make world DESTDIR=$D with #env DESTDIR=$D make world everything goes fine. (just for kicks I tested with /bin/sh /bin/csh and /usr/local/etc/zsh) I considered sending a patch for man 8 jail but thought it would be better to get input first. If a solution isn't found I'll send-pr the docproj with a patch. -- Thanks, Josh Paetzel Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE-p5 #0: Wed Feb 9 16:54:40 CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TWINMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2400+ (2000.08-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x681 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc048MP,AMIE,DSP,3DNow! real memory = 805240832 (767 MB) avail memory = 774049792 (738 MB) ACPI APIC Table: GBTAWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: GBT AWRDACPI on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0x50e0-0x50ff,0x5000-0x50df,0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: AMD 762 host to AGP bridge port 0xc000-0xc003 mem 0xfc00-0xfc000fff,0xe800-0xefff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 nvidia0: GeForce FX 5700LE mem 0xf000-0xf7ff,0xf800-0xf8ff irq 17 at device 5.0 on pci1 nvidia0: [GIANT-LOCKED] isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: AMD 768 UDMA100 controller port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: bridge, PCI-unknown at device 7.3 (no driver attached) pcib2: ACPI PCI-PCI bridge at device 16.0 on pci0 pci2: ACPI PCI bus on pcib2 ohci0: OHCI (generic) USB controller mem 0xfb025000-0xfb025fff irq 19 at device 0.0 on pci2 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/13.20, addr 2, iclass 3/1 ums0: 4 buttons and Z dir. pcm0: Creative EMU10K1 port 0x9000-0x901f irq 18 at device 6.0 on pci2 pcm0: eMicro EM28028 AC97 Codec fxp0: Intel 82550 Pro/100 Ethernet port 0x9800-0x983f mem 0xfb00-0xfb01,0xfb024000-0xfb024fff irq 16 at device 7.0 on pci2 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:0d:61:20:2d:ad atapci1: Promise PDC20276 UDMA133 controller port 0xac00-0xac0f,0xa800-0xa803,0xa400-0xa407,0xa000-0xa003,0x9c00-0x9c07 mem 0xfb02-0xfb023fff irq 18 at device 8.0 on pci2 ata2: channel #0 on atapci1 ata3
jail manpage
I've been trying get jails working on my 5.3-RELEASE-p2 machine. I've tried following the instructions in man 8 jail D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D cd etc make distribution DESTDIR=$D mount_devfs devfs $D/dev cd $D ln -sf dev/null kernel It dies at make world DESTDIR=$D with the following error: cc -0 -pipe -I/usr/obj/usr/src/i386/legacy/usr/include c/usr/src/games/fortune/strfile/strfile.c make: don't know how to make /jail/test/usr/lib/libc.a. Stop ***Error code 2 Stopping /usr/src Surprisingly I found a post to -questions that has the exact same error using the same commands that I did. The thread never does make clear as to whether the poster got it working. [EMAIL PROTECTED] I found a tutorial @ http://www.samag.com/documents/s=1151/sam0105d/0105d.htm D=/home/jpaetzel/jail cd /usr/src make hierarchy DESTDIR=$D make obj make depend make all make install DESTDIR=$D cd $D ln -sf dev/null kernel ifconfig fxp0 alias 10.0.0.11 netmask 255.255.255.255 start the jail: jail /home/jpaetzel/jail jail.tcbug.org /bin/sh I'm still unclear on how to start the jail at boot time I put the following into /etc/rc.conf jail_enable=YES jail_list=vjail jail_vjail_rootdir=/home/jpaetzel/jail jail_vjail_hostname=jail.tcbug.org jail_vjail_ip=10.0.0.11 jail_vjail_exec=/bin/sh /etc/rc As far as I can tell jail is not starting at boot time. I know I'm sort of rambling (I'm trying to document as I go here) if someone can spot my mistakes I'd appreciate it. :) -- 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: jail manpage
On Wednesday 09 February 2005 14:32, pete wright wrote: On Wed, 9 Feb 2005 14:12:06 -0600, Josh Paetzel [EMAIL PROTECTED] wrote: I've been trying get jails working on my 5.3-RELEASE-p2 machine. I've tried following the instructions in man 8 jail D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D cd etc make distribution DESTDIR=$D mount_devfs devfs $D/dev cd $D ln -sf dev/null kernel It dies at make world DESTDIR=$D with the following error: cc -0 -pipe -I/usr/obj/usr/src/i386/legacy/usr/include c/usr/src/games/fortune/strfile/strfile.c make: don't know how to make /jail/test/usr/lib/libc.a. Stop ***Error code 2 Stopping /usr/src couple things, I have this process scripted pretty much the same way you have mentioned here with no problems. have you cvsup'd your source tree recenetly...also are you able to do a normal buildworld? I'm running 5.3-RELEASE-p2 but just for kicks I rm -rf'd /usr/src and /usr/obj and did: cvsup to RELENG_5_3 make buildworld make KERNCONF=MYKERNEL buildkernel make KERNCONF=MYKERNEL installkernel reboot make installworld reboot Now I'm running 5.3-RELEASE-p5 Trying the steps outlined in man 8 jail gives me the exact same error that I started with. Surprisingly I found a post to -questions that has the exact same error using the same commands that I did. The thread never does make clear as to whether the poster got it working. [EMAIL PROTECTED] this link does not work http://www.freebsd.org/cgi/getmsg.cgi?fetch=2806914+2810640+/usr/local/www/db/text/2005/freebsd-questions/20050116.freebsd-questions Sorry about that. =pete -- 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: jail manpage
On Wednesday 09 February 2005 17:20, pete wright wrote: I'm running 5.3-RELEASE-p2 but just for kicks I rm -rf'd /usr/src and /usr/obj and did: gerneally cvsup'ing /usr/src is enough (don't want to stress the cvsup servers too much if you can avoid it) It's my own private cvsup server...I don't think I'll mind. ;) cvsup to RELENG_5_3 make buildworld make KERNCONF=MYKERNEL buildkernel make KERNCONF=MYKERNEL installkernel reboot make installworld reboot missed a step, did you mergemaster -p and mergemaster? No...I have no use for mergemaster, it's bit me in the ass a few too many times. If there are any changes needed I merge them in by hand. Now I'm running 5.3-RELEASE-p5 Trying the steps outlined in man 8 jail gives me the exact same error that I started with. i'm runnig my buildjail script right now to make sure things are still ok...if i find i problem i'll post back to list... this link does not work http://www.freebsd.org/cgi/getmsg.cgi?fetch=2806914+2810640+/usr/l ocal/www/db/text/2005/freebsd-questions/20050116.freebsd-questions heh thanks thought i've remembered this issue before... Sorry about that. NP -p -- 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: UT2004 on FreeBSD
On Friday 28 January 2005 05:25, Loren M. Lang wrote: On Fri, Jan 28, 2005 at 11:15:38AM +0100, Jorn Argelo wrote: On Thu, 27 Jan 2005 22:31:33 -0800, Loren M. Lang wrote On Thu, Jan 27, 2005 at 08:50:19PM -0800, Loren M. Lang wrote: I know there were some people on the list asking about running Unreal Tournament 2004 on FreeBSD a while back. Mainly, the c++ libraries were what was missing in linux_base. Now that linux_base-rh9 is out, all the required libraries are easy to install. Also, x11/linux-XFree86-libs will be needed. I have UT2004 running in freebsd, but some of the images and player models don't show up and, while the mouse works in the menus, once I get in game, I can't do anything. Any ideas on how to fix this? It seems the keyboard doesn't work either once I'm in game except for alt-enter when windows the screen from fullscreen. It's like it's not able to access the keyboard or mouse using what ever raw access it's trying to do, but they both work elsewhere when it's just using the regular X protocol to access them. I'm using linux_base-7.1, and I don't have linux-XFree86-libs installed either (Perhaps that's not required since I'm use x.org.) And UT2004 works just fine with me. Though the performance is somewhat worse then it was at Windows, but that's probably because of the Nvidia drivers. Of course, one should not expect too much from an GeForce 4 MX440 :) When I was using linux_base-7 I had several linux programs missing certain versions of libstdc++ libraries. The installed version was something like libstdc++.so.3 and the program needed something like libstdc++.so.9. Since I installed linux_base-rh-9, they now run, though UT2004 has problems in-game. Before I upgraded linux_base, it didn't even start. Also, linux-XFree86-libs isn't needed for linux_base-7, there already part of it, but they seperated it out for rh-9 I guess. And UT2004 runs just fine in Linux with my GeForce4 MX440 and since Doom 3 runs pretty good in both linux and freebsd with my geforce 4, I'd say the nvidia drivers are probably pretty good. Jorn Where can I get the installer? -- 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: DNS problems - slow to resolve
On Sunday 02 January 2005 09:22, David Daugherty wrote: I'm running BIND 9 for my own DNS and I'm connecting to the Internet through cable modem. In my named.conf I have a forwarders section where I put the IPs for my ISPs DNS. Since my connection to the ISP is DHCP how can I determine the DNS IPs that have been assigned? I don't see it when man'ing ifconfig. /etc/resolv.conf lists which nameservers your system is using. (Hope I didn't completely interpret your question) :-/ -- 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: bash - superuser
On Friday 24 December 2004 16:06, Andrew L. Gould wrote: On Friday 24 December 2004 09:53 am, Andy Firman wrote: On Mon, Dec 20, 2004 at 04:54:51PM -0500, Jerry McAllister wrote: Then the thing to do is create another root account and make the default shell for that one be bash, leaving the root root be /bin/sh. So for those of us that want to go back to the way things should be, (leaving root shell be /bin/sh) I fire up vipw and change this: root:*:0:0:Charlie :/root:/usr/local/bin/bash to this: root:*:0:0:Charlie :/root:/bin/sh Right? Then I keep using sudo all the time. But if I need to do some big work as root, I can su to root and get bash simply by typing: /usr/local/bin/bash Right? Just want to be clear on this. Thanks. I think that should do it. If you wanted root to use bash all the time, couldn't you compile/install a static version into /bin/? I've never done it; but I know that NetBSD has some statically linked shells in their ports (pkgsrc) that install to /bin/, so I would think it should be possible. Best of luck, Andrew Gould I've always been curious as to why you can't(shouldn't?) just change the shell that root uses. -- 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]
sftp and shell access
I am looking for a way to give a user an sftp account without giving them a shell. So far I've tried setting their shell to /sbin/nologin, but when they try to log in via sftp it gives them a message to long error. Any pointers would be appreciated...I've tried the FAQ, handbook and google so far. -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: blacklisting failed ssh attempts
On Wednesday 01 December 2004 17:41, you wrote: This morning I noticed that an attacker spent over a full hour trying to brute-force accounts and passwords via ssh on one of our machines. These kinds of attacks are becoming more frequent. I was wondering: does anyone know of a way to blacklist a certain IP (ideally, just for a certain time period) after a certain number of failed login attempts via ssh? I could change the port that sshd listens on, but I'd rather find a better solution, one that isn't just another layer of obscurity. Thanks! This may or may not help you, but I generally firewall ssh so that only known addresses can get in. (whitelisting as opposed to blacklisting) -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ac'97 audio 5.2.1
On Saturday 27 November 2004 17:38, Perttu Laine wrote: Hello! I've never used audio on freebsd and I need to know how to get AC'97 to work with my 5.2.1 freebsd. And with it's mplayer. So... where to start from? :) -- kpn @ IRCnet Check out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/multimedia.html -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Key mapping in X.org
I'm trying to set up a keybinding in X. I would like Right Shift + Enter to be treated the same way that Enter is when pressed alone. Right now pressing Right Shift + Enter doesn't appear to do anything at all. I've read through the xset and stty man pages and didn't spot what I need. A nudge in the right direction would be most appreciated. -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Warning Message Showing up on install
On Sunday 21 November 2004 16:01, Doug Paquette wrote: Group, I have a warning messaeg showing up on my computer when trying to install Free BSD 4.9 on an IDE hard drive and cannot for the life of me figure out what is causing this. I have looked into everything I know and dont know what to do. The Warning message says something about a Geometry error or something like that to do with the bios or something. I have taken a photo of the screen with my camera and have attached it to this message. If anyone can help me out with this it would be greatly appreciated. Thanks much Doug It seems to me that I've had that error in the past and have been able to just ignore it. :-/ Thanks, Josh Paetzel -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't get rid of this file with trailing backslash?
On Friday 19 November 2004 14:50, Bart Silverstrim wrote: On Nov 19, 2004, at 9:09 AM, Hexren wrote: AF I was editing my named.conf and somehow saved the file AF with a trailing backslash and I can't get rid of it. AF -rw-r--r-- 1 root bind18314 Nov 18 11:35 named.conf AF -rw-r--r-- 1 root bind18314 Nov 18 11:07 named.conf.save.11-18 AF -rw-r--r-- 1 root bind17389 Nov 18 10:58 named.conf\ AF -rw-r--r-- 1 bind bind 2602 May 25 17:28 named.root AF I was using nano and have no clue how I did it. AF If I rm named.conf\ it removes the named.conf. AF So how do I get rid of named.conf\ ? AF Andy - only shooting in the blue here but have you tried rm 'named.conf\' so as to instruct the sheel to ignore any special chars it sees. Or rm named.conf\\ (I seem to recall that you the backslash is the escape sequenze for the bash so escaping a backslash should lead to a literal backslash. *guessing* My first instinct would be cp named.conf backupnamed.conf rm named.con* mv backupnamed.conf named.conf :-) I'm too paranoid that I know what *should* work wouldn't or would still end up deleting the original file I wanted, so I'd have to make a backup of the file and do it that way rather than play with escapes and quotes. Cant' you escape the \ with a \? rm named.conf\\ ?? -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release 5.3 downloadable versione
On Wednesday 17 November 2004 14:47, Luca wrote: Hi, I download Freebsd 5.3 (i386) but I noticed that sysinstall has not the X configurator. Why? Is there a new tool outside Sysinstall or the downloadable version is not complete? Luca http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Should get you going in the right direction -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFilter Firewall Tutorial
On Wednesday 17 November 2004 17:57, Darryl Hoar wrote: Does anyone have a pointer to or know of a good tutorial for setting up a freebsd box as a firewall using IPFilter ? In the past, I have used the tutorial at: http://www.schlacter.net/ But it is for Freebsd 4.6-stable. I would need one for the stable version of Freebsd. any help greatly appreciated. -Darryl This is a bit dated as well, but might help you out. http://www.tcbug.org/ipf.html -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LAN unreachable after 5.3 install
On Monday 15 November 2004 18:22, Wes Santee wrote: Greetings all, I've just completed update from 4.9 to 5.3 and so far not much is working. I went the format and install route to minimize incompatibilities. After the install, the first thing I wanted to do was get my network up and running. I've got a pretty standard setup: LAN on one NIC, PPPoE Internet on the other NIC with NAT addressing. Ignore the PPPoE and gateway side of things for a bit, my problem is that after install, I can't see my LAN. From the FreeBSD box I try this: ping -S 10.0.0.1 10.0.0.254 but none of the pings are responded to. From 10.0.0.254, I try pinging 10.0.0.1, but the result is the same. Okay, here is the WEIRD part: When I run tcpdump to see what's going on, all of a sudden everything starts working! It's as if going into promiscuous mode shuts off some kind of block that I can't figure out. When I kill tcpdump, it goes back to not working again. Any ideas what is causing this or how to fix it? I strolled through the install notes, but I don't even know what I'm looking for. That makes searching the mailing list archives difficult also. Cheers, -Wes The output of ifconfig may be useful in tracking down your problem -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openwebmail
On Monday 15 November 2004 20:21, Jeff Maxwell wrote: I just did a portupgrade on openwebmail and now I get the following in the log: [Mon Nov 15 15:02:46 2004] [error] [client xxx.222.251.167] Premature end of script headers: /usr/local/www/cgi-bin/openwebmail/openwebmail.pl YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! FIX YOUR KERNEL, PUT A C WRAPPER AROUND THIS SCRIPT, OR USE -u AND UNDUMP! speedy_backend[333]: perl_parse error speedy[331]: Cannot spawn backend process [Mon Nov 15 15:26:39 2004] [error] [client xxx.222.251.167] Premature end of script headers: /usr/local/www/cgi-bin/openwebmail/openwebmail.pl Jeff Maxwell POS Department Manager Uni-Marts, LLC 508 Blackman St Wilkes-Barre, PA 18702 570-829-0888 Buried in the FAQ: If you are using FreeBSD and your perl is compiled from port, then please note that the SUID support is disabled by default since the port for perl 5.8.1 You need to do 'make -DENABLE_SUIDPERL' in making port for perl -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ad0: FAILURE - READ_DMA
On Tuesday 16 November 2004 01:07, sp0ng3b0b wrote: I am having a strange problem and need some help. I installed FreeBSD on a Maxtor 300GB IDE drive that is less than 1 year old. After one day, FreeBSD complains about DMA problems. I got a LOT of these. ERROR MESSAGE: kernel: ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE I googled for the error, and foudn a suggestion that the drive may be failing. So I ran Maxtor disk diagnostics and it says the drive is failing. So I start the RMA process. In the meantime, I install a BRAND NEW Seagate 120GB 7200.7 hard drive. I install FreeBSD 5.3 on it. One day later, I get the SAME errors! Lots of em! kernel: ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE What is going on? Is FreeBSD destroying my disks? Here is some info: More likely would be that your PSU is eating drives. I would look at hardware way before trying to attach blame to FreeBSD. ;) -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to reconfigure a port installation?
On Tuesday 16 November 2004 01:15, Curtis Vaughan wrote: I was installing a port (make make install) during which it asked me about some configuration information. Because I made a wrong choice at one point, the install failed. Now, I want to run make install again in order to chose the right options. Unfortunately, I can't just issue that command, as it apparently proceeds with what information I gave it the first time. Out of curiosity I tried make deinstall and pkg_delete, but they don't work as the port was never installed. So, what command to I need to issue? Curtis make clean -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Want to use two PCCards on a laptop
On Tuesday 16 November 2004 01:02, Paul Hoffman wrote: Greetings again. I want to use a laptop as a router under 4.10. I have two PCcards that it recognizes, but when starting up, after connecting to the first card, I get the message: pccard0: Can no attach more than one child. So, is this a limitation in the kernel that I can fix with a re-build? Something in one of the config files that I haven't figured out? Something that is fixed in 5.3? Or... ? --Paul Hoffman Hmm, I thought PCCARD was in 5.x only. Educate me if I'm off-base please. :) -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ATI 9600 Support
I have a radeon 9600 and have been trying to get it working in dual-head mode. Someone linked me to a screen-shot that showed an ATI control panel with a dual-head tab. Is there any chance someone could link me to a site that provides said application. I've searched google and the ATI website and have come up empty -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTFS?
On Friday 12 November 2004 18:59, [EMAIL PROTECTED] wrote: Do i have to install the OS on FAT32 file system ... cause i am currently running a NTFS on a Windows XP. FreeBSD uses it's own filesystem. You will need to make some unpartitioned space on your disk to install. The handbook has answers to this sort of question and many more. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple Network Traffic script
On Friday 12 November 2004 20:56, Tim Traver wrote: Hi all, ok, this may be a dumb question, but does anyone know where I can find a simple script that shows the network traffic to and from your local box ? using netstat -i 5, can see the traffic over 5 seconds, but then I need to do a bunch of calculations to try and get a reasonable number. I looked at ntop, but couldn't get it to work... there must be a simpler way... Thanks, Tim. Well, there's mrtg in the ports tree, it may or not fit your definition of simple. -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple Network Traffic script
On Friday 12 November 2004 21:40, Aaron Nichols wrote: On Fri, 12 Nov 2004 12:56:57 -0800, Tim Traver [EMAIL PROTECTED] wrote: Hi all, ok, this may be a dumb question, but does anyone know where I can find a simple script that shows the network traffic to and from your local box ? snip there must be a simpler way... If you are running 5.3-RELEASE there is systat # systat -ifstat Just for kicks I took a look at systat and noticed something interesting. It appears to be able to show the load on multiprocessor systems as a per-CPU value Load Average /0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100 root idle: cpu0 root idle: cpu1 -- Thanks, Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]