Re: [gentoo-user] md5sum for directories?
On 26 Feb 2008, at 19:51, Stroller wrote: Thanks. I think this has been suggested before for my backups - IIRC it has a useful --ignore-path or --exclude-path command which can insure you all the users' Documents Settings, without the useless temp Temporary Internet Files. rsync has excellent control over what is copied via the include and exclude options. I've just tried `rsync- vrchi` on a pair of subdirectories (My Documents) of the backup I made last week and on those it seems run in acceptable time. I got little output, however, so have deleted a couple of files from the destination (I should perhaps write some random data to another) and am running it again in anticipation of some copying /a/b/c/file /x/y/z/file output. When I run rsync interactively i usually add --stats and --progress to the command. Those will give you more feedback. I appreciate your help, Least I could do, and if I hadn't mentioned it I am sure someone else would have. This is a gentoo list ;-) -- Christopher -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] md5sum for directories?
On 24 Feb 2008, at 06:06, Stroller wrote: So my question is: Is there any way to check the integrity of copied directories, to be sure that none of the files or sub-directories in them have become damaged during transfer? I'm thinking of something like md5sum for directories. I use rsync for this and would suggest you look into it. You can tell it to compare files based on checksum (which is slower) and the real beauty is that if there is a file that is corrupt or otherwise not the same as the source it will copy just that single file to your backup disk. Test it by deleting a random file somewhere in the backup tree.. rerun your rsync command and the file is copied back. man rsync -- Christopher -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: FreeAgent extn. Drive setup ideas
James wrote: Can you flesh out your idea with a little bit more detail? (remember I have many usb devices and move them frequently between windows and Gentoo systems). James Just to be clear this isn't *my* idea, see: http://wiki.linuxquestions.org/wiki/Fstab ubuntu and I assume others have started populating the fstab with UUID entries rather than device names. To me it seems like an elegant solution to a problem, maybe not YOUR problem but that is likely down to my not understanding as completely as you do. :) As Neil said, udev rules can make it work or you can edit one line of your fstab. So that this: /dev/sdd1 /mnt/usb type defaults 0 0 Becomes: UUID=123456 /mnt/usb type deftauls 0 0 You can find 123456 by issuing: vol_id /dev/sdd1 Again, whether or not this is what you need, only you can say. -- Christopher -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: FreeAgent extn. Drive setup ideas
James wrote: Yes, some help with udev rules or a slick trick via fstab is what I was really after. Or maybe something cool related to the usb buss and a trick to *uniquely lable* usb devices. Would using the UUID for the partition work for you? vol_id /dev/sdXX You can use UUID=blah in your fstab. -- Christopher -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Cell phone as modem
On 5 Dec 2007, at 08:53, Grant wrote: That kind of thing would work, the tricky part is making it work while traveling internationally. You basically can't bring a cell phone to a place like Costa Rica (for example), you have to buy/rent one there. Did you read the fine print when you signed up for the temporary Costa Rican cell service at the corner store? Do you have a Costa Rican ISP you can dial up to? What are you being charged for international calls home? Is there good cell reception where you're staying? What is this costing all together? Sounds more like a Costa Rica problem than a gentoo/gsm/gprs/etc issue.. When I'm in Barbados on business I can happily use my Rogers (Canadian GSM) SE W880i as a GPRS modem. Though that requires being happy to pay the rather expensive data roaming charges. So although I have it with me, it's the backup option. 802.11 wireless is the primary connectivity. It used to be a huge pain finding a wireless signal but then I built a WokFi antenna. A wifi USB adapter, mesh cooking utensil, tripod and usb extension cable can be sourced for the price of a day or two of satellite access. It all collapses down nicely and hasn't failed me to date. YMMV -- Christopher -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Cell phone as modem
On 5 Dec 2007, at 15:56, Grant wrote: 802.11 wireless is the primary connectivity. It used to be a huge pain finding a wireless signal but then I built a WokFi antenna. A wifi USB adapter, mesh cooking utensil, tripod and usb extension cable can be sourced for the price of a day or two of satellite access. It all collapses down nicely and hasn't failed me to date. YMMV That sounds interesting. I had a look at the WokFi wikipedia page. So you have always been able to find an unencrypted signal when you're traveling? How many times has this worked? If you're on business you must be staying in hotels in the middle of town right? - Grant -- [EMAIL PROTECTED] mailing list I've used the GPRS modem twice during all the trips to Barbados. The WokFi has worked well at various hotels and an apartment complex along the island's west coast so none of the use was in the middle of town in the traditional sense. It's not a panacea, but I can connect to networks that don't even show up on my Eee's built-in wireless. It's inexpensive to build your own and a handy tool to have in your arsenal. -- Christopher -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
On 27 Nov 2007, at 10:19, Mick wrote: Hi All, I have noticed this problem when I try to connect to two different machines in two different continents. One is on cable (US) the other on ISDN ADSL (Greece). In the evening and sometimes weekends ssh connections from my laptop to these two PCs are either taking ages or time out. This is ssh connections to sshd which is listening to random ports in the 200+ or 12000+ ranges. If I eventually manage to connect the latency is ridiculous - up to 5 seconds! Sometimes I enter a passwd, if I can get that far and then wait for hours with no response. Eventually, I have to close the terminal. Tracerouting does not get through although some clever tcptraceroute strings may on occasions (intermittently) get through. Both servers run on domestic networks. BTW, ssh-ing to servers in datacenters with their big fiber-optic pipes, although relatively slow in peak times, always gets through. The strange thing is that there is no problem talking to these boxen while they run Google-Talk, it's only the ssh connection that seems to suffer. Have you come across such a problem before? How can I troubleshoot it? In this day and age of broadband connections it seems strange to get worse performance than on a dialup network . . . I mean I have run VNC connections over a 56k dial up with more responsiveness than this! -- Regards, Mick I've run across the same kind of issues on certain ISPs when using non- standard ports for sshd. Given other connections (Gtalk) are working, the first thing I would try in your position is to see if there is a difference when using 22 versus your random port. With certain ISPs in the UK I've found SSH connections to be unusable on anything but the default port. Of course it has everything to do with the smart traffic shaping at the ISP and there was nothing I could do about it. -- Christopher -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [OT]advice for a wireless router
On 28 Oct 2007, at 18:15, Dan Farrell wrote: Most people go for this option, but there's definitely something good to be said about the flexibility (and power!) of using a home-built router from a second hand desktop. On the subject of power one might want to think about the power required to run a complete desktop based router versus the cost of an integrated device. Unless you are looking for a project to tinker with for fun or plan to use the machine for more than just a router I think it's overkill. I've used wireless since the the first apple airport and would second the recommendation of a dd-wrt based router. A linksys WRT54GL works well enough with the standard firmware and you have plenty of options to tweak with dd-wrt etc. I'm not sure about Italy, but around here you can get a simple D-link wireless router for USD25. I've used them in several situations and have had no problems.. you can't beat that price. -- Christopher -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] whoa, this new(ish) portage is nice
On 10 Oct 2007, at 13:57, Mark Shields wrote: I was thinking the same. I remember when I first started using Gentoo (2004?) when doing updates, I always wished it would spit out the notices at the end instead of every emerge. Imagine my surprise when I saw they had implemented that. Good show, Gentoo devs! -- - Mark Shields Am I missing something, I don't notice anything new.. I configured the PORTAGE_ELOG settings many versions of portage ago, so maybe that has something to do with it? I already get all the elog stuff mailed to me for each ebuild which seems like an easier way to manage that information but I am still curious! -- Christopher Copeland -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Backups
On 30 Sep 2007, at 12:33, Grant wrote: Where do you guys store your backups? Leaving backups on a DVD in the same apartment as the machines doesn't make too much sense to me. Maybe I should mail em to my parents every week or something? - Grant Offsite backups are a good idea if your data is important to you. I have several servers around the world so setting up rsync mirrors is pretty painless. Then I burn to DVD remotely.. (I have trained people enough so that when the tray opens they replace the DVD with a blank) You might want to look at doing a stage 4 backup and then sending that file to one of those online storage services. A quick google shows there are many out there offering 2-25GB of free storage. There are some non-free services designed specifically for backup where you don't pay to upload but do pay when you want to get your data (which given it is a backup I assume you would be highly motivated to pay if a restore is required) A few months back I looked into Amazon's S3 to automate offsite storage of backups. I never implemented anything though. I would encrypt anything sent to one of those online storage services. -- Christopher -- [EMAIL PROTECTED] mailing list