Re: Simple DNS Configuration
On 7/25/06, Mikhail Goriachev [EMAIL PROTECTED] wrote: David Stanford wrote: I've tried everyone's suggestions to no avail. Here's my actual configuration: [EMAIL PROTECTED] ~]# /etc/rc.d/named stop Stopping named. [EMAIL PROTECTED] ~]# tail -12 /etc/namedb/named.conf I can't stop mine and then start it again (running in chrooted mode). I do: # make rndc reload Isn't named's default behaviour to run chrooted? It appears so whn looking at the rc script. Also, when something goes wrong, named won't reload but logs a complaint into /var/log/messages. So it is a good idea to check logs every time a change is made. zone daemonbox.net { type master; file master/daemonbox.net; }; /* zone 140.246.66.in-addr.arpa { type master; file master/140.246.66.in-addr.arpa; }; */ [EMAIL PROTECTED] ~]# cat /etc/namedb/master/daemonbox.net $TTL 3600; 1 hour daemonbox.net. IN SOA chadwick.daemonbox.net. dstanford.daemonbox.net. ( 2006072400 ; Serial ^^ ^^ Make sure your serial increments with every change you make. I've been ignoring that to save time while troubleshooting as (from my understanding) it is only used by other name servers so they know to update their information: The serial number identifies this version of the zone configuration. Remote name servers first retreive the SOA record and check if the serial number has incremented before deciding whether to access the rest of the zone, which could be large. Make sure you increment this field every time you edit the file. If you don't, your updates will not propagate to other name servers. -The Complete FreeBSD, Greg Lehey 1d ; Refresh 2h ; Retry 100d; Expire 1h ); Minimum TTL ; DNS Servers @ IN NS chadwick.daemonbox.net. @ IN NS ns1.nac.net. @ IN NS ns2.nac.net. Remove/comment those nac.net servers just in case (just for now while testing). Get yours cranking first. Good point. ; MX Records IN MX 10 mail.daemonbox.net. ; Machine Names localhost IN A 127.0.0.1 chadwick IN A 66.246.140.170 mail IN A 66.246.246.58 www IN A 66.246.140.170 @IN A 66.246.140.170 ; Aliases www IN CNAME @ I personally wouldn't use that line. Previous 2 lines are sufficient. Yea, I feel I may just use the A records as the additional query issue you mentioned previously leaves me thinking it's the better configuration...it still bothers me I can't figure it out though. :-/ [EMAIL PROTECTED] ~]# /etc/rc.d/named start Starting named. Check your logs. I've been checking /var/log/messages but see nothing after recieving that error. Are all named logs placed here by default? [EMAIL PROTECTED] ~]# host -t a daemonbox.net localhost Using domain server: Name: localhost Address: 127.0.0.1#53 Aliases: Host daemonbox.net not found: 2(SERVFAIL) Does anyone see anything wrong with this? Thanks for all your help! Can you resolve other domains (e.g.: freebsd.org)? Can't think of anything else right now. Yes, as I noted, when I remove the CNAME entry everything works fine. Very strange... -David -- [EMAIL PROTECTED] ~]# fortune Happiness is just an illusion, filled with sadness and confusion. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to access Postfixadmin
On Mon, Jul 24, 2006 at 05:12:51PM -0400, Gerard Seibert wrote: Directory /usr/local/www/postfixadmin Options Indexes AllowOverride AuthConfig /Directory Attempting to access the site produced am error message. So, what's the error message, and what's in your Apache logs? The .htpasswd and .htaccess files are both located in the postfixadmin/admin directory. And what's in your .htaccess file? On a related note, is magic_quotes_gpc turned on in your PHP config? Unfortunately, PostfixAdmin may need that. -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to use kernel modules from CURRENT on STABLE
Hi: I have had some problems, it seems that the drivers in -STABLE does not support my hardware fully. So I want to try out drivers on -CURRENT without switching the whole system up to current. What is the best way to do this? - checkout current and copy the relevant source into the stable source tree? - checkout and compile -CURRENT kernel and then copy relevant kernel modules? - or won't work at all? problems with linking? other? It appears that most modules don't have a separate make file, how do I compile just the module in question? Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple DNS Configuration
David Stanford wrote: On 7/25/06, Mikhail Goriachev [EMAIL PROTECTED] wrote: David Stanford wrote: I've tried everyone's suggestions to no avail. Here's my actual configuration: [EMAIL PROTECTED] ~]# /etc/rc.d/named stop Stopping named. [EMAIL PROTECTED] ~]# tail -12 /etc/namedb/named.conf I can't stop mine and then start it again (running in chrooted mode). I do: # make rndc reload Isn't named's default behaviour to run chrooted? It appears so whn looking at the rc script. Yep, it is. I got burnt a few times using stop and start in the past. That is why I only use 'rndc reload'. Also, when something goes wrong, named won't reload but logs a complaint into /var/log/messages. So it is a good idea to check logs every time a change is made. zone daemonbox.net { type master; file master/daemonbox.net; }; /* zone 140.246.66.in-addr.arpa { type master; file master/140.246.66.in-addr.arpa; }; */ [EMAIL PROTECTED] ~]# cat /etc/namedb/master/daemonbox.net $TTL 3600; 1 hour daemonbox.net. IN SOA chadwick.daemonbox.net. dstanford.daemonbox.net. ( 2006072400 ; Serial ^^ ^^ Make sure your serial increments with every change you make. I've been ignoring that to save time while troubleshooting as (from my understanding) it is only used by other name servers so they know to update their information: The serial number identifies this version of the zone configuration. Remote name servers first retreive the SOA record and check if the serial number has incremented before deciding whether to access the rest of the zone, which could be large. Make sure you increment this field every time you edit the file. If you don't, your updates will not propagate to other name servers. -The Complete FreeBSD, Greg Lehey Good point. I also got burnt with this one a few times in the past... now incrementing is my habit. I guess its use depends on the weather. 1d ; Refresh 2h ; Retry 100d; Expire 1h ); Minimum TTL ; DNS Servers @ IN NS chadwick.daemonbox.net. @ IN NS ns1.nac.net. @ IN NS ns2.nac.net. Remove/comment those nac.net servers just in case (just for now while testing). Get yours cranking first. Good point. ; MX Records IN MX 10 mail.daemonbox.net. ; Machine Names localhost IN A 127.0.0.1 chadwick IN A 66.246.140.170 mail IN A 66.246.246.58 www IN A 66.246.140.170 @IN A 66.246.140.170 ; Aliases www IN CNAME @ I personally wouldn't use that line. Previous 2 lines are sufficient. Yea, I feel I may just use the A records as the additional query issue you mentioned previously leaves me thinking it's the better configuration...it still bothers me I can't figure it out though. :-/ Not sure what you mean. [EMAIL PROTECTED] ~]# /etc/rc.d/named start Starting named. Check your logs. I've been checking /var/log/messages but see nothing after recieving that error. Are all named logs placed here by default? This is the only place where I look. As far as I'm concerned, if a reload was unsuccessful, then you'll get something in there. Otherwise nothing gets logged. [EMAIL PROTECTED] ~]# host -t a daemonbox.net localhost Using domain server: Name: localhost Address: 127.0.0.1#53 Aliases: Host daemonbox.net not found: 2(SERVFAIL) Does anyone see anything wrong with this? Thanks for all your help! Can you resolve other domains (e.g.: freebsd.org)? Can't think of anything else right now. Yes, as I noted, when I remove the CNAME entry everything works fine. Very strange... Not sure about that either. I guess you shouldn't use it then. Anyway, at least your domain is responding now: $ host -t a daemonbox.net chadwick.daemonbox.net Using domain server: Name: chadwick.daemonbox.net Address: 66.246.140.170#53 Aliases: daemonbox.net has address 66.246.140.170 $ host -t a www.daemonbox.net chadwick.daemonbox.net Using domain server: Name: chadwick.daemonbox.net Address: 66.246.140.170#53 Aliases: www.daemonbox.net has address 66.246.140.170 http://www.dnsreport.com/tools/dnsreport.ch?domain=daemonbox.net www.dnsreport.com is a great tool for all your DNS needs. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
Re: Simple DNS Configuration
; MX Records IN MX 10 mail.daemonbox.net. ; Machine Names localhost IN A 127.0.0.1 chadwick IN A 66.246.140.170 mail IN A 66.246.246.58 www IN A 66.246.140.170 @IN A 66.246.140.170 ; Aliases www IN CNAME @ Found it. If you notice, I had an A record and a CNAME record for www. Though it still doesn't seem to like this: www IN A 66.246.140.170 @ IN CNAME www Either way, I've decided to just not use the CNAME record. Thanks to everyone for all their help! -David -- [EMAIL PROTECTED] ~]# fortune Happiness is just an illusion, filled with sadness and confusion. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple DNS Configuration
Yea, I feel I may just use the A records as the additional query issue you mentioned previously leaves me thinking it's the better configuration...it still bothers me I can't figure it out though. :-/ Not sure what you mean. I was referring to your comment regarding CNAME causing an additional query for each look-up: I wouldn't recommend using CNAME for www due to extra DNS lookups[1]. [EMAIL PROTECTED] ~]# /etc/rc.d/named start Starting named. Check your logs. I've been checking /var/log/messages but see nothing after recieving that error. Are all named logs placed here by default? This is the only place where I look. As far as I'm concerned, if a reload was unsuccessful, then you'll get something in there. Otherwise nothing gets logged. [EMAIL PROTECTED] ~]# host -t a daemonbox.net localhost Using domain server: Name: localhost Address: 127.0.0.1#53 Aliases: Host daemonbox.net not found: 2(SERVFAIL) Does anyone see anything wrong with this? Thanks for all your help! Can you resolve other domains (e.g.: freebsd.org)? Can't think of anything else right now. Yes, as I noted, when I remove the CNAME entry everything works fine. Very strange... Not sure about that either. I guess you shouldn't use it then. Anyway, at least your domain is responding now: $ host -t a daemonbox.net chadwick.daemonbox.net Using domain server: Name: chadwick.daemonbox.net Address: 66.246.140.170#53 Aliases: daemonbox.net has address 66.246.140.170 $ host -t a www.daemonbox.net chadwick.daemonbox.net Using domain server: Name: chadwick.daemonbox.net Address: 66.246.140.170#53 Aliases: www.daemonbox.net has address 66.246.140.170 Wow, I'm surprised you were able to get that as I've also been making firewall adjustments all night. :) http://www.dnsreport.com/tools/dnsreport.ch?domain=daemonbox.net www.dnsreport.com is a great tool for all your DNS needs. Absolutely. I'd be lost at work without it (or dnsstuff.com). :) Thanks again for all your help! -David -- [EMAIL PROTECTED] ~]# fortune Happiness is just an illusion, filled with sadness and confusion. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple DNS Configuration
Date: Mon, 24 Jul 2006 17:53:03 -0400 From: David Stanford [EMAIL PROTECTED] Subject: Re: Simple DNS Configuration To: Matthias Fechner [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed www IN A 66.246.140.170 www IN CNAME @ Does anyone see anything wrong with this? Thanks for all your help! I'm not sure that it's the root of all evil, but you have redundant defintions for www. Stop and then restart named. Then, what is the output of grep named /var/log/messages ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
device polling question
Hi. I think, this is a problem. There is kind of interrupt storm with device polling turned on, and `sysctl kern.polling` shows some interesting numbers: [EMAIL PROTECTED] ~]# uname -r 6.1-RELEASE-p3 [EMAIL PROTECTED] ~]# sysctl kern.clockrate kern.clockrate: { hz = 1000, tick = 1000, profhz = 1024, stathz = 128 } [EMAIL PROTECTED] ~]# vmstat 1 10 procs memory page disk faults cpu r b w avmfre flt re pi po fr sr ad0 in sy cs us sy id 0 0 0 96488 152772 220 0 0 0 197 0 0 7864 1563 4943 3 30 67 0 0 0 96488 1527721 0 0 0 1 0 0 6006 123 6806 0 43 57 0 0 0 96488 1527720 0 0 0 0 0 0 6026 115 6845 0 37 63 0 0 0 96488 1527720 0 0 0 0 0 0 6146 123 6818 0 41 59 0 0 0 96488 1527720 0 0 0 0 0 7 6013 127 6766 0 41 59 0 0 0 96488 1527720 0 0 0 0 0 0 5929 115 6565 0 34 66 0 0 0 96488 1527720 0 0 0 3 0 2 6453 115 7193 0 38 62 0 0 0 96488 1527760 0 0 0 1 0 1 5683 115 6389 1 39 60 0 0 0 96488 1527760 0 0 0 0 0 0 6279 123 6907 0 42 58 0 0 0 96488 1527760 0 0 0 0 0 0 5774 127 6426 0 37 63 [EMAIL PROTECTED] ~]# ifconfig fxp0 polling [EMAIL PROTECTED] ~]# ifconfig fxp1 polling [EMAIL PROTECTED] ~]# vmstat 1 10 procs memory page disk faults cpu r b w avmfre flt re pi po fr sr ad0 in sy cs us sy id 0 0 0 96488 152776 212 0 0 0 189 0 0 8004 1506 4980 3 31 66 0 0 0 96488 1527761 0 0 0 1 0 0 34446 123 3066 0 39 61 0 0 0 96488 1527760 0 0 0 0 0 0 34373 123 3059 0 37 63 0 0 0 96488 1527760 0 0 0 0 0 0 34480 127 3060 0 43 57 0 0 0 96488 1527760 0 0 0 3 0 2 34329 115 3059 0 45 55 0 0 0 96488 1527762 0 0 0 0 0 0 34436 120 3061 0 40 60 0 0 0 96488 1527760 0 0 0 0 0 1 34248 115 3069 0 35 65 0 0 0 96488 1527760 0 0 0 0 0 0 34375 123 3063 0 41 59 0 0 0 96488 1527760 0 0 0 0 0 0 34282 127 3052 0 45 55 0 0 0 96488 1527760 0 0 0 0 0 0 34342 566 3061 1 40 60 [EMAIL PROTECTED] ~]# sysctl kern.polling kern.polling.burst: 150 kern.polling.burst_max: 150 kern.polling.each_burst: 5 kern.polling.idle_poll: 0 kern.polling.user_frac: 50 kern.polling.reg_frac: 20 kern.polling.short_ticks: 2115 kern.polling.lost_polls: 345 kern.polling.pending_polls: 0 kern.polling.residual_burst: 0 kern.polling.handlers: 2 kern.polling.enable: 0 kern.polling.phase: 0 kern.polling.suspect: 135 kern.polling.stalled: 0 kern.polling.idlepoll_sleeping: 1 [EMAIL PROTECTED] ~]# vmstat -i; sleep 1; vmstat -i interrupt total rate irq0: clk 152025885999 irq1: atkbd0 801 0 irq8: rtc 19453315127 irq11: fxp1 uhci0 122419028804 irq12: fxp0157346527 1034 irq14: ata093765 0 Total 451339321 2966 interrupt total rate irq0: clk 152026925999 irq1: atkbd0 801 0 irq8: rtc 19453448127 irq11: fxp1 uhci0 122419028804 irq12: fxp0157346527 1034 irq14: ata093766 0 Total 451340495 2966 I tried that on a different machine with no shared interrupts. Allmost the same results. [EMAIL PROTECTED] ~]# cd /usr/src/sys/i386/conf/ [EMAIL PROTECTED] /usr/src/sys/i386/conf]# diff -u GENERIC ZIRZILE --- GENERIC Tue Jul 25 10:55:46 2006 +++ ZIRZILE Tue Jul 25 10:55:44 2006 @@ -19,10 +19,8 @@ # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.7.2.2 2006/05/01 00:15:12 scottl Exp $ machinei386 -cpuI486_CPU -cpuI586_CPU cpuI686_CPU -ident GENERIC +ident ZIRZILE # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. @@ -62,6 +60,16 @@ optionsAHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. optionsADAPTIVE_GIANT # Giant mutex is adaptive. + +options DEVICE_POLLING + +options ALTQ +options ALTQ_CBQ +options ALTQ_RED +options ALTQ_RIO +options ALTQ_HFSC +options ALTQ_CDNR +options ALTQ_PRIQ device apic# I/O APIC Any ideas ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: Konqueror page reload in actual tab
Hi, I tried to send the attached message to kde-freebsd@freebsd.kde.org but it returned with an error saying that the server is down. Is the project kde-freebsd at the end? Anyone here about an idea concerning the question itself? Thx matthias - Forwarded message from Matthias Apitz [EMAIL PROTECTED] - Date: Mon, 24 Jul 2006 16:46:09 +0200 From: Matthias Apitz [EMAIL PROTECTED] To: kde-freebsd@freebsd.kde.org Subject: Konqueror page reload in actual tab Hello, I'm using Konqueror 3.4.2 in FreeBSD and it is configured to tab-browsing. With $ kfmclient openURL 'url' I can open a new Konqueror window which loads the given URL and with $ kfmclient newTab 'url' it opens the URL in a new tab in the same window when Konqueror is already started, or it launches one. Ok. What I want is to reload the page in the currently active tab (the one which is the currently display by Konqueror), is this somehow possible? Thx. matthias -- Matthias Apitz Manager Technical Support - OCLC PICA GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/ - End forwarded message - -- Matthias Apitz Manager Technical Support - OCLC PICA GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to access Postfixadmin
Riemer Palstra wrote: On Mon, Jul 24, 2006 at 05:12:51PM -0400, Gerard Seibert wrote: Directory /usr/local/www/postfixadmin Options Indexes AllowOverride AuthConfig /Directory Attempting to access the site produced am error message. So, what's the error message, and what's in your Apache logs? Forbidden You don't have permission to access /postfixadmin/ on this server. [httpd-error.log] [Tue Jul 25 04:46:35 2006] [error] [client 72.14.194.17] client denied by server configuration: /usr/local/www/postfixadmin/, referer: http://www.seibercom.net/postfixadmin/ [Tue Jul 25 04:46:36 2006] [error] [client 67.189.184.224] client denied by server configuration: /usr/local/www/postfixadmin/ The .htpasswd and .htaccess files are both located in the postfixadmin/admin directory. And what's in your .htaccess file? AuthUserFile /usr/local/www/postfixadmin/admin/.htpasswd #AuthGroupFile /dev/null AuthName Postfix Admin AuthType Basic limit GET POST require valid-user /limit I commented out the AuthGroupFile because someone else told me it was not needed. Either with or without it, it still does not work. On a related note, is magic_quotes_gpc turned on in your PHP config? Unfortunately, PostfixAdmin may need that. I don't know. Where would I locate it? -- 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: Unable to access Postfixadmin
On Tue, Jul 25, 2006 at 04:56:45AM -0400, Gerard Seibert wrote: [Tue Jul 25 04:46:35 2006] [error] [client 72.14.194.17] client denied by server configuration: /usr/local/www/postfixadmin/, referer: http://www.seibercom.net/postfixadmin/ [Tue Jul 25 04:46:36 2006] [error] [client 67.189.184.224] client denied by server configuration: /usr/local/www/postfixadmin/ Ah, right. Try something like this: Directory /usr/local/www/postfixadmin Options Indexes AllowOverride AuthConfig Order allow,deny Allow from all /Directory On a related note, is magic_quotes_gpc turned on in your PHP config? Unfortunately, PostfixAdmin may need that. I don't know. Where would I locate it? Uhm, php.ini perhaps? -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to access Postfixadmin
Riemer Palstra wrote: On Tue, Jul 25, 2006 at 04:56:45AM -0400, Gerard Seibert wrote: [Tue Jul 25 04:46:35 2006] [error] [client 72.14.194.17] client denied by server configuration: /usr/local/www/postfixadmin/, referer: http://www.seibercom.net/postfixadmin/ [Tue Jul 25 04:46:36 2006] [error] [client 67.189.184.224] client denied by server configuration: /usr/local/www/postfixadmin/ Ah, right. Try something like this: Directory /usr/local/www/postfixadmin Options Indexes AllowOverride AuthConfig Order allow,deny Allow from all /Directory On a related note, is magic_quotes_gpc turned on in your PHP config? Unfortunately, PostfixAdmin may need that. I don't know. Where would I locate it? Uhm, php.ini perhaps? OK, I did not have a php.ini file, but rather a php.ini-dist file. I followed the directions and renamed it. The option you mentioned was all ready turned on. Unfortunately, it still does not work. I am beginning to think it is something in the httpd.conf file. I need someone with knowledge of Apache to look into this I think. For the time being, I will just remove the notations in httpd.conf and access the program normally. Ciao! -- Gerard Seibert [EMAIL PROTECTED] That which we are capable of feeling, we are capable of saying. Cervantes, 1613 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Altec Lansing Driver
Hello everyone, My Laptop has Altec Lansing sound, im on fbsd 6.1R and laptop is dv5178us I tried to kldload snd_driver but sound also didnot work and my dmesg didnot showanything I tried to compile device sound in my kernel, maybe it will see any sound device but also nothing came on, Is there anyway or speciall driver for altec lansing sound please? Thank you. Marwan _ 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: tar dies on making tape backup
On Jul 24, 2006, at 10:23 PM, Micah wrote: To save you some time, from my notes: #finds all files modified before 1971 find / ! -newermt 1971-01-01 20:30 I missed the part about ! in the command. Thanks for the reply. I would have been at this for at least an hour of, What the heck? Its all 'newer than' comparisons? How did that guy do it? :) The command found a number of files claiming to have a date of 1903 and 1933. They were all files that I migrated over from the last server via tar czvpf archivename -C original-directory commands. I don't know if this has anything to do with it. I'm mentioning it in case someone comes across our posts in a search and they need to find the solution to this same problem. Thanks a bunch, Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vpn connection users+server
Hello everyone, Well, because really i didnot get an answer from the list regarding release internet access based on time+auth. SO I thought of the VPN connection, i'm on fbsd 6.1R acting as internet gateway, i dunt want the users to randmly share the internet Is it possible (and how to) create a vpn connection thats the user need to use to authnticate to the gateway server by a valid user/password then the server will allow this user to have the internet, is it possible? the handbook scenario is for two networks sides, Is it possible between a user and the gateway server? Please your answers is highly appreciated. Marwan _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/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: vpn connection users+server
You may watch to the net/mpd4. This is multifunctional server, that can handle various connection: PPPoE, PPTP and other. You can build radius-server also for managing user accounts or use plain text file for that. 2006/7/25, Marwan Sultan [EMAIL PROTECTED]: Hello everyone, Well, because really i didnot get an answer from the list regarding release internet access based on time+auth. SO I thought of the VPN connection, i'm on fbsd 6.1R acting as internet gateway, i dunt want the users to randmly share the internet Is it possible (and how to) create a vpn connection thats the user need to use to authnticate to the gateway server by a valid user/password then the server will allow this user to have the internet, is it possible? the handbook scenario is for two networks sides, Is it possible between a user and the gateway server? Please your answers is highly appreciated. Marwan _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Alexey Karguine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Are hardware vendors starting to bail on FreeBSD ... ?
- Original Message - From: Freminlins [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Greg Barniskis [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Nick Withers [EMAIL PROTECTED] Sent: Monday, July 24, 2006 6:46 AM Subject: Re: Are hardware vendors starting to bail on FreeBSD ... ? Ted, On 24/07/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: All you have to do to see this is try booting FBSD 6 on a 80386 and compare it's performance to FBSD 3.X on a 386. How are you going to do that, Ted? From the 6.0R release notes: Support for 80386 processors (the I386_CPU kernel configuration option) has been removed. Users running this class of CPU should use FreeBSD 5.*X* or earlier. Oops, forgot about that. Use 5.x then. The statement is that newer versions of FreeBSD are slower than older versions. The point was that this isn't relevant to 90% of users for reasons I already cited. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vpn connection users+server
Hello everyone, Well, because really i didnot get an answer from the list regarding release internet access based on time+auth. Hi, it seems that you need http proxy, e.g., Squid - http://www.squid-cache.org/ - or any other will do. As Squid is in ports, there should be no problem in installing it. Check-out the Squid's homepage for the correct configs. Make sure, that the only way to the Internet is by using the proxy, as well. SO I thought of the VPN connection, i'm on fbsd 6.1R acting as internet gateway, i dunt want the users to randmly share the internet Is it possible (and how to) create a vpn connection thats the user need to use to authnticate to the gateway server by a valid user/password then the server will allow this user to have the internet, is it possible? the handbook scenario is for two networks sides, Is it possible between a user and the gateway server? There is no point in using VPNs just to control who gets to the Internet. Please your answers is highly appreciated. Marwan _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Andris :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
A question for the AWK wizards
Hi all, I have a shell script which is called with an arbitrary message argument. Punctuation excludes * ? | chars. It processes it via an AWK command line 'script' and dumps the result in a file for the SMS sender... Nice and simple. Except that the AWK script seems to duplicate the last character or two in the message. Everything else in the 200 odd lines of shell scripts surrounding this function run just fine, and this bit runs too, but this tiny thing is _VERY_ annoying. The shell code is listed below. Please teach me what bit I missed (C and TCL are my forte, not AWK) cheers mjt --8-- # sourced into other scripts that need to SMS # !! 4 space indents, NOT tabs !! # # generate the sms message # the awk code forces the message to be 160 chars sendsms() { msg=$1 case ${sms_enable} in [Yy][Ee][Ss]) for phone in ${phonelist} do tmpfile=`mktemp -t sms` echo ${phone} ${tmpfile} ${AWK} '{ printf %-0.159s, $0 }' ${tmpfile} EOF2 `echo $msg` EOF2 mv ${tmpfile} ${gsmspool_dir} done ;; *) ;; esac } --8-- Murray Taylor Special Projects Engineer Bytecraft Systems P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 E: [EMAIL PROTECTED] -- Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ***This Email has been scanned for Viruses by MailMarshal.*** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vpn connection users+server
Hi there... I sent and answer about time_auth last night... Perhaps you've missed it... ;-) But if you're thinking about authentication BEFORE starts to surf the web, besides mpd4 (which is a good choice too) you can give RADIUS a try... []'s -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825 -- Original Message --- From: Marwan Sultan [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tue, 25 Jul 2006 11:21:46 + Subject: vpn connection users+server Hello everyone, Well, because really i didnot get an answer from the list regarding release internet access based on time+auth. SO I thought of the VPN connection, i'm on fbsd 6.1R acting as internet gateway, i dunt want the users to randmly share the internet Is it possible (and how to) create a vpn connection thats the user need to use to authnticate to the gateway server by a valid user/password then the server will allow this user to have the internet, is it possible? the handbook scenario is for two networks sides, Is it possible between a user and the gateway server? Please your answers is highly appreciated. Marwan _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- 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: vpn connection users+server
Dear Rafael, Ofcourse i didnot miss your past email :) but your main concern was to redirect the user to a webpage then pf will handle the rest Your second point was the squid which everybody talking about, but in thier webpage they didnot write anything about this procedure thier main concern was the cache server.. So i didnot know what to do next. However i have setup a test machine, I will try the squid (dunno what to do after squid is running) and will try mpd4, As for freeradius package, its installed but also there is no good documentation what to do next? stuck. I thank you, and i thank everyone trying to help, as this is a real disaster for me currently :( Marwan Hi there... I sent and answer about time_auth last night... Perhaps you've missed it... ;-) But if you're thinking about authentication BEFORE starts to surf the web, besides mpd4 (which is a good choice too) you can give RADIUS a try... []'s -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825 -- Original Message --- From: Marwan Sultan [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tue, 25 Jul 2006 11:21:46 + Subject: vpn connection users+server Hello everyone, Well, because really i didnot get an answer from the list regarding release internet access based on time+auth. SO I thought of the VPN connection, i'm on fbsd 6.1R acting as internet gateway, i dunt want the users to randmly share the internet Is it possible (and how to) create a vpn connection thats the user need to use to authnticate to the gateway server by a valid user/password then the server will allow this user to have the internet, is it possible? the handbook scenario is for two networks sides, Is it possible between a user and the gateway server? Please your answers is highly appreciated. Marwan _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- 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] _ 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: vpn connection users+server
On Tue, 25 Jul 2006, Marwan Sultan wrote: Hello everyone, Well, because really i didnot get an answer from the list regarding release internet access based on time+auth. I'm not sure about time, but it sounds like you might be able to use authpf (man authpf for details) otherwise have a look at pfsense for what your trying to do. (missed the first post so sorry if i've missunderstood) Vince SO I thought of the VPN connection, i'm on fbsd 6.1R acting as internet gateway, i dunt want the users to randmly share the internet Is it possible (and how to) create a vpn connection thats the user need to use to authnticate to the gateway server by a valid user/password then the server will allow this user to have the internet, is it possible? the handbook scenario is for two networks sides, Is it possible between a user and the gateway server? Please your answers is highly appreciated. Marwan _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ 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]
Multiple gateways?
Hello all, Another quick question here.. I have a box with dual gb nics and I was curious if there was a relatively easy way to connect it to two separate gateways. For example, em0 is configured to be 10.223.223.223 with a gateway of 10.223.223.254 and em1 is configured to be 10.224.224.224 with a gateway of 10.224.224.254. TIA Reuben A. Popp Information Technology Department East Central College 1+ 636 583-5195 ext 2480 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple DNS Configuration
Hello David, * David Stanford [EMAIL PROTECTED] [25-07-06 02:50]: www IN A 66.246.140.170 you can also write: www IN CNAME chadwick.daemonbox.net. so if the IP address changes you must only edit one line. Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar dies on making tape backup
Using tar with a SDLT I set the blocksize at 1024 and use ASCII headers (-c) -Derek At 05:18 PM 7/24/2006, Jaime wrote: I'm attempting to use tar to feed my filesystem(s) to a DLT tape drive. I've done this with FreeBSD 3 through 5 and DAT (DDS-3 and DDS-4) tapes for years. The command now appears to work for a while and then dies with this message about 2.5 hours into the process: archive_write_pax_header: 'x' header failed?! This can't happen. Any idea what this means? I'm using: $ uname -a FreeBSD atlas.cairodurham.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jun 28 11:27:09 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/SMP i386 This is my first FreeBSD 6.x system, my first SMP kernel, and my first DLT drive on a FreeBSD system. Using Google, I couldn't find any answers that were useful. (Just a few dead threads from various forums and mailing lists.) Thanks in advance, Jaime ___ 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]
Building openoffice-2.0.3 (amd64)
can this package be build with ALL possible languages not just one? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vpn connection users+server
Vince Hoffman wrote: On Tue, 25 Jul 2006, Marwan Sultan wrote: Hello everyone, Well, because really i didnot get an answer from the list regarding release internet access based on time+auth. I'm not sure about time, but it sounds like you might be able to use authpf (man authpf for details) otherwise have a look at pfsense for what your trying to do. (missed the first post so sorry if i've missunderstood) In case you want to give pfsense a try, here is the web site http://www.pfsense.com And here are the features: http://www.pfsense.com/index.php?id=26 Vince SO I thought of the VPN connection, i'm on fbsd 6.1R acting as internet gateway, i dunt want the users to randmly share the internet Is it possible (and how to) create a vpn connection thats the user need to use to authnticate to the gateway server by a valid user/password then the server will allow this user to have the internet, is it possible? the handbook scenario is for two networks sides, Is it possible between a user and the gateway server? Please your answers is highly appreciated. Marwan _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ 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] -- Sincerely, Yousef Adnan Raffah Security Officer The Savola Group --- Aren't you using Firefox? Get it at http://www.getfirefox.com signature.asc Description: OpenPGP digital signature
Re: How to use kernel modules from CURRENT on STABLE
On 2006-07-25 08:44, Erik Norgaard [EMAIL PROTECTED] wrote: Hi: I have had some problems, it seems that the drivers in -STABLE does not support my hardware fully. So I want to try out drivers on -CURRENT without switching the whole system up to current. What is the best way to do this? - checkout current and copy the relevant source into the stable source tree? - checkout and compile -CURRENT kernel and then copy relevant kernel modules? - or won't work at all? problems with linking? other? It appears that most modules don't have a separate make file, how do I compile just the module in question? Apart from back-porting the fixes of the drivers to STABLE, I don't think there is *any* good way to do what you describe, so it's not easy to say what the best way is. I don't think any of the options listed above can work -- at least without some porting effort. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a good www/picture management port?
Mike Hunter wrote: I haven't tried gallery on FreeBSD, but I highly recommend it based on my experience with it on Linux. the ports collection has gallery and gallery2. I am currently using gallery2 and like it a lot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A question for the AWK wizards
On 2006-07-25 21:43, Murray Taylor [EMAIL PROTECTED] wrote: Hi all, I have a shell script which is called with an arbitrary message argument. Punctuation excludes * ? | chars. It processes it via an AWK command line 'script' and dumps the result in a file for the SMS sender... Nice and simple. Except that the AWK script seems to duplicate the last character or two in the message. Everything else in the 200 odd lines of shell scripts surrounding this function run just fine, and this bit runs too, but this tiny thing is _VERY_ annoying. The shell code is listed below. Please teach me what bit I missed (C and TCL are my forte, not AWK) --8-- # sourced into other scripts that need to SMS # !! 4 space indents, NOT tabs !! # # generate the sms message # the awk code forces the message to be 160 chars sendsms() { msg=$1 case ${sms_enable} in [Yy][Ee][Ss]) for phone in ${phonelist} do tmpfile=`mktemp -t sms` echo ${phone} ${tmpfile} ${AWK} '{ printf %-0.159s, $0 }' ${tmpfile} EOF2 `echo $msg` EOF2 mv ${tmpfile} ${gsmspool_dir} done ;; *) ;; esac } The above has a weird construct which can be simplified a bit: | ${AWK} '{ printf %-0.159s, $0 }' ${tmpfile} EOF2 | `echo $msg` | EOF2 You can write this as: | echo ${msg} | ${AWK} '{printf %-0.159s, $0}' ${tmpfile} Are you deliberately avoiding to append a newline character to the output of ${AWK} above? See the output of the two commands below, as it's filtered through hd(1) utility. | $ echo foo | awk '{ printf %-0.159s, $0 }' | hd | 66 6f 6f |foo| | 0003 | $ echo foo | awk '{ printf %-0.159s\n, $0 }' | hd | 66 6f 6f 0a |foo.| | 0004 | $ There is no problem with this part of the scripts you posted though. They should work as expected. I'd probably look elsewhere for a bug that causes the character duplication. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount an unknown drive
Joshua Lewis [EMAIL PROTECTED] writes: I have a server that has been inoperative for the last few months (FreeBSD 6.0). I decided to turn on the system and it goes right to a boot prompt. So I downloaded FreeSBIE and am trying to mount the old drive to see if there is any data on the drive worth saving. When I try to mount /dev/ad0s1f /mnt I get a device busy message. Am I even trying to mount the correct slice. I have tried s1a - s1f. Is it possible it was already mounted and that is why it says it is busy. There is nothing in dmesg that shows asd0*. Look in /dev for ad*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Courier-imap statistics
hi All! i'd like to show pop3 statistics(bytes per user), is there some scripts to generate this statistics? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A question for the AWK wizards
in message [EMAIL PROTECTED], wrote Murray Taylor thusly... # generate the sms message # the awk code forces the message to be 160 chars ... tmpfile=`mktemp -t sms` echo ${phone} ${tmpfile} ${AWK} '{ printf %-0.159s, $0 }' ${tmpfile} EOF2 `echo $msg` EOF2 As it is, any line longer than 159 characters will just overflow. You need to use substr() not awk to shorten a line. Even after that modification, that won't solve your actual problem as the awk script will just shorten EACH line (when record separator is newline), not the whole output. There are ports which seems to do what you want to do. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mount an unknown drive
I got some sleep and thought about it some more and was wondering if it is possible that FreeSBIE (Running FreeBSD 5.3) simply can't read my drive that was formated durring an install of 6.0. Or has it not changed enough to cause that problem? There is a: /dev/ad0s1a /dev/ad0s1b /dev/ad0s1c /dev/ad0s1d /dev/ad0s1e /dev/ad0s1f I treid to mount all of those last night. mount /dev/ad0s1f /mnt I also tried mount -t ufs /dev/ad0s1f /mnt Same results every time. The device is busy. Sincerely, Joshua Lewis Original Message Subject: Re: Mount an unknown drive From: Lowell Gilbert [EMAIL PROTECTED] Date: Tue, July 25, 2006 10:22 am To: Joshua Lewis [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Joshua Lewis [EMAIL PROTECTED] writes: I have a server that has been inoperative for the last few months (FreeBSD 6.0). I decided to turn on the system and it goes right to a boot prompt. So I downloaded FreeSBIE and am trying to mount the old drive to see if there is any data on the drive worth saving. When I try to mount /dev/ad0s1f /mnt I get a device busy message. Am I even trying to mount the correct slice. I have tried s1a - s1f. Is it possible it was already mounted and that is why it says it is busy. There is nothing in dmesg that shows asd0*. Look in /dev for ad*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple gateways?
You need to have only one default gateway. But you can use routed to configure other gateways. Note: without a routing daemon all your gateways are default gateways, this will almost certainly cause you problems. On 7/25/06, Reuben A. Popp [EMAIL PROTECTED] wrote: Hello all, Another quick question here.. I have a box with dual gb nics and I was curious if there was a relatively easy way to connect it to two separate gateways. For example, em0 is configured to be 10.223.223.223 with a gateway of 10.223.223.254 and em1 is configured to be 10.224.224.224 with a gateway of 10.224.224.254. TIA Reuben A. Popp Information Technology Department East Central College 1+ 636 583-5195 ext 2480 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A question for the AWK wizards
On Tue, Jul 25, 2006 at 10:51:02AM -0400, Parv wrote: As it is, any line longer than 159 characters will just overflow. You need to use substr() not awk to shorten a line. Even after that modification, that won't solve your actual problem as the awk script will just shorten EACH line (when record separator is newline), not the whole output. There are ports which seems to do what you want to do. Ports? How about dd? Should be as simple as piping it thru dd count=159 but then again I admit to having not paid full attention to this thread. -- 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]
OpenBSD PF firewall in Freebsd
Hello all, Is PF installed with the base system in FreeBSD 6.1? I see that there is IPF, is it the same thing? I didn't find PF in the ports tree, so thats why i'm asking. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount an unknown drive
Don't top-post, please. Joshua Lewis [EMAIL PROTECTED] writes: I got some sleep and thought about it some more and was wondering if it is possible that FreeSBIE (Running FreeBSD 5.3) simply can't read my drive that was formated durring an install of 6.0. Or has it not changed enough to cause that problem? FreeSBIE probably doesn't support UFS2. I wouldn't expect that particular error message in that case, but you definitely need to boot something that understands UFS2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dumping net traffic to log file
im trying the command tcpdump -i em0 traffic.log and i get the response tcpdump: (no devices found) /dev/bpf0: No such file or directory im doing it as root. this is a dell poweredge 2850 and we are using the standard gigabit network cards that came onboard. here are the details on the nic em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=bRXCSUM,TXCSUM,VLAN_MTU inet 192.168.245.246 netmask 0xff00 broadcast 192.168.245.255 ether 00:13:72:56:aa:ca media: Ethernet autoselect (100baseTX half-duplex) status: active in my dev directory em0 is mapped to net1. when i try the same command with net1, i get the same thing. Darrin Chandler wrote: On Mon, Jul 24, 2006 at 03:20:32PM -0400, Steel City Phantom wrote: i am troubleshooting an application and am having a hell of a time with it. with bsd 6.1 is there a way where i can dump all traffic coming over the nic to a log file so i can see exactly what is coming in? tcpdump works nicely for this. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenBSD PF firewall in Freebsd
On 2006-07-25 18:53, Ivan Levchenko [EMAIL PROTECTED] wrote: Hello all, Is PF installed with the base system in FreeBSD 6.1? I see that there is IPF, is it the same thing? I didn't find PF in the ports tree, so thats why i'm asking. Yes, PF is part of the base system in recent FreeBSD releases. To enable PF support, you can either load it as a module (kldload pf), or compile it into your custom kernel. The startup scripts of the system support loading the module, if necessary, so to use PF you can just enable it in `/etc/rc.conf', i.e. with something like: pf_rules=/etc/pf.conf pf_enable=YES pflog_enable=YES Then, all you have to do is tune your ruleset in `/etc/pf.conf', and off you go :) One tricky point that you should pay attention to is that when PF is used as a loadable kernel module you cannot use ALTQ for traffic shaping. To be able to use the ALTQ features, you have to build a custom kernel that includes both PF and ALTQ options. HTH, -- Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: OpenBSD PF firewall in Freebsd
yes OpenBSD pf is part of the FreeBSD base release. Read the firewall section of the handbook for instructions on how to activate. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ivan Levchenko Sent: Tuesday, July 25, 2006 11:53 AM To: freebsd-questions@freebsd.org Subject: OpenBSD PF firewall in Freebsd Hello all, Is PF installed with the base system in FreeBSD 6.1? I see that there is IPF, is it the same thing? I didn't find PF in the ports tree, so thats why i'm asking. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dumping net traffic to log file
Steel City Phantom wrote: [ ...top posting is confusing... ] im trying the command tcpdump -i em0 traffic.log and i get the response tcpdump: (no devices found) /dev/bpf0: No such file or directory You'll need to recompile your kernel with device bpf, although it is normally enabled in the GENERIC kernel by default. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dumping net traffic to log file
Do you have string `device bpf ` in youe kernel config? 2006/7/25, Steel City Phantom [EMAIL PROTECTED]: im trying the command tcpdump -i em0 traffic.log and i get the response tcpdump: (no devices found) /dev/bpf0: No such file or directory im doing it as root. this is a dell poweredge 2850 and we are using the standard gigabit network cards that came onboard. here are the details on the nic em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=bRXCSUM,TXCSUM,VLAN_MTU inet 192.168.245.246 netmask 0xff00 broadcast 192.168.245.255 ether 00:13:72:56:aa:ca media: Ethernet autoselect (100baseTX half-duplex) status: active in my dev directory em0 is mapped to net1. when i try the same command with net1, i get the same thing. Darrin Chandler wrote: On Mon, Jul 24, 2006 at 03:20:32PM -0400, Steel City Phantom wrote: i am troubleshooting an application and am having a hell of a time with it. with bsd 6.1 is there a way where i can dump all traffic coming over the nic to a log file so i can see exactly what is coming in? tcpdump works nicely for this. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Alexey Karguine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Serious disk problems
My power supply died and now my root file system seems to be having major problems. I run fsck -y on it and after complaining about dozens of sectors having problems being read and Unexpected soft updates, fsck ends with: fsck_ufs: cannot alloc 3962308096 bytes for inoinfo Can anything be done about this? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Jiggle The Handle, a personal bloghttp://jiggle.anaze.us Some days, it's not even worth chewing through the restraints ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh tunnel - remote access through nat
Hi, I've got a box that's nat'd out to the internet. It is occassionally neccessary for me to access this box remotely. The obvious answer is: ssh -R :localhost:22 remote.box cat run from the nat'd box where remote box is a place I pretty much always have access too from anywhere, anytime. The problem is that the connection between these two boxes is famously unreliable - so I need to ensure that this connection stays available. Unfortunately, the procedure for this is not obvious to me. I've thought about a cron job, as the connection would simply fail if it couldn't bind to on the remote box to listen. But I'm thinking there has to be something that makes more sense. Suggestions? Feedback? Thanks in advance for any pointers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] gcc: maximum length of an array?
On Sun, 23 Jul 2006, Andrew Brampton wrote: Can you show me the line you are using to malloc with, and the lines you are using to access the array... The smallest unit you can malloc on is a byte, and if you are mallocing 1 bytes, and using each byte as a single boolean value then you are wasting 7/8 of your array. It might be better to do some bit masking to gain access to the other 7 bits. Thanks for this idea Andrew! it took me some time to implement it - since I am quite a n00b and never heard about bitmasking - but with the help of http://c-faq.com/misc/bitsets.html I could do 10^9 . Uli. Andrew - Original Message - From: P.U.Kruppa [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Monday, July 24, 2006 7:49 PM Subject: [OT] gcc: maximum length of an array? Hi, sorry for posting an [OT], but usually people on this list know everything :-) Since I don't know too much about programming I am frequently fascinated by simple things like Eratosthenes' sieve. As you might remember, one has to create a boolean array for that. The longer the array the more primes can be found. With malloc() I can create an array of length 1 (10^8) and the first 5761455 primes are calculated in a few seconds. So of course I would like to test length 10^9 but here my program crashes. So my questions: - is there some way to create a longer array? - or what are the alternatives? - do you know some kind of fine manual about this? Regards and thanks for all answers, Uli. * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh tunnel - remote access through nat
Drew wrote: Hi, I've got a box that's nat'd out to the internet. It is occassionally neccessary for me to access this box remotely. The obvious answer is: ssh -R :localhost:22 remote.box cat run from the nat'd box where remote box is a place I pretty much always have access too from anywhere, anytime. Um. Why not forward an open port like from whatever is doing NAT for this box to port 22 on it? If the NAT gateway is being assigned a dynamic IP, use dyndns.org and update script... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: max number of groups a user can be member of
Hi. Dan Nelson wrote: In the last episode (Jul 24), Roberto Nunnari said: Hi everybody. Could anybody tell me the reason why by default FreeBSD limits the number of groups a user can be member of to 16? Compatibility with the NFS protocol. A google search on nfs 16 groups returned a lot of hits. http://www.sunmanagers.org/archives/1998/1328.html http://nfsworld.blogspot.com/2005/03/whats-deal-on-16-group-id-limitation.html You can raise the limit, but you need to make sure that you raise it on all servers that share NFS mounts. If you don't you may end up with remote file access either failing or not passing the full group membership list to the remote server, which could cause incorrect permission denied errors. The FreeBSD box act as a NFS/NIS client to a linux box. How can I get to know what the limit is on the linux box? FreeBSD box: # uname -srp FreeBSD 6.1-RELEASE-p3 i386 Linx box # uname -s -o -r Linux 2.4.21-47.ELsmp GNU/Linux Thank you a lot. -- Roberto Nunnari -software engineer- mailto:[EMAIL PROTECTED] Scuola Universitaria Professionale della Svizzera Italiana Dipartimento Tecnologie Innovative http://www.dti.supsi.ch SUPSI-DTI Via Cantonaletel: +41-91-6108561 6928 Mannofax: +41-91-6108570 Switzerland (o o) ===oOO==(_)==OOo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: max number of groups a user can be member of
Sorry.. In my previous mail, I forgot to say to send replies to my mailbox as well, as I'm not on the list. Thank you. Hi. Dan Nelson wrote: In the last episode (Jul 24), Roberto Nunnari said: Hi everybody. Could anybody tell me the reason why by default FreeBSD limits the number of groups a user can be member of to 16? Compatibility with the NFS protocol. A google search on nfs 16 groups returned a lot of hits. http://www.sunmanagers.org/archives/1998/1328.html http://nfsworld.blogspot.com/2005/03/whats-deal-on-16-group-id-limitation.html You can raise the limit, but you need to make sure that you raise it on all servers that share NFS mounts. If you don't you may end up with remote file access either failing or not passing the full group membership list to the remote server, which could cause incorrect permission denied errors. The FreeBSD box act as a NFS/NIS client to a linux box. How can I get to know what the limit is on the linux box? FreeBSD box: # uname -srp FreeBSD 6.1-RELEASE-p3 i386 Linx box # uname -s -o -r Linux 2.4.21-47.ELsmp GNU/Linux Thank you a lot. -- Roberto Nunnari -software engineer- mailto:[EMAIL PROTECTED] Scuola Universitaria Professionale della Svizzera Italiana Dipartimento Tecnologie Innovative http://www.dti.supsi.ch SUPSI-DTI Via Cantonaletel: +41-91-6108561 6928 Mannofax: +41-91-6108570 Switzerland (o o) ===oOO==(_)==OOo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dumping net traffic to log file
Great, im making good progress here. it seems like tcpdump only captures the headers, is there a way to capture the entire packet, data and all? thanks guys Chuck Swiger wrote: Steel City Phantom wrote: [ ...top posting is confusing... ] im trying the command tcpdump -i em0 traffic.log and i get the response tcpdump: (no devices found) /dev/bpf0: No such file or directory You'll need to recompile your kernel with device bpf, although it is normally enabled in the GENERIC kernel by default. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple gateways?
Hi there, With ipfw you can do multiple diverts and natds on different ports, choosing which traffic will use wich gateway by source or destiny. xl0 = 192.168.1.2 - gw 192.168.1.1 xl1 = 10.0.0.2- gw 10.0.0.1 ... add divert 8669 ip from any to 192.168.1.2 via xl0 in add divert 8669 ip from 172.16.0.0/16 to any 80 via xl1 out add fwd 192.168.1.1 ip from 192.168.1.2 to any add divert 8668 ip from any to 10.0.0.1 via xl1 in add divert 8668 ip from 172.16.0.0/16 to any via xl1 in ... Suposing your default gateway is 10.0.0.1 and alternative gateway is 192.168.1.1 and your network is 172.16.0.0, with this rules your web requests are going through alterative gateway, and all the rest through default gateway Another way is using pf, where you can even do a round robin use of both gateways, as in http://www.openbsd.org/faq/pf/pools.html. []'s -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825 -- Original Message --- From: Atom Powers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tue, 25 Jul 2006 08:18:02 -0700 Subject: Re: Multiple gateways? You need to have only one default gateway. But you can use routed to configure other gateways. Note: without a routing daemon all your gateways are default gateways, this will almost certainly cause you problems. On 7/25/06, Reuben A. Popp [EMAIL PROTECTED] wrote: Hello all, Another quick question here.. I have a box with dual gb nics and I was curious if there was a relatively easy way to connect it to two separate gateways. For example, em0 is configured to be 10.223.223.223 with a gateway of 10.223.223.254 and em1 is configured to be 10.224.224.224 with a gateway of 10.224.224.254. TIA Reuben A. Popp Information Technology Department East Central College 1+ 636 583-5195 ext 2480 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- 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: Multiple gateways?
Hi there, With ipfw you can do multiple diverts and natds on different ports, choosing which traffic will use wich gateway by source or destiny. xl0 = 192.168.1.2 - gw 192.168.1.1 xl1 = 10.0.0.2- gw 10.0.0.1 ... add divert 8669 ip from any to 192.168.1.2 via xl0 in add divert 8669 ip from 172.16.0.0/16 to any 80 via xl1 out add fwd 192.168.1.1 ip from 192.168.1.2 to any add divert 8668 ip from any to 10.0.0.1 via xl1 in add divert 8668 ip from 172.16.0.0/16 to any via xl1 in ... Suposing your default gateway is 10.0.0.1 and alternative gateway is 192.168.1.1 and your network is 172.16.0.0, with this rules your web requests are going through alterative gateway, and all the rest through default gateway Another way is using pf, where you can even do a round robin use of both gateways, as in http://www.openbsd.org/faq/pf/pools.html. []'s -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825 -- Original Message --- From: Atom Powers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tue, 25 Jul 2006 08:18:02 -0700 Subject: Re: Multiple gateways? You need to have only one default gateway. But you can use routed to configure other gateways. Note: without a routing daemon all your gateways are default gateways, this will almost certainly cause you problems. On 7/25/06, Reuben A. Popp [EMAIL PROTECTED] wrote: Hello all, Another quick question here.. I have a box with dual gb nics and I was curious if there was a relatively easy way to connect it to two separate gateways. For example, em0 is configured to be 10.223.223.223 with a gateway of 10.223.223.254 and em1 is configured to be 10.224.224.224 with a gateway of 10.224.224.254. TIA Reuben A. Popp Information Technology Department East Central College 1+ 636 583-5195 ext 2480 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- 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: How to use kernel modules from CURRENT on STABLE
When you do a make depend in /usr/src/sys/i386/conf/KERNEL/ you are just compiling the modules... You could make a copy of the source tree (for backup reasons), upgrade to CURRENT, do a make depend and test the modules you want. If it just doesn't work at all you can revert to the backup copy of the source tree and reinstall the STABLE modules. []'s -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825 -- Original Message --- From: Erik Norgaard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tue, 25 Jul 2006 08:44:06 +0200 Subject: How to use kernel modules from CURRENT on STABLE Hi: I have had some problems, it seems that the drivers in -STABLE does not support my hardware fully. So I want to try out drivers on -CURRENT without switching the whole system up to current. What is the best way to do this? - checkout current and copy the relevant source into the stable source tree? - checkout and compile -CURRENT kernel and then copy relevant kernel modules? - or won't work at all? problems with linking? other? It appears that most modules don't have a separate make file, how do I compile just the module in question? Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- 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: OpenBSD PF firewall in Freebsd
Thanks everybody, looks great.. thanks for the reply! On 7/25/06, fbsd [EMAIL PROTECTED] wrote: yes OpenBSD pf is part of the FreeBSD base release. Read the firewall section of the handbook for instructions on how to activate. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ivan Levchenko Sent: Tuesday, July 25, 2006 11:53 AM To: freebsd-questions@freebsd.org Subject: OpenBSD PF firewall in Freebsd Hello all, Is PF installed with the base system in FreeBSD 6.1? I see that there is IPF, is it the same thing? I didn't find PF in the ports tree, so thats why i'm asking. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dumping net traffic to log file
In the last episode (Jul 25), Steel City Phantom said: Great, im making good progress here. it seems like tcpdump only captures the headers, is there a way to capture the entire packet, data and all? tcpdump only displays a packet summary by default. If you want to see the full packet data, use -X. It's better if you don't do this during capture, though, since it may cause you to drop packets. capture to a file with the -w flag (possibly with -s0 to capture the entire packet), then view the data later with -r. See the manpage for more details. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] gcc: maximum length of an array?
On Sun, 23 Jul 2006, Giorgos Keramidas wrote: On 2006-07-24 20:49, P.U.Kruppa [EMAIL PROTECTED] wrote: Hi, sorry for posting an [OT], but usually people on this list know everything :-) Since I don't know too much about programming I am frequently fascinated by simple things like Eratosthenes' sieve. As you might remember, one has to create a boolean array for that. The longer the array the more primes can be found. With malloc() I can create an array of length 1 (10^8) and the first 5761455 primes are calculated in a few seconds. So of course I would like to test length 10^9 but here my program crashes. If this is about integer values, which are probably 32-bit, you are hitting the kern.maxdsiz limit of 512 MB. An array of 100,000,000 32-bit values takes up 4 * 100,000,000 = 400,000,000 (close to 400 MiB of memory to store). Anything above 512 MB in size will make the data size of your program so big that it will overflow the data seg size: $ ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) 524288 ... You can either increase kern.maxdsiz in your `/boot/loader.conf' file, or redesign the algorithm to work with larger datasets by splitting them in chunks that you can still process with 512 MB of data :) *How* can I effectively split my array up? How can I access an element arr[n] if n is bigger than INT_MAX ? I have tried some kind of linear/linked list, but that becomes disgustingly slow. Thanks, Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6 Hard Lock no logs
Hi, I have a web/mail server thats running the lastest version of FreeBSD 6.0-RELEASE-p9 #4. In the last month or so it's started hard locking.. when the machine locks up i can still ping it and get connects from telneting to 80,22,etc sometimes i get a banner and sometimes i dont.. but there are no errors on the console or in the logs. The odd thing is the locking seems to happen within a certain time window (mon,tues) and never end of the week or weekend.. i suspected it could have been a bad cron job but nothing falls into that time frame. As a test i've been rebooting the server everynight to see if that would help the machine get past the begining of the week with out a hang and again this morning even though i rebooted last night at 10pm hung around 9:47am. The machine is a Dell PowerEdge 2550, I've had dell come and replace the MB and have ran all their diagnostics aswell with no errors reported.. I've been reading alot about APIC and ACPI and people having similar issues but nothing that fits the bill... below is the dmesg and output of vmstat -i.. another odd thing is the rate for the CPU timer is extremely high compared to other machines with similar hardware or faster hardware. Any help on where to look next would be awesome. interrupt total rate irq1: atkbd0 107 0 irq6: fdc010 0 irq13: npx01 0 irq14: ata0 74 0 irq16: fxp027110 12 irq20: amr0 105950 48 cpu0: timer 4385477 1999 cpu1: timer 4369967 1992 Total696 4053 Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE-p9 #4: Thu Jun 22 14:54:15 PDT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU family 1266MHz (1258.22-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6b1 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 1073676288 (1023 MB) avail memory = 1041612800 (993 MB) ACPI APIC Table: DELL PE2550 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL PE2550 on motherboard acpi0: Power Button (fixed) pci_link0: ACPI PCI Link LNK0 irq 5 on acpi0 pci_link1: ACPI PCI Link LNK1 irq 10 on acpi0 pci_link2: ACPI PCI Link LNK2 on acpi0 pci_link3: ACPI PCI Link LNK3 on acpi0 pci_link4: ACPI PCI Link LNK4 irq 5 on acpi0 pci_link5: ACPI PCI Link LNK5 irq 10 on acpi0 pci_link6: ACPI PCI Link LNK6 on acpi0 pci_link7: ACPI PCI Link LNK7 on acpi0 pci_link8: ACPI PCI Link LNK8 on acpi0 pci_link9: ACPI PCI Link LNK9 on acpi0 pci_link10: ACPI PCI Link LNKA on acpi0 pci_link11: ACPI PCI Link LNKB on acpi0 pci_link12: ACPI PCI Link LNKC on acpi0 pci_link13: ACPI PCI Link LNKD on acpi0 pci_link14: ACPI PCI Link LNKE on acpi0 pci_link15: ACPI PCI Link LNKF irq 10 on acpi0 pci_link16: ACPI PCI Link LUSB irq 11 on acpi0 Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: PCI-PCI bridge at device 2.0 on pci0 pci1: PCI bus on pcib1 pcib2: PCI-PCI bridge at device 0.0 on pci1 pci2: PCI bus on pcib2 amr0: LSILogic MegaRAID 1.51 mem 0xf000-0xf7ff irq 20 at device 0.0 on pci2 amr0: LSILogic PERC 3/DC Firmware 197O, BIOS 3.35, 128MB RAM pci1: mass storage, SCSI at device 1.0 (no driver attached) pci0: display, VGA at device 14.0 (no driver attached) isab0: PCI-ISA bridge port 0x8a0-0x8af at device 15.0 on pci0 isa0: ISA bus on isab0 atapci0: ServerWorks ROSB4 UDMA33 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8b0-0x8bf at device 15.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 ohci0: OHCI (generic) USB controller mem 0xfe40-0xfe400fff irq 11 at device 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pcib3: ACPI Host-PCI bridge on acpi0 pci3: ACPI PCI bus on pcib3 bge0: Broadcom BCM5700 Gigabit Ethernet, ASIC rev.
Re: dumping net traffic to log file
Steel City Phantom wrote: Great, im making good progress here. it seems like tcpdump only captures the headers, is there a way to capture the entire packet, data and all? Use -s 0. tcpdump is closer to the equivalent of a network toolbox than merely a swiss army knife, but you may find that dumping to a file and reading that file from another process does better (via -i -o flags), especially under higher traffic volume. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dumping net traffic to log file
Chuck Swiger wrote: [ ...stuff about tcpdump options... ] (via -i -o flags) Sorry, I was thinking of something else-- tcpdump uses -r -w. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to access Postfixadmin
Riemer Palstra wrote: On Mon, Jul 24, 2006 at 05:12:51PM -0400, Gerard Seibert wrote: Directory /usr/local/www/postfixadmin Options Indexes AllowOverride AuthConfig /Directory Attempting to access the site produced am error message. So, what's the error message, and what's in your Apache logs? The .htpasswd and .htaccess files are both located in the postfixadmin/admin directory. And what's in your .htaccess file? On a related note, is magic_quotes_gpc turned on in your PHP config? Unfortunately, PostfixAdmin may need that. It just needed: Allow from all in the directive since the directory preceeded the document directory. I got the answer from the Apache forum. -- 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: dumping net traffic to log file
On Tue, Jul 25, 2006 at 01:39:49PM -0400, Steel City Phantom wrote: Great, im making good progress here. it seems like tcpdump only captures the headers, is there a way to capture the entire packet, data and all? In addition the the other fine answers you got, after you've written to a file with -w and are later reading it with -r you can raise the snaplength with -s to view a bit more without seeing the whole packet. Often that's a nice way to narrow things down when you don't yet know exactly what you're looking for. Also, you will want to get familiar with filter expressions, which may appear at the end of the tcpdump command: tcpdump ... host 192.168.10.100 and port 999 would only show traffic for port 999 to or from 192.168.10.11, for instance. -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A question for the AWK wizards
in message [EMAIL PROTECTED], wrote Parv thusly... You need to use substr() not awk to shorten a line. ` ^ ^ ^ ^ ^ ^ ^ ^ ` ^ ^ ^ ^ ^ ^ ^ ^ Dang it! I meant to use the substr() function in awk. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What I would like to see, or How many FreeBSD boxen are out there?
IMHO this is the first and oldest one. http://www.netccraft.com -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatrabari Dhaka 1204 http://www.DhakaStockExchangeGame.com On Sunday 23 July 2006 00:09, User Freebsd wrote: On various lists, including this one, there is talk about how to we make hardware vendors sit up and take more notice of us ... alot of the negative responses back seem to be 'we are too small of a group', but, of couse, nobody out there can really give any even *reasonable* numbers of desktops and servers deployed with FreeBSD ... What I'd love to see is a *project initiated* (or FreeBSD Foundation) FreeBSD reporting mechanism similar to: http://www.mreriksson.net/uptimes/myuptimes Something just for FreeBSD users (well, all *BSD users should be invited) ... uptime not being the really big thing here, but stuff like version of FreeBSD being run, country being run in, maybe have it part dmesg on startup and report devices in use, etc ... Come up with reports like # of hosts using fxp vs em devices, etc ... although it may be a bit more difficult, I don't know, but report on specific hardware being used ... Statistics that either Core, or the FreeBSD Foundation, can use to show vendors they are talking to about what is currently in use ... but also to show developers themselves what device drivers are actually in use, that sort of thing ... Nothing that I'd think would be 'sensitive information', but information that would be useful from either a marketing, or support, point of view ... And market / promote it ... Basically, unless I'm mistaken, right now we have *nothing* to base numbers on, except maybe the netcraft report(s)? ... but, that only includes hosts running web servers ... how many are running firewalls? desktops? mail servers? etc ... We need to show vendors we aren't some hobbiest group, and towards that end, producing some sort of up to date #s would really help, I would think ... show them we are a market worth looking at ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] gcc: maximum length of an array?
On 2006-07-27 17:02, P.U.Kruppa [EMAIL PROTECTED] wrote: On Sun, 23 Jul 2006, Giorgos Keramidas wrote: On 2006-07-24 20:49, P.U.Kruppa [EMAIL PROTECTED] wrote: Hi, sorry for posting an [OT], but usually people on this list know everything :-) Since I don't know too much about programming I am frequently fascinated by simple things like Eratosthenes' sieve. As you might remember, one has to create a boolean array for that. The longer the array the more primes can be found. With malloc() I can create an array of length 1 (10^8) and the first 5761455 primes are calculated in a few seconds. So of course I would like to test length 10^9 but here my program crashes. If this is about integer values, which are probably 32-bit, you are hitting the kern.maxdsiz limit of 512 MB. An array of 100,000,000 32-bit values takes up 4 * 100,000,000 = 400,000,000 (close to 400 MiB of memory to store). Anything above 512 MB in size will make the data size of your program so big that it will overflow the data seg size: $ ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) 524288 ... You can either increase kern.maxdsiz in your `/boot/loader.conf' file, or redesign the algorithm to work with larger datasets by splitting them in chunks that you can still process with 512 MB of data :) *How* can I effectively split my array up? Not by using the original Sieve of Eratosthenes, that's for sure. By sacrifising some of the speed, you can probably use secondary storage though, to make sure that you keep at most 512 MB of data in physical memory. How can I access an element arr[n] if n is bigger than INT_MAX ? I have tried some kind of linear/linked list, but that becomes disgustingly slow. Actually, the limit of data offsets you can meaningfully access with a C program is not INT_MAX, which may be as low as +32767 (see page 22 of the ISO/IEC 9899:TC2 public draft of the C programming language[1]). [1] Draft n1124 from http://www.open-std.org/JTC1/SC22/WG14/www/docs/ The largest size of object you can access with a conforming C program is SIZE_MAX (see page 259 of the same PDF document). The standard doesn't require `size_t' to be much larger than `int' though, so this may still be inadequate for processing huge datasets. You have multiple options, the way I see it: * Bump kern.maxdsiz to something higher (this can work for much larger datasets than 512 MB, but a little after 2 GB things start getting ugly again). * Work on an amd64 system with LOTS of physical memory and a high kern.maxdsiz value. * Try to find a variation of the Sieve of Eratosthenes that can work with smaller memory load (possibly sacrifising, as you guessed, some of the speed for space). One possible variation would be to keep copies of the data you have processed in secondary storage and load only the parts needed in physical memory. A simplistic implementation of the Sieve of Eratosthenes may result in heavy thrashing if you just swap in and out regions of the numeric range as they are being accessed though :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Serious disk problems
I would try moving the disk to another server and doing the fsck there. If you get the same error you can try increasing the memory limits. You could also try booting the live CD and run the fsck. If you do this you may need to us sysctl to raise the memory limits if you get that error. -Derek At 11:49 AM 7/25/2006, Jonathan Arnold wrote: My power supply died and now my root file system seems to be having major problems. I run fsck -y on it and after complaining about dozens of sectors having problems being read and Unexpected soft updates, fsck ends with: fsck_ufs: cannot alloc 3962308096 bytes for inoinfo Can anything be done about this? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Jiggle The Handle, a personal bloghttp://jiggle.anaze.us Some days, it's not even worth chewing through the restraints ___ 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 6 Hard Lock no logs
First look for the obvious problems like low disk or swap space. If these are OK, you might need to run a script that logs various things and sift through it. I would suggest writing a shell script that sleeps for say 30 to 60 seconds, then opens a log file and does ps -ax and some other echo to give separation and see what is running, then closes the file and sleeps again. Obviously you will only be interested in the last couple of entries in this file. -Derek At 01:19 PM 7/25/2006, Rob Connon (Info) wrote: Hi, I have a web/mail server thats running the lastest version of FreeBSD 6.0-RELEASE-p9 #4. In the last month or so it's started hard locking.. when the machine locks up i can still ping it and get connects from telneting to 80,22,etc sometimes i get a banner and sometimes i dont.. but there are no errors on the console or in the logs. The odd thing is the locking seems to happen within a certain time window (mon,tues) and never end of the week or weekend.. i suspected it could have been a bad cron job but nothing falls into that time frame. As a test i've been rebooting the server everynight to see if that would help the machine get past the begining of the week with out a hang and again this morning even though i rebooted last night at 10pm hung around 9:47am. The machine is a Dell PowerEdge 2550, I've had dell come and replace the MB and have ran all their diagnostics aswell with no errors reported.. I've been reading alot about APIC and ACPI and people having similar issues but nothing that fits the bill... below is the dmesg and output of vmstat -i.. another odd thing is the rate for the CPU timer is extremely high compared to other machines with similar hardware or faster hardware. Any help on where to look next would be awesome. interrupt total rate irq1: atkbd0 107 0 irq6: fdc010 0 irq13: npx01 0 irq14: ata0 74 0 irq16: fxp027110 12 irq20: amr0 105950 48 cpu0: timer 4385477 1999 cpu1: timer 4369967 1992 Total696 4053 Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE-p9 #4: Thu Jun 22 14:54:15 PDT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU family 1266MHz (1258.22-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6b1 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 1073676288 (1023 MB) avail memory = 1041612800 (993 MB) ACPI APIC Table: DELL PE2550 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL PE2550 on motherboard acpi0: Power Button (fixed) pci_link0: ACPI PCI Link LNK0 irq 5 on acpi0 pci_link1: ACPI PCI Link LNK1 irq 10 on acpi0 pci_link2: ACPI PCI Link LNK2 on acpi0 pci_link3: ACPI PCI Link LNK3 on acpi0 pci_link4: ACPI PCI Link LNK4 irq 5 on acpi0 pci_link5: ACPI PCI Link LNK5 irq 10 on acpi0 pci_link6: ACPI PCI Link LNK6 on acpi0 pci_link7: ACPI PCI Link LNK7 on acpi0 pci_link8: ACPI PCI Link LNK8 on acpi0 pci_link9: ACPI PCI Link LNK9 on acpi0 pci_link10: ACPI PCI Link LNKA on acpi0 pci_link11: ACPI PCI Link LNKB on acpi0 pci_link12: ACPI PCI Link LNKC on acpi0 pci_link13: ACPI PCI Link LNKD on acpi0 pci_link14: ACPI PCI Link LNKE on acpi0 pci_link15: ACPI PCI Link LNKF irq 10 on acpi0 pci_link16: ACPI PCI Link LUSB irq 11 on acpi0 Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: PCI-PCI bridge at device 2.0 on pci0 pci1: PCI bus on pcib1 pcib2: PCI-PCI bridge at device 0.0 on pci1 pci2: PCI bus on pcib2 amr0: LSILogic MegaRAID 1.51 mem 0xf000-0xf7ff irq 20 at device 0.0 on pci2 amr0: LSILogic PERC 3/DC Firmware 197O, BIOS 3.35, 128MB RAM pci1: mass storage, SCSI at device 1.0 (no driver attached) pci0: display, VGA at device 14.0 (no driver attached) isab0: PCI-ISA bridge port 0x8a0-0x8af at device 15.0 on pci0 isa0: ISA bus on isab0 atapci0: ServerWorks ROSB4 UDMA33 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8b0-0x8bf at
Re: What FreeBSD users really want
You know, for me, the little things have nothing to do with what you said. The little things have to do with the stuff my wife needs. Trivial things, like easily writing data to a CD, just like she does on her work with Windows, and automounting floppies for DOS formatted floppies. Automounting like in Linux. Every thing else is just fine, we ahve everything in FreeBSD that a desktop user needs. My 2 cents. HL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd-questions Digest, Vol 143, Issues: 13, 15, 19
I can't read any of these emails. I am using Juno.com for my mail service under Windows 98 . When I open them up, I see the part before the table of contents and then the mail area goes blank and stays that way. I've waited a few minutes, but the situation doesn't correct itself. I may soon call Juno to see if they have a later instance of their code that I can install. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What I would like to see, or How many FreeBSD boxen are out there?
Aftab Jahan Subedar wrote: IMHO this is the first and oldest one. http://www.netccraft.com I think you mean http://www.netcraft.com :) Especially what's that site running http://toolbar.netcraft.com/site_report?url=http://www.yahoo.com - Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
any audio wizards know howto store *.smil files?
Is there a way of saving *.[ra|ram|smil] or any real audio type files locally? I've poked around and haven't found any means of saving real* stuff. thanks in advance, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What FreeBSD users really want
Jim Stapleton wrote: No offense, but, it doesn't even integrate BASH. I had to install the bash package so I wasn't stuck to CSH, and BASH is much more popular than any PHP shell. (Wait, is there a PHP shell? I know there is a CLI interpereter, but that's different). Regardless, if it's in ports (which it probably is if there is such a thing), then just install it, not very difficult at all. Indeed. Very easy. To me, the bare-bones-ness of FreeBSD is one if its strongest points. I happened to read this thread after an employee birthday party, so please excuse the poor analogy to follow... Linux distros are like cakes that arrive fully baked, frosted and decorated. Don't like that flavor? Wrong number of candles? Too bad, use a different distro, or fight the installer to stop it from doing things you don't want it to do. Very, um, Microsoft. FreeBSD is like a build-your-own-cake kit. It arrives as a nearly flavorless slab of yellow cake. Then you decide if it should be double chocolate or lemon or [choose from 20,000 options here]... All you have to do is tell it in your kernel config: options batter angelfood and then cd /usr/src make WITH_FROSTING=orange cd /usr/ports/deco/candles make KIND=birthday COUNT=40 make light make sing In my opinion, FreeBSD should never change its model to arriving as a fully completed cake. The ability to choose (including the choice of plain old cake, no frosting, no decoration) is just priceless. At most, the installer might be improved to make it easier to make good choices. It most definitely should not start choosing for me, at least not beyond the minimal components required for a plain cake level. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any audio wizards know howto store *.smil files?
On Tue, 25 Jul 2006, Gary Kline wrote: Is there a way of saving *.[ra|ram|smil] or any real audio type files locally? I've poked around and haven't found any means of saving real* stuff. Hi Gary, I think you might be able to convince mplayer to do it, depending on the transport that the streaming server is using. HTH, -Andy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
no subject
The dcc resume over nat bug has a patch for 5.x that works. Even though it was never added to the source code: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/50310 I would like to know if there is a fix for 6.x Since libalias is a kernel module in this version, I cant figgure out how to get it to work. Anyone have any ideas? Todd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
any audio wizards know howto store *.smil files?
Gary Kline writes: Is there a way of saving *.[ra|ram|smil] or any real audio type files locally? I've poked around and haven't found any means of saving real* stuff. If I really want to save something which is streamed, my best and not always sucessful answer is to dissect the html then sic fetch on it 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: What FreeBSD users really want
What I (a FreeBSD user) really want: * Xen v3.x dom0 support. * Xen v3.x domU support. * Stable File System. * A Faster, then Linux, File System. * File system journaling so I don't have to fsck a 2TB array. * Drivers for even more SAS/SATA RAID Controllers. * A system that fully supports (no soft limits) 2TB arrays. * Better SMP Support. * Dead to GIANTs. * A Faster, then Linux, TCP/IP Stack. * Better Gigabit Ethernet Support. * Better YukenII Support... checksum offloading etc. * 10-Gigabit Ethernet Support. * Working DRM/DRI in X.org. * Envy24 Audio Controller Support. * Better Multimedia hardware support. * KDE 4. * Firefox to be less bloated and port to QT. * OOo to be less bloated and ported to QT. * A fully open sourced Opera. * A fully open sourced Flash, or a FreeBSD binary. * A fully open sourced Java. * Adobe Photoshop for FreeBSD, or at least for Linux. * Adobe InDesign for FreeBSD. * Dead to binary blobs. * Companies to release (full) documentation. * Apple to open source Mac OS X. or OS-X for the white box PC. * a MacBook Pro. * More cash. * Hot chicks. * World Peace. Thats good enough for right now. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What FreeBSD users really want
Greg Barniskis writes: In my opinion, FreeBSD should never change its model to arriving as a fully completed cake. Conversely ... if someone wants to build something fully specified based on FreeBSD, more power to 'em. 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: any audio wizards know howto store *.smil files?
On Tue, Jul 25, 2006 at 04:28:23PM -0400, Andy Reitz wrote: On Tue, 25 Jul 2006, Gary Kline wrote: Is there a way of saving *.[ra|ram|smil] or any real audio type files locally? I've poked around and haven't found any means of saving real* stuff. Hi Gary, I think you might be able to convince mplayer to do it, depending on the transport that the streaming server is using. HTH, -Andy. Be nice. mplayer is the ultimate zoo to use, so can you suggested a commmon-line string to help me? Maybe like % mplayer -s http://www.npr.org/X/Y/Z/foo789.smil or something like that? gary (There may be other transports protocols, but I sure don't know about them!) -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What FreeBSD users really want
On Tue, Jul 25, 2006 at 03:55:03PM -0500, Nikolas Britton wrote: What I (a FreeBSD user) really want: [...] What I really want is a keyboard button marked DWIM (NWIS) for Do What I Meant (Not What I Said). -- 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: any audio wizards know howto store *.smil files?
On Tue, 25 Jul 2006, Gary Kline wrote: Is there a way of saving *.[ra|ram|smil] or any real audio type files locally? I've poked around and haven't found any means of saving real* stuff. If mplayer will play it, you can (probably) dump it with -dumpaudio -dumpfile filename dumpfile defaults to ./stream.dump -- Lars Eighner [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any audio wizards know howto store *.smil files?
On Tue, 25 Jul 2006, Lars Eighner wrote: On Tue, 25 Jul 2006, Gary Kline wrote: Is there a way of saving *.[ra|ram|smil] or any real audio type files locally? I've poked around and haven't found any means of saving real* stuff. If mplayer will play it, you can (probably) dump it with -dumpaudio -dumpfile filename dumpfile defaults to ./stream.dump Actually, I tend to use the '-dumpstream' parameter instead of '-dumpaudio', because that will get both audio and video. If all you want is the audio part, however, then by all means go with '-dumpaudio'. I'm not sure if mplayer can parse smil files. If you can't get that to work, then just download the smil file (it is just a small text file), and pick out the URLs for the media files, and hand those to mplayer. For example, I just pulled this smil file from NPR: smil meta name=title content=Talk of the Nation - Tuesday, July 25, 2006 / meta name=author content=http://www.npr.org/; / meta name=copyright content=2006 / body audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_01.rm?v1st=mt=2 title=Will Syria Help Ease Mideast Turmoil? author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_02.rm?v1st=mt=2 title=Henry V and the 'Battle That Made England' author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_03.rm?v1st=mt=2 title=The Adaptations of Philip K. Dick author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_04.rm?v1st=mt=2 title=Is Third World War Talk Just Hyperbole? author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_05.rm?v1st=mt=2 title=Letters: Middle East Fighting, India.Arie author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / /body /smil You can see the audio tags contain the good bits (in this case, RTSP-style URLs). You can feed those URLs directly to mplayer, which in my testing should work fine. -Andy Reitz. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What FreeBSD users really want
David Kelly writes: On Tue, Jul 25, 2006 at 03:55:03PM -0500, Nikolas Britton wrote: What I (a FreeBSD user) really want: What I really want is a keyboard button marked DWIM (NWIS) for Do What I Meant (Not What I Said). A Smite! key. 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: What FreeBSD users really want
On 7/22/06, Freminlins [EMAIL PROTECTED] wrote: The only thing I wish I had learned so much sooner was set autolist in my .cshrc. I didn't know it was there, and I have no idea why it is not in the default dot.cshrc file. No doubt good reasons, but I got by for months before I found this out. All that time I was going bash can do it, why can't csh? Thanks, I've been wondering how you do that. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any audio wizards know howto store *.smil files?
On Tue, Jul 25, 2006 at 04:54:12PM -0400, Robert Huff wrote: Gary Kline writes: Is there a way of saving *.[ra|ram|smil] or any real audio type files locally? I've poked around and haven't found any means of saving real* stuff. If I really want to save something which is streamed, my best and not always sucessful answer is to dissect the html then sic fetch on it How best to decode this:: + fetch http://web.lightningcast.net/servlets/getAd?version=4.5anaid=175playerid=1streamref=1session=8AB1883F11EB3EE3spot=[0,0]ext=.rm getAd?version=4.5anaid=175playerid=1streamr100% of 26 kB 17 kBps tao# This only took a few seconds so can't be right. The song is over 3 minutes. Singer is an ex computer hacker turned singer. There are at least five free songs.How would you parse the http string? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
subscribing to freebsd maillists
Hi, I'm trying to subscribe this email address to several freebsd mailing lists but never receive the confirmation email. The mail logs on the receiving mail server show nothing at all. Seems like a confirmation email is never sent out. I don't have problem subscribing other email addresses or receiving other email to this email address. Thanks, Stoyan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any audio wizards know howto store *.smil files?
Gary Kline writes: If I really want to save something which is streamed, my best and not always sucessful answer is to dissect the html then sic fetch on it How best to decode this:: + fetch http://web.lightningcast.net/servlets/getAd?version=4.5anaid=175playerid=1streamref=1session=8AB1883F11EB3EE3spot=[0,0]ext=.rm getAd?version=4.5anaid=175playerid=1streamr100% of 26 kB 17 kBps tao# This only took a few seconds so can't be right. The song is over 3 minutes. Singer is an ex computer hacker turned singer. There are at least five free songs.How would you parse the http string? Like I said: not always sucessful. 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: any audio wizards know howto store *.smil files?
On Tue, 25 Jul 2006, Gary Kline wrote: How best to decode this:: + fetch http://web.lightningcast.net/servlets/getAd?version=4.5anaid=175playerid=1streamref=1session=8AB1883F11EB3EE3spot=[0,0]ext=.rm Hi Gary, Try pointing mplayer at that URL. -Andy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.1 installation problem on a big disk
I am installing 6.1-RELEASE on i386 platform, using a fairly big IDE disk (Maxtor 6L250R0, 250 GB). All goes well when I create a slice and partition it (using defaults). I have 2 disks, ad0 and ad2, but I am using only ad0 for installation. When the installation begins, I see the following error message: Error mounting /mnt/dev/ad0s1f on /mnt/usr : Invalid argument and after that the installation give lots of disk writing errors. ad0s1f is the biggest partition (around 230 GB). It looks like the motherboard recognizes the disk correctly (it gives the right size in BIOS Setup). For the record, the motherboard is ASRock K7VT4A Pro, the disk is the IDE Primary Master. Can I do anything to fix this? Regards, Cyril ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What I would like to see, or How many FreeBSD boxen are out there?
On Wed, 26 Jul 2006, Aftab Jahan Subedar wrote: IMHO this is the first and oldest one. http://www.netccraft.com That is a web hosting survey ... it doesn't take into consideration firewalls, desktops, mail servers, file servers, etc, etc ... What I'm suggesting is some means of tracking who is using FreeBSD, what they are using it for (narrow scope, ie. web hosting, firewall, etc ... nothing fancy there), but, also, eventually extended to include information about the OS itself (none sensitive information only): Version of OS Hardware Drivers In Use (via dmesg) Physical Hardware in Use (not sure if that is possible) For instance, it would be nice to be able to go to ppl like ICP Vortex, which appear to support fbsd4 and fbsd5, but not 6.x or 7.x, and say: Hey, X out of Y FreeBSD machines running out there are running your cards, to show them that there *is* a market ... The problem is that right now, there are no concrete #s, only a bunch of speculation and guesses ... even places like Netcraft don't give a clear picture, since it only focuses on one *aspect* of the market place ... -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatrabari Dhaka 1204 http://www.DhakaStockExchangeGame.com On Sunday 23 July 2006 00:09, User Freebsd wrote: On various lists, including this one, there is talk about how to we make hardware vendors sit up and take more notice of us ... alot of the negative responses back seem to be 'we are too small of a group', but, of couse, nobody out there can really give any even *reasonable* numbers of desktops and servers deployed with FreeBSD ... What I'd love to see is a *project initiated* (or FreeBSD Foundation) FreeBSD reporting mechanism similar to: http://www.mreriksson.net/uptimes/myuptimes Something just for FreeBSD users (well, all *BSD users should be invited) ... uptime not being the really big thing here, but stuff like version of FreeBSD being run, country being run in, maybe have it part dmesg on startup and report devices in use, etc ... Come up with reports like # of hosts using fxp vs em devices, etc ... although it may be a bit more difficult, I don't know, but report on specific hardware being used ... Statistics that either Core, or the FreeBSD Foundation, can use to show vendors they are talking to about what is currently in use ... but also to show developers themselves what device drivers are actually in use, that sort of thing ... Nothing that I'd think would be 'sensitive information', but information that would be useful from either a marketing, or support, point of view ... And market / promote it ... Basically, unless I'm mistaken, right now we have *nothing* to base numbers on, except maybe the netcraft report(s)? ... but, that only includes hosts running web servers ... how many are running firewalls? desktops? mail servers? etc ... We need to show vendors we aren't some hobbiest group, and towards that end, producing some sort of up to date #s would really help, I would think ... show them we are a market worth looking at ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ 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] Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar dies on making tape backup
On Jul 25, 2006, at 9:03 AM, Derek Ragona wrote: Using tar with a SDLT I set the blocksize at 1024 and use ASCII headers (-c) Thanks for the advice. I hadn't thought about block size. Why do you use the ASCII headers? Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What FreeBSD users really want
On 25/07/06 Henry Lenzi said: You know, for me, the little things have nothing to do with what you said. The little things have to do with the stuff my wife needs. Trivial things, like easily writing data to a CD, just like she does on her work with Windows, and automounting floppies for DOS formatted floppies. Automounting like in Linux. Every thing else is just fine, we ahve everything in FreeBSD that a desktop user needs. That comes at a price. I've heard some reports of CD-ROMs failing on Linux due to the HAL daemon polling it so often that it finally just dies. There are major debates in the Linux community about the supposed user-friendly behaviour of Gnome and KDE, and whether it's truly friendly. Personally, I'd be happy with a button to mount my devices, instead of automounting. Be careful whenever you say that it should work like Windows. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpMtpHMOGn7W.pgp Description: PGP signature
Solid modeling
Is there any software to model 3D constructions for viewing and to produce drawings.. ? I have found irit, brlcad, rayshade.. none seems to solve it sufficiently. If it were 2D only, xfig could done it. Qcad seem to produce .dwg, but only work in 2D aswell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fsck in the background
A while ago there was a power failure in my house, long enough to wear down the UPS. I had to power-on my server when I got home (crappy bios), and I noticed after I logged-in that fsck was running non-interactively in the background. Question: If it finds problems that require administrator intervention, how does it tell me if it's running in the background? I like that it runs in the background, it's a 200M drive. Still, I'm curious about this difference from Linux where I have to wait while fsck runs. Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpbjWNttBs19.pgp Description: PGP signature
Re: Solid modeling
On 7/26/06, Peter B [EMAIL PROTECTED] wrote: Is there any software to model 3D constructions for viewing and to produce drawings.. ? I have found irit, brlcad, rayshade.. none seems to solve it sufficiently. If it were 2D only, xfig could done it. Qcad seem to produce .dwg, but only work in 2D aswell. ___ Try blender, Port description for graphics/blender Blender is a free and fully functional 3D modeling/rendering/animation/gaming package. Blender is distributed without sources, it is exclusively developed and maintained by the Dutch company NaN. This software is free to be applied for any purpose, excluding commercial distribution. For more about this, read the copyright notice included in the download file (share/doc/blender/copyright.txt). WWW: http://www.blender.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any audio wizards know howto store *.smil files?
On Tue, Jul 25, 2006 at 05:11:36PM -0400, Andy Reitz wrote: On Tue, 25 Jul 2006, Lars Eighner wrote: On Tue, 25 Jul 2006, Gary Kline wrote: Is there a way of saving *.[ra|ram|smil] or any real audio type files locally? I've poked around and haven't found any means of saving real* stuff. If mplayer will play it, you can (probably) dump it with -dumpaudio -dumpfile filename dumpfile defaults to ./stream.dump Actually, I tend to use the '-dumpstream' parameter instead of '-dumpaudio', because that will get both audio and video. If all you want is the audio part, however, then by all means go with '-dumpaudio'. I'm not sure if mplayer can parse smil files. If you can't get that to work, then just download the smil file (it is just a small text file), and pick out the URLs for the media files, and hand those to mplayer. For example, I just pulled this smil file from NPR: smil meta name=title content=Talk of the Nation - Tuesday, July 25, 2006 / meta name=author content=http://www.npr.org/; / meta name=copyright content=2006 / body audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_01.rm?v1st=mt=2 title=Will Syria Help Ease Mideast Turmoil? author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_02.rm?v1st=mt=2 title=Henry V and the 'Battle That Made England' author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_03.rm?v1st=mt=2 title=The Adaptations of Philip K. Dick author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_04.rm?v1st=mt=2 title=Is Third World War Talk Just Hyperbole? author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / audio src=rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_05.rm?v1st=mt=2 title=Letters: Middle East Fighting, India.Arie author=Talk of the Nation - Tuesday, July 25, 2006 copyright=2006 / /body /smil You can see the audio tags contain the good bits (in this case, RTSP-style URLs). You can feed those URLs directly to mplayer, which in my testing should work fine. Apologies for the delay; a buddy dropped by for awhile. My last post fetched some non-NPR site that I figure was the adv that helps pay for the songs/talk space and bandwitdh. I finally used mplayer rtsp://foobar// and it loooked as though the entire don would take 20-30 minutes to download. Not a problem; this ex-hacker turnd singer (V. Teng) has a voice worth waiting for. My IDSL like is 144k... pretty slow. I'll test with the -dumpaudio -dumpfile xyz and see what happens. gary Rats. Here's what happened whn I added the two switches to mplayer. Anybody know why the streamm bmbed out?? pm 17:15 tao [5094] sh -x YY1.sh + mplayer -dumpaudio -dumpfile /tmp/vT1 rtsp://real.npr.org:80/real.npr.na-central/news.db.rm?v1st=8AB1883F11EB3EE3mt=4 MPlayer 1.0pre7try2-3.4.2 (C) 2000-2005 MPlayer Team CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6) Detected cache-line size is 32 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. This codecs.conf is too old and incompatible with this MPlayer release! at line 5 Playing rtsp://real.npr.org:80/real.npr.na-central/news.db.rm?v1st=8AB1883F11EB3EE3mt=4. Resolving real.npr.org for AF_INET6... Couldn't resolve name for AF_INET6: real.npr.org Resolving real.npr.org for AF_INET... Connecting to server real.npr.org[63.236.6.227]:80 ... Cache size set to 8192 KBytes Connected to server: real.npr.org Cache fill: 7.03% (589824 bytes)Stream EOF detected Cache fill: 7.08% (593920 bytes)REAL file format detected. Stream description: Audio Stream Stream mimetype: audio/x-pn-realaudio Core dumped ;) Exiting... (End of file) -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What FreeBSD users really want
There are major debates in the Linux community about the supposed user-friendly behaviour of Gnome and KDE, and whether it's truly friendly. Personally, I'd be happy with a button to mount my devices, instead of automounting. Yes, I agree. But you see, sometimes its hard to explain to people why I use FreeBSD. Linux has solved those little glitches, and is prefectly usable (I hope I am spared of the Huh, why dontcha use Leenoox kne-jerk reaction - obviously because I like FreeBSD better - but what I can put up with is not the same as the non-geek user can). Let's hope these areas get a little better...And BTW, you can't even pretend FreeBSD will get more media coverage if they don't... Cheers. HL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck in the background
In the last episode (Jul 25), Michael P. Soulier said: A while ago there was a power failure in my house, long enough to wear down the UPS. I had to power-on my server when I got home (crappy bios), and I noticed after I logged-in that fsck was running non-interactively in the background. Question: If it finds problems that require administrator intervention, how does it tell me if it's running in the background? It logs an error to syslog, and the next time you reboot it forces a foreground check so it can prompt you for instructions. I like that it runs in the background, it's a 200M drive. Still, I'm curious about this difference from Linux where I have to wait while fsck runs. You should be using ext3 on Linux :) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck in the background
On 25/07/06 Dan Nelson said: It logs an error to syslog, and the next time you reboot it forces a foreground check so it can prompt you for instructions. Ah. I'd better look for that then. :) You should be using ext3 on Linux :) Been there, done that, experienced the file corruption. It prompted my desire to try FreeBSD, and thus far I have not been disappointed. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpCGJVcw1MHJ.pgp Description: PGP signature
pf firewall for a server
ive been googling for a while now this evening, but have unsuccesfully found any examples on how to firewall a server. i do *not* want to build a router, and unfortunatly, every article i seem to find wants to tell me how to build a router! i just want to learn how to build a simple pf config suitable for a server. if anyone knows of a website where such an example might be found, that would be awesome (but direct config examples in a reply will also be duely appreicated as well :) thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
missing graphics in firefox
Hi gang, I'm running 5.5-PRERELEASE and I'm observing odd behaviour with Firefox (1.5.0.4). In my webmail (yahoo) interface I am missing various graphics: - paperclip (denoting attachments) - arrows (signifying that I replied to the message) - card (signifying that this person is in my address book) - little drop-down arrows beside buttons (MARK, MOVE, REPLY) I do not notice any omitted graphics on any other site. What can be the cause of this? Can anyone help? Peter __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Are hardware vendors starting to bail on FreeBSD ... ?
On Tue, 25 Jul 2006, Ted Mittelstaedt wrote: Oops, forgot about that. Use 5.x then. The statement is that newer versions of FreeBSD are slower than older versions. The point was that this isn't relevant to 90% of users for reasons I already cited. IMHO, I'm not so concerned about my servers being slower then older versions, but the fact that, in some cases, we seem to be going backwards are far as stability is concerned ... I've recently been experiencing lock ups with the three servers that I've upgraded to 6.x ... one of which is 1 year old, the other two are 3 years old ... after getting everything setup with DDB, to the point that I could provide some very detailed traces, and core dumps, it looks like the problem is the one thing common between all three servers: the iir driver ... the two older machines are running Intel 0CH RAID controllers, the newer one an ICP Vortex card ... both were rock solid machines under 4.x ... If you check ICP Vortex's web site, you will actually find *vendor supported* drivers (and CLIs) for both fbsd4 and fbsd5 but nadda for 6 or 7 ... so, from looking at that, it looks like they have bail'd on the newer FreeBSDs ... So, for me, it isn't a performance issue, its what looks to be a shrinking hardware vendor support ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]