The FreeBSD Diary: 2006-01-22 - 2006-02-11
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 10-Feb : Is your ISP blocking port 25? Here's a Postfix solution. Don't submit! Use submission. http://freebsddiary.org/postfix-transport.php?2 5-Feb : IPv6 - getting your LAN connected IPv6 avoids NAT, and gives you more than you'll ever need. http://freebsddiary.org/ipv6.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How get swedish keyboard on the consol after loggin on
After the system starts and before I log on to the system the keys and letters åäö and ÅÄÖ seem to work OK. But as soon as I log on they don't. Why is that? Thanks! /John Put this in your rc.conf keymap=swedish.cp850 works on 4.10-RELEASE-p19 and 6.1-PRERELEASE #0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How get swedish keyboard on the consol after loggin on
John S wrote: After the system starts and before I log on to the system the keys and letters åäö and ÅÄÖ seem to work OK. But as soon as I log on they don't. Why is that? Thanks! /John Have you edited your ~/.login.conf to properly display Swedish characters? Take a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html on how to achieve it. Regards! //Niclas -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: incorrect logins
On Sun, 2006-02-12 at 04:39, Playnet wrote: Hello FreeBSD, I see many records as Feb 10 21:08:55 sstand sshd[84600]: Failed password for root from 61.218.130.20 port 46356 ssh2 How can i block these IP, who try root as login? Have any soft in ports? In the default setup of SSH, root login is disabled. Check the manual for ssh. As for blocking Ips check hosts_deny and hosts_allow. I would recommend that you block the ssh port at you firewall for stop remote logons via ssh etc. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsd-airtools
not positive, but i think this no longer works... ok.. thanks. i found it in the net-mnmt ports. why is it there if it doesn't work? is there anything else like it in the ports (or online)? thanks.. On Sat, 11 Feb 2006, kalin mintchev wrote: : : hi all... : : anybody successfully used bsd-airtools? : : i tried the dstumbler to look at my access point at home but nothing :happens. i do get the interface with all the options but after that :nothing shows up no mater which option i use... any ideas? thanks : :___ :[EMAIL PROTECTED] mailing list :http://lists.freebsd.org/mailman/listinfo/freebsd-mobile :To unsubscribe, send any mail to [EMAIL PROTECTED] : : -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell 530 RAID 5 Recommendations
On Sun, 2006-02-12 at 02:19, Matt Sullivan wrote: I am considering using FreeBSD 6 on an old Dell Precision Workstation 530 MT. It has Dual Xeon 1.5 GHz CPUs, 4 x Fujitsu AIC-7892A MAJ3182M SCSI HDs, 1 GB RDRAM, Nvidia Elsa Gloria II Pro video, Integrated 3Com NIC, Lynksys Wireless-G USB network adapter, and Integrated Adaptec AIC-7892 SCSI controller. I would like to setup RAID 5. The intended use is in my home network as a personal SOA/J2EE/MySQL development box and family file server. Please review and comment on my assumptions: 1) FreeBSD 6-STABLE has fixed any 5.X SMP issues. There was a problem but this was fixed at 5.4. There are odd reports of problems with older hardware. I have had a problem with an oldish quad Compaq machine which I have not had time to get to the bottom of. 2) I will need an additional RAID controller card. 3) FreeBSD has issues similar to the folks at OpenBSD (my firewall OS) regarding Adaptec - http://www.openbsd.org/i386.html: we do not recommend the Adaptec cards for use. * Adaptec AAC-2622, AAC-364, AAC-3642, 2200S, 2410SA, 2610SA, 2810SA, 21610SA Have a look at the hardware compat list at http://www.freebsd.org/releases/6.0R/hardware-i386.html this may help with the raid card. I would appreciate some recommendations with a focus on price/performance. Thanks, Matt Matt, One thought I would separate the file server support from a development machine. You may get into speed problems when heavily loaded. For my network I use 2 modest machines with large IDE drives running a HA setup as a file server. They sync to each other via a Gigbyte direct Ethernet connection and if one goes down or if off line for maintenance the other takes over. See http://linux-ha.org/ . Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: incorrect logins
Robert Slade wrote: On Sun, 2006-02-12 at 04:39, Playnet wrote: Hello FreeBSD, I see many records as Feb 10 21:08:55 sstand sshd[84600]: Failed password for root from 61.218.130.20 port 46356 ssh2 How can i block these IP, who try root as login? Have any soft in ports? In the default setup of SSH, root login is disabled. Check the manual for ssh. As for blocking Ips check hosts_deny and hosts_allow. I would recommend that you block the ssh port at you firewall for stop remote logons via ssh etc. Rob Either you 1 configure SSH to only allow logins from certain hostnames or IP addresses or for certain users, and/or 2 install a program to watch your logfiles and modify your firewall rules dynamically according to specified triggers, like /usr/ports/security/denyhosts, and/or 3 choose strong passwords or -phrases and not care ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script to clean text files
At 22:45 11.02.2006, Parv wrote: in message [EMAIL PROTECTED], wrote Kristian Vaaf thusly... Among other things, this script is suppose to add an empty line at the bottom of a file. But somehow it always removes the first line in a text file, how do I stop this? Can you provide a small sample file complete w/ things that you want to remove? #!/usr/local/bin/bash # # Remove CRLF, trailing whitespace and double lines. What are double lines? # $ARBA: clean.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then echo $file perl -i -pe 's/\015$//' $file perl -i -pe 's/[^\S\n]+$//g' $file Why do you have two perl runs? More importantly, you will remove anything which is not whitespace or not newline. That means, in the end, you should have a file filled w/ whitespace only. perl -pi -00 -e 1 $file echo $file: Done fi done To remove CRLF, trailing whitespace, and 2 consecutive blank lines ... { tr -d '\r' $file \ | sed -E -e 's/[[:space:]]+$//' \ | cat -s - ${file}.tmp } mv -f ${file}.tmp $file - Parv -- Hello Parv! Yes I meant blank lines :) I've used the script for a long time now. The only error is that it removes the top blank space, if any. Which is a bit annoying. It's fine for scripts with shebangs but not for custom laid out documents etc. I just wanted to know where that error was. I use the Perl runs because those were the only runs people gave me. You know how it is, you enter a FreeBSD help channel and ask how you do this or that, and the upper gentlemen always reply Learn Perl, and then they go on giving you Perl runs :) Your suggestion looks very very good. So is this alright? #!/usr/local/bin/bash # # Remove CRLF, trailing whitespace and blank lines. # $ARBA: clean.sh,v 1.0 2007/11/11 15:09:05 vaaf Exp $ # for file in `find -s . -type f -not -name .*`; do if file -b $file | grep -q 'text'; then echo $file tr -d '\r' $file sed -E -e 's/[[:space:]]+$//' cat -s - ${file}.tmp mv -f ${file}.tmp $file echo $file: Done fi done All the best man, Vaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: CD installation and file flags
Hello Lowell Gilbert! SUID/SGID files in my default installation do not have any flags set: $ uname -a FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 $ ls -alo `which su` -r-sr-xr-x 1 root wheel - 11992 Nov 3 08:11 /usr/bin/su That's why I'm asking about this. I think there should be some flags set by default. [ End of message ] Best Regards, Alex Renn [EMAIL PROTECTED] ===[ Original Message ]=== From: Lowell Gilbert [EMAIL PROTECTED] To: Alex Renn [EMAIL PROTECTED] Subject: CD installation and file flags Date: 10.02.2006 20:56 Alex Renn [EMAIL PROTECTED] writes: I installed FreeBSD 6.0 from CD and noticed that file flags were not applied by default to /boot, /bin, /sbin. Right. suid files get the flags, but nothing else. I set kernel_securelevel to 3 but it does not help a lot while there are no schg flags on system files. File flags are enforced at a securelevel of 1. If they are all you care about, then there's no reason to add the filesystem mounting, clock, and firewall restrictions of levels 2 and 3. Is there any script to set proper flags for all files in the default installation? There is not widespread agreement on the definition of proper in that sentence. Once you have a precise idea of what you think it should be, writing a script for your particular needs will be trivial. Be well. ===[ End of Original Message ]=== ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: incorrect logins
lars wrote: Either you 1configure SSH to only allow logins from certain hostnames or IP addresses or for certain users, and/or 2install a program to watch your logfiles and modify your firewall rules dynamically according to specified triggers, like /usr/ports/security/denyhosts, and/or 3choose strong passwords or -phrases and not care You forgot: 4Use SSH key based auth exclusively. Turn off all of the password stuff in sshd_config. Laugh at the poor fools trying to break in. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
A problem with the pppd
Help me, please, with the pppd. The problem is the next. I want to connect to Internet Service Provide (ISP) with a callback. I use the pppd and the chat with the next scripts, which are inessential now: # pppd script /dev/cuad1 115200 debug defaultroute crtscts noipdefault connect /usr/bin/chat -v -f /etc/ppp/peers/login.chat.script.prostointernet.callback callback 4504257 passive domain prostointer.net persist holdoff 300 # chat script login.chat.script.prostointernet.callback # It is one line really ABORT BUSY ABORT 'NO CARRIER' AT OK ATS0=1 OK ATDP5945050 TIMEOUT 300 CONNECT TIMEOUT 30 sername:-\\r-sername: login TIMEOUT 30 sword: password hostname: 0.0.0.0 The first step goes well: my side connects with the ISP and authentication is done successfully. After authentication and querying a callback, pppd hangs up the line. But then pppd exits. The ISP calls me back after some time. But there is no pppd already, and nobody is waiting for the incoming call. (Without callback I have no problem.) What do I wrong? mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup question - use just one supfile?
Hi, I've been sup'ing a few different trees for a little while now, and I'm wondering: is it possible to do all at once with the same supfile? Something like: *default host=CHANGE_THIS.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_5_3 *default release=cvs tag=RELENG_5_4 *default release=cvs tag=RELENG_6 *default delete use-rel-suffix this can't be the correct syntax, but is this practicable? thanks, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: A problem with the pppd
First of all you are trying to use kernel ppp. This was completely rewritten because it was so hard to configure and debug and it now called User ppp. d (IE: kernel ppp) was kept around for backwards compatibility. For all practical purposes its dead and just waiting to be removed. You will get better help here if you change to user ppp. The install guide at www.a1poweruser.com has a step by step instructions for seting up user ppp callback function. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of a Sent: Sunday, February 12, 2006 7:02 AM To: freebsd-questions@freebsd.org Subject: A problem with the pppd Help me, please, with the pppd. The problem is the next. I want to connect to Internet Service Provide (ISP) with a callback. I use the pppd and the chat with the next scripts, which are inessential now: # pppd script /dev/cuad1 115200 debug defaultroute crtscts noipdefault connect /usr/bin/chat -v -f /etc/ppp/peers/login.chat.script.prostointernet.callback callback 4504257 passive domain prostointer.net persist holdoff 300 # chat script login.chat.script.prostointernet.callback # It is one line really ABORT BUSY ABORT 'NO CARRIER' AT OK ATS0=1 OK ATDP5945050 TIMEOUT 300 CONNECT TIMEOUT 30 sername:-\\r-sername: login TIMEOUT 30 sword: password hostname: 0.0.0.0 The first step goes well: my side connects with the ISP and authentication is done successfully. After authentication and querying a callback, pppd hangs up the line. But then pppd exits. The ISP calls me back after some time. But there is no pppd already, and nobody is waiting for the incoming call. (Without callback I have no problem.) What do I wrong? mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: incorrect logins
This last week the subject of failed ssh logins was covered in 2 different threads and was answered in full. Please check the archives for your answers before asking the same question over again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Playnet Sent: Saturday, February 11, 2006 11:39 PM To: FreeBSD Mailing List Subject: incorrect logins Hello FreeBSD, I see many records as Feb 10 21:08:55 sstand sshd[84600]: Failed password for root from 61.218.130.20 port 46356 ssh2 How can i block these IP, who try root as login? Have any soft in ports? -- Best regards, Playnet mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup question - use just one supfile?
At 04:25 AM 2/12/2006, Joel Hatton wrote: Hi, I've been sup'ing a few different trees for a little while now, and I'm wondering: is it possible to do all at once with the same supfile? Something like: *default host=CHANGE_THIS.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_5_3 *default release=cvs tag=RELENG_5_4 *default release=cvs tag=RELENG_6 *default delete use-rel-suffix this can't be the correct syntax, but is this practicable? You need a different prefix for each tag. You'll still want to set your defaults, then override them as necessary, like this: src-all prefix=/foo tag=RELENG_5 src-all prefix=/bar tag=RELENG_6 -Glenn thanks, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig wepkey on 6.0
kalin mintchev [EMAIL PROTECTED] wrote: according to the man page of ifconfig in 6.0 the wepkey should be 5 or 13 characters. the wep key i always had is way longer than 13 characters 128 bit - one key only.. so when i try to set it up to the wi0 i get: # ifconfig wi0 wepkey 1:0xWEPKEY128BITENCRYPTIONBLAHBLA ifconfig: SIOCS80211: Invalid argument Did you look in /var/log/messages? It probably tells you to load wlan_wep. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
LDAP authentication problems
Hi, I have problems to get LDAP authentiction working (pam_ldap)and after two days of struggle I'm almost giving up... I've tried few howtos like that one from samba.idealx.org but without success. First I wanted to run Samba PDC on FreeBSD, but I've stuck with pam_ldap authentication. Now I can: - browse LDAP database with ldapsearch or from other machine with LDAP browser - I'm able to use ldapsearch with user account created in this database ie.: 'ldapsearch -D uid=testuser,ou=Users,dc=OHRADNI,dc=NET -W' 'Enter LDAP Password: mypassword' '[will list all entries]' But when I try to use it for authentication it just don't work. For example I can't login with 'ssh [EMAIL PROTECTED]'. Because I have loglevel -1 I can see many data in /var/log/debug.log, but I'm not sure what exactly I should look for in this debug output thus I don't know if problem is on LDAP side or something else in my setup. (I've attached gziped part of debug.log) Can somebody help ? Does someone have working setup of LDAP authentication on FreeBSD 6.0 and would be so kind to sent me some quick howto or give an advice ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MBR blown away
--- Jerry McAllister [EMAIL PROTECTED] wrote: --- Jerry McAllister [EMAIL PROTECTED] wrote: I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. The MBR itself looks OK. According to that piece of menu you posted, you just added another bootable slice. So, there are now two bootable FreeBSD slices and one bootable Microsloth slice. Correct, I chose '1' and then the system hangs (no messages/errors). I simply converted a 6GB FAT32 partition into a UFS2 slice (chopped into three 2GB partitions). Well, I still am guessing the problem lies in individual slices' boot sectors and not the MBR. just try and set the bootable flags in the slices the way you think they should be and see what happens. In sysinstall I toggle bootable but it puts an 'A' which seems to mean auto-bootable. I can only set one 'A' here. -- Peter __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Problem
Warren Liddell wrote: When i try logging onto the FreeBSD machine from windows via samba, upon entering the username/pswd windows Automatically adds: fred/shinjii All i want it to have is just shinjii .. what am i missing and where do i go to fix this ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If your Windows machine have a name FRED than this is normal behaviour. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Direct disk access, was: Re: (no subject)
[EMAIL PROTECTED] wrote: I would like to have the source code of (the set of) programs that can read from/write to any sector of a disk without a file-system, think of them as the disk i/o programs that underly the file-system. I expect them to have (collectively) about four arguments, one specifying the disk to access, the second pointing to a buffer (supplying the data to write or to accept the data read), the third stating the number of bytes to transfer, and the fourth giving the LBA address of the sector to be accessed. Sounds a bit like homework to me, but what you want is here: /usr/src/bin/dd See man dd. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Problem
If your Windows machine have a name FRED than this is normal behaviour. yes but there is an optino to turn it off so it dosent add that in and unfortunately, my windows machine isnt called fred. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: A problem with the pppd
Thank You for a link. I will read and try, because I have had some problems with user ppp too. Elisej Babenko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fbsd_user Sent: Sunday, February 12, 2006 2:31 PM To: a; freebsd-questions@freebsd.org Subject: RE: A problem with the pppd First of all you are trying to use kernel ppp. This was completely rewritten because it was so hard to configure and debug and it now called User ppp. d (IE: kernel ppp) was kept around for backwards compatibility. For all practical purposes its dead and just waiting to be removed. You will get better help here if you change to user ppp. The install guide at www.a1poweruser.com has a step by step instructions for seting up user ppp callback function. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of a Sent: Sunday, February 12, 2006 7:02 AM To: freebsd-questions@freebsd.org Subject: A problem with the pppd Help me, please, with the pppd. The problem is the next. I want to connect to Internet Service Provide (ISP) with a callback. I use the pppd and the chat with the next scripts, which are inessential now: # pppd script /dev/cuad1 115200 debug defaultroute crtscts noipdefault connect /usr/bin/chat -v -f /etc/ppp/peers/login.chat.script.prostointernet.callback callback 4504257 passive domainprostointer.net persist holdoff 300 # chat script login.chat.script.prostointernet.callback # It is one line really ABORT BUSYABORT 'NO CARRIER' AT OK ATS0=1 OK ATDP5945050 TIMEOUT 300 CONNECT TIMEOUT 30 sername:-\\r-sername: login TIMEOUT 30 sword: password hostname: 0.0.0.0 The first step goes well: my side connects with the ISP and authentication is done successfully. After authentication and querying a callback, pppd hangs up the line. But then pppd exits. The ISP calls me back after some time. But there is no pppd already, and nobody is waiting for the incoming call. (Without callback I have no problem.) What do I wrong? mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Connecting to serial port
From: Ted Mittelstaedt [EMAIL PROTECTED] To: Steve Douville [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: RE: Connecting to serial port Date: Sat, 11 Feb 2006 00:51:12 -0800 That happens, you can try a BIOS update, and also make sure your motherboard CMOS settings specify the port for serial0, and match port 0x3f8-0x3ff irq 4, and aren't set to auto. You can also try changing the setting for plug-and-play OS to off, (or on, if it was off before) You can ignore the message: configured irq 4 not in bitmap of probed irqs 0 as long as your serial port actually responds. A lot of motherboards will emit this message but the serial port still works. Unfortunately it looks like yours isn't one of these due to the not responding error message. Worst case, disble the motherboard serial ports and buy a pci serial port card. This seems to happen a lot on systems that use pci-express, probably because they are tying the serial port hardware to the pci bus rather than the isa bus. Ted Hi: I'm having this same problem with a new Abit AN8 MB, which has the pciexpress. I've tried changing the BIOS settings like suggested, PLUS, even trying a PCI card, but still the same no response. Does anyone have this MB and cured this problem? If so, please let me know as I really need that lost serial port for the UPS (no, USB won't drive it). Thanks. Best regards, Jack _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LDAP authentication problems
On Sun, 2006-02-12 at 13:37, Pavel Duda wrote: Hi, I have problems to get LDAP authentiction working (pam_ldap)and after two days of struggle I'm almost giving up... I've tried few howtos like that one from samba.idealx.org but without success. First I wanted to run Samba PDC on FreeBSD, but I've stuck with pam_ldap authentication. Now I can: - browse LDAP database with ldapsearch or from other machine with LDAP browser - I'm able to use ldapsearch with user account created in this database ie.: 'ldapsearch -D uid=testuser,ou=Users,dc=OHRADNI,dc=NET -W' 'Enter LDAP Password: mypassword' '[will list all entries]' But when I try to use it for authentication it just don't work. For example I can't login with 'ssh [EMAIL PROTECTED]'. Because I have loglevel -1 I can see many data in /var/log/debug.log, but I'm not sure what exactly I should look for in this debug output thus I don't know if problem is on LDAP side or something else in my setup. (I've attached gziped part of debug.log) Can somebody help ? Does someone have working setup of LDAP authentication on FreeBSD 6.0 and would be so kind to sent me some quick howto or give an advice ? I used the example on the samba site which is also available in the docs after samaba is installed. The only issues were that it is written for Linux and hence has different file locations and one of the Linux commands does not exist in FreeBSD. It is not a direct problem as it is only used for testing. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MBR blown away
Peter wrote: --- Jerry McAllister [EMAIL PROTECTED] wrote: --- Jerry McAllister [EMAIL PROTECTED] wrote: I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. The MBR itself looks OK. According to that piece of menu you posted, you just added another bootable slice. So, there are now two bootable FreeBSD slices and one bootable Microsloth slice. Correct, I chose '1' and then the system hangs (no messages/errors). I simply converted a 6GB FAT32 partition into a UFS2 slice (chopped into three 2GB partitions). Well, I still am guessing the problem lies in individual slices' boot sectors and not the MBR. just try and set the bootable flags in the slices the way you think they should be and see what happens. In sysinstall I toggle bootable but it puts an 'A' which seems to mean auto-bootable. I can only set one 'A' here. -- Peter I tend to agree with Jerry and others that the problem is not with the MBR, but with the Windows boot sector in the first partition. If that's true, you can't fix it with sysintall or FreeBSD. You have fix it with Windows tools. If you were running Windows 2000 or XP in the Windows partition, I would recommend that you use the Windows 2000 System Recovery Console and run the fixboot program to install a new Windows boot sector on the Windows partition. If you're running an older version of Windows, you need to find out what tool it uses to restore a boot sector. Chances are in the process you'll wipe out the FreBSD MBR which you'll have to fix using FreeBSD. I guess that's where boot0cfg comes in, but I've never used it. The best advice, though, is to backup everything you can before proceeding. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File verification script
Kristian Vaaf [EMAIL PROTECTED] writes: I need a simple script that uses CFV to report on broken MP3 albums. All my MP3 albums contain an .sfv file that list MP3 tracks with their CRC values. There are a bunch of them in ports, under the security category. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LDAP authentication problems
Robert Slade wrote: On Sun, 2006-02-12 at 13:37, Pavel Duda wrote: Hi, I have problems to get LDAP authentiction working (pam_ldap)and after two days of struggle I'm almost giving up... I've tried few howtos like that one from samba.idealx.org but without success. First I wanted to run Samba PDC on FreeBSD, but I've stuck with pam_ldap authentication. Now I can: - browse LDAP database with ldapsearch or from other machine with LDAP browser - I'm able to use ldapsearch with user account created in this database ie.: 'ldapsearch -D uid=testuser,ou=Users,dc=OHRADNI,dc=NET -W' 'Enter LDAP Password: mypassword' '[will list all entries]' But when I try to use it for authentication it just don't work. For example I can't login with 'ssh [EMAIL PROTECTED]'. Because I have loglevel -1 I can see many data in /var/log/debug.log, but I'm not sure what exactly I should look for in this debug output thus I don't know if problem is on LDAP side or something else in my setup. (I've attached gziped part of debug.log) Can somebody help ? Does someone have working setup of LDAP authentication on FreeBSD 6.0 and would be so kind to sent me some quick howto or give an advice ? I used the example on the samba site which is also available in the docs after samaba is installed. The only issues were that it is written for Linux and hence has different file locations and one of the Linux commands does not exist in FreeBSD. It is not a direct problem as it is only used for testing. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] So you make it work on your system ? I'm aware that guide on samba site is for linux and some of conf files are in different locations (like ldap.conf ). I have of course tried two howtos specific for FreeBSD too (like http://books.blurgle.ca/ or http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html). Still, I'm not able to determine where is my main problem, if it is LDAP related or some bad configuration in other part of whole authentization process (or maybe both). Now I have tried to do 'id testuser' and it is not able to recognize user and there is no additional output in debug.log so system doesn't even contact LDAP. So this could be the problem. I must have something wrong probably in pam.d or nsswitch, but I don't know what :-(. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Problem
On Saturday 11 February 2006 16:14, you wrote: Warren Liddell wrote: On Saturday 11 February 2006 12:33, Duane Whitty wrote: Warren Liddell wrote: When i try logging onto the FreeBSD machine from windows via samba, upon entering the username/pswd windows Automatically adds: fred/shinjii All i want it to have is just shinjii .. what am i missing and where do i go to fix this ? ok, as embaressing as this is, i managed to solve this problem as i had forgotten to add the sama accounts themselves using smbpasswd .. onc ei ran smbpasswd it worked straight up like it should. Thanks to all those who offerd assistance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: one virtual IP interface on two ethernet ports ?
Hello Frank, Thursday, February 9, 2006, 12:05:25 PM, you wrote: FB Is it possible with FreeBSD to setup a virtual IP interface FB with load balancing that use two or more ethernet ports ? FB thank you kldload /boot/kernel/ng_ether.ko kldload /boot/kernel/ng_one2many.ko ifconfig rl0 up ifconfig rl1 up ngctl mkpeer rl0: one2many upper one ngctl connect rl0: rl0:upper lower many0 ngctl connect rl1: rl0:upper lower many1 ngctl msg rl1: setpromisc 1 ngctl msg rl1: setautosrc 0 ngctl msg rl0:upper \ setconfig { xmitAlg=1 failAlg=1 enabledLinks=[ 1 1 ] } ifconfig rl0 inet 192.168.0.78 Get from opennet.ru from tips http://www.opennet.ru/openforum/vsluhforumID1/51190.html#2 comments.. -- Best regards, Playnetmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
On 2006-02-12 03:02, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I would like to have the source code of (the set of) programs that can read from/write to any sector of a disk without a file-system, think of them as the disk i/o programs that underly the file-system. [...] I don't really understand what it is you're looking for, but the source code for *all* the FreeBSD `programs' is available at: http://cvsweb.freebsd.org/ It's also available through FTP, CVS, CVSup and is distributed as part of the official release CD-ROMs. You can look for yourself, any time :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: scripting sysinstall for pxeboot
On 11 Feb 2006, at 04:30, Christopher Cowart wrote: On a not-a-show-stopper note, is there any way to get around specifying the hostname and/or net device? I'd rather not specify the hostname so that I can have one generic script for many machines. Further, what if a some other machine has a different kind of NIC? By hardcoding these values into install.cfg, the solution becomes much less maintainable. Why can't it obtain the hostname from DHCP? Any thoughts on this? Net device, I think you're out of luck. As for the hostname, if the DHCP server actually sends a hostname, then you *can* leave it out of install.cfg. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere PGP.sig Description: This is a digitally signed message part
Re: Unable to Startx Following Upgrade--Error in Locking Authority File
Lowell Gilbert wrote: Bob Perry [EMAIL PROTECTED] writes: Bingo! It works...but what is a stale authority file and how do you avoid them? Stale is a technical term that means pretty much the same thing it does in your kitchen: something that should've been thrown out before now. I haven't seen one in a long time, so I'm not sure where yours came from, but a system crash might leave one behind. Not sure if I updated folks on this but the problem persists. (E-mail problems). I've since requested assistance from the gnome and x11 mailing list since the problem started following recent upgrades to those ports. Purpose here is to thank you for your assistance if I neglected to do so earlier. Bob Perry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsd-airtools
kalin mintchev wrote: not positive, but i think this no longer works... ok.. thanks. i found it in the net-mnmt ports. why is it there if it doesn't work? is there anything else like it in the ports (or online)? thanks.. On Sat, 11 Feb 2006, kalin mintchev wrote: : : hi all... : : anybody successfully used bsd-airtools? : : i tried the dstumbler to look at my access point at home but nothing :happens. i do get the interface with all the options but after that :nothing shows up no mater which option i use... any ideas? thanks : :___ :[EMAIL PROTECTED] mailing list :http://lists.freebsd.org/mailman/listinfo/freebsd-mobile :To unsubscribe, send any mail to [EMAIL PROTECTED] : : -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] As I said in a previous post, the dstumbler portion of the bsd-airtools works for me by doing the following: # ifconfig wi0 up # dstumbler wi0 Also, kismet is a really good tool for detecting wireless networks as well. It is available in the FreeBSD ports tree at /usr/ports/net-mgmt/kismet. However, I can only get this app to work with my Atheros (ath0) card, a Linksys WPC55AG. Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: #:Failed to force tx and rx idle state
--- Lowell Gilbert [EMAIL PROTECTED] escreveu: Thiago Esteves [EMAIL PROTECTED] writes: Hi, I've had troubles with a ethernet adapter dc It send the mensage ::: = dc0: Failed to force tx and rx idle state= ::: What's it? It tried and failed to reset the MAC controller. What other symptoms are you seeing? I started the DHCP client but It doesn't obtain a IP address. I tried to configure the IP address manually but It daesn't function... ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installation of FreeBSD 6.0
On 2/11/06, fbsd_user [EMAIL PROTECTED] wrote: (Some data deleted) What happens is that I first get a message ?Building the boot loader arguments? on one line, and shortly afterwards the message ?Relocating the loader and the BTX? on another line. After a delay of about 11 minutes, a third line appears containing the message ?Starting the BTX loader?. I let the system run for about an hour and a half but no more messages appeared, nor did the computer indicate that the installation had completed. The only thing in my machine that I think could be ?not working? with the installation program is my BIOS . Here is all the information I have about my BIOS . It names itself as ?Energy Star Ally? written by Award Software Inc. and that it is an ?Award Modular BIOS? with ?Award Plug Play BIOS extension v1.0A?. Its ID is v4.6OPGMA (the character between the 6 the P is a vertical ellipse with a dot at its center, it is either zero or oh ). How did you install it? (Two floppy disks / CD) Did you get to the install screen? (sysinstall) I tried to install from a CDROM set (of 2). I never did get to the install screen. I tried simply booting the first CDROM and it gave out those three lines. Similarly when I booted into my current system (4.3), mounted the first CDROM , and then typed /cdrom/stand/sysinstall. Where did you get your install cd from?? If you burned a downloaded iso file, did you run md5 to verify the checksum so you know its good? I missed the OP, so I apologise in advance for the multiple ccs. 11 Minutes to get to the boot loader startup? Is this a 80386? If it is, then as of some time ago these are no longer supported in a default install. http://www.freebsd.org/platforms/i386.htm -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Device Name Netgear Router
I have a Netgear Cable/DSL Router - RP614v3 that connects two WinXP machines with two FreeBSD 5.4 machines to each other. The router is connected to a Cable Modem, but I do not think that is relevant to this question. On the router's configuration screen, under maintenance is a Attached Devices menu item. This will list all four machines connected to the router with their respective MAC addresses. However, only the WinXP machines have their 'Device Name' listed. I was wondering why this is. I cannot seem to locate any specific information on the Netgear site regarding this. Everything works fine, so I assume it is not a serious problem. -- Gerard Seibert [EMAIL PROTECTED] PGP: http://www.seibercom.net/sig/gerard.asc pgpGRTSwVhgL6.pgp Description: PGP signature
Re: Device Name Netgear Router
Gerard Seibert wrote: I have a Netgear Cable/DSL Router - RP614v3 that connects two WinXP machines with two FreeBSD 5.4 machines to each other. The router is connected to a Cable Modem, but I do not think that is relevant to this question. On the router's configuration screen, under maintenance is a Attached Devices menu item. This will list all four machines connected to the router with their respective MAC addresses. However, only the WinXP machines have their 'Device Name' listed. I was wondering why this is. I cannot seem to locate any specific information on the Netgear site regarding this. Everything works fine, so I assume it is not a serious problem. Probably just because the router makes a request for the netbios name of computers. If you don't run samba on your freebsd box, it gets no answer, so no there is no serious problem about that. -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Device Name Netgear Router
Ugo Bellavance wrote: Gerard Seibert wrote: I have a Netgear Cable/DSL Router - RP614v3 that connects two WinXP machines with two FreeBSD 5.4 machines to each other. The router is connected to a Cable Modem, but I do not think that is relevant to this question. On the router's configuration screen, under maintenance is a Attached Devices menu item. This will list all four machines connected to the router with their respective MAC addresses. However, only the WinXP machines have their 'Device Name' listed. I was wondering why this is. I cannot seem to locate any specific information on the Netgear site regarding this. Everything works fine, so I assume it is not a serious problem. Probably just because the router makes a request for the netbios name of computers. If you don't run samba on your freebsd box, it gets no answer, so no there is no serious problem about that. I have that latest version of Samba installed on both FreeBSD boxes. The network works fine. Samba seems to be working correctly. It probably has something to do with the way the router quarries for the BIOS name, but that is just a guess. -- Gerard Seibert [EMAIL PROTECTED] PGP: http://www.seibercom.net/sig/gerard.asc pgpKwVtcGQH4d.pgp Description: PGP signature
Re: Device Name Netgear Router
Gerard Seibert on 2006-02-12 15:59:33 -0500: On the router's configuration screen, under maintenance is a Attached Devices menu item. This will list all four machines connected to the router with their respective MAC addresses. However, only the WinXP machines have their 'Device Name' listed. I was wondering why this is. I cannot seem to locate any specific information on the Netgear site regarding this. Everything works fine, so I assume it is not a serious problem. DHCP clients may send names along with requests; Windows computers send whatever name you've configured in the sharing or whatever section, and this is what you see. If you want your router to show a name for the FreeBSD host, put a line that reads 'send host-name foo;' in /etc/dhclient.conf on that host. pgpbyeMFO8oma.pgp Description: PGP signature
Re: Device Name Netgear Router
Alec Berryman wrote: Gerard Seibert on 2006-02-12 15:59:33 -0500: On the router's configuration screen, under maintenance is a Attached Devices menu item. This will list all four machines connected to the router with their respective MAC addresses. However, only the WinXP machines have their 'Device Name' listed. I was wondering why this is. I cannot seem to locate any specific information on the Netgear site regarding this. Everything works fine, so I assume it is not a serious problem. DHCP clients may send names along with requests; Windows computers send whatever name you've configured in the sharing or whatever section, and this is what you see. If you want your router to show a name for the FreeBSD host, put a line that reads 'send host-name foo;' in /etc/dhclient.conf on that host. Cool, I thought it was Netbios based. I learned something :). -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4-stable amd64 disk problem
hi list, we have an amd64 machine on freebsd 5.4-stable (sync'ed + compiled today) with a 3ware 9500-8S card. The 3ware card is handling a 1.1TB RAID5 volume (4x 400gb SATA). Recently, we rebooted the box to do some upgrades; now there are several problems: 1) everytime we try to mount the 1.1TB partition, the machine reboots without any messages. 2) when we run fsck on it, this is what we get: box# fsck /dev/da0s1a ** /dev/da0s1a CANNOT READ BLK: 2343322528 CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 2343322528, 2343322529, 2343322530, 2343322531, LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y 32 is not a file system superblock CANNOT READ BLK: 458302416 CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 458302416, 458302417, 458302418, 458302419, 458302420, 458302421, 458302422, 458302423, 458302424, 458302425, 458302426, 458302427, 458302428, 458302429, 458302430, 458302431, CANNOT READ BLK: 916604800 CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 916604800, 916604801, 916604802, 916604803, 916604804, 916604805, 916604806, 916604807, 916604808, 916604809, 916604810, 916604811, 916604812, 916604813, 916604814, 916604815, CANNOT READ BLK: 1374907184 CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 1374907184, 1374907185, 1374907186, 1374907187, 1374907188, 1374907189, 1374907190, 1374907191, 1374907192, 1374907193, 1374907194, 1374907195, 1374907196, 1374907197, 1374907198, 1374907199, CANNOT READ BLK: 1833209568 CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 1833209568, 1833209569, 1833209570, 1833209571, 1833209572, 1833209573, 1833209574, 1833209575, 1833209576, 1833209577, 1833209578, 1833209579, 1833209580, 1833209581, 1833209582, 1833209583, CANNOT SEEK BLK: -2003455344 CONTINUE? [yn] y CANNOT READ BLK: -2003455344 CONTINUE? [yn] y CANNOT SEEK BLK: -2003455344 CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: -2003455344, -2003455343, -2003455342, -2003455341, -2003455340, -2003455339, -2003455338, -2003455337, -2003455336, -2003455335, -2003455334, -2003455333, -2003455332, -2003455331, -2003455330, -2003455329, SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). - How do we fix this? Why are there NEGATIVE disk sectors? The box freezes every time when we mount with with `mount -f /dev/da0s1a /mnt` thank you. -- this is the dmesg output.. -- 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.5-PRERELEASE #0: Sun Feb 12 21:50:34 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CRAP ACPI APIC Table: Nvidia AWRDACPI Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3200+ (2210.77-MHz K8-class CPU) Origin = AuthenticAMD Id = 0xfc0 Stepping = 0 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=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow real memory = 268369920 (255 MB) avail memory = 247742464 (236 MB) ioapic0 Version 1.1 irqs 0-23 on motherboard acpi0: Nvidia AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf0-0xcf3,0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) ohci0: OHCI (generic) USB controller mem 0xfc003000-0xfc003fff irq 22 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: OHCI (generic) USB controller mem 0xfc004000-0xfc004fff irq 21 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: OHCI (generic) USB controller on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered pci0: serial bus, USB at device 2.2 (no driver attached) pci0: bridge at device 5.0 (no driver attached) pci0: multimedia, audio at device 6.0 (no driver attached) atapci0: nVidia nForce3 Pro UDMA133 controller port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: GENERIC ATA controller port 0xdc00-0xdc0f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 20 at device 10.0 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 pcib1: ACPI PCI-PCI bridge at device 11.0 on pci0 pci1: ACPI PCI bus on
Memory leak?
After running some number crunching for the last twelve hours I noticed my box starting to use swap. Given that it has 4gb in it (of which 3gb is available, see my other email for that issue) and I know that the app never uses more than around 1gb I was surprised. Looking at the numbers from top I was even more surprised, there seems to be a significant chunk of memory unaccounted for (from memory when I checked after a couple of hours the inactive memory was around 1300M with Free in the 400M range, everything basically totalling to around the 3gb mark as expected). The app is driven by a script and is only running for around 1/2 hr per dataset after which it shuts down and restarts on a new dataset, so all memory should be freed up/made inactive after each restart, no? Mem: 274M Active, 227M Inact, 263M Wired, 95M Cache, 214M Buf, 4536K Free Swap: 4068M Total, 707M Used, 3361M Free, 17% Inuse real memory = 3221159936 (3071 MB) avail memory = 3106529280 (2962 MB) What's the best way to track down more information as to the cause of this problem? Thanks Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Memory leak?
Robert Leftwich wrote: [ ... ] Mem: 274M Active, 227M Inact, 263M Wired, 95M Cache, 214M Buf, 4536K Free Swap: 4068M Total, 707M Used, 3361M Free, 17% Inuse real memory = 3221159936 (3071 MB) avail memory = 3106529280 (2962 MB) What's the best way to track down more information as to the cause of this problem? Try top -o size... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
I don't really understand what it is you're looking for, but the source code for *all* the FreeBSD `programs' is available at: http://cvsweb.freebsd.org/ It's also available through FTP, CVS, CVSup and is distributed as part of the official release CD-ROMs. You can look for yourself, any time :) Is there a find command [that takes patterns] so if I know the name (or part of the name) of a program of interest, I can find out the directory path to it so I can find it easily. Also, where do I look for the basic sector i/o programs (the ones that underly the file-system, they are eventually called just before the hardware does the i/o] and what are their names? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
In the last episode (Feb 13), [EMAIL PROTECTED] said: I don't really understand what it is you're looking for, but the source code for *all* the FreeBSD `programs' is available at: http://cvsweb.freebsd.org/ It's also available through FTP, CVS, CVSup and is distributed as part of the official release CD-ROMs. You can look for yourself, any time :) Is there a find command [that takes patterns] so if I know the name (or part of the name) of a program of interest, I can find out the directory path to it so I can find it easily. Also, where do I look for the basic sector i/o programs (the ones that underly the file-system, they are eventually called just before the hardware does the i/o] and what are their names? In usderland, they're called open, lseek, read, and write. Just open the raw disk device and treat it like a regular file, and remember you need to access it in 512-byte chunks. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Flash Plugin for Firefox
What do I use for a flash plugin for Firefox? The auto plugin installer do-dad choked (I guess it was expecting linux) Thanks Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]