Re: MailScanner
Richard have a look on the email list archives for the nice rc script. Thats the MailScanner list not here... Also try asking the same question on the MailScanner list... -- Martin On 8/24/06, rithy4u- CEO [EMAIL PROTECTED] wrote: Not yet. I want both of them to start automaticly at boot time, how? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 9:24 AM Subject: Re: MailScanner i think derek ragonas reply touches on that.. im having trouble getting both the mta and sendmail started automatcially, and was hoping you have had better luck. so your saying you can get them to start unattended? jonathan On Wednesday 23 August 2006 21:02, you wrote: Friend, Sure that I use sendmail as my MTA. in rc.conf I try to put all start up files of mailscanner before sendmail but after boot its still not successfull load sendmail with mailscanner untill I stop sendmail and then I stop mailscanner and start it again. after I start mailscanner my sendmail is automaticly started. but I wonder why its not work at boot time? Now I have use my MTA to relay mail for some domain but I am unable to delete spam email using mailscanner. Because mailscanner just lable spamed email and change its subject to spam? any configuration needed to delete all spamed email without receive it? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 8:32 AM Subject: Re: MailScanner richard, ive been trying to successfully configure mailscanner/sendmail/spamassassin, and i was wondering, which MTA do you use with yours? if sendmail, would you be able to share with me what all entries in /etc/rc.conf you have for all your mail stuff? i am not able to understand what the mailscanner docs are asking for. cheers, jonathan On Wednesday 23 August 2006 19:57, you wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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]
Shibboleth installation
Hi! I would like to install a shibboleth service provider on my freebsd 6.1. Unfortunately it seems that there is no ports available (*.tbz) and the compilation is a hard ... :( I'd like to know if someone has already installed such a shibboleth (with opensaml). My problem is my C compiler refuses to compile :( When I try to compile a program, it says (./configure) Cannot run C compiled programs. If somebody has an idea, please! Velotiaray. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Increasing socket send buffer size
On Tue, Aug 22, 2006 at 11:20:16AM -0700, Chuck Swiger wrote: On Aug 21, 2006, at 8:50 PM, Brett Glass wrote: I'm working with a system in which a program is failing because it sometimes tries to write more data to a stream socket than will fit. It reports that it can't write to the socket because it's out of buffer space, then dies ungracefully. What's the best solution to this problem? Have the code wait a few milliseconds to tens of milliseconds and retry the write()? Or switch to non-blocking mode and pay attention to the return value from write, and retry as needed if and when write () doesn't actually send out all of the bytes your request wanted it Use select() on socket, and write when it is ready ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help me please
On Tue, Aug 22, 2006 at 10:12:57AM +0300, Vitaliy Best wrote: Where I can to find russian manual of FreeBSD 6.1 on this server? http://www.freebsd.org/doc/ru/books/handbook/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
You can set the action to any of the following: deliver delete store bounce forward [EMAIL PROTECTED] striphtml attachment notify delete is probably best at least for the high scoring spam. -Derek At 09:08 PM 8/23/2006, Malcolm Fitzgerald wrote: At 07:57 PM 8/23/2006, rithy4u- CEO wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? On 24/08/2006, at 11:31 AM, Derek Ragona wrote: Edit the MailScanner.conf file and set at least high scoring SPAM to bounce. To bounce? That generates more traffic and we've figured out that it's SPAM. Can't we send it to /dev/null or similar? malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
Depends on what MTA you are using. On my servers I use sendmail as the MTA. In /etc/rc.conf I have these variables set: mta_type=sendmail mailscanner_enable=YES I only need MailScanner started at boot from the script in /usr/local/etc/rc.d/ in addition to starting Sendmail. If you are using a different mta, you may need some variables set in the mta startup script also in /usr/local/etc/rc.d/ -Derek At 09:53 PM 8/23/2006, rithy4u- CEO wrote: Not yet. I want both of them to start automaticly at boot time, how? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 9:24 AM Subject: Re: MailScanner i think derek ragonas reply touches on that.. im having trouble getting both the mta and sendmail started automatcially, and was hoping you have had better luck. so your saying you can get them to start unattended? jonathan On Wednesday 23 August 2006 21:02, you wrote: Friend, Sure that I use sendmail as my MTA. in rc.conf I try to put all start up files of mailscanner before sendmail but after boot its still not successfull load sendmail with mailscanner untill I stop sendmail and then I stop mailscanner and start it again. after I start mailscanner my sendmail is automaticly started. but I wonder why its not work at boot time? Now I have use my MTA to relay mail for some domain but I am unable to delete spam email using mailscanner. Because mailscanner just lable spamed email and change its subject to spam? any configuration needed to delete all spamed email without receive it? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 8:32 AM Subject: Re: MailScanner richard, ive been trying to successfully configure mailscanner/sendmail/spamassassin, and i was wondering, which MTA do you use with yours? if sendmail, would you be able to share with me what all entries in /etc/rc.conf you have for all your mail stuff? i am not able to understand what the mailscanner docs are asking for. cheers, jonathan On Wednesday 23 August 2006 19:57, you wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd problem
yusof khalid [EMAIL PROTECTED] wrote: hi Lowell, sorry for the misinformation about the problem. Actually i'm using the sysinstall option.After I finish make the partition for my hdd using the fdisk option, and after selecting the package(i select all with the Xwindow) and the ports and ready to install the error occour. Did you do both the fdisk and the label steps? You'd be best off following one of the guided install options, such as standard or express, as those will ensure you don't miss any steps. Also, have you read the handbook section on installation? Is FreeBSD sensitive with bad sector ? Yes. But I suspect that isn't your problem. And please don't top-post. before this i have install many other linux distro and it seems go well.. Thanks in advanced On 8/24/06, Lowell Gilbert [EMAIL PROTECTED] wrote: yusof khalid [EMAIL PROTECTED] writes: i got some problem when i want to install the FreeBSD 6.1 on my hard disk. This error occour while i'm finish configuring the disk, the error state that Cannot create new root file system , command return status 36 i have try to reconfigure the disk but the same error occour. For your information i'm using maxtor 20gig , pentium 4 1.8 Please be more specific. When you say configuring the disk, what screen are you looking at? What do you do immediately before the error is printed? -- Bill Moran MAL: Hell, this job I would pull for free. ZOE: Can I have your share? MAL: No. ZOE: If you die, can I have your share? MAL: Yes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Code beautifiers, anyone?
Hello people, I'm looking for the best ways to create a line of code beautification (reformatting) scripts -- one for C, one for Ruby, one for Bash and one for web development languages like XHTML, XML, CSS, PHP and Ajax. Whether as frontline warriors or household maids, they would ensure proper indentation, linebreaks, spaces, tabs and so forth. Can anybody help me? My studies of architectural science has taught me to pay extreme care to the correction of details, and I now wish to apply these teachings to all my code. I find myself always reformatting whatever my associates give me. Not that they're bad programmers, they just care more about the code itself rather than its structure, and I dare not argue with that. When their code is messy, however, my heart feels messy and I can't get any sleep. I wish to be in full control of my code beautifiers. That is, I wish to have them as simple and meaningful as possible. Give me an easy Bash over a complex Ruby any day. There's a lot of messed up tools out there. Companies with flashy websites just doing this for the money. So apart from the bullshit, I've managed to spot out the Ruby Beautifier and GNU Indent as two worthy code beautifiers. However I get the feeling they are more complex than they ought to be, and if less is more, my search will have to continue. All the best, Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: e-mail from cron
Hi All, Thanks for all of your help. Creating /etc/periodic.conf with the appropriate data did the trick. I appreciate it. Lisa Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Code beautifiers, anyone?
On 8/24/06, Kyrre Nygård [EMAIL PROTECTED] wrote: I'm looking for the best ways to create a line of code beautification (reformatting) scripts -- one for C, one for Ruby, one for Bash and one for web development languages like XHTML, XML, CSS, PHP and Ajax. Whether as frontline warriors or household maids, they would ensure proper indentation, linebreaks, spaces, tabs and so forth. . . . I wish to be in full control of my code beautifiers. That is, I wish to have them as simple and meaningful as possible. Give me an easy Bash over a complex Ruby any day. Well, my suggestion to anyone asking this question is that the best thing IMHO is to learn some scripting language with good regular expression support. For example Tcl, Python or Perl. I have to deal with all sorts of source code and I have noticed that - for me - the easiest path is to first study the source code and then create a simple script to beautify the code. It takes less time than trying to find some suitable tool, which may not even product exactly the style I want. -Matti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Code beautifiers, anyone?
For C code I use indent http://mysite.wanadoo-members.co.uk/indent/beautify.html -Derek At 07:58 AM 8/24/2006, Kyrre Nygård wrote: Hello people, I'm looking for the best ways to create a line of code beautification (reformatting) scripts -- one for C, one for Ruby, one for Bash and one for web development languages like XHTML, XML, CSS, PHP and Ajax. Whether as frontline warriors or household maids, they would ensure proper indentation, linebreaks, spaces, tabs and so forth. Can anybody help me? My studies of architectural science has taught me to pay extreme care to the correction of details, and I now wish to apply these teachings to all my code. I find myself always reformatting whatever my associates give me. Not that they're bad programmers, they just care more about the code itself rather than its structure, and I dare not argue with that. When their code is messy, however, my heart feels messy and I can't get any sleep. I wish to be in full control of my code beautifiers. That is, I wish to have them as simple and meaningful as possible. Give me an easy Bash over a complex Ruby any day. There's a lot of messed up tools out there. Companies with flashy websites just doing this for the money. So apart from the bullshit, I've managed to spot out the Ruby Beautifier and GNU Indent as two worthy code beautifiers. However I get the feeling they are more complex than they ought to be, and if less is more, my search will have to continue. All the best, Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade
Hi Im running a portupgrade -a and it seems to have gotten stuck dowloading the open office source. Is it ok to cancel portupgrade and restart it? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade
Yes, it's OK :) But may I suggest you to use this, when upgrading ports: cd /usr/ports make fetchindex /usr/local/sbin/portsdb -u /usr/local/sbin/pkgdb -Fv /usr/local/sbin/portupgrade -v -i -a -r -c -C Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD eoghan [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 24.08.2006 17:00 To freebsd freebsd-questions@freebsd.org cc Subject portupgrade Hi Im running a portupgrade -a and it seems to have gotten stuck dowloading the open office source. Is it ok to cancel portupgrade and restart it? Thanks Eoghan ___ 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: portupgrade
On 24 Aug 2006, at 15:06, Ivailo Tanusheff wrote: Yes, it's OK :) But may I suggest you to use this, when upgrading ports: cd /usr/ports make fetchindex /usr/local/sbin/portsdb -u /usr/local/sbin/pkgdb -Fv /usr/local/sbin/portupgrade -v -i -a -r -c -C Great, Thanks for that. Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low Priority Apps
On 24/08/2006 07:17, Dave Raven wrote: Hi all, Hi Dave, I have a FreeBSD 4.x box running an app that uses 30-50% of the processor. Periodically (through cron) we run a perl app that processes log files and inserts the entries to sql. This perl + mysql combination is causing problems for our app and I'd like to run them at a low priority. What nice value should I give them - should I lower the value of just the perl, or both, or make the high priority app's value higher? I'd say make both perl and mysql processes 'nicer', say, both to value of 10 (YMMV, you may want to experiment with it). From your post I'm not sure if you're aware - the lower the value of 'nice' the higher priority the process has. Check getpriority(2) for the details. On the side note, I'm doing it all the time - I can watch tv (with some filters it takes about 20% CPU) perfectly fine while building world with nice =20. Thanks Dave HTH, Karol -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc signature.asc Description: OpenPGP digital signature
Re: Code beautifiers, anyone?
On Thu, Aug 24, 2006 at 02:58:38PM +0200, Kyrre Nyg?rd wrote: Hello people, I'm looking for the best ways to create a line of code beautification (reformatting) scripts -- one for C, one for Ruby, one for Bash and one for web development languages like XHTML, XML, CSS, PHP and Ajax. Whether as frontline warriors or household maids, they would ensure proper indentation, linebreaks, spaces, tabs and so forth. Can anybody help me? For C I use /usr/ports/devel/gindent/ with the following ~/.indent.pro // My favorite GNU Indent style. // dmk 9/2/2005 -br -cdw -ce -ncs -npcs -prs -nsaf -nsai -nsaw -ss -i4 -ts4 -nut -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade
eoghan wrote: On 24 Aug 2006, at 15:06, Ivailo Tanusheff wrote: Yes, it's OK :) But may I suggest you to use this, when upgrading ports: cd /usr/ports make fetchindex /usr/local/sbin/portsdb -u /usr/local/sbin/pkgdb -Fv /usr/local/sbin/portupgrade -v -i -a -r -c -C Great, Thanks for that. Eoghan Or, you could just run: portsnap fetch update# assumes you have run it before portsnap fetch portsnap extract portsnap update # if you haven't portmanager -u -l It will save you time and trouble. It also assumes you have 'portmanager' installed. Portsnap is part of the base system. -- Gerard Seibert [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where is mfsroot.flp ?
Hi all. I just wonder where mfsroot.flp is going now. It seems it has been replaced by boot.flp and kernX.flp. why? What I really want is to get a mfsroot to embed into a FreeBSD kernel, since kernel has option MD_ROOT to support this. I have found mfsroot.gz in boot/, but after uncompressing, it turns out to be as big as 4.2MB, which is too big for me. :-( Does anyone knows how to create a custom mfsroot, say which files do I need to put in to it, to make it not larger than 4MB? Any idea would be greatly appreciated. :-) -- Best Regards Yuan, Jue @ http://www.yuanjue.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shibboleth installation
--On Thursday, August 24, 2006 10:59:19 +0200 Velotiaray [EMAIL PROTECTED] wrote: Hi! I would like to install a shibboleth service provider on my freebsd 6.1. Unfortunately it seems that there is no ports available (*.tbz) and the compilation is a hard ... :( I'd like to know if someone has already installed such a shibboleth (with opensaml). My problem is my C compiler refuses to compile :( When I try to compile a program, it says (./configure) Cannot run C compiled programs. Is this what you are referring to? http://shibboleth.internet2.edu/ Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
RE: portupgrade
But may I suggest you to use this, when upgrading ports: cd /usr/ports make fetchindex /usr/local/sbin/portsdb -u /usr/local/sbin/pkgdb -Fv /usr/local/sbin/portupgrade -v -i -a -r -c -C Great, Thanks for that. Eoghan Or, you could just run: portsnap fetch update# assumes you have run it before portsnap fetch portsnap extract portsnap update # if you haven't portmanager -u -l It will save you time and trouble. It also assumes you have 'portmanager' installed. Portsnap is part of the base system. I'm newbie in Freebsd and initially I have use cvsup and portupgrade. I haven't clear what is the difference to use portupgrade, portsnap, portmanager, and other ones? Could you recommend us one of them? Johnny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is mfsroot.flp ?
Yuan, Jue wrote: Hi all. I just wonder where mfsroot.flp is going now. It seems it has been replaced by boot.flp and kernX.flp. why? What I really want is to get a mfsroot to embed into a FreeBSD kernel, since kernel has option MD_ROOT to support this. I have found mfsroot.gz in boot/, but after uncompressing, it turns out to be as big as 4.2MB, which is too big for me. :-( Does anyone knows how to create a custom mfsroot, say which files do I need to put in to it, to make it not larger than 4MB? Any idea would be greatly appreciated. :-) The mfsroot.flp has been replaced in favour of kernX.flp. It was sometime when the mfsroot grew bigger that the 1.44KiB-limit. What someone did was making the kernel splitable over multiple floppies, and still bootable, iirc. Why do you need a mfsroot instead of an ordinary /? Are you planing on making a live cd? Just out of curiosity. Regards! //Niclas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fdisk: ERROR: failed to adjust; setting sysid to 0
Hi, I was wondering what is the proper procedure for using fdisk to setup slices on large disks/arrays? I seem to be getting an ERROR when fdisk tries to adjust the partition to start on a head boundary and end on a cylinder boundary. Should I ignore the warning re: partition does not end on a cylinder boundary and write the partition table? Or should I attempt to set all the correct numbers by hand, since the automatic correction fails? I've attached the warnings and errors I saw on fdisk. --mark fileserver1# fdisk -u *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=364716 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=364716 heads=255 sectors/track=63 (16065 blks/cyl) Do you want to change our idea of what BIOS thinks ? [n] Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 1564195181 (763767 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 165/ sector 59 Do you want to change it? [n] The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1564195248, size 2147478417 (1048573 Meg), flag 0 beg: cyl 86/ head 166/ sector 1; end: cyl 640/ head 254/ sector 63 Do you want to change it? [n] The data for partition 3 is: UNUSED Do you want to change it? [n] yes Supply a decimal value for sysid (165=FreeBSD) [0] 165 Supply a decimal value for start [0] 3711673665 Supply a decimal value for size [0] 2147490495 fdisk: WARNING: partition does not end on a cylinder boundary fdisk: WARNING: this may confuse the BIOS or some operating systems Correct this automatically? [n] y fdisk: ERROR: could not adjust partition to start on a head boundary and end on a cylinder boundary. fdisk: ERROR: failed to adjust; setting sysid to 0 Explicitly specify beg/end address ? [n] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail and Proper Authentication
On Aug 23, 2006, at 8:50 PM, Nicholas Ink wrote: The first problem I experienced was that there a host name lookup failure for gmail.com, which I have subsequently corrected by adding the line: gmail.com smtp:[smtp.gmail.com] to /etc/mail/mailertable. This is wrong; you should be using an IP address inside the domain- literal form (square brackets). You should try to fix whatever the problem with your DNS is, instead. dig -t mx gmail.com should return valid results However, there is still a problem, when I try to send an e-mail, /var/log/maillog says: Aug 23 23:18:08 arches sm-mta[1049]: k7O3I7K2001049: from=[EMAIL PROTECTED], size=397, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=IPv6, relay=localhost [IPv6:::1] Aug 23 23:18:16 arches sm-mta[1051]: STARTTLS=client, relay=gmail-smtp.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DES-CBC3-SHA, bits=168/168 Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1007/0), delay=00:00:08, xdelay=00:00:08, mailer=smtp, pri=30397, relay=gmail-smtp.l.google.com. [66.249.83.111], dsn=5.0.0, stat=Service unavailable Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049: k7O3IGK2001051: DSN: Service unavailable where arches is my host name. I can't understand why it continues to say Service unavailable when I know Gmail is not experiencing any downtime or anything else. Is this some sort of spam filter? Yes, on their side. gmail.com isn't going to relay random email without you authenticating first, probably; look into configuring SMTP AUTH on your side, or talk with [EMAIL PROTECTED] about what their requirements are to permit you to relay via their mail servers. However, normally people configure their machines to relay email via the SMTP server(s) which your ISP provides, as they are generally configured to trust their client networks without requiring SMTP AUTH and thus are easier to use... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Code beautifiers, anyone?
At 15:18 24.08.2006, Matti J. Karki wrote: Well, my suggestion to anyone asking this question is that the best thing IMHO is to learn some scripting language with good regular expression support. For example Tcl, Python or Perl. I have to deal with all sorts of source code and I have noticed that - for me - the easiest path is to first study the source code and then create a simple script to beautify the code. It takes less time than trying to find some suitable tool, which may not even product exactly the style I want. Very well said man, this is indeed my goal too! Perhaps you could share with us whatever scripts you've written? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
installing 6.1 on Compaq Proliant 5000
Good morning dear FreeBSD enthusiasts. I am attempting to install FreeBSD 6.1 on a Compaq Proliant 5000. The computer is equipped with four Pentium Pro processors clocked at 200 mhz and with a Smart 2/P hardware-RAID array. The BIOS indicates that the first two processors have failed. They are actually okay, but there is something wrong with their socket on the motherboard. The following sequence is being quoted from human memory. I ran SmartStart with the request to install S.C.O. OpenUnix. Of the operating systems supported by SmartStart, this one sounded the most similar to FreeBSD. Then I rebooted with the CD containing FreeBSD 6.1 in the SCSI CD-ROM reader. To my surprise, the computer booted off of the CD-ROM. Initially, the screen displayed in black-and-white. When a list box appeared, I entered the request for a command prompt. The monitor immediately displayed a command prompt. I entered the following commands: load ida load sym set Hint.acpi.0.disabled=1 set Hw.physmem=1048576K boot The fourth command was entered because the boot program does not correctly interpret the memory size from the information transferred to it from the BIOS. Then a lengthy list of device drivers either installed, or failed-to-install, scrolled down the face of the monitor, still in black-and-white. Then the screen displayed a blue background, and a colored message appeared saying probing for devices. Then it displayed a message to choose a country code. The display delayed response to keyboard entries by two minutes or more for each keystroke. I selected United States. Several minutes later, the list box disappeared, and screen became blank blue. One-half hour later, another list box displayed which gave the user choices of the type of install desired. There was absolutely no response on the screen to any keyboard entry. What am I doing wrong? Any and all suggestions will be appreciated. Yours truly, Lee ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade
Johnny Choque wrote: portmanager -u -l It will save you time and trouble. It also assumes you have 'portmanager' installed. Portsnap is part of the base system. I'm newbie in Freebsd and initially I have use cvsup and portupgrade. I haven't clear what is the difference to use portupgrade, portsnap, portmanager, and other ones? Could you recommend us one of them? Johnny portsnap and portmaster are the best 2 IMO. both work and work well without a lot of extra stuff to install like ruby, etc. and are updated often ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade
Johnny Choque wrote: I'm newbie in Freebsd and initially I have use cvsup and portupgrade. I haven't clear what is the difference to use portupgrade, portsnap, portmanager, and other ones? Could you recommend us one of them? Actually, it tends to be a matter of personal preference. I prefer portsnap to cvsup for updating the ports system. After the initial run of the program it runs, IMHO, faster and is more secure. In addition, you do not have to build an index after it finishes. Portmanager and portupgrade both strive to accomplish, to a degree, somewhat similar goals. There are things that portupgrade can do that portmanager cannot. However, again IMHO, for keeping your system up-to-date, I find portmanager to be somewhat more suitable. Try them all. Find out what you like best. The only cravat is if you use cvsup, which you have and then run portsnap, if you again run cvsup you will have to start from scratch with postsnap again. Not the worst thing in the world though. -- Gerard Seibert [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
test
testing newserver: news.myown.framed.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which version of Flash to use
FreeBSD 6.1 STABLE Using 'Firefox 1.5.0.6,1' is there any version of flash that I can install that will work with it. I cannot seem to get anyone of them to work with it when running from with KDE. It makes it rather difficult to watch any video's on Google or the other streaming video services. -- Gerard Seibert [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: Code beautifiers, anyone?
On 8/24/06, Kyrre Nygård [EMAIL PROTECTED] wrote: Perhaps you could share with us whatever scripts you've written? Thanks! Well, my scripts aren't magic. They are pretty simple. Here's few (not scripts, these are valid Vim regexps): :%s/).*\n.*{/) {/g :%s/) *{/) {/g :%s/\t//g :%s/^ *$//g :%s/ *$//g 1) Move curly brackets from the next line to the end of an expression. 2) Clean up some crazy bracket placements. 3) Remove tab characters and replace them with 4 spaces. This may mess some multiline comments. 4) Clean all lines, which contain only spaces. 5) Almost same as above. Cleans up spaces at the end of the line. If you run those one after another, the C source file should be much nicer to read and manipulate. The idea should be quite clear and the same regexp rules should be possible to be applied to other regexp-savvy programs/interpreters, so it should be no problem to create a set of scripts, which use those rules to modify a set of files at one run. Some of those regexps are applicable (with minor modifications) to other target languages also. -Matti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fdisk: ERROR: failed to adjust; setting sysid to 0
--- mark burdett [EMAIL PROTECTED] wrote: Hi, I was wondering what is the proper procedure for using fdisk to setup slices on large disks/arrays? I seem to be getting an ERROR when fdisk tries to adjust the partition to start on a head boundary and end on a cylinder boundary. Should I ignore the warning re: partition does not end on a cylinder boundary and write the partition table? Or should I attempt to set all the correct numbers by hand, since the automatic correction fails? I've attached the warnings and errors I saw on fdisk. --mark fileserver1# fdisk -u *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=364716 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=364716 heads=255 sectors/track=63 (16065 blks/cyl) Do you want to change our idea of what BIOS thinks ? [n] Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 1564195181 (763767 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 165/ sector 59 Do you want to change it? [n] The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1564195248, size 2147478417 (1048573 Meg), flag 0 beg: cyl 86/ head 166/ sector 1; end: cyl 640/ head 254/ sector 63 Do you want to change it? [n] The data for partition 3 is: UNUSED Do you want to change it? [n] yes Supply a decimal value for sysid (165=FreeBSD) [0] 165 Supply a decimal value for start [0] 3711673665 Supply a decimal value for size [0] 2147490495 fdisk: WARNING: partition does not end on a cylinder boundary fdisk: WARNING: this may confuse the BIOS or some operating systems Correct this automatically? [n] y fdisk: ERROR: could not adjust partition to start on a head boundary and end on a cylinder boundary. fdisk: ERROR: failed to adjust; setting sysid to 0 Explicitly specify beg/end address ? [n] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] As long as your not using DOS/Winblows/OS-2 you shouldn't have problems. Microsft/PC os's have the requirement that partition boundarys end on and begin on cylinder boundaries. The main thing is the BIOS, some of them will accept it some won't as they are setup to use DOS, et al. And I belive it would only mess up booting the system. This can be hit or miss so I would try it. If they aren't boot drives, and newfs completes sucessfully on the partitions then all should be ok. Any particular reason you are partitioning multiple partitions for FreeBSD? this should only be done if your planning on having multiple versions of FreeBSD/OpenBSD/NetBSD going. bsdlabel is where you slice the drive into different pieces for your filesystems. I have a scsi setup that I used a dangerously dedicated mode whose scsi bios says the partition table is corrupt, low level format required on one or more drives but FreeBSD don't care and boots up fine. These aren't the boot drives, but if BSD is only warning you then it won't care in the end. It just likes to try and play nice with other OSs unlike the other OSs. -brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fdisk: ERROR: failed to adjust; setting sysid to 0
should be ok. Any particular reason you are partitioning multiple partitions for FreeBSD? this For some reason, when we ordered the server w/ freebsd pre-installed, the vendor created a slice which was less than half the size of the full raid array (2TB). Perhaps because sysinstall was having trouble with a slice larger than 2TB? This page -- http://www.freebsd.org/projects/bigdisk/ -- may be out of date, but it reports: sysinstall Not doneA full audit is needed. Reports exist of problems with 1TB partitions. --mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftpd.conf chroot not working
I'm having problems getting the /etc/ftpd.conf chroot command to work. However, if I append a directory after the username in /etc/ftpchroot that does work. It seems like ftpd.conf isn't even getting used. The reason I want to use ftpd.conf is it supposidly allows the use of escape strings such as %u for username. The machine is running 6.0-RELEASE. (doesn't work) ftpd.conf: chroot all /usr/local/www/apache22/data/%u ftpchroot: @client (does work) ftpd.conf: #empty ftpchroot: @client /usr/local/www/apache22/data/usersite James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP question
Walt Pawley writes: I need to monitor and record that IP address and initiate a series of processes if/when the IP address changes. You could schedule a script that uses 'curl' or 'fetch' to acquire the status page from the router and parse the upstream IP address from it and compare it with a saved address. How about: netstat -rn -f inet | grep default | awk '{print $2}' Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP question
At 4:20 AM -0700 8/23/06, Vizion wrote: My home network is connected by my Linksys Broadband Router model RT31P2 to an upstream Cable company supplied Motorola SB5100 cable modem. A single IP address is allocated via DHCP to the Linksys to which my private network is attached. The IP address is rarely changed. I need to monitor and record that IP address and initiate a series of processes if/when the IP address changes. Suggestions please... and thanks in advance for any replies David, You could schedule a script that uses 'curl' or 'fetch' to acquire the status page from the router and parse the upstream IP address from it and compare it with a saved address. -- Walter M. Pawley [EMAIL PROTECTED] Wump Research Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fdisk: ERROR: failed to adjust; setting sysid to 0
--- mark burdett [EMAIL PROTECTED] wrote: should be ok. Any particular reason you are partitioning multiple partitions for FreeBSD? this For some reason, when we ordered the server w/ freebsd pre-installed, the vendor created a slice which was less than half the size of the full raid array (2TB). Perhaps because sysinstall was having trouble with a slice larger than 2TB? This page -- http://www.freebsd.org/projects/bigdisk/ -- may be out of date, but it reports: sysinstallNot doneA full audit is needed. Reports exist of problems with 1TB partitions. --mark wish I could say I had problems getting my system to see a full 2TB as one partition... informative link though, it sounds like when they implement what they want the only solution to upgrade is to pray. That or hope once the userland suite is update is complete; some kind of update, dump, use the new tools to prepare the drives, and restore. can't wait for that one. although I don't have the problem of having Terabytes to worry about yet... good luck -brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Code beautifiers, anyone?
On 8/24/06, Kyrre Nygård [EMAIL PROTECTED] wrote: Perhaps you could share with us whatever scripts you've written? Totally forgot to include the actual intendation script. There should be a Python script attached to this mail. Please note, that the script is not a silver bullet! It was designed to clean up some pretty messed up C code. Usually I study the coding style before creating this kind of clean-up-scripts. Also, the code is not very clean itself (pretty ironic, I guess) :) It's just a hack to take care of one step of the cleaning process. -Matti import sys import re import os INDENTSTR = f = open(sys.argv[1], r) inbuffer = f.read() f.close() outbuffer = indent = 0 indentnext = 0 inbuffer = re.sub('\n +', '\n', inbuffer) inbuffer = re.sub('\t+', '', inbuffer) inbuffer = re.sub('\) *?\n\{', ') {', inbuffer) inbuffer = re.sub('\) *?{', ') {', inbuffer) inbuffer = re.sub('else *?\n{', 'else {\n', inbuffer) inbuffer = re.sub('{ *?(.+?\n)', '{\n\g1', inbuffer) inbuffer = re.sub('(\n.+?)}', '\g1\n}', inbuffer) inbuffer = re.sub('\n +', '\n', inbuffer) for chr in inbuffer: if chr == {: indent += 1 outbuffer += { continue if chr == }: indent -= 1 outbuffer += indent * INDENTSTR + } indentnext = 0 continue if chr == \n: outbuffer += \n indentnext = 1 continue if indentnext == 1: outbuffer += indent * INDENTSTR + chr indentnext = 0 else: outbuffer += chr outfilename = sys.argv[1] oldfilename = outfilename + .bak os.rename(outfilename, oldfilename) f = open(outfilename, w) f.write(outbuffer) f.close() ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Too many Xorg modes
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]
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]
Re: Which version of Flash to use
On 8/24/06, Gerard Seibert [EMAIL PROTECTED] wrote: FreeBSD 6.1 STABLE Using 'Firefox 1.5.0.6,1' is there any version of flash that I can install that will work with it. I cannot seem to get anyone of them to work with it when running from with KDE. It makes it rather difficult to watch any video's on Google or the other streaming video services. From an little while back: http://tinyurl.com/gxzof It worked for me on 6.1 on Gnome, hopefully it'll work for you too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
Hi, I have been reading on FreeBSD 6.1 with a view of installing in our 10 user shop. The book is: FreeBSD 6 Unleashed, by Michael Urban and Brian Tiemann (SAMS). On Page 93: BSD VS SYS 5 RUN CONTROL , I quote There is no multiuser mode without network support (in FreeBSD 6.1) as there is in SYS V run levels. Is this correct? This would mean that I can not install FreeBSD in a small 10 user office without network support? I have work with all versions of unix (ATT, SCO, AIX, SUN) etc and they all have multiuser mode without network support. It should be possible to get an Intel processor and 10 dumm terminals, hook them up by wire and you'd be in business. This is true for the unix I mentioned above. Is it also true for ANY version of BSD (free or otherwise)? Thank you. Joe Markarian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSDstats Project: A quick reminder ...
Just a quick reminder to all those that have installed /usr/ports/sysutils/bsdstats ... pre-v3.0 clients no longer work, due to the changes that were made to the database ... please upgrade, and run, the new version available in ports ... Also, as another reminder, the first run of the script after upgrading will take ~15 minutes to run ... there is a 15 min sleep in the script that is enforced at the server end ... Right now, we are at ~40% of the hosts that we were before v3.0, and I'm still seeing database hits on the *old* database, indicating that ppl are still running the old client :( BTW, for those that haven't looked recently at http://www.bsdstats.org ... the US is, of course, leading the pack with ~20% of the installed FreeBSD servers (a whole 129 servers) ... Germany following a close second with ~15% ... And, Canada (my country) is woefully in 5th place with 4% ... come on folks, we need to get all of the numbers up ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP question
At 5:03 PM -0400 8/24/06, Robert Huff wrote: I need to monitor and record that IP address and initiate a series of processes if/when the IP address changes. You could schedule a script that uses 'curl' or 'fetch' to acquire the status page from the router and parse the upstream IP address from it and compare it with a saved address. How about: netstat -rn -f inet | grep default | awk '{print $2}' Wouldn't that just get his router's internal NAT address? -- Walter M. Pawley [EMAIL PROTECTED] Wump Research Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which version of Flash to use
On Thursday 24 August 2006 14:29, Gerard Seibert wrote: FreeBSD 6.1 STABLE Using 'Firefox 1.5.0.6,1' is there any version of flash that I can install that will work with it. I cannot seem to get anyone of them to work with it when running from with KDE. It makes it rather difficult to watch any video's on Google or the other streaming video services. Flash + native Firefox will mostly work with linuxpluginwrapper if you apply the rtld patch to your system and have the correct settings in /etc/libmap.conf. The details on how to do that have been well documented on this list and elsewhere (at least once by yours truly). However, Google video is one of a number of notable sites that do NOT work with the above. For these, the best approach seems to be to use Linux-firefox (with the linux flash plugin, of course). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Code beautifiers, anyone?
On Aug 24, 2006, at 5:00 PM, Matti J. Karki wrote: On 8/24/06, Kyrre Nygård [EMAIL PROTECTED] wrote: Perhaps you could share with us whatever scripts you've written? Totally forgot to include the actual intendation script. I'm just a bit confused about the fascination with scripts for cleaning up code. Is it the desire to clean up more than just C? For C, /usr/bin/indent does very well, GNU indent in /usr/ports/devel/gindent/ seems to have been updated more recently and is easier to find pre-compiled Windows binaries if necessary. I first ran across indent when it was mentioned to be a capable tool for unraveling deliberate obfuscation as found in entries in The International Obfuscated C Code Contest, http://www.ioccc.org/ -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NGE Network Driver Problem.
I'm having difficulty getting a new Linksys EG1032 gigabit network card to work on FreeBSD 5.5-STABLE. I get the following relevant messages on boot: skc0: Linksys EG1032 Gigabit Ethernet port 0xe800-0xe8ff mem 0xd8002000-0xd80020ff irq 11 at device 15.0 on pci0 skc0: failed: rid 0x10 is ioport, requested 3 sk0: couldn't map ports/memory device_attach: skc0 attach returned 6 For some background: - device miibus and device sk are compiled into the kernel. - I've looked at the man page sk(4), which doesn't provide any insight. - Google brings up a few hits on this problem, but no apparent solutions. Ideas? Thanks, -- Jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Code beautifiers, anyone?
On 8/25/06, David Kelly [EMAIL PROTECTED] wrote: On Aug 24, 2006, at 5:00 PM, Matti J. Karki wrote: On 8/24/06, Kyrre Nygård [EMAIL PROTECTED] wrote: Perhaps you could share with us whatever scripts you've written? Totally forgot to include the actual intendation script. I'm just a bit confused about the fascination with scripts for cleaning up code. Is it the desire to clean up more than just C? Yes. I know, that this is reinventing the wheel. Also, home-made scripts tend to be less reliable compared to dedicated tools. But I have to deal with C, C++, Java, Visual Basic and XML files and also some pretty obscure internal data files. With my own scripts I have total control over the style. I use scripting quite a lot to help me with my work and in addition to readability or style, I also use scripts for generating documentation and even to generate pieces of the final files from other data sources. So, in my case, I just have found out that instead of using bunch of ready-made tools and spending time tweaking the settings and learning to run them, I reach my goal faster and with desired results by doing things myself. -Matti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NGE Network Driver Problem.
Jeremy Karlson writes: I'm having difficulty getting a new Linksys EG1032 gigabit network card to work on FreeBSD 5.5-STABLE. I get the following relevant messages on boot: skc0: Linksys EG1032 Gigabit Ethernet port 0xe800-0xe8ff mem 0xd8002000-0xd80020ff irq 11 at device 15.0 on pci0 skc0: failed: rid 0x10 is ioport, requested 3 sk0: couldn't map ports/memory device_attach: skc0 attach returned 6 Depending on when you bought the card, the correct driver may be re(4), not skc. Check the output of pciconf -l -v; mine shows: [EMAIL PROTECTED]:12:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class= network subclass = ethernet Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Status of bigdisk support?
Is the page http://www.freebsd.org/projects/bigdisk/ up to date with regards to bigdisk support in FreeBSD? That page mentions issues with filesystems over 1TB, but I have several machines with 5.X and 6.X that can see and work fine with 1TB+ filesystems. Currently going to setup soon a machine with 2TB+ of storage and wanting to find out what limitations exist. Any problems with fsck with 2TB+ This will be a database machine so the number of inodes will be few and will likely do newfs -i 256MB (with the proper syntax to represent 256MB). Any benefits to even go to 512MB? The database in question will be postgresql and it creates files up to 2GB in size. So with 2TB will have at most a handfull of thousands of files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NGE Network Driver Problem.
On 24-Aug-06, at 21:04, Robert Huff wrote: Depending on when you bought the card, the correct driver may be re(4), not skc. Check the output of pciconf -l -v; mine shows: [EMAIL PROTECTED]:12:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class= network subclass = ethernet I bought the card two hours hours ago. :-P pciconf -l -v shows: [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor='Linksys' device='EG1032 Gigabit Ethernet' class=network subclass=ethernet Looks the same as yours. Looking at the physical card directly, I see Model No: EG1032 ver.3, and the chip says RTL8169S-32. Is yours the same too? The re driver is already compiled into the kernel as well. Maybe removing the sk driver would make a difference? -- Jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD-style init, networking mandatory? was: (no subject)
Joseph Markarian wrote: Hi, Hi Joseph, I have been reading on FreeBSD 6.1 with a view of installing in our 10 user shop. The book is: FreeBSD 6 Unleashed, by Michael Urban and Brian Tiemann (SAMS). On Page 93: BSD VS SYS 5 RUN CONTROL , I quote There is no multiuser mode without network support (in FreeBSD 6.1) as there is in SYS V run levels. Is this correct? This would mean that I can not install FreeBSD in a small 10 user office without network support? What the book means is that FreeBSD just does not distinguish various runlevels like SysV does. There is only singleuser and multiuser with BSD-stlye init, while SysV init has more (Singleuser, Multiuser with no networking, Multiuser with Networking, X...). Of course it's possible to run FreeBSD non-networked. :-) I have work with all versions of unix (ATT, SCO, AIX, SUN) etc and they all have multiuser mode without network support. It should be possible to get an Intel processor and 10 dumm terminals, hook them up by wire and you'd be in business. This is true for the unix I mentioned above. Is it also true for ANY version of BSD (free or otherwise)? Thank you. Joe Markarian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache Jails
I want to build a FreeBSD webserver to replace a M$ IIS web server. I've started researching using Jails but am a little confused. Given I am hosting four(4) websites, would I have four separate jails. each jail having a separate install of apache + php + mysql ? or would I be installing apache + php + mysql at the base system, and then have four separate jails for each web site and database files ?? Thanks ___ 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)
Joseph Markarian wrote: Hi, I have been reading on FreeBSD 6.1 with a view of installing in our 10 user shop. The book is: FreeBSD 6 Unleashed, by Michael Urban and Brian Tiemann (SAMS). On Page 93: BSD VS SYS 5 RUN CONTROL , I quote There is no multiuser mode without network support (in FreeBSD 6.1) as there is in SYS V run levels. Is this correct? This would mean that I can not install FreeBSD in a small 10 user office without network support? I have work with all versions of unix (ATT, SCO, AIX, SUN) etc and they all have multiuser mode without network support. It should be possible to get an Intel processor and 10 dumm terminals, hook them up by wire and you'd be in business. This is true for the unix I mentioned above. Is it also true for ANY version of BSD (free or otherwise)? That's correct. The whole concept of 'run levels' is not supported in BSD-ish systems: either you're down, or you're running single user, or you're fully up with all of the system services enabled and networking configured. However, if you want to be able to turn network configuration on or off at run time, then check out the /etc/rc.d/netif start script. Running /etc/rc.d/netif stop should de-configure and bring down all your network interfaces (including lo0, I believe, which is probably an interface too far). You can certainly use the same script to control network interfaces individually though. 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
src version
Hello, After I do a: bsd# cvsup ports-supfile I do a bsd# pkg_version -vol \ to see if any of my installed ports have newer versions. After I do a: bsd# cvsup stable-supfile is there any way to see the same information for the operating system on a i386 FreeBSD 6.1-STABLE, smp custom kernel? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]