Re: VMware Linux server users Data
If you did your research in advance you'd realize you're in for a flame war. On 7/13/2012 9:48 AM, Edwin Abl wrote: Hi, Looking for the contact information of Linux server users across the USA and UK? Or VMware users globally? We have a segmented database of 50,000+ SUSE Linux Enterprise Server (SLES) and Red Hat Enterprise Linux (RHEL) users. We also have large databases of Microsoft SharePoint users, VMware users, Novell users, Windows Server Users, Solaris, and Unix Users, Citrix Users Cisco users, HP users, Dell users and many more.. We've helped [technology] companies like [IBM] generate higher quality sales leads, and more of them. By giving you the right contacts you need for your targeted campaigns, we believe we can do the same for you. We can compile for you a customized, highly segmented database of contacts. That way you can design your marketing strategies to target any defined segment, through multiple channels such as phone, email, fax and post. By using segmented contacts to make your campaigns work smarter, you improve your ability to measure your success, and learn how each market segment responds to different strategies. Get back to us with your requirement for count and quote information. Please contact us for further clarification. Regards, Edwin Abl Marketing Manager One2One Marketing ERP Users data I CRM Users Data I Network Users Data I Desktop Users Data I Laptop Users Data _ We apologize if this message reaches you in error. If you no longer wish to receive our offers, please revert with a subject line Opt Out ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Does FreeBSD start slices at head boundaries?
On 7/6/2012 11:43 AM, Wojciech Puchar wrote: automatically start partitions at head boundaries? The reason I ask is because I am most familiar with sector 64 being the start of a head boundary as opposed to 63. Is my understanding incorrect? yes. 63 is normal. Anyway just don't make slices at all if your disk is dedicated to FreeBSD Except for swap, right? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.
On Dec 10, 2011, at 12:30 AM, Polytropon wrote: On Fri, 9 Dec 2011 13:05:05 -0600, Ryan Coleman wrote: On Dec 9, 2011, at 12:03 PM, Polytropon wrote: On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: It's still not malware, it's bloatware. Why would you not go to the development website to get the program anyway? Uninvitedly adding toolbars, changing web browser home page and default search engine are - in my opinion - malicious acts, so the term malware may be correct here. Maybe the term spyware is also appropriate, depending on what the additions actually do behind the curtain. Note an important thing: When careless users will notice the change, they will maybe blame the authors of the original software, not the distributor. This could do damage to F/O products, at least in Windows land. Luckily, those who build from source or use precompiled packages from a trustworthy vendor don't have to care for that stuff. :-) So, wait, Firefox is Malware? Did you notice that with FF4 they changed it so that you didn't get prompted on launch it overrides your default but instead it's a checkbox inside the installer? I've never installed something in Windows so my opinion has limited fact-backup here. I don't even see from your post _what_ they changed in FF4 - the default browser? The home page? Additional toolbars? Some advertising? Hmmm… You no longer are prompted on first load of the program to change your default browser. That's done for you on the installation program. Which is *EXACTLY WHAT I SAID* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.
On Dec 9, 2011, at 9:35 AM, Chris Brennan wrote: Sorry for the cross post I hadn't seen any chatter about this on the lists. It would seem that Download.com got caught with their pants down and were re-wrapping F/OSS with their own installer and bundling adware, spyware and malware with it. NMap's author, over at insecure.org got pretty hot about it and has collected considerable information on the topic since he learned about it on Monday. Yeah, someone on my LUG list tried to claim that the TCLUG list was the reason for the /. article… stupid peons… It's still not malware, it's bloatware. Why would you not go to the development website to get the program anyway? -- Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.
On Dec 9, 2011, at 9:41 AM, Chris Brennan wrote: On Fri, Dec 9, 2011 at 10:38 AM, Ryan Coleman edi...@d3photography.com wrote: Yeah, someone on my LUG list tried to claim that the TCLUG list was the reason for the /. article… stupid peons… It's still not malware, it's bloatware. Why would you not go to the development website to get the program anyway? Some people just don't get that idea, they stumble onto a piece of software they like and don't bother to think much farther beyond that, as long as it works for them, they don't care. I should add that I often go to download.com for things like winrar, putty, etc., but I know enough to NOT use the Adobe Downloader from adobe.com, check to make sure there's no extra stuff riding along… We have a problem here in Minnesota with Zebra mussels. Tanker ships from Europe didn't filter their ballast water and now we have them in our lakes. They rode tankers from Europe to the Great Lakes, fishing boats from the Great Lakes to smaller lakes… and now it's an infestation. Why? Because they were too busy to take time to figure out what they were doing. [http://www.dnr.state.mn.us/invasives/aquaticanimals/zebramussel/index.html]___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.
On Dec 9, 2011, at 12:03 PM, Polytropon wrote: On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: It's still not malware, it's bloatware. Why would you not go to the development website to get the program anyway? Uninvitedly adding toolbars, changing web browser home page and default search engine are - in my opinion - malicious acts, so the term malware may be correct here. Maybe the term spyware is also appropriate, depending on what the additions actually do behind the curtain. Note an important thing: When careless users will notice the change, they will maybe blame the authors of the original software, not the distributor. This could do damage to F/O products, at least in Windows land. Luckily, those who build from source or use precompiled packages from a trustworthy vendor don't have to care for that stuff. :-) So, wait, Firefox is Malware? Did you notice that with FF4 they changed it so that you didn't get prompted on launch it overrides your default but instead it's a checkbox inside the installer? -- Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OCR Form tools
I don't know about the second half, you might have to write something up in Perl for that but I am using tesseract (graphics/tesseract) to do some old document converting for my father… works pretty slick. On Dec 8, 2011, at 10:10 AM, Adam Vande More wrote: I have thousands of forms equivalent to invoices that I'd like to put into a database. I'm thinking I would like to have some OCR app/tool scan these forms, and then generate a CSV with each field. Does anyone have recommendations on software for this? -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
CUPS and IPP/JD/LPD
I have a printer that doesn't support IPP. The leasing agency wants to charge me $1400 to install the Postcript driver on it but I'm looking at another solution, if possible: CUPS. I have a MacBook and we have a number of iOS devices around the office here that people would love to be able to print from… but AirPrint requires an IPP-compatible printer. Is there a way to convert or translate IPP to either LPD or JetDirect? -- Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dead; need help reconnecting
On Dec 5, 2011, at 1:06 AM, Gary Kline wrote: On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote: Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's in the field. All 10 of them. I've had a UPS for 22 months. it has saved my server from disaster five or 6 timed [[and you thought that the power grid here in settle was beyond good?? Bah, humbug.]] Feel free to install it and connect to d3photography.com:3551 how exactly? no, gimmee a few decades to recover from thin trauma ! mumble. It's just a remote monitor. It's nice to have. Take either the Macbook or Windows machine and install the APCagent client program to monitor. Pretty easy to find. Very low system resource utilization. -- Ryan On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: Date: Fri, 2 Dec 2011 20:00:25 -0600 From: Ryan Coleman edi...@d3photography.com Subject: Re: dead; need help reconnecting To: FreeBSD Questions freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1251.1) You need to define Dead, Gary. Your posts lack... proper detail most of the time. On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ ryan, by dead i meant that i had 0.0 connection to the net. long-story-short, it was indeed the telephone company's modem that blew out. they were able to get one circuit working, and they were content with that. but i was still dead. this morning a telco technician [and friend] dropped by with his tools and after several calls to the office for my IP's and other info got me back online. I have no idea how their router/modem works; i have no idea how they were able to get my wife's PC back, much less my entire domain. (this is further OT, but FWIW, one guy suggested that a power surge may have broken the modem/router. 30-35 years ago a =real= modem ran at 1200 baud and was lightening fast. obviously, i haven't kept up... .) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dead; need help reconnecting
They probably switched it from NAT to passthru with only 2 IPs. But that's not your problem to figure out. What you need to do is what the error is from: Check the following: 1) Computer (is one computer having an issue or could one computer be the CAUSE of the issue?) 2) Cabling - is there a bad Ethernet cable. Replace any custom cables with prefab. You'd be amazed how many problems come from bad cuts. 3) Networking layer - is there a bad NIC or switch? - you've had this problem before. 4) When you bring the network to one device - can you get online? Can someone ping your public IP address from somewhere else? 5) Is the Telco in the midst of an outage or did hardware fail? There is more to those 5 items but they are great ones to work from. 9 times out of 10 it's somewhere under #1. Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's in the field. All 10 of them. Feel free to install it and connect to d3photography.com:3551 -- Ryan On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: Date: Fri, 2 Dec 2011 20:00:25 -0600 From: Ryan Coleman edi...@d3photography.com Subject: Re: dead; need help reconnecting To: FreeBSD Questions freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1251.1) You need to define Dead, Gary. Your posts lack... proper detail most of the time. On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ ryan, by dead i meant that i had 0.0 connection to the net. long-story-short, it was indeed the telephone company's modem that blew out. they were able to get one circuit working, and they were content with that. but i was still dead. this morning a telco technician [and friend] dropped by with his tools and after several calls to the office for my IP's and other info got me back online. I have no idea how their router/modem works; i have no idea how they were able to get my wife's PC back, much less my entire domain. (this is further OT, but FWIW, one guy suggested that a power surge may have broken the modem/router. 30-35 years ago a =real= modem ran at 1200 baud and was lightening fast. obviously, i haven't kept up... .) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dead; need help reconnecting
You need to define Dead, Gary. Your posts lack... proper detail most of the time. On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Virtualization manager suggestions
Guys, My day job is looking for a good VM lead and I thought of you. Well, ok, I thought you could get me some good leads. We're looking into an alternative to VMWare vSphere 5, one that will run under whatever OS (we're not sold to Windows for our base configuration) and will support any OS on top of it (BSD, Linux, Windows, etc.). Links to whitepapers and pricing (if applicable) would also be appreciated. We're going to utilize most of this machine to run various video surveillance solutions but will also reserve some smaller slices for our network communications (DNS, DHCP, ipTables, Nagios, etc.). Thanks! -- Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualization manager suggestions
I appreciate the thought, but we have to have them on our local network. On Nov 30, 2011, at 10:58 AM, Michael Sierchio wrote: My #1 choice is - your web browser and Amazon Web Services (EC2), where you may have Linux, FreeBSD, or Windoze instances. On Wed, Nov 30, 2011 at 6:57 AM, Ryan Coleman edi...@d3photography.com wrote: Guys, My day job is looking for a good VM lead and I thought of you. Well, ok, I thought you could get me some good leads. We're looking into an alternative to VMWare vSphere 5, one that will run under whatever OS (we're not sold to Windows for our base configuration) and will support any OS on top of it (BSD, Linux, Windows, etc.). Links to whitepapers and pricing (if applicable) would also be appreciated. We're going to utilize most of this machine to run various video surveillance solutions but will also reserve some smaller slices for our network communications (DNS, DHCP, ipTables, Nagios, etc.). Thanks! -- Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Disable automatic Fallback IP on 9.0-RC2 when a hostname cannot be resolved
Change your DNS server to Google (8.8.8.8 and 8.8.4.4). It's your DNS providers' doing. On Nov 26, 2011, at 9:44 AM, Moritz Wilhelmy wrote: Hello, my 9.0-RC2 installation on furnace.wzff.de keeps connecting to wzff.de if a hostname cannot be resolved. E.g. telnet foobar 25 connects me to the SMTP server on wzff.de, same thing for another jail that uses a subdomain of barfooze.de and tries to connect to barfooze.de if it can't find a suitable DNS or /etc/hosts record. I dislike when computers try to be smart like this, and I can't really think how this is useful, and it also doesn't happen on another machine that has a subdomain of something set as hostname and is running 8.2, so I want to disable it. Can anyone give me a hint how to do it? If you can't, which of the numerous mailing lists would be the right one to contact in this case? This is 9.0-RC2 on amd64, last updated 2011-11-09. Best regards, Moritz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD idea
I'd love to have this discussion on the list for the record, in case someone in the future wants to give this a shot, too. On Nov 7, 2011, at 6:20 PM, David Morton wrote: I'm very new to BSD, and had a career that left me mostly doing commercial IT help desk in Windows, but am hoping to finally learn and do something of interest to me: get deep knowledge of one platform. A local magazine, Silicon Chip; and one of it's writers have developed a little computer called the MaxiMite. Details here: http://geoffg.net/maximite.html It's a PIC32 single chip computer that I use through USB emulation of a serial port. I would like to try and build on it, and the first thought would be if it could run a limited version of BSD, as an alternative OS using the same boot loader. Microchip has an IDE, with a free version that uses C, and I speculate that much of the OS could be stored of the SD card, with only the barest minimum in the on board flash. I'm not dumping this all on others though, I am looking at adding extra RAM, and wired Ethernet; probably through an alternative hardware equivalent from Olimex that is due soon. Please reply direct to me, I haven't found how to get on the mailing list, or decided if I should. David -- David Morton PO Box 216 Geeveston TAS 7116 AUSTRALIA Email: toto...@gmail.com Mobile: 0400 560 330 Skype: david-ah-morton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenVPN - what configuration do I need/want
So... basically you've just set up servers that utilize the host connection or doesn't route? On Nov 5, 2011, at 5:35 AM, Bill Tillman wrote: From: Ryan Coleman edi...@d3photography.com To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Friday, November 4, 2011 10:22 AM Subject: OpenVPN - what configuration do I need/want I have a PE 2450 with dual NICs and I want to turn it into a bridging VPN for the guys in the office to utilize. Our configuration: My office: 192.168.46.0/24 Server IPs: 192.168.46.2 [8.2-RELEASE] + public IP Corporate office: 192.168.45.0/24 My VPN: 192.168.47.0/24 [preferred] There's a NetVanta VPN between my office and the corporate office and I presume that will still work to route 47.0/24 to 45.0/24 when all is said and done. I am going to be supporting Windows and Mac clients (well, all windows and then my mac) and I'd like to test it from my 8.2 server at home before pushing this over to my MacBook Pro (using Tunnelblick) and then to my Windows users. I've tried the FreeBSD handbook and the Section6.net walkthroughs to no avail. Any help would be appreciated. Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I can't say that I'm familiar with your setup which uses bridging. But I setup OpenVPN to work on a server inside my LAN which is behind my FreeBSD firewall server. The setup wasn't that hard, you just have to forward the right ports and get the certificates copied to the clients correctly. The docs on the OpenVPN site were very helpful in this for me. The trouble you may find is that this other VPN appliance you reference, NetVanta, may or may not be compatible with OpenVPN. I tried this several years ago with a remote company I was working for and found out quite dissappointingly that the protocol used by OpenVPN would not work whatsoever with Cisco equipment. That may have changed now but at the time all the advice I got was forget about it. Cisco equipment would not work with OpenVPN period. Luckily at the time I had a small Cisco appliance at my house and that is the only way I could get that setup to work. These days I happily connect to my LAN with encrypted tunnels from most places like hotels, etc... There is a problem sometimes at places like Starbucks or McDonalds where they have equipment which is blocking ports needed to run VPN. And in most cases it's not that they are blocking specific ports, it's that they are blocking everything except port 80 to only let their freebie users surf web content. YMMVcheck the docs on the OpenVPN site. Many HOWTOs and examples will help you get going. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
OpenVPN - what configuration do I need/want
I have a PE 2450 with dual NICs and I want to turn it into a bridging VPN for the guys in the office to utilize. Our configuration: My office: 192.168.46.0/24 Server IPs: 192.168.46.2 [8.2-RELEASE] + public IP Corporate office: 192.168.45.0/24 My VPN: 192.168.47.0/24 [preferred] There's a NetVanta VPN between my office and the corporate office and I presume that will still work to route 47.0/24 to 45.0/24 when all is said and done. I am going to be supporting Windows and Mac clients (well, all windows and then my mac) and I'd like to test it from my 8.2 server at home before pushing this over to my MacBook Pro (using Tunnelblick) and then to my Windows users. I've tried the FreeBSD handbook and the Section6.net walkthroughs to no avail. Any help would be appreciated. Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: www.clubrunner.ca
It did take me two page loads to get it to even render on Firefox in OS X (Lion). On Oct 19, 2011, at 10:24 AM, Michael Powell wrote: Mike Jeays wrote: I find weird behaviour with this site. It works fine on Windows systems, but Firefox on FreeBSD (and also Firefox, Opera and Chrome on Ubuntu) fails to connect. It immediately tries to retrieve www.clubrunner.ca/Home, but then the connection hangs. Does anyone have any clues, please? Does charset=windows-1252 ring any bells? I only looked at it very briefly, but my first impression is this is just one of the most terribly coded pages I've seen recently. I wouldn't waste any time with something as much a mess as this. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Dennis Ritchie has died. A suggestion
I think this is a grand idea. -- Ryan Coleman m. 612.910.3709 On Oct 13, 2011, at 18:46, Chip Camden sterl...@camdensoftware.com wrote: Quoth mikel king on Thursday, 13 October 2011: On Oct 13, 2011, at 4:38 PM, Roland Smith wrote: With the recent death of Dennis Ritchie, we've lost one of the giants on whose shoulders we are standing. But rather that mourn his passing, I think it would be proper to remember and celebrate his achievements. His contributions to the C language and the UNIX operating system are a legacy that few can match. Therefore I would like to propose that the FreeBSD project dedicate the upcoming 9.0 release in his memory. Alternatively, an tribute on the FreeBSD website would be fitting, wouldn't it? Roland I think this would be a fitting tribute... Hear, hear! -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Timestamps shifted by 8 hours
Has anyone considered what cities are UTC+3? • Comoros • Djibouti • Eritrea • Ethiopia • Kenya • Madagascar • Mayotte (France) and Scattered islands in the Indian Ocean (Bassas da India, Europa Island, Juan de Nova Island) • Somalia • South Sudan • Sudan • Tanzania • Uganda Eastern Europe Advanced Time, or Further-eastern European Time (FET) • Kaliningrad Oblast, Russia, Kaliningrad Time • Ukraine, Kiev Time • Belarus, Minsk Time Could pf have caught on to the Orange Revolution a little late? +4 is Moscow... Just a few thoughts... On Oct 4, 2011, at 12:23 PM, Janos Dohanics wrote: On Tue, 04 Oct 2011 16:44:59 +0100 Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 04/10/2011 14:50, Janos Dohanics wrote: So, I asked the wrong question. The question I should be asking is: Why are timestamps wrong in /var/log/filter.log even though date shows the correct time? However, this question I should ask the pfSense list... Hmmm... Somewhat of an outside chance, but timezones can be set per-process, just by setting TZ in the environment. Make sure that procfs(5) is mounted, and try running ps -auxwwwe | grep TZ Well, my pfSense installation does not have /proc, and I'd hate to mess with a production system of a customer... If there is a process with TZ set in the environment, especially if it is set to 'America/Los_Angeles' or similar (9 hours offset from UTC is typical for PDT)[*] that's probably your smoking gun right there. Do you have West Coast based users/admins who might have restarted some processes or reloaded firewall rulesets? Cheers, Matthew [*] Or else on Guam or some other part of the Eastern Pacific? I'm the only one (I hope...) with access to this box... -- Janos Dohanics ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: much to my surprise....
On Sep 22, 2011, at 3:14 PM, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Thu Sep 22 14:30:49 2011 Date: Thu, 22 Sep 2011 12:30:54 -0700 From: Gary Kline kl...@thought.org To: FreeBSD Mailing List freebsd-questions@freebsd.org Cc: Subject: much to my surprise guys, well, after a forced, unexpected, and emergency 5 days away, i got back to my desk and could not ping. while mail seemed to be working, and my *local* ping worked---I could ping around from my freebsd server to my other computers--i spent 3+ hours trying to ping various sites. Zero. i tried everything i could think of. NOTHING worked. i tried the -d -f -f to named and on and on and on. nothing. *Finally*, i saw that my telco router was displaying INT in red LED's. i didn't know they displayed in any other color but the default green, but after power-cycling, voila! back to green. and now, yes, i can ping freebsd.org. and i'm pretty sure other network things will work too. from any/all sysadmin types or others:: i would like tricks, tips, insights--whatever--about named and whatever else. i thought i had collected many. nope.i've got bind 9.8 installed and it was working fine until my recent 'vacation.' Other than checking one's routers (hub/switch), and other hardware (including server, computers, cables, etc) does anybody have a checklist of what to do to diagnose this? are there any other utilities i can try besides ping and named -d 3 -f -g? other network utilities with a debug flag? i'm running 7.3 on a dell 530. tia for any insights, You should _really_ consider hiring a professional to maintain your systems. Diagnosing _this_ problem should have taken no more than about 30 *seconds*. If you can't get somewhere 'by name', you try to get there 'by address'. If 'by address' works and 'by name' doesn't, *that* is the indication of a DNS problem. If you can't get there 'by address', it is *NOT* a DNS problem, and you start looking for a 'connectivity' problem. The *BASIC* tools for that start with 'traceroute'. Which would have *immediately* (well, within abut ten seconds :) indicated exactly _where_ the problem was. Those who don't understand these kind dof things are too dangerous to be trusted with the superuser password. Bluntly, not only do you not know the things you need to know to manage a (even 'personal') network, you DON'T KNOW _what_ you don't know, and until you *do* learn the basics, you'll save youself a *LOT* of hair- tearing if you hire someone to solve the problems for you. I whole-heartedly agree with Robert's points. I host in my apartment... but I have more than a decade's experience maintaining networks and systems and, while the occasional issue stumps me, I'm pretty good at getting to the root of issues in minutes vs hours. Yes, I was once a... for lack of a better term... moron on these things and I relied heavily on the tech who pushed me (gently) towards ƒBSD from RHL and I am gracious every day for that nudge. Experience is the best way to pick up the quick list of things to check on if there's a problem on your connectivity... but there's one thing I *must* stress: NEVER EVER EVER run your own DNS service. It's too much of a PITA. When I quit doing my own DNS my issues revolving around that ended. I use DynDNS to run my primary domain and all the others run through GoDaddy's free DNS manager. This is because I use the primary domain's hostname as my MX record on all the others. While GD's DNS is functional, it's also cumbersome, too cumbersome to update on a semi-regular basis. I highly suggest that you do the same. $20/year for DynDNS' full domain service is worth the price. My two bits (and a nibble). -- Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please secure your FTP access
On Sep 16, 2011, at 17:27, Chad Perrin per...@apotheon.com wrote: On Fri, Sep 16, 2011 at 02:14:42PM -0400, Daniel Staal wrote: Also many smartphone and tablet mailers automatically top-post, and make it significantly harder to move the cursor around inside the text with any accuracy. This is why I don't deal with email on my Android smartphone. The mail client is a bucket of ass. +1. That's why I have an iPhone now. :-) -- Ryan Coleman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.0 beta2 the new bsdinstaller
On Sep 11, 2011, at 1:32 PM, Fbsd8 wrote: Here are some problems that need to be addressed in 9.0. If this list is not the correct list to notify the release team then please post to the correct list. I suggest you find the right list and do that yourself. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: A quality operating system
On Aug 21, 2011, at 10:11 AM, Adam Vande More wrote: On Sat, Aug 20, 2011 at 9:46 PM, Daniel Staal dst...@usa.net wrote: --As of August 20, 2011 7:01:07 PM -0700, Carl G Smith is alleged to have said: I have heard that the OS X OS is based on FreeBSD. Is this true? --As for the rest, it is mine. Partially. It combines a mostly Mach kernel with some FreeBSD-derived userland and interfaces, then adds a proprietary window manager and UI on top of the rest. So the largest single source of code is probably FreeBSD, but neither the kernel or the part most people interact with isn't. This is incorrect. http://lists.freebsd.org/pipermail/freebsd-advocacy/2008-August/003674.html I read the article... and it says that the largest single source of code when it was written was FreeBSD. 21MM lines out of 39MM overall. Now since then they've released a lot of new features and what-not so I doubt it still holds at 53.8% but I would bet it is still the single largest source of code. Does it matter? No. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: A quality operating system
I use FreeBSD 9, 8.2 and 8.1. OS X 10.7 (Lion) Windows 7 Professional (64-bit), Windows Vista Ultimate (64-bit) and Windows XP Professional (32-bit). iOS 4, Blackberry 6 and Android 2.2.2. Oh, you weren't asking me. Sorry. :-p On Aug 20, 2011, at 8:47 PM, Jorge Biquez wrote: Hello. I insist Can we know what was the OS you all decided to use ? Thanks Jorge Biquez ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to Kyocera FS-1030D
Screw off. Top posting is actually a default in the mail software community. And I will always do it. More annoying: Extra spaces and not removing the cruff from the bottom of emails. And condescending asshats. On Aug 3, 2011, at 1:08 PM, Robert Bonomi wrote: Pierre, please do not 'top post' replies -- it makes the 'logic' of the message hard to follow, to wit: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? See also _RFC 1855_ for the closest thing to an 'official' stance on the matter. Date: Wed, 3 Aug 2011 13:10:03 -0400 From: Pierre-Luc Drouin pldro...@pldrouin.net To: Chris Whitehouse cwhi...@onetel.com Cc: User Questions freebsd-questions@freebsd.org Subject: Re: printing to Kyocera FS-1030D Hi, I would install CUPS and use the PPD file recommended on openprinting.org (http://www.openprinting.org/printer/Kyocera/Kyocera-FS-1030D). This is -guaranteed- to be *ineffective*. Apparently you missed the mention in the OP's original message that the printer is running in 'PCL' emulation mode, and that he _cannot_ change that. Cheers, Pierre-Luc On Wed, Aug 3, 2011 at 12:41 PM, Chris Whitehouse cwhi...@onetel.com wrote: Hi, before I use up too many trees experimenting, could some kind soul tell me how I can get OpenOffice to print to this printer. This is the first time I have tried to get anything printed from FreeBSD. I'm following the handbook. I think the basic setup is ok, I can get text printed using eg # lptest 20 5 | lpr -Plp If I try to print the postscript program given in the handbook %!PS 100 100 moveto 300 300 lineto stroke 310 310 moveto /Helvetica findfont 12 scalefont setfont (Is this thing working?) show showpage # cat ps-file |lpr -Plp I get the whole text of the file not just Is this thing working?. The printer has various emulations, it is set to PCL 6 and I can't change it (not my printer) Printing from OpenOffice just produces screeds of garbage, starting with %!PS so I presume the text of the postscript that OO has produced. The bit I'm stuck on is in section 9.4.1.3 Simulating PostScript on Non PostScript Printers (which I presume is what I need), specifically setting the device. gs -h doesn't show this printer or any Kyocera printer. So either what should I set Device to, or how do I get ghostscript to know about this printer? I'm using 8.1-RELEASE, openoffice.org-3.2.1, ghostscript8-8.71_6 thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Distributions are missing from home burnt CD
Distributions, by nature, shouldn't be on the disc... they are outdated the moment they are made into an ISO. run these commands: These are written assuming you are in as root. # ftp ftp://ftp3.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz This is a 50MB file. It will take some time. I have found ftp3.freebsd.org to be the fastest server in the US. # mkdir /usr/ports # chown root:wheel /usr/ports # tar -xzf ./ports.tar.gz -C /usr/ports/ Capital C is required there... it will shift you to the folder you need. You can now build your programs as you need to. /usr/ports/shells/bash* This is also the most current version of the ports since you are getting it straight off the server. -- Ryan On Aug 1, 2011, at 9:02 PM, Grant Walter wrote: Hi guys, I burned a CD of the LiveFS image and my installation failed. I then tried installing from the Disk 1 image and the install succeeded. My problem is that there are no Ditstributions on the disk. I don't even have bash now. :( I have searched all over but cannot find a file that contains the distributions. Thanks for the help!!! -Grant___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Distributions are missing from home burnt CD
Is portsnap installed? I was going with the effed up installer route. :) This works - I tried it when I wrote up the directions. On Aug 1, 2011, at 10:14 PM, Robert Simmons wrote: On Mon, Aug 1, 2011 at 10:37 PM, Ryan Coleman edi...@d3photography.com wrote: Distributions, by nature, shouldn't be on the disc... they are outdated the moment they are made into an ISO. run these commands: These are written assuming you are in as root. # ftp ftp://ftp3.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz This is a 50MB file. It will take some time. I have found ftp3.freebsd.org to be the fastest server in the US. # mkdir /usr/ports # chown root:wheel /usr/ports # tar -xzf ./ports.tar.gz -C /usr/ports/ Capital C is required there... it will shift you to the folder you need. You can now build your programs as you need to. /usr/ports/shells/bash* This is also the most current version of the ports since you are getting it straight off the server. Unless I'm missing something completely, portsnap makes sure that you always have the latest ports, and it verifies the integrity of the files that it transfers using a secure key. Your method has no such check, so I would say you shouldn't do it that way or recommend that method to others. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Distributions are missing from home burnt CD
Fair enough. On Aug 1, 2011, at 10:22 PM, Robert Simmons wrote: On Mon, Aug 1, 2011 at 11:17 PM, Ryan Coleman edi...@d3photography.com wrote: Is portsnap installed? I was going with the effed up installer route. :) This works - I tried it when I wrote up the directions. I assume that if the machine boots into the OS, that base is installed and portsnap is in base. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can't seem to send to some of the freebsd lists
I believe freebsd-test was determined to be broken for quite a while (something about the archive having nothing from the last 2 years). On Jul 28, 2011, at 4:18 AM, Andre Goree wrote: I'm sending this message to check whether it reaches the list. So far, none of my messages sent to freebsd-t...@freebsd.org have been received and sometimes (every 2nd or 3rd message it seems), I'll receive a notice that my message was marked as spam and is awaiting moderator approval (something that never comes). I've also sent a message to this list asking for help on exactly why my message might be marked as spam. I've checked my domain at mxtoolbox.com and everthing checks out ok (reverse DNS, PTR record, non-open relay) so I'm not sure what the problem could be. Would appreciate any insight (if this message actually reaches the list, that is). :) Andre Goree an...@drenet.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: legal notices at the end of emails
On Jul 27, 2011, at 6:30 AM, Jerry wrote: On Wed, 27 Jul 2011 13:08:04 +0200 Svein Skogen (Listmail account) articulated: On 27.07.2011 13:01, Damien Fleuriot wrote: On 7/27/11 5:11 PM, per...@pluto.rain.com wrote: Ryan Coleman edi...@d3photography.com wrote: A heads up about your footer: This email goes onto a mailing list that is available via an online archive... your terms are violated just by sending an email to this mailing list. Not necessarily. It says [emphasis added]: The contents of this eMail ... should not be disclosed to, ... anyone _other than the intended addressee(s)_ ... Any _unauthorized_ review ... is strictly prohibited ... I don't see a problem provided the archived mailing list is considered to be among the intended addressee(s) and the sender is considered, by the act of sending it to an archived list, to have authorized the archiving (and implicitly any subsequent use of the archive). All the same, any of you guys ever take this kind of notice seriously ? I mean, really ? See, you've actually read the e-mail prior to reading (and thus accepting or refusing) the legal notice. It's like me sending you an e-mail, with a footer saying By reading this e-mail you hereby forfeit all of your fortune, properties and claims in favor of Pwnd LTD, who shall be the sole and universal beneficiary, and has just done you good.. Just because they appear in an e-mail and you've read that e-mail doesn't mean you've acknowledged said terms, let alone accepted them. Exactly. You did not solicit an agreement with the sender before the agreement appeared, and since it required no active part on your half, it is non-binding. I for one, on principle, decline to abide by such terms, which may in no case be enforced on me, seeing I never accepted them in the first place. I think the reasoning is the legal principle of whatever people think we can get away with, because we have a lawyer so slippery PTFT manufacturers are suing us for patent violations One would have to get my consent to abide by their legal notice THEN send me the actual contents. Now, that would work. Then again, on principle I would decline said terms so they couldn't send me whatever they wanted... Those e-mail-footers of legalese-sounding mumbo-jumbo threatening voodoo-action against you and anybody standing next to you, should you not be the sole designated, implied or expressed, recipient of that e-mail, are _LESS_ binding than shrinkwrap EULAs, and has less actual legal content than the gold-content of seawater. They add the footers to sound important. It's a mild case of narcissism. //Svein I find it rather amusing that anyone actually reads, far less pays any attention to those useless pieces of garbage (disclaimers). Although I do find it interesting that some pseudo Internet sheriff will condemn the use of HTML mail in forums as wasted bandwidth yet stay mum on the killing of defenseless electrons with the implementation of these pointless disclaimers. -- Jerry This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient of this transmission, please delete it immediately. Obviously, I am the idiot who sent it to you by mistake. Furthermore, there is no way I can force you to delete it. Worse, by the time you have reached this disclaimer you have all ready read the document. Telling you to forget it would seem absurd. In any event, I have no legal right to force you to take any action upon this email anyway. This entire disclaimer is just a waste of everyone's time and bandwidth. Therefore, let us just forget the whole thing and enjoy a cold beer instead. _ Nice disclaimer. :) They have their place. CPAs, Bankers, mortgage, transferring of sensitive data, etc. But they really mean nothing. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Printr?
I think that was your first mistake. On Jul 27, 2011, at 6:58 PM, Gary Kline wrote: tehere were zero specs on the costco page ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Hi installing on windows dual boot
A heads up about your footer: This email goes onto a mailing list that is available via an online archive... your terms are violated just by sending an email to this mailing list. On Jul 26, 2011, at 6:06 AM, Ganesh Khedkar wrote: Hi all, I am new to FreeBSD , just wanted to give one suggestion that , Ubuntu linux have given one Nice facility to user that they can easily install Ubuntu in windows and any drive we want . Even we can assign size to that drive . So cant we provide this facility to our user . So that people can experience freeBSD. P.S. : If i am wrong then please let me know . Regards, Ganesh K. The contents of this eMail including the contents of attachment(s) are privileged and confidential material of Gateway NINtec Pvt. Ltd. (GNPL) and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). If this eMail has been received by error, please advise the sender immediately and delete it from your system. The views expressed in this eMail message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of GNPL. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this eMail or any action taken in reliance on this eMail is strictly prohibited and may be unlawful. This eMail may contain viruses. GNPL has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this eMail. You should carry out your own virus checks before opening the eMail or attachment(s). GNPL is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. GNPL reserves the right to monitor and review the content of all messages sent to or from this eMail address and may be stored on the GNPL eMail system. In case this eMail has reached you in error, and you would no longer like to receive eMails from us, then please send an eMail to d...@gatewaynintec.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tools to find unlegal files ( videos , music etc )
On Jul 19, 2011, at 8:54 AM, Damien Fleuriot wrote: Hey look, all your points were moot and easily rebuked. And he just burped... don't feed the the trolls by calling them trolls. Instead, call them Ecky Ecky Ecky F'tang F'tang Olé Biscuitbarrel. -r-___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tools to find unlegal files ( videos , music etc )
Grep. Ryan Coleman On Jul 18, 2011, at 2:55, Frank Bonnet f.bon...@esiee.fr wrote: Hello Anyone knows an utility that I could pipe to the find command in order to detect video, music, games ... etc files ? I need a tool that could inspect inside files because many users rename those filename to inoffensive ones :-) We are facing a legal problem so I'm a bit in the hurry to scan our filers where are living users data. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tools to find unlegal files ( videos , music etc )
On Jul 18, 2011, at 10:23 PM, Robert Bonomi wrote: Date: Mon, 18 Jul 2011 23:01:53 -0700 From: per...@pluto.rain.com Subject: Re: Tools to find unlegal files ( videos , music etc ) Robert Bonomi bon...@mail.r-bonomi.com wrote: snip specific suggestions re awk(1), file(1), find(1), grep(1), etc. All well and good for locating files of a certain format and/or with particular content, but it doesn't address the question of whether a specific copy is legal, i.e. did the user who put it there have the legal right to put it there? {{ Noting that the troll contributed nothing constructive to the OP's problem, _or_ to dealing with the pseudo-issue he raises. }} Obviously the ankle-biter was incapable of reading the ACTUAL REQUEST the OP made: Anyone knows an utility that I could pipe to the find command in order to detect video, music, games ... etc files ? I need a tool that could inspect inside files because many users rename those filename to inoffensive ones :-) NOTE WELL that the OP was _smart_enough_ -- unlike the prior poster -- to ask about something that _can_ be done mechanically. Furthermore, it was _explicit_ in the actual suggestion that it only produced a list possible 'suspects' -- It did _not_ provide any indication of status -- 'legal', or otherwise. Go to hell. He wants to rename the files that are illegal to ones that aren't. That's circumventing copyright law and would land him or her in jail. This topic, based solely on ethics, should not be discussed as any suggestions that this is LEGAL to do supports copyright violations. I would record those names and DELETE them but only if the TOS supports it. If it does not, then you get the DCMA notice and handle it accordingly from the copyright holder. -r-___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to force a hard reboot remotely
I'd feel better about the company if they used English correctly and didn't have a bunch of HTML bombs. On Jul 17, 2011, at 6:11 AM, Daniel Feenberg wrote: In the last episode (Jul 16), Aryeh Friedman said: Is there any way to force a complete power down and then reset of a i386 without physically being present? You haven't said what about an ordinary shutdown -r isn't satisfactory, but we have an iboot gizmo http://dataprobe.com/remote-reboot.html that we use on a (non-FreeBSD) server that hangs from time to time. WOL also works. Daniel Feenberg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to force a hard reboot remotely
Won't -p power it down and leave it powered down? On Jul 16, 2011, at 10:08 PM, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Sat Jul 16 21:40:19 2011 Date: Sat, 16 Jul 2011 22:40:19 -0400 From: Aryeh Friedman aryeh.fried...@gmail.com To: FreeBSD Mailing List freebsd-questions@freebsd.org Subject: how to force a hard reboot remotely Is there any way to force a complete power down and then reset of a i386 without physically being present? Powerdown: 'man shutdown' see the -p option. Hardware dependant. Reset after powerdown: Hardware dependant. requires remomte 'console' access of some sort, e.g. 'lights out' managment console. _Just_ force a hard reboot', per Subject line: 'man reboot'. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to force a hard reboot remotely
When bottom replying, please clear the header and signature - thanks. You can set up a BIOS boot time, if you can get onsite... that would allow you to power it down at, say, 11:59PM and have it power back on at Midnight. Or a UPS that's controlled by another machine. Or the magic packet WOL option... but those require another machine. Maybe a switch or router than can send WOL packets would be a possibility? -- Ryan On Jul 16, 2011, at 10:31 PM, Bill Tillman wrote: WOW! That's a tall order. A reboot from remote is simple, but a cold bootI don't think that's possible unless you have some kind of Wake-On-Lan capable NIC which could detect a connection attempt while the machine is off. I can't say that for sure because what you've got to remember is that with a cold boot, the machine will no longer remember what OS it was running until it reboots. My advice would be to get to the console if you absolutely have to cold boot it. Or call someone nearby the console and have the actually turn the machine off, wait the obligatory 30 seconds and then restart it. Someone else may have a better idea. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to force a hard reboot remotely
On Jul 16, 2011, at 11:01 PM, Joshua Isom wrote: On 7/16/2011 9:40 PM, Aryeh Friedman wrote: Is there any way to force a complete power down and then reset of a i386 without physically being present? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Odds are this would be a little bit of a hardware mod. Get a microcontroller and a relay, and tell the microcontroller to kill power to the system. Make sure in the BIOS you're set to restart when the power comes back on. If that fails you'll need another relay to short the on button. I don't know of anything in the computer that could be easily used instead of a microcontroller. I think I kinda covered that with the UPS remote control thing... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ghghg
Maybe... or your keyboard is broken. :) On Jul 14, 2011, at 6:13 PM, Gary Kline wrote: Apologies to everyone. i've ben trying to get mail going between here to -questions fr 11 days and NOTHING seemd to ork i really didnt think this ould work. speciallly after ail to -test bouncedd: not available . have i found the last bug? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mozilla retires Firefox 4 from security support
On Jun 23, 2011, at 8:56 AM, Robert Bonomi wrote: Jerry writes: From URL: http://www.computerworld.com/s/article/9217837/Mozilla_retires_Firefox _4_from_security_support. Obviously users of version 4 will be more or less forced to update to version 5 which is now in the ports system. What amazes me is how quick support was pulled from version 4. My morning-fogged mind says Version 4 was out less than a year. Quoting Maxwell Smart: Would you believe THREE months ago. current release is 4.0.1 I'm just as confused by this... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mozilla retires Firefox 4 from security support
On Jun 23, 2011, at 10:33 AM, Joshua Isom wrote: On 6/23/2011 8:08 AM, Admin Cyanide wrote: The major difference is that when updating Microsoft's OS from a major version to another you have to pay. I'm not flaming, I just want to focus on the fact that this products have not the same constraints. What is surprising is why it is not a 4.1 release, I'm not following Firefox development but I'm surprised how fast they've gone from a major release to another. What has been changed in FF 5 that needs this release number change ? Blame Chrome. Just like there was no Netscape 5 because of IE6, the version number is marketing to make it look like Firefox is updating more often and faster than competitors. IMO Netscrape 6 was no better than IE6 :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Any working SIP-phone on FreeBSD?
... I hate to say this but they made Bungie into something really good. But I miss Marathon. On Jun 19, 2011, at 8:50 AM, Jurgen Debo wrote: And about Microsoft ? Almost EVERYTHING in hands of Microsoft turns to a disaster or something which does compromise security, privacy or whatever. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Another PHP5 problem
That would explain the three different quote times in them. Yes it did, but I'm not concerned. On Jun 17, 2011, at 9:51 AM, Jack L. Stone wrote: At 07:26 PM 6/17/2011 -0500, Jack L. Stone wrote: OUCH! I hipe my last email really didn't go out 3 times. Mail server wasn't resolving properly, so had tried different ones. Sorry (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Another PHP5 problem
So I've seen that you haven't had a lot of success with this... can you post your extensions.ini file contents? -- Ryan On Jun 15, 2011, at 9:04 AM, Jack L. Stone wrote: I just finished some major upgrades/updates to a server, including php5-5.3.6 and apache2. Now I keep getting Segmentation faults and core dumps whenever apache2 rolls over its logs and does a restart. Here's the error. Does nyone have an idea of what's happening to cause this?: PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun 4 2011 18:04:14) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies with the ionCube PHP Loader v3.3.16, Copyright (c) 2002-2010, by ionCube Ltd. Segmentation fault (core dumped) Thanks for any hints Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Another PHP5 problem
And these were all built from the ports, yes? On Jun 15, 2011, at 3:06 PM, Jack L. Stone wrote: At 02:50 PM 6/15/2011 -0500, Ryan Coleman wrote: So I've seen that you haven't had a lot of success with this... can you post your extensions.ini file contents? -- Ryan Here are my extensions after doing some shuffling according to ideas on google: extension=session.so extension=simplexml.so extension=ctype.so extension=apc.so extension=ftp.so extension=mbstring.so extension=tokenizer.so extension=filter.so extension=mcrypt.so extension=xmlwriter.so extension=gd.so extension=iconv.so extension=zlib.so extension=curl.so extension=bz2.so extension=pdf.so extension=openssl.so extension=dom.so extension=hash.so extension=xmlreader.so extension=sqlite.so extension=pdo.so extension=mysql.so extension=sockets.so extension=xml.so extension=sqlite3.so extension=json.so extension=zip.so extension=posix.so extension=snmp.so Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Another PHP5 problem
My solution for these issues is usually pretty easy: Disable all extensions (with a ; before the line) and then re-enable batches until it dies on you and then go through line-by-line to see which one did it. Should take about 5 minutes, tops, to run through the entire list. On Jun 15, 2011, at 3:59 PM, Jack L. Stone wrote: At 03:21 PM 6/15/2011 -0500, Ryan Coleman wrote: And these were all built from the ports, yes? Yes, all built from ports. (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Another PHP5 problem
That wouldn't likely cause a segfault, but you could use your apache logs to see if there's something in the last file before the segfault occurs... but that could be a wild goose chase. On Jun 15, 2011, at 5:57 PM, Jack L. Stone wrote: At 04:04 PM 6/15/2011 -0500, Ryan Coleman wrote: My solution for these issues is usually pretty easy: Disable all extensions (with a ; before the line) and then re-enable batches until it dies on you and then go through line-by-line to see which one did it. Should take about 5 minutes, tops, to run through the entire list. Was wondering if it appeared an extension might be missing that would be expected? Have quite a few php scripts. What about the gettext one? I went with the defaults plus a couple I knew was needed like mysql and FTP. Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Another PHP5 problem
I have very few uses for sqlite3 but I still have them. And PDO? Never seen anything run it. Just because it is on by default 1) doesn't mean it's good for you and 2) the port connected to it is functioning properly. On Jun 15, 2011, at 7:18 PM, Jack L. Stone wrote: At 06:35 PM 6/15/2011 -0500, Ryan Coleman wrote: That wouldn't likely cause a segfault, but you could use your apache logs to see if there's something in the last file before the segfault occurs... but that could be a wild goose chase. On Jun 15, 2011, at 5:57 PM, Jack L. Stone wrote: At 04:04 PM 6/15/2011 -0500, Ryan Coleman wrote: My solution for these issues is usually pretty easy: Disable all extensions (with a ; before the line) and then re-enable batches until it dies on you and then go through line-by-line to see which one did it. Should take about 5 minutes, tops, to run through the entire list. Ryan: Found it! 2 extensions were the problem: # extension=sqlite3.so # extension=pdo_sqlite.so Don't even know why they got in there (except I checked the boxes in make config) Thanks for the great idea! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: some help still needed....
Always on php the latest.. So php5. On Jun 11, 2011, at 18:11, Gary Kline kl...@thought.org wrote: Guys, This is both an ACK of thanks to the many listmembers who helped with the last problejm , and a request for further help. There are at least a couple thing that plague me when I try to get back to where things were before I _finally_ tracked the named/bin problem to it being a bad switch. The first is that php now keeps coring on me. It's a segv. According to the FBSD forums, if I comment-out all the php5-extensions, I will eventually figure out what's causing php to segv. Is this the only way? or the easiest way? Should I be using php5 or php52, or no-diff? I'm using php5.5.3.6 tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.51a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenVPN Setup
You can still test it from home... do pings through a specific interface. Or change your routing table information. Also you can communicate from the server itself to the client to test. On May 11, 2011, at 8:11 AM, Bill Tillman wrote: Thanks to everyone for the replies yesterday on OpenVPN. I'd like to report a few interesting things: 1. In doing some google searches on this last night, believe it or not some of the search results were the exact questions I asked in this group, only yesterday afternoon. And this was while I was watching Fox News make reports on how Google is watching and recording everything these days...Sheesh I didn't know their spiders ran that fast. 2. I have my OpenVPN process running on my FreeBSD server and wish to test it with the OpenVPN client for Windows on my laptop from an outside location. But the only outside locations I have access to right now are the local McDonalds and Starbucks which offer free WiFi via ATT's network. The trouble with this is they appear to be blocking almost everything at these locations with the exception of HTTP traffic. I can't make the connection and I cannot acces my LAN via SSH either. I don't think they are blocking any particular ports on these systems as much as they are just blocking everything except those ports which allow users to surf the web. The only thing which appears in the status window is that's it trying to make the handshake but then fails. I can ping my home server from these outside locations so I know my server is reachable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: i messed up, need to do fsck and also uncomment the /usr line if /etc/fstab
Boot to a boot disk.. anything... CD, DVD, USB Load up vi - you can probably do this from a live linux distro. Unedit the line. Save. Quit. Reboot. You're golden. On May 6, 2011, at 9:06 PM, Henry Olyer wrote: Woe is me. First, I simply messed up, happens to us all from time to time. I lost power on an laptop running 8.2. Restarted it but for some reason the fsck didn't run and I lost some /usr files. I tried to do an fsck manually but because it's mounted I got nowhere. So I put a comment (#) in front of the /usr line for the /etc/fstab file. Now, I can't boot. I need what's on my disk -- of course! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Product Request! From (Spain)
Sure, I'll charge you $500 for FreeBSD On Apr 27, 2011, at 5:47 PM, Albert grayson wrote: Hello, I am interested in purchasing some of your products, I will like to know if youcan ship directly to SPAIN , I also want you to know my mode of payment for this order is via Credit Card. Get back to me if you can ship to that destination and also if you accept the payment type I indicated. Kindly return this email with your price list of your products.. Parcela 120, Calle Budapest, San Pedro de Alcantara, 29670, Marbella , Spain Albert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenVPN routing
On Apr 26, 2011, at 8:32 AM, Nathan Vidican wrote: On Mon, Apr 25, 2011 at 10:36 PM, Ryan Coleman ryan.cole...@cwis.biz wrote: I've got an OpenVPN connection working to my remote server, but I want to route the traffic to the local LAN. I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. Server.conf: local 192.168.46.2 port 1194 proto udp dev tap ca keys/cacert.pem cert keys/server.crt key keys/server.key # This file should be kept secret dh keys/dh1024.pem # Don't put this in the keys directory unless user nobody can read it crl-verify keys/crl.pem #Make sure this is your tunnel address pool server 192.168.47.0 255.255.255.0 ifconfig-pool-persist ipp.txt #This is the route to push to the client, add more if necessary #push route 192.168.46.254 255.255.255.0 push route 192.168.47.0 255.255.255.0 push dhcp-option DNS 192.168.45.10 keepalive 10 120 cipher BF-CBC #Blowfish encryption comp-lzo #fragment user nobody group nobody persist-key persist-tun status openvpn-status.log verb 6 mute 5 client.conf: #Begin client.conf client dev tap proto udp remote sub.domain.ltd 1194 nobind user nobody group nobody persist-key persist-tun #crl-verify #remote-cert-tls server ca keys/cacert.pem cert keys/ryanc.crt key keys/ryanc.key cipher BF-CBC comp-lzo verb 3 mute 20 Any ideas? As I said, I can talk to the remote server, but not the local LAN. To throw a new curveball in the mix, I'd like to talk to 192.168.45.0/24 - which we have another VPN connecting the two networks (not running on a VPN I can do much with). Do you have packet forwarding (routing /gateway) enabled? An all-important, yet sometimes forgotten step... check if: sysctl net.inet.ip.forwarding returns 1 for enabled or not. You can enable it right away by setting to 1, and/or view the instructions in the handbook for greater detail including how to set as a startup option as well: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html Yes, it is enabled. And Maciej, I had server-bridge running before and it wasn't routing ICMP, nor anything else. I have ipnat enabled - as was recommended by one guide - and am routing everything from 192.168.47.0/24 to 0.0.0.0/32 (I'm not well versed on this specific area but that seems like it should be 0/0, right?) Relevant rc.conf: defaultrouter=192.168.46.254 hostname=nbserver1.allstatecom.local ifconfig_em0=inet 192.168.46.2 netmask 255.255.255.0 openvpn_enable=YES openvpn_configfile=/usr/local/etc/openvpn/server.conf gateway_enable=YES ipnat_enable=YES Thanks again, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenVPN routing
On Apr 26, 2011, at 9:53 AM, Maciej Milewski wrote: On Tuesday 26 of April 2011 15:45:22, Ryan Coleman wrote: I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. ... push route 192.168.47.0 255.255.255.0 Have you tried adding the route to 192.168.46.0/24 subnet into the vpn client? You want to ping the host/interface on different subnet. If you don't set the routing to this subnet how your client should know that he needs to put that packet through tap interface not defaultroute which I suspect is different? Can you show the output of netstat -rn of the vpn client? You may try to look into tcpdump on the vpn router to find what is going with your packets.And for such scenario like vpnclient-vpnserver-network you may even not need nat just simple routing will be enough as long as you set it up on right. My setup is based on tun interfaces and works like a charm. I don't use nat and I only added routing info to the specific routers in the internal networks. Maciej Milewski I'm going to have to get this information when I get home and am not on the office LAN. I can do ping tests specifically through the tap0 interface but not check the netstat report properly from inside the network. -- Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenVPN routing
On Apr 26, 2011, at 3:50 PM, Ryan Coleman wrote: On Apr 26, 2011, at 9:53 AM, Maciej Milewski wrote: On Tuesday 26 of April 2011 15:45:22, Ryan Coleman wrote: I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. ... push route 192.168.47.0 255.255.255.0 Have you tried adding the route to 192.168.46.0/24 subnet into the vpn client? You want to ping the host/interface on different subnet. If you don't set the routing to this subnet how your client should know that he needs to put that packet through tap interface not defaultroute which I suspect is different? Can you show the output of netstat -rn of the vpn client? You may try to look into tcpdump on the vpn router to find what is going with your packets.And for such scenario like vpnclient-vpnserver-network you may even not need nat just simple routing will be enough as long as you set it up on right. My setup is based on tun interfaces and works like a charm. I don't use nat and I only added routing info to the specific routers in the internal networks. Maciej Milewski I'm going to have to get this information when I get home and am not on the office LAN. I can do ping tests specifically through the tap0 interface but not check the netstat report properly from inside the network. Maciej, Here you go: Ryan-Colemans-MacBook-Pro:~ ryanjcole$ netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default10.0.1.1 UGSc 610 en1 10.0.1/24 link#5 UCS 30 en1 10.0.1.1 0:23:12:f7:37:cc UHLWI 89 1268 en1 1142 10.0.1.2 0:14:d1:1f:79:1b UHLWI 0 837 en1183 10.0.1.198 127.0.0.1 UHS 00 lo0 10.0.1.255 ff:ff:ff:ff:ff:ff UHLWbI 06 en1 127127.0.0.1 UCS 00 lo0 127.0.0.1 127.0.0.1 UH 2 75 lo0 169.254link#5 UCS 00 en1 172.16.87/24 link#7 UC 10 vmnet1 172.16.87.255 ff:ff:ff:ff:ff:ff UHLWbI 03 vmnet1 192.168.46 192.168.47.2 UGSc00tap0 192.168.47 link#10UC 10tap0 192.168.47.2 link#10UHLWI 10tap0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 fe80::1%lo0 Uc lo0 fe80::1%lo0 link#1 UHL lo0 fe80::%en1/64 link#5 UC en1 fe80::224:36ff:fea1:1d68%en10:24:36:a1:1d:68UHLW en1 fe80::9227:e4ff:fef8:b2fb%en1 90:27:e4:f8:b2:fb UHL lo0 ff01::/32 ::1 Um lo0 ff02::/32 ::1 UmC lo0 ff02::/32 link#5 UmC en1 Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping 192.168.46.2 PING 192.168.46.2 (192.168.46.2): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenVPN routing
On Apr 26, 2011, at 9:07 AM, Diego Arias wrote: If you need to route LAN - TO - LAN just enable the client-to-client. Its a Security Feature of OpenVPN http://www.secure-computing.net/wiki/index.php/OpenVPN/Routing I've done that and it had no effect :-\___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
OpenVPN routing
I've got an OpenVPN connection working to my remote server, but I want to route the traffic to the local LAN. I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. Server.conf: local 192.168.46.2 port 1194 proto udp dev tap ca keys/cacert.pem cert keys/server.crt key keys/server.key # This file should be kept secret dh keys/dh1024.pem # Don't put this in the keys directory unless user nobody can read it crl-verify keys/crl.pem #Make sure this is your tunnel address pool server 192.168.47.0 255.255.255.0 ifconfig-pool-persist ipp.txt #This is the route to push to the client, add more if necessary #push route 192.168.46.254 255.255.255.0 push route 192.168.47.0 255.255.255.0 push dhcp-option DNS 192.168.45.10 keepalive 10 120 cipher BF-CBC #Blowfish encryption comp-lzo #fragment user nobody group nobody persist-key persist-tun status openvpn-status.log verb 6 mute 5 client.conf: #Begin client.conf client dev tap proto udp remote sub.domain.ltd 1194 nobind user nobody group nobody persist-key persist-tun #crl-verify #remote-cert-tls server ca keys/cacert.pem cert keys/ryanc.crt key keys/ryanc.key cipher BF-CBC comp-lzo verb 3 mute 20 Any ideas? As I said, I can talk to the remote server, but not the local LAN. To throw a new curveball in the mix, I'd like to talk to 192.168.45.0/24 - which we have another VPN connecting the two networks (not running on a VPN I can do much with). Thanks, Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenVPN routing
Also: [root@nbserver1 /usr/home/ryanc]# ifconfig em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=98VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM ether 00:14:22:15:dc:65 inet 192.168.46.2 netmask 0xff00 broadcast 192.168.46.255 media: Ethernet autoselect (1000baseT full-duplex) status: active tap0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8LINKSTATE ether 00:bd:7e:86:1d:00 inet 192.168.47.1 netmask 0xff00 broadcast 192.168.47.255 Opened by PID 10341 bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 46:e1:75:c6:a3:a7 inet 192.168.47.254 netmask 0xff00 broadcast 192.168.47.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: tap0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 5 priority 128 path cost 200 member: em0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 2 On Apr 25, 2011, at 9:36 PM, Ryan Coleman wrote: I've got an OpenVPN connection working to my remote server, but I want to route the traffic to the local LAN. I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. Server.conf: local 192.168.46.2 port 1194 proto udp dev tap ca keys/cacert.pem cert keys/server.crt key keys/server.key # This file should be kept secret dh keys/dh1024.pem # Don't put this in the keys directory unless user nobody can read it crl-verify keys/crl.pem #Make sure this is your tunnel address pool server 192.168.47.0 255.255.255.0 ifconfig-pool-persist ipp.txt #This is the route to push to the client, add more if necessary #push route 192.168.46.254 255.255.255.0 push route 192.168.47.0 255.255.255.0 push dhcp-option DNS 192.168.45.10 keepalive 10 120 cipher BF-CBC #Blowfish encryption comp-lzo #fragment user nobody group nobody persist-key persist-tun status openvpn-status.log verb 6 mute 5 client.conf: #Begin client.conf client dev tap proto udp remote sub.domain.ltd 1194 nobind user nobody group nobody persist-key persist-tun #crl-verify #remote-cert-tls server ca keys/cacert.pem cert keys/ryanc.crt key keys/ryanc.key cipher BF-CBC comp-lzo verb 3 mute 20 Any ideas? As I said, I can talk to the remote server, but not the local LAN. To throw a new curveball in the mix, I'd like to talk to 192.168.45.0/24 - which we have another VPN connecting the two networks (not running on a VPN I can do much with). Thanks, Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Extending pw(8) username limit
I have a special situation where I'd like to do either first.last_somedomain.com or first.l...@somedomain.com but the former is rejected due to length and the latter due to the @ by pw(8). How do I extend this from 16 chars to 32 or 64? I have been finding it difficult to find explicit details on this. Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Extending pw(8) username limit
I already run 10 domains worth of emails here, I would prefer to avoid adding anything that will screw with already functioning accounts... But maybe there's an option on Dovecot to reroute specific username requests to masquerade that... I'll check that out tomorrow. Thanks. On Apr 14, 2011, at 4:49 PM, Chuck Swiger wrote: On Apr 14, 2011, at 2:20 PM, Ryan Coleman wrote: I have a special situation where I'd like to do either first.last_somedomain.com or first.l...@somedomain.com but the former is rejected due to length and the latter due to the @ by pw(8). How do I extend this from 16 chars to 32 or 64? I have been finding it difficult to find explicit details on this. From prior experience, your users are going to loathe (hate isn't strong enough) 16+ character usernames. If the problem is that you want to setup email aliases mapping (eg) charles.swiger, charles_swiger, chuck.swiger, etc, etc to cswiger, the mail aliases file supports that just fine. And if you want to support users in multiple domains, the /etc/passwd database is just not the place to do it. Consider SASL, LDAP, or even NIS+; and SASL in particular integrates very smoothly with multi-domain email via Cyrus, Dovecot, etc. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
graphical representation of `du`
I found this command: ls -R | grep :$ | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' Which makes this: |-Mar17 |---1300074369-chow |-download |---small |---1300421616-Cunningham |-download |---small But I want to use `du` instead to convert this 2.0M./Mar17/1300074369-chow/download/small 2.0M./Mar17/1300074369-chow/download 2.0M./Mar17/1300074369-chow 2.1M./Mar17/1300421616-Cunningham/download/small 2.1M./Mar17/1300421616-Cunningham/download 2.1M./Mar17/1300421616-Cunningham 4.1M./Mar17 into this: |-Mar17 [4.3M] |---1300074369-chow [2.0M] |-download [2.0M] |---small [2.0M] |---1300421616-Cunningham [2.1M] |-download [2.1M] |---small [2.1M] I realize it does it backwards and I can live with that... OR mix the two to run the first command and run another command to get the folders total size or something... you know? Thanks for the help, Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: graphical representation of `du`
Wow... You rock! Thanks so much! On Apr 2, 2011, at 12:30 PM, Chris Rees wrote: On 2 April 2011 18:22, Chris Rees utis...@gmail.com wrote: On 2 April 2011 18:07, Mike Jeays mike.je...@rogers.com wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Rees utis...@gmail.com wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | awk '{print($2 [$1]);}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' I confess to being impressed... Yeah, but perhaps I should have used sed instead of the second awk; fewer processes: du -h | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | sed -e 's,^[^1-9]*\([^___CTRL-V+TAB__]*\)CTRL-V+TAB_*\(.*\)$,\2 \[\1\],;s,[^-][^/]*/,--,g;s,^,|,' That does exactly the same -- where I've put CTRL-V+TAB__ you have to type Ctrl-V, then a literal [::tab::] key; BSD sed doesn't do \t. Chris Final version: http://www.bayofrum.net/~crees/graphical_du.sh Maybe I should port it... Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: am i back up....???
Get a Gmail account. On Apr 2, 2011, at 6:46 PM, Gary Kline wrote: On Sat, Apr 02, 2011 at 09:54:52PM +0100, David Chanters wrote: On 2 April 2011 21:14, Gary Kline kl...@thought.org wrote: my telco modem [[was BRAND NEW in feb]] failed last tuesday.letsee if this gets out You could have just sent yourself an email. But yes, here you are. David well, mail to kline would get back i wasn't sure about mail to kline at thought.org, but i suppose that does go over the wire and back. tx. g -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.98a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic Coming soon to http://transfinite.thought.org: On_Suicide ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: graphical representation of `du`
Well, it looks like it's written for X, which I don't run on any of my servers. Thanks, though. On Apr 2, 2011, at 6:50 PM, David Chanters wrote: Hi On 2 April 2011 15:20, Ryan Coleman edi...@d3photography.com wrote: I found this command: ls -R | grep :$ | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' What about xdu? http://sd.wareonearth.com/~phil/xdu/ David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Port dependencies
On Apr 2, 2011, at 7:07 PM, per...@pluto.rain.com wrote: Chris Rees utis...@gmail.com wrote: On 2 April 2011 00:58, Chris Telting christopher...@telting.org wrote: One of my biggest gripes with the ports system is dependency hell. I think you've misunderstood the term dependency hell [1]. Anyone who has spent hours struggling with rpm ... would never dare to even think of such terms when using the Ports Collection. Dependency purgatory? Dantency Inferno. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: graphical representation of `du`
Yeah I don't run these computers to be desktops :) On Apr 2, 2011, at 8:05 PM, David Chanters wrote: On 3 April 2011 01:30, Ryan Coleman edi...@d3photography.com wrote: Well, it looks like it's written for X, which I don't run on any of my servers. Moan, moan, moan. It solves your problem though. David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: am i back up....???
On Apr 2, 2011, at 8:30 PM, Gary Kline wrote: On Sat, Apr 02, 2011 at 07:29:23PM -0500, Ryan Coleman wrote: Get a Gmail account. i tried about a year ago: gdk98188; now i cannot get in. something is hosed ... They're free, make a new one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: webcamd vs rc.conf
I think you're backwards. I think it should be: webcamd_enable=YES What happens when you use that? -- Ryan On Mar 28, 2011, at 6:18 PM, Steven Friedrich wrote: I have enable_webcamd=YES in rc.conf If I comment it out, it complains, and in, it complains. None of these are going into any log file. They do not get reported by a subsequent invocation of dmesg. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why does this simple counter fail?
You're using a completely stock php.ini file. Look for short tags. Turn that on. ?php is long form... most scripts are using short tags. I don't see why you need the file name in the file itself... just have a number there. Much faster on the CPU. -- Ryan On Mar 25, 2011, at 12:36 AM, Gary Kline wrote: On Thu, Mar 24, 2011 at 06:25:39PM -0500, Ryan Coleman wrote: Gary, you missed the put... fput($fp, $file); means you're dropping the filename INTO the storage file. okay. [maybe]. i think what the script does is create ./countdir/$file ; in this case, ./countdir/index where i create the file named index\n and below it the integer count. e.g.: in directory countdir, in file index is: index 60311 to track the hits for my homepage. in defense of this crude hack with no error-checking is that i have used the same script in at least three other virtual thought.org websites. i was wrong is saying that the script bombed; it just failed; the reason was that the initial tag had been ? rather than ?php gary On Mar 24, 2011, at 6:00 PM, Gary Kline wrote: On Wed, Mar 23, 2011 at 07:11:15PM +0100, Fr?d?ric Perrin wrote: Gary Kline kl...@thought.org writes: Can any of you php hackers tell me why this simple self-hacked counter bomb? As others said, what does 'this simple counter bomb' means? $fp = fopen($directory.$file, r+); flock($fp, 1); You want an exclusive lock (LOCK_EX, which is 2 is you use some ancient PHP), not a shared lock. When updating the file: fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); Why do you feel the need to store the filename inside the file itself? You don't seem to need it after. $file is passed from the calling php file. index.php is by-hand set to $file='index'; and so on. Because of my shoulder/typing woes, it was great that I got clued in above by Brad's thought that perhaos there were mis-matched ? and ? tags. A simply recursive grepping found out that it some places I had ? cr instead of ?php cr. Adding the php fixed everything. Finally, you're right; this really, really is ancient php. Somthing i found pre-2004 and hacked until it worked. The counter is missings lots of features, but I'll fix that pretty soon. thanks to everybody , -- Frédéric Perrin -- http://tar-jx.bz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why does this simple counter fail?
That would cause a lot of file hanging, with locking, if you get any decent amount of traffic... I'd just stick to the simple TXT counter for the time being. If you did a mass file, your best bet would be to use arrays and serialize the data... but that's a lesson for another day. On Mar 25, 2011, at 11:44 AM, Gary Kline wrote: On Fri, Mar 25, 2011 at 06:36:34AM -0500, Ryan Coleman wrote: You're using a completely stock php.ini file. Look for short tags. Turn that on. ?php is long form... most scripts are using short tags. I don't see why you need the file name in the file itself... just have a number there. Much faster on the CPU. True enough. I could have everything in one file and simply print the filename and number. I didn't know that I had the option of using short flags or not. Where do I set that? (I'm sure there are more places where i have ? anf ? rather than ?php and ?; be nice to _not_ have this cause me grief again) tx, gary -- Ryan On Mar 25, 2011, at 12:36 AM, Gary Kline wrote: On Thu, Mar 24, 2011 at 06:25:39PM -0500, Ryan Coleman wrote: Gary, you missed the put... fput($fp, $file); means you're dropping the filename INTO the storage file. okay. [maybe]. i think what the script does is create ./countdir/$file ; in this case, ./countdir/index where i create the file named index\n and below it the integer count. e.g.: in directory countdir, in file index is: index 60311 to track the hits for my homepage. in defense of this crude hack with no error-checking is that i have used the same script in at least three other virtual thought.org websites. i was wrong is saying that the script bombed; it just failed; the reason was that the initial tag had been ? rather than ?php gary On Mar 24, 2011, at 6:00 PM, Gary Kline wrote: On Wed, Mar 23, 2011 at 07:11:15PM +0100, Fr?d?ric Perrin wrote: Gary Kline kl...@thought.org writes: Can any of you php hackers tell me why this simple self-hacked counter bomb? As others said, what does 'this simple counter bomb' means? $fp = fopen($directory.$file, r+); flock($fp, 1); You want an exclusive lock (LOCK_EX, which is 2 is you use some ancient PHP), not a shared lock. When updating the file: fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); Why do you feel the need to store the filename inside the file itself? You don't seem to need it after. $file is passed from the calling php file. index.php is by-hand set to $file='index'; and so on. Because of my shoulder/typing woes, it was great that I got clued in above by Brad's thought that perhaos there were mis-matched ? and ? tags. A simply recursive grepping found out that it some places I had ? cr instead of ?php cr. Adding the php fixed everything. Finally, you're right; this really, really is ancient php. Somthing i found pre-2004 and hacked until it worked. The counter is missings lots of features, but I'll fix that pretty soon. thanks to everybody , -- Frédéric Perrin -- http://tar-jx.bz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why does this simple counter fail?
Check your apache error_log, too. On Mar 24, 2011, at 12:56 PM, Gary Kline wrote: On Wed, Mar 23, 2011 at 11:47:16AM -0500, Ryan Coleman wrote: Do you have an error for it? If not... add after the first ? error_reporting(9); And see what it reports. There were no errors that should up when i launched this script on www.thought.org; it simply failed; no output. ...Another php script that output a random string on the same page did have errors. I thought i would try this simpler script first. will add the err line and retry, tx, gary -- Ryan PHP dev. On Mar 23, 2011, at 11:45 AM, Gary Kline wrote: Guys, Can any of you php hackers tell me why this simple self-hacked counter bomb? appended. tia. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org !-- // // $Id: count.php,v 1.2 2004/01/22 21:58:48 kline Exp kline $ // --! ?php $directory=./countdir/; if (! (file_exists( ($directory.$file)) )) { if (! ($fp = fopen( ($directory.$file), w)) ) { echo Can't create file '$directory.$file'; exit(1); } else { fseek($fp,0); fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); fclose($fp); } } if (file_exists( ($directory.$file))) { $fp = fopen($directory.$file, r+); flock($fp, 1); $count = fgets($fp, 4096); $count += 1; fseek($fp,0); fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); flock($fp, 3); fclose($fp); ? CENTER FONT COLOR=#66 !--- rich dark bluegrey --- FONT SIZE=2 ? print there have been ; ? FONT SIZE=+1 FONT COLOR=#FF ? print $count; ? /FONT /FONT ? print hits\n; ? /CENTER ? } else { print Can't find file, check '$directory.$file'\n; } ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why does this simple counter fail?
Here's a quick and dirty option... FIRST make sure your permissions on the folder you want to write the countfile to is either at RWX to all or is owned by the Apache run user (PHP by default runs under the Apache Service user). I ran this in file test.php on my server. Give it a whirl. ? $dir = /path/to/stored/counts/; $dir = $_SERVER['DOCUMENT_ROOT'].test/; //This was to test in test directory in VHOST root folder. $file = $_SERVER['PHP_SELF']..txt; //this keeps it from being loaded in browser as a php-executable #$file = urlencode($_SERVER['REQUEST_URI'])..txt // This option if uncommented will make /file/path/filename.php?that=thisfive=5 // turn into %2Ffile%2Fpath%2Ffilename.php%3Fthat%3Dthis%26five%3D5. Not pretty but functional. if(!is_file($dir.$file)) { $dump = fopen($dir.$file, x+); fclose($dump); } //Read current value $fp_read = fopen($dir.$file, r); $count = fread($fp_read, filesize($dir.$file)+1); fclose($fp_read); //Convert count to integer $new_count = ((int)$count); //Increase count by 1 $new_count++; //Reopen to write new value $fp = fopen($dir.$file, w+); fwrite($fp, $new_count); fclose($fp); echo A count was added. It was #.$new_count; ? On Mar 24, 2011, at 1:53 PM, Gary Kline wrote: On Wed, Mar 23, 2011 at 11:47:16AM -0500, Ryan Coleman wrote: Do you have an error for it? If not... add after the first ? error_reporting(9); And see what it reports. -- Ryan PHP dev. save the bandwidth... Ok, i added the error_reporting line to both scripts. No change from the count.php, and the same output as prev from my script that tries to pick a random entry from some 70 quotes. here is what the randomquote.php scipt output onto the home page: Last updated: 17 February, 2011 echo err-9 line below:\n; $number-1){ // If ran out of quotes, start again! $num=0; } if (file_exists($directory.$quotecountfile)) { $nu = fopen ($directory.$quotecountfile, w); fputs($nu,$num); } else { die(Cant Find $quotecountfile); } } ? Note that i added the echo line just now. Having a quote isn't as meaningful as giving users the latest pagecount. That still fails without any errors. gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ppp.conf for Verizon Mifi 2200?
Sounds alot like my query for the Virgin Mobile one ... I got NOWHERE. :\ On Mar 24, 2011, at 5:31 PM, Lawton Campbell wrote: Hey freebsd-questions! I've been trying to get a Verizon MiFi 2200 to work on my 8.2-RELEASE box for the past couple of days and can't seem to get the ppp.conf to work properly. I found a couple of recent threads about similar devices (apparently it's just novatel stuff that gets repackaged for different 3G providers) -- http://www.mail-archive.com/freebsd-net@freebsd.org/msg36160.html It doesn't look like they got the Virgin Mobile version of the device working, unfortunately. I'm stuck in a slightly different place, so making a new thread (dunno if freebsd-net or freebsd-questions is more appropriate, so erring to -questions). Anyway, let's get started! Going to walkthrough what I have so far, then finally get to where I'm stuck and detail some questions. # THUS FAR One quirk of the device is that you have to detach /dev/cd0 when it mounts to expose the modem interface for u3g to grab. Looking at usbconfig, the relevant identifiers for the device are idVendor = 0x1410 idProduct = 0x5041 AFAIK, u3gstub is supposed to take care of this automagically, but perhaps either I've misread the man page or it's missing the vendor/product IDs. In any case, it's probably easy enough to fix with a devd rule, so I'm not too worried about it. In any case, when the device is attached, `camcontrol eject cd0` (or whatever cd# is generated) has to be run -- root@ff camcontrol eject cd0 Which gives us -- Mar 25 06:06:36 ff kernel: ugen1.2: Novatel Wireless Inc. at usbus1 Mar 25 06:06:36 ff kernel: u3g0: Data Interface on usbus1 Mar 25 06:06:36 ff kernel: u3g0: Found 5 ports. root@ff ls /dev/cuaU0.* /dev/cuaU0.0 /dev/cuaU0.1.init /dev/cuaU0.2.lock /dev/cuaU0.4 /dev/cuaU0.0.init /dev/cuaU0.1.lock /dev/cuaU0.3 /dev/cuaU0.4.init /dev/cuaU0.0.lock /dev/cuaU0.2 /dev/cuaU0.3.init /dev/cuaU0.4.lock /dev/cuaU0.1 /dev/cuaU0.2.init /dev/cuaU0.3.lock I just grabbed the stock ppp.conf from the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html) with some bits removed (the login chat script, specifically -- we'll know if that's broken when we get there). root@ff cat /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set speed 115200 set device /dev/cuaU0.0 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT set timeout 180 enable dns mifi: set phone #777 set authname xxxmynum...@vzw3g.com set authkey vzw set ifaddr 10.23.0.1 10.23.0.2 255.255.255.255 0.0.0.0 add default HISADDR However, when I run `ppp -ddial mifi`, I get -- Mar 25 06:17:43 ff ppp[10491]: tun0: Chat: Send: AT^M Mar 25 06:17:43 ff ppp[10491]: tun0: Chat: Expect(5): OK Mar 25 06:17:49 ff ppp[10491]: tun0: Chat: Expect timeout Mar 25 06:17:49 ff ppp[10491]: tun0: Warning: Chat script failed Which means we're not even communicating with the modem. Kinda weird -- I think it's a problem in the dial script. Let's just take out the non-default dial script and see what happens: root@ff cat /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set speed 115200 set device /dev/cuaU0.1 set timeout 180 enable dns mifi: set phone #777 set authname xxxmynum...@vzw3g.com set authkey vzw set ifaddr 10.23.0.1 10.23.0.2 255.255.255.255 0.0.0.0 add default HISADDR Mar 25 06:20:15 ff ppp[10518]: tun0: Phase: deflink: closed - opening Mar 25 06:20:15 ff ppp[10518]: tun0: Phase: deflink: Connected! Mar 25 06:20:15 ff ppp[10518]: tun0: Phase: deflink: opening - dial Mar 25 06:20:15 ff ppp[10518]: tun0: Phase: deflink: dial - carrier Mar 25 06:20:16 ff ppp[10518]: tun0: Phase: deflink: /dev/cuaU0.1 doesn't support CD Mar 25 06:20:16 ff ppp[10518]: tun0: Phase: deflink: carrier - login Mar 25 06:20:16 ff ppp[10518]: tun0: Phase: deflink: login - lcp Mar 25 06:20:16 ff ppp[10518]: tun0: LCP: FSM: Using deflink as a transport Mar 25 06:20:16 ff ppp[10518]: tun0: LCP: deflink: State change Initial -- Closed Mar 25 06:20:16 ff ppp[10518]: tun0: LCP: deflink: State change Closed -- Stopped Mar 25 06:20:17 ff ppp[10518]: tun0: LCP: deflink: LayerStart Mar 25 06:20:17 ff ppp[10518]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Mar 25 06:20:17 ff ppp[10518]: tun0: LCP: ACFCOMP[2] Mar 25 06:20:17 ff ppp[10518]: tun0: LCP: PROTOCOMP[2] Mar 25 06:20:17 ff ppp[10518]: tun0: LCP: ACCMAP[6] 0x Mar 25 06:20:17 ff ppp[10518]: tun0: LCP: MRU[4] 1500 Mar 25 06:20:17 ff ppp[10518]: tun0: LCP: MAGICNUM[6] 0x72c1cbf0 Mar 25 06:20:17 ff ppp[10518]: tun0: LCP: deflink: State
Re: why does this simple counter fail?
Gary, you missed the put... fput($fp, $file); means you're dropping the filename INTO the storage file. On Mar 24, 2011, at 6:00 PM, Gary Kline wrote: On Wed, Mar 23, 2011 at 07:11:15PM +0100, Fr?d?ric Perrin wrote: Gary Kline kl...@thought.org writes: Can any of you php hackers tell me why this simple self-hacked counter bomb? As others said, what does 'this simple counter bomb' means? $fp = fopen($directory.$file, r+); flock($fp, 1); You want an exclusive lock (LOCK_EX, which is 2 is you use some ancient PHP), not a shared lock. When updating the file: fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); Why do you feel the need to store the filename inside the file itself? You don't seem to need it after. $file is passed from the calling php file. index.php is by-hand set to $file='index'; and so on. Because of my shoulder/typing woes, it was great that I got clued in above by Brad's thought that perhaos there were mis-matched ? and ? tags. A simply recursive grepping found out that it some places I had ? cr instead of ?php cr. Adding the php fixed everything. Finally, you're right; this really, really is ancient php. Somthing i found pre-2004 and hacked until it worked. The counter is missings lots of features, but I'll fix that pretty soon. thanks to everybody , -- Frédéric Perrin -- http://tar-jx.bz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ppp.conf for Verizon Mifi 2200?
No clue, I haven't touched it in two weeks. I'll try again next week - after I wrap another shoot where I wish I had it. -- Ryan On Mar 24, 2011, at 9:03 PM, Lawton Campbell wrote: On Thu, Mar 24, 2011 at 5:24 PM, Ryan Coleman edi...@d3photography.com wrote: Sounds alot like my query for the Virgin Mobile one ... I got NOWHERE. :\ Haha yeah, I was really excited when I originally found your thread. What does yours do if you give it my ppp.conf (with your phone/authname/authkey subbed in)? Does it also get stuck sending LCP requests for configuration and never receiving an intelligible reply? On Mar 24, 2011, at 5:31 PM, Lawton Campbell wrote: Hey freebsd-questions! I've been trying to get a Verizon MiFi 2200 to work on my 8.2-RELEASE box for the past couple of days and can't seem to get the ppp.conf to work properly. I found a couple of recent threads about similar devices (apparently it's just novatel stuff that gets repackaged for different 3G providers) -- http://www.mail-archive.com/freebsd-net@freebsd.org/msg36160.html It doesn't look like they got the Virgin Mobile version of the device working, unfortunately. I'm stuck in a slightly different place, so making a new thread (dunno if freebsd-net or freebsd-questions is more appropriate, so erring to -questions). Anyway, let's get started! Going to walkthrough what I have so far, then finally get to where I'm stuck and detail some questions. # THUS FAR One quirk of the device is that you have to detach /dev/cd0 when it mounts to expose the modem interface for u3g to grab. Looking at usbconfig, the relevant identifiers for the device are idVendor = 0x1410 idProduct = 0x5041 AFAIK, u3gstub is supposed to take care of this automagically, but perhaps either I've misread the man page or it's missing the vendor/product IDs. In any case, it's probably easy enough to fix with a devd rule, so I'm not too worried about it. In any case, when the device is attached, `camcontrol eject cd0` (or whatever cd# is generated) has to be run -- root@ff camcontrol eject cd0 Which gives us -- Mar 25 06:06:36 ff kernel: ugen1.2: Novatel Wireless Inc. at usbus1 Mar 25 06:06:36 ff kernel: u3g0: Data Interface on usbus1 Mar 25 06:06:36 ff kernel: u3g0: Found 5 ports. root@ff ls /dev/cuaU0.* /dev/cuaU0.0 /dev/cuaU0.1.init /dev/cuaU0.2.lock /dev/cuaU0.4 /dev/cuaU0.0.init /dev/cuaU0.1.lock /dev/cuaU0.3 /dev/cuaU0.4.init /dev/cuaU0.0.lock /dev/cuaU0.2 /dev/cuaU0.3.init /dev/cuaU0.4.lock /dev/cuaU0.1 /dev/cuaU0.2.init /dev/cuaU0.3.lock I just grabbed the stock ppp.conf from the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html) with some bits removed (the login chat script, specifically -- we'll know if that's broken when we get there). root@ff cat /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set speed 115200 set device /dev/cuaU0.0 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT set timeout 180 enable dns mifi: set phone #777 set authname xxxmynum...@vzw3g.com set authkey vzw set ifaddr 10.23.0.1 10.23.0.2 255.255.255.255 0.0.0.0 add default HISADDR However, when I run `ppp -ddial mifi`, I get -- Mar 25 06:17:43 ff ppp[10491]: tun0: Chat: Send: AT^M Mar 25 06:17:43 ff ppp[10491]: tun0: Chat: Expect(5): OK Mar 25 06:17:49 ff ppp[10491]: tun0: Chat: Expect timeout Mar 25 06:17:49 ff ppp[10491]: tun0: Warning: Chat script failed Which means we're not even communicating with the modem. Kinda weird -- I think it's a problem in the dial script. Let's just take out the non-default dial script and see what happens: root@ff cat /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set speed 115200 set device /dev/cuaU0.1 set timeout 180 enable dns mifi: set phone #777 set authname xxxmynum...@vzw3g.com set authkey vzw set ifaddr 10.23.0.1 10.23.0.2 255.255.255.255 0.0.0.0 add default HISADDR Mar 25 06:20:15 ff ppp[10518]: tun0: Phase: deflink: closed - opening Mar 25 06:20:15 ff ppp[10518]: tun0: Phase: deflink: Connected! Mar 25 06:20:15 ff ppp[10518]: tun0: Phase: deflink: opening - dial Mar 25 06:20:15 ff ppp[10518]: tun0: Phase: deflink: dial - carrier Mar 25 06:20:16 ff ppp[10518]: tun0: Phase: deflink: /dev/cuaU0.1 doesn't support CD Mar 25 06:20:16 ff ppp[10518]: tun0: Phase: deflink: carrier - login Mar 25 06:20:16 ff ppp[10518]: tun0: Phase: deflink: login - lcp Mar 25 06:20:16 ff ppp[10518]: tun0: LCP: FSM: Using deflink as a transport Mar 25 06:20:16 ff ppp[10518]: tun0: LCP: deflink: State change Initial -- Closed Mar 25 06:20:16 ff ppp[10518]: tun0: LCP: deflink: State change Closed
Re: Bandwith Management
Do you know exactly what they used to limit the bandwidth? was it IPFW or something else? On Mar 23, 2011, at 8:49 AM, Eric Beukes wrote: Could you please assist me. I have a freebsd box the previous person who handled it left the company. Now we increased the bandwidth with tenet now how do I increase it on my freebsd box? As well as how do I now what is actually used for the management of the bandwith like ipfw, ect? Please let me know Thank you, Eric Beukes - This e-mail is subjected to the disclaimer that can be viewed at: * http://www.cut.ac.za/www/disclaimer/email_disclaimer - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why does this simple counter fail?
Do you have an error for it? If not... add after the first ? error_reporting(9); And see what it reports. -- Ryan PHP dev. On Mar 23, 2011, at 11:45 AM, Gary Kline wrote: Guys, Can any of you php hackers tell me why this simple self-hacked counter bomb? appended. tia. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org !-- // //$Id: count.php,v 1.2 2004/01/22 21:58:48 kline Exp kline $ // --! ?php $directory=./countdir/; if (! (file_exists( ($directory.$file)) )) { if (! ($fp = fopen( ($directory.$file), w)) ) { echo Can't create file '$directory.$file'; exit(1); } else { fseek($fp,0); fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); fclose($fp); } } if (file_exists( ($directory.$file))) { $fp = fopen($directory.$file, r+); flock($fp, 1); $count = fgets($fp, 4096); $count += 1; fseek($fp,0); fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); flock($fp, 3); fclose($fp); ? CENTER FONT COLOR=#66 !--- rich dark bluegrey --- FONT SIZE=2 ? print there have been ; ? FONT SIZE=+1 FONT COLOR=#FF ? print $count; ? /FONT /FONT ? print hits\n; ? /CENTER ? } else { print Can't find file, check '$directory.$file'\n; } ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why does this simple counter fail?
On a side note, I'd nix $count += 1; for $count++; -- ryan On Mar 23, 2011, at 11:45 AM, Gary Kline wrote: Guys, Can any of you php hackers tell me why this simple self-hacked counter bomb? appended. tia. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org !-- // //$Id: count.php,v 1.2 2004/01/22 21:58:48 kline Exp kline $ // --! ?php $directory=./countdir/; if (! (file_exists( ($directory.$file)) )) { if (! ($fp = fopen( ($directory.$file), w)) ) { echo Can't create file '$directory.$file'; exit(1); } else { fseek($fp,0); fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); fclose($fp); } } if (file_exists( ($directory.$file))) { $fp = fopen($directory.$file, r+); flock($fp, 1); $count = fgets($fp, 4096); $count += 1; fseek($fp,0); fputs($fp, $count); fputs($fp, \n); fputs($fp, $file); flock($fp, 3); fclose($fp); ? CENTER FONT COLOR=#66 !--- rich dark bluegrey --- FONT SIZE=2 ? print there have been ; ? FONT SIZE=+1 FONT COLOR=#FF ? print $count; ? /FONT /FONT ? print hits\n; ? /CENTER ? } else { print Can't find file, check '$directory.$file'\n; } ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why does this simple counter fail?
On Mar 23, 2011, at 12:14 PM, Paul Macdonald wrote: On 23/03/2011 16:45, Gary Kline wrote: Guys, Can any of you php hackers tell me why this simple self-hacked counter bomb? appended. tia. $file doesn't look to be set anywhere if its a web script ( as opposed to cmd line cli) tyhen its probably passed as a POST or GET variable., register_globals needs to be on for this variable to be auto set, if the form is submitted via POST, change script to: $directory=./countdir/; $file=$_POST['file']; if the form is submitted via GET (you'd see the file=variable in the address bar), change script to: $directory=./countdir/; $file=$_GET['file']; Of course you want to sanitise this $file variable so that it can't be hacked. Additionally you could do: $file = $_SERVER['PHP_SELF']; Which will tie the filename to the actual PHP file. But you might want to do something like... $file = urlencode($_SERVER['REQUEST_URI'])..txt; to make it the full url, safe vars for file names and add .txt to make it readable in other things not FreeBSD.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Automating mounting of ISO images
I have a folder full of ISOs that we're sharing on the network instead of having the discs available (seems like a good idea, right?) But I want to automate the process on boot instead of having to write a static script to do the work. Disc images are located in /mount/disc_images/ (all are ISOs) They need to mount into /mount/office_files/images/FILENAME [without the .iso extension] How can I do this? I've always been given these types of scripts in the past at an old job but I don't have access to those examples anymore. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Automating mounting of ISO images
We're close on this (thanks for the push). It wants to load the entire path up in ${DEST} which is not ideal but I can live with that. I am also trying to make the directories right before the attempt to mount the image (a 'duh' moment just now). So I'd like to have just the filename, not the full path, made as a folder... In other news: The ISOs are all made by me, so no special chars, just capital and lowercase letters, sometimes numbers, no spaces and use of underscores and hyphens. thanks! On Mar 23, 2011, at 2:11 PM, Chuck Swiger wrote: Hi-- On Mar 23, 2011, at 11:49 AM, Ryan Coleman wrote: Disc images are located in /mount/disc_images/ (all are ISOs) They need to mount into /mount/office_files/images/FILENAME [without the .iso extension] How can I do this? I've always been given these types of scripts in the past at an old job but I don't have access to those examples anymore. Something like this might do (untested, though): #! /bin/sh for FILE in /mount/disc_images/*; do DEST=$FILE:r mount -t cd9660 /dev/`mdconfig -f ${FILE}` /mount/office_files/images/${DEST} done Might need to add quotes if you have spaces or other unusual characters in your ISO filenames Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Automating mounting of ISO images
On Mar 23, 2011, at 3:16 PM, Polytropon wrote: On Wed, 23 Mar 2011 15:06:14 -0500, Ryan Coleman edi...@d3photography.com wrote: I am also trying to make the directories right before the attempt to mount the image (a 'duh' moment just now). So I'd like to have just the filename, not the full path, made as a folder... A directory. :-) Thank you. :-) slip of the fingers... In other news: The ISOs are all made by me, so no special chars, just capital and lowercase letters, sometimes numbers, no spaces and use of underscores and hyphens. Underscores and hypens are traditionally not a problem. Spaces can be and need extra attention. But as you're using PROPER filenames, it should be easy to get the target directory name from the ISO filename. The unelegant way is to use basename: DIRNAME=`basename ${FILE} .iso` Of course, there's a sh builtin for the same purpose: DIRNAME=${FILE%.iso} Adding this to the iteration list, you can easily create the directories needed prior to the mount attempt. I'll give this a whirl in a bit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Automating mounting of ISO images
Here's the working script (Yay!) #! /bin/sh for FILE in /mount/disc_images/*.iso; do DEST=$FILE DIRNAME=`basename ${FILE} .iso` echo ${DIRNAME} ${FILE} mkdir /mount/new_brighton/images/${DIRNAME} mount -t cd9660 /dev/`mdconfig -f ${FILE}` /mount/new_brighton/images/${DIRNAME} done Thanks to Polytropon and Chuck for their guidance. On Mar 23, 2011, at 3:16 PM, Polytropon wrote: On Wed, 23 Mar 2011 15:06:14 -0500, Ryan Coleman edi...@d3photography.com wrote: I am also trying to make the directories right before the attempt to mount the image (a 'duh' moment just now). So I'd like to have just the filename, not the full path, made as a folder... A directory. :-) In other news: The ISOs are all made by me, so no special chars, just capital and lowercase letters, sometimes numbers, no spaces and use of underscores and hyphens. Underscores and hypens are traditionally not a problem. Spaces can be and need extra attention. But as you're using PROPER filenames, it should be easy to get the target directory name from the ISO filename. The unelegant way is to use basename: DIRNAME=`basename ${FILE} .iso` Of course, there's a sh builtin for the same purpose: DIRNAME=${FILE%.iso} Adding this to the iteration list, you can easily create the directories needed prior to the mount attempt. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Automating mounting of ISO images
On Mar 23, 2011, at 3:45 PM, Polytropon wrote: On Wed, 23 Mar 2011 15:35:21 -0500, Ryan Coleman edi...@d3photography.com wrote: Here's the working script (Yay!) #! /bin/sh for FILE in /mount/disc_images/*.iso; do DEST=$FILE DIRNAME=`basename ${FILE} .iso` echo ${DIRNAME} ${FILE} mkdir /mount/new_brighton/images/${DIRNAME} mount -t cd9660 /dev/`mdconfig -f ${FILE}` /mount/new_brighton/images/${DIRNAME} done Thanks to Polytropon and Chuck for their guidance. Just a little note: Make sure you're mounting the ISOs as -o ro to prevent write access to them. If users don't have +w access to the mounted directories, you can leave out this step. Depending on the permissions used, this might corrupt (or at least change) the image files which may not be desired. If you want to omit one external program call (one per iteration step), use DIRNAME=${FILE%.iso} instead of the `basename ${FILE} .iso` - although it's more obvious what DIRNAME gets designated to. :-) I did try that once and it didn't strip the directory structure out so when basename worked I didn't mess with it too much. If we have 100+ ISOs to mount then I'll worry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
8.2: What's usbdevs called now?
I see usbdevs was part of 7.x but I cannot find it outside of a src directory in 8.2. Any recommendations? -- Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Setting up Novatel Mifi 2200 on 8.2-REL
Are you up to a challenge? I have my Virgin Mobile MIFI 2200 connected to my new remote server via USB (8.2-RELEASE) that I just set up and it's not seeing the modem, but it does see the virtual drive on it. dmesg output: ugen3.2: Novatel Wireless Inc. at usbus3 ugen3.2: Novatel Wireless Inc. at usbus3 (disconnected) umass0: Novatel Wireless Inc. Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 5 on usbus0 [root@camserve /usr/home/ryan]# more /var/log/messages | grep -i nova Mar 13 18:39:05 camserve kernel: ugen3.2: Novatel Wireless Inc. at usbus3 Mar 13 18:39:05 camserve kernel: umass0: Novatel Wireless Inc. Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 2 on usbus3 Mar 13 18:39:07 camserve kernel: cd0: Novatel Mass Storage 1.00 Removable CD-ROM SCSI-2 device also [more /var/log/messages | grep -i unknown]: Mar 13 18:39:05 camserve root: Unknown USB device: vendor 0x1410 product 0x5020 bus uhub3 Mar 13 18:53:06 camserve root: Unknown USB device: vendor 0x1410 product 0x6000 bus uhub3 Mar 13 19:07:10 camserve root: Unknown USB device: vendor 0x1410 product 0x6000 bus uhub3 Mar 13 19:07:10 camserve root: Unknown USB device: vendor 0x1410 product 0x6000 bus uhub3 Mar 13 19:37:09 camserve root: Unknown USB device: vendor 0x1410 product 0x5020 bus uhub0 Mar 13 19:47:10 camserve root: Unknown USB device: vendor 0x1410 product 0x6000 bus uhub0 I have uhso installed but without the indentifcation of 1410:5020 but I cannot use it [yet] to connect to the net. Any thoughts? -- Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: / file system is full, but du does not show that it's full
What about filehandlers? On Jan 6, 2011, at 5:26 AM, c0re wrote: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M466M -9.8M 102%/ So it's full. But by du it's not appeared to be full # du -hxd 1 / 2.0K/.snap 512B/dev 2.0K/tmp 2.0K/usr 2.0K/var 1.9M/etc 2.0K/cdrom 2.0K/dist 1.0M/bin 131M/boot 10M/lib 356K/libexec 2.0K/media 12K/mnt 2.0K/proc 7.2M/rescue 296K/root 4.7M/sbin 4.0K/lost+found 157M/ I know that something (like running process) can hold file so it's actually are not deleted. I rebooted server. But this not helped, so it's not a process holding file. Checked with fsck # fsck / ** /dev/ad0s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 47268 files, 238539 used, 15276 free (6684 frags, 1074 blocks, 2.6% fragmentation) No problems here. # uname -a FreeBSD host.domain.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #0: Tue Dec 28 13:55:47 MSK 2010 r...@host.domain.com:/usr/obj/usr/src/sys/MYKERNEL i386 What's the problem here? Why df says that filesystem is full? Other command may also say that can't write because file system is full. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bot?
I agree on this point. That said, I once thought my employer's server was hacked and I ran local utilities and dug through months of logs only to discover that an install of either phpBB or phpMyAdmin had a slice of bad code that allowed someone to install software remotely and run its own p2p network off of it. I wasted a few days trying to dig in the wrong place. On Jan 5, 2011, at 12:25 PM, David Brodbeck wrote: On Wed, Jan 5, 2011 at 8:15 AM, Kevin Wilcox kevin.wil...@gmail.com wrote: On 5 January 2011 10:47, Jerry Bell je...@nrdx.com wrote: There could be reasons you aren't seeing a spike, such as you're only looking at traffic processed by the MTA, or it simply doesn't show as a material increase on a graph of traffic on the network interface if the server is busy. Those are good points and to go a little further regarding looking at traffic... To really see what your machine is doing, consider taking a look at the network flows. pfflowd, netflowd, ipaudit and a host of others can get you flow data with mostly minimal overhead. Also, keep in mind that depending on how badly the machine has been compromised, you may not be able to trust the output of utilities running on the machine itself. You may have to resort to capturing its network traffic on another machine for analysis. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bot? / pf question
Yes and no. You want to leave ftp open, too, just in case for port upgrading/downloading, plus you would want to do monitoring across the wire (Nagios or something, maybe?). You could, though, do a dual-NIC setup and have one be a private network LAN for the servers if you aren't already considering it. On Jan 5, 2011, at 1:48 PM, Mark Moellering wrote: Since I am going to be setting up a mail server sometime next week and have to keep things like this in mind; would it make sense to run pf and block all outbound traffic that isn't on port 25 ( port 995 , etc) and force any web administration programs onto a port other than 80 to help with this sort of thing? Any other thoughts on how to make sure future installations can be kept secure? As always, thanks in advance to everyone, Mark Moellering ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Runaway ProFTP?
And it's fixed now... not sure what the deal was with portsnap but it finally worked. I appreciate all the help. -- Ryan On Dec 10, 2010, at 10:59 PM, Ryan Coleman wrote: I have not been able to get portsnap to work at all today. On Dec 10, 2010, at 10:53 PM, Grant Peel wrote: - Original Message - From: Jerry Bell je...@nrdx.com To: freebsd-questions@freebsd.org Sent: Friday, December 10, 2010 4:47 PM Subject: Re: Runaway ProFTP? I have been having this happen a few times per week for the past few weeks. I believe it is caused by someone attacking proftpd. I noticed today that there is an updated version - 1.3.3c that fixes a vulnerability that they may have been trying to exploit. When I looked at the process list, I would see around 20 proftpd's, each with a high amount of CPU used, and connected to a specific IP. I'd firewall off those IPs and kill off proftpd/restart. Knock on wood, I have not had that happen since upgrading to 1.3.3c, but that may just be because no one has tried again yet. Jerry On 12/10/2010 4:39 PM, Ryan Coleman wrote: Does anyone have any ideas? On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote: Dear list, Has anyone else had experience with ProFTP 1.3.3a running away with processes? I installed it about 2 months ago with a new server build and over the course of the last three weeks I've had to forcibly kill, wait and restart the service every one-to-three days and sucking up between 20% and 80% of my system resources. I've attempted to change the logging in hopes to track down what is causing the problems but I have not been successful. Additionally it won't connect after a restart through Filezilla but using Terminal on my MBP it will connect in the CLI. It's not the end of the world (for me) but it is for my staff when they have to upload large numbers of photos. Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Indeed, this Proftpd 1.3.3a vulnerability is exactly what my post on upgrading a single port is all about. I can say for a fact that the botnets are trying to use the vulnerability and that you are quite correct that the CPU / ZOMBIE processes are exploit related. I just upgraded today and so far so good. \FYI for anyone that is following my thread on updating one single port: I must have a somwhat busted installation. Using port upgrade failed ... sorry I did not remember to keep the output, but, I was able to download the source from proftpd.org and install it from scratch. -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
THE SPAM WE GET [stop fretting and read]
No, this list does not. As I mentioned yesterday, this is an unmonitored, unnannyed list that accepts emails from addresses without checking authenticity... meaning I can post from 4 emails (and I have) and not be subscribed on each address. Spoofing email addresses has happened for years, and with this list's archives being publicly available online it's been happening for a while and will continue to happen until the rules may or may not be changed. -- Ryan On Dec 10, 2010, at 8:41 AM, Chris Brennan wrote: On Fri, Dec 10, 2010 at 4:07 AM, Paul B Mahol one...@gmail.com wrote: On 12/10/10, Chris Brennan xa...@xaerolimit.net wrote: Umm... what's the dea w/ this? More spam? Not my spam. If you still think that I actually really send this to you I can not help you. Well no Paul, I wasn't blaming you directly, I I just noticed that a lot of mail last night had that message attached to it, even mail from me. By the time I realized that, I was too tired to care. But either way, I'm still curious, does this list generate that message? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Runaway ProFTP?
Does anyone have any ideas? On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote: Dear list, Has anyone else had experience with ProFTP 1.3.3a running away with processes? I installed it about 2 months ago with a new server build and over the course of the last three weeks I've had to forcibly kill, wait and restart the service every one-to-three days and sucking up between 20% and 80% of my system resources. I've attempted to change the logging in hopes to track down what is causing the problems but I have not been successful. Additionally it won't connect after a restart through Filezilla but using Terminal on my MBP it will connect in the CLI. It's not the end of the world (for me) but it is for my staff when they have to upload large numbers of photos. Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Runaway ProFTP?
I have not been able to get portsnap to work at all today. On Dec 10, 2010, at 10:53 PM, Grant Peel wrote: - Original Message - From: Jerry Bell je...@nrdx.com To: freebsd-questions@freebsd.org Sent: Friday, December 10, 2010 4:47 PM Subject: Re: Runaway ProFTP? I have been having this happen a few times per week for the past few weeks. I believe it is caused by someone attacking proftpd. I noticed today that there is an updated version - 1.3.3c that fixes a vulnerability that they may have been trying to exploit. When I looked at the process list, I would see around 20 proftpd's, each with a high amount of CPU used, and connected to a specific IP. I'd firewall off those IPs and kill off proftpd/restart. Knock on wood, I have not had that happen since upgrading to 1.3.3c, but that may just be because no one has tried again yet. Jerry On 12/10/2010 4:39 PM, Ryan Coleman wrote: Does anyone have any ideas? On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote: Dear list, Has anyone else had experience with ProFTP 1.3.3a running away with processes? I installed it about 2 months ago with a new server build and over the course of the last three weeks I've had to forcibly kill, wait and restart the service every one-to-three days and sucking up between 20% and 80% of my system resources. I've attempted to change the logging in hopes to track down what is causing the problems but I have not been successful. Additionally it won't connect after a restart through Filezilla but using Terminal on my MBP it will connect in the CLI. It's not the end of the world (for me) but it is for my staff when they have to upload large numbers of photos. Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Indeed, this Proftpd 1.3.3a vulnerability is exactly what my post on upgrading a single port is all about. I can say for a fact that the botnets are trying to use the vulnerability and that you are quite correct that the CPU / ZOMBIE processes are exploit related. I just upgraded today and so far so good. \FYI for anyone that is following my thread on updating one single port: I must have a somwhat busted installation. Using port upgrade failed ... sorry I did not remember to keep the output, but, I was able to download the source from proftpd.org and install it from scratch. -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Runaway ProFTP?
Dear list, Has anyone else had experience with ProFTP 1.3.3a running away with processes? I installed it about 2 months ago with a new server build and over the course of the last three weeks I've had to forcibly kill, wait and restart the service every one-to-three days and sucking up between 20% and 80% of my system resources. I've attempted to change the logging in hopes to track down what is causing the problems but I have not been successful. Additionally it won't connect after a restart through Filezilla but using Terminal on my MBP it will connect in the CLI. It's not the end of the world (for me) but it is for my staff when they have to upload large numbers of photos. Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Jarupon has sent you a private message
do what everyone else does: delete them. It's an open list that anyone can email - or spam. On Dec 8, 2010, at 2:58 PM, Chris Brennan wrote: On Wed, Dec 8, 2010 at 1:56 PM, Jarupon Mahiphot jaru...@quepasa.comwrote: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org umm.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB Thumb Drive
On Dec 1, 2010, at 12:10 PM, Jerry wrote: On Wed, 1 Dec 2010 17:00:00 + Bruce Cran br...@cran.org.uk articulated: On Wed, 1 Dec 2010 11:47:26 -0500 Chris Brennan xa...@xaerolimit.net wrote: [r...@blackdragon [~]# kldload ntfs (just so I can read from the device and copy what I wanted off it) [r...@blackdragon [~]# mount -t ntfs /dev/da0 /mnt/thumb mount_ntfs: /dev/da0: Invalid argument I think Windows defaults to FAT32 on removable drives, so you might need to use '-t msdosfs' instead. In newer versions of Windows you can also format disks using exFAT which I don't believe is supported in the open source world yet. I believe that exFAT is the default in Windows 7. In any case, there is no support for it in FreeBSD; although I believe there is support, rudimentary perhaps, in Linux. Wikipedia (http://en.wikipedia.org/wiki/ExFAT#Licensing) As the page says, it's READ ONLY in Linux... kinda pathetic. Thanks, Microsoft, for changing things AGAIN so you cannot be shared safely with others. Any thoughts on when hey might require their users to wear latex gloves when using something other than Windows? -- Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Digital camera (Canon)
On Nov 27, 2010, at 9:17 PM, Bernt Hansson wrote: Hello list I have a digital camera, Canon powershoot sx130 is. That I wish to mount. The camera contains an sd-card that I wish to extract the photos from. ugen2.2: canon inc. at usbus2 %uname -a FreeBSD testbox.fqdn 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct 23 22:05:11 CEST 2010 amd64 It's FAT32, so I'd try... mount_msdosfs /dev/ugen2.2 ... or something similar___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: new user questions. (Before I back myself into a corner!)
On Nov 26, 2010, at 8:53 AM, Chris Brennan wrote: On Fri, Nov 26, 2010 at 6:30 AM, Dave d...@g8kbv.demon.co.uk wrote: Yes, I found that, good info. I'm relying on the freebsd.org site man pages and documentation among others, as I'm finding it too inconvenient (bad short term memory) using the man pages on the system. At least I can have the website pages open on a nearby laptop. There are two options that I know of that could make this part easier for you 1) screen (tried and true) can do split windows/multiple windows although I've never been able to correctly figure it out I second screen. /usr/ports/sysutils/screen/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org