RE: a tool that can recover partially formatted ext3 FS.
From: Sthu Deus [mailto:sthu.d...@gmail.com] Sent: Thursday, July 16, 2009 8:30 AM Subject: a tool that can recover partially formatted ext3 FS. Good day. Could You advise me a tool that can recover my files on partially formatted occasionally disk? The disk has ext3 FS. And I have canceled operation after few seconds since it started formatting. Thank You for Your time. If you are trying to fix the drive or restore it, I have not ever had any luck doing that. However, I have used testdisk to recover a file on a drive that had been accidently wiped. It does have partition recovery, but I have not had a high success rate with partitions, just files. A google search brings up this article if you are interested. http://www.linux.com/news/enterprise/storage/8257-how-to-recover-lost-fi les-after-you-accidentally-wipe-your-hard-drive BTW, the disk that was wiped in my case was a well used 60GB drive. The disk I used to recover the files to (since you don't want to over write the current drive) was a 500GB hard drive. It recovered over 450GB of stuff due to recovering deleted files/indexes. So make sure you have a big drive and plenty of time to sort through it. I did get the important file and a few other files, but it took a long time. Hope this helps! ~S~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Video compression
From: Thomas H. George [mailto:li...@tomgeorge.info] Sent: Saturday, July 11, 2009 9:23 AM Subject: Video compression How can I compress a short video clip - 88 M in qt format - into to a size that can be emailed? Sorry I am late to the party, but if you don't mind adding the debian -multimedia repository then I highly recommend handbrake. Details: http://debian-multimedia.org/dists/stable/main/binary-i386/package/handb rake-gtk.php You can convert to other formats, clean up the picture, shrink down to a certain size, ect ect ect. It does a lot of cool stuff with video and it has a pretty easy to understand GUI. Hope that helps! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Does Debian = Ubuntu?
From: Jochen Schulz [mailto:m...@well-adjusted.de] Sent: Wednesday, July 08, 2009 4:42 AM Subject: Re: Does Debian = Ubuntu? [snip] And I think (without being sure) that you can always upgrade from one Ubuntu LTS release to the next, skipping the intermediate non-LTS releases. This is correct. See here: https://help.ubuntu.com/community/HardyUpgrades You can directly upgrade to Ubuntu 8.04 LTS ('Hardy Heron') from Ubuntu 7.10 ('Gutsy Gibbon') or from Ubuntu 6.06 LTS ('Dapper Drake') As I understand it Ubuntu's upgrade path is: 1) LTS-LTS 2) Incremintal-next incremental (and LTS only when it is the next incremental) I had to do the LTS-LTS once and it was surprisingly easy. I was expecting much more of a fight in getting things to work again considering the 2 year gap. There were some packages that were dropped (various reasons) that I ended up having to research the replacements but it was so trivial that I don't remember the details. The only one that gave me issues was VMWare and that was a package outside of Ubuntu's control anyway. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Synaptics touchpad two-finger scrolling
From: Sjoerd Hardeman [mailto:sjo...@lorentz.leidenuniv.nl] Sent: Thursday, June 25, 2009 7:18 AM Subject: Re: Synaptics touchpad two-finger scrolling Sjoerd Hardeman wrote: Hi list, I had two-finger scrolling working with explicit lines in the xorg.conf. [snip] yet in X it doesn't. Two-finger scrolling does not work, and trying synclient of gsynaptics gives a message like Can't access shared memory area. SHMConfig disabled? Does anybody know what's going on? Nobody? Should I file a bug for the driver? I don't know if it is worth filing a bug report over yet, but I would at least try to contact some of the dev's working on it. I have not seen much discussion on two-touch devices on this list so I suspect that there are not a lot of people using it. In my experience, two touch is one of those things that people were drooling over a couple months ago but now no one I know is using it (even the Apple guys I know with the Macbooks and iPhones don't care). *shrug* I am not saying that it is bad or isn't useful to people out there, just that I don't know how much help you will get on just the user lists when there are so few people using it. I usually don't advocate talking to the devs ( as I don't want to bother them with trivial problems ) but they are probably the most likely to be able to help you. I would check to see who the Synaptics devs are and see if they hang out on a particular list / IRC. Then, if no answer, maybe send them an email directly. Good luck and have fun! ~Stack~ PS: Now watch as I find out a ton of people are using it on the list and it is just the tiny bubble of people I interact with that don't. :-D Haha! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Synaptics touchpad two-finger scrolling
From: Stackpole, Chris [mailto:cstackp...@barbnet.com] Sent: Thursday, June 25, 2009 8:44 AM Subject: RE: Synaptics touchpad two-finger scrolling [snip] I usually don't advocate talking to the devs ( as I don't want to bother them with trivial problems ) but they are probably the most likely to be able to help you. I re-read this after it was sent and decided that I don't like my wording. So just thought I would clarify that I am not trying to imply that you have a trivial problem. Just that since you have now tried the user list, you should escalate up to the devs. :-) ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Re: DNS lookup problems after upgrade from Etch to Lenny
From: news [mailto:n...@ger.gmane.org] On Behalf Of Jeffrey Cao Sent: Thursday, June 18, 2009 2:43 AM Subject: Re: DNS lookup problems after upgrade from Etch to Lenny On 2009-06-16, Stackpole, Chris cstackp...@barbnet.com wrote: From: Adrian Levi [mailto:adrian.l...@gmail.com] Sent: Tuesday, June 16, 2009 1:19 AM Subject: Re: DNS lookup problems after upgrade from Etch to Lenny didn't have it before and on another system running a fresh build of Lenny running the exact same software handling a similar load and its DNS ask rate is just as low as it was on this system running Etch. I am at a loss. I appreciate any help people can give. Silly question, did you check resolv.conf? I did. It is the same as the other machines Search my.domain Nameserver ip.of.dns.1 Nameserver ip.of.dns.2 Are you sure all those DNS servers work? especially for the first one. Commented all others and leave only one to try one by one. I met similar problem before. Some APPs just use the first DNS server. If it failed, it will not try others. And some other APPs try others when the first one failed. So, maybe your first DNS does not work properly. Thanks for the suggestion. I did verify that the DNS server is in proper working condition. I still have not been able to figure out what caused the problem, however, I did get the DBNDNS caching to work. This has at least gotten the network guys off my back, but it has added an extra layer for me to diagnose problems through in the future. :( Thanks again for responding, Chris Stackpole -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: DNS lookup problems after upgrade from Etch to Lenny
From: Adrian Levi [mailto:adrian.l...@gmail.com] Sent: Tuesday, June 16, 2009 1:19 AM Subject: Re: DNS lookup problems after upgrade from Etch to Lenny didn't have it before and on another system running a fresh build of Lenny running the exact same software handling a similar load and its DNS ask rate is just as low as it was on this system running Etch. I am at a loss. I appreciate any help people can give. Silly question, did you check resolv.conf? I did. It is the same as the other machines Search my.domain Nameserver ip.of.dns.1 Nameserver ip.of.dns.2 Thanks for the suggestion. Chris Stackpole -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: [OT] The perfect system ...
From: Andrei Popescu [mailto:andreimpope...@gmail.com] Sent: Sunday, June 14, 2009 11:04 AM Subject: Re: [OT] The perfect system ... On Sun,14.Jun.09, 01:19:40, Steve Lamb wrote: Douglas A. Tutty wrote: Determine what you want the box to do. If its only watching movies, most new computers with a decent video card will do that as is and isn't anything special. Heck, until I figured out a method to stream video to my XBox360 I was watching video on my ~10 year old Dell Latitude CPx. 667Mhz CPU and a 32Mb, non-3D video card. Unfortunately such hardware is not good enough for HD (not even 720p). I'm even struggling to get my laptop (Intel Dual Core T2330 @ 1.6 GHz and nvidia Quadro NVS 140M) to show 1080p. According to Wikipedia [1] you are supported for VDPAU so why not use it? The SVN of MythTV supports it as does the latest XBMC for Linux. Or if you want just a single application then just grab the latest Mplayer. Just as a point of ref, I have a P4 3.0Ghz with 3GB ram box that struggled to play 720p. It drained my resources but it was watchable...barely. I installed the latest nvidia drivers, the latest XBMC, and now it plays 1080p with less then 30% of the processor (720p uses less the 15%). It is really cool stuff. [1] http://en.wikipedia.org/wiki/VDPAU Hope this helps! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: DNS lookup problems after upgrade from Etch to Lenny
From: Stackpole, Chris [mailto:cstackp...@barbnet.com] Sent: Monday, June 15, 2009 4:36 PM Subject: RE: DNS lookup problems after upgrade from Etch to Lenny From: Stackpole, Chris [mailto:cstackp...@barbnet.com] Sent: Monday, June 15, 2009 4:30 PM Subject: DNS lookup problems after upgrade from Etch to Lenny Hey guys, I have been trying my best to figure this out recently but not having much luck. I am hoping someone here might be able to help. We had an Etch box that had been running great for almost 2 years. When we decided that we really should upgrade to Lenny, the box had over 300 days of uptime. It was a really solid box that handled a ton of data for us. There are a number of reasons, but we needed to update the system. So I ran the upgrade process. I did an `apt-get update` and `apt-get upgrade` on Etch, restarted, changed out sources to Lenny then did an `apt-get dist-upgrade`. Standard and simple and everything seemed to go really well. However, shortly after, it started slamming our DNS servers. It went from an average of 3.5 requests per minute to over 7000 requests per minute. Every time it talks to a system, it does a DNS lookup. Scratch that bit. My network guy just sent me the official numbers. It jumped from 3.5 requests per minute to 73,955.25 requests per minute. A factor of 10 worse. :-0 At first I thought it was Apache and or the applications we run, but after some testing, I don't think that is the case. I stopped all the programs and apache before I started pinging other systems by their domain name. It constantly asked the DNS for information. How do I know? I am running `tshark -f 'port 53'` and watching all the data in real time. When I ping a name, it does a lookup. If I leave the ping running, after a few seconds it asks again. I set up a loop using `ping -c1` and no matter how fast the loop ran, it asked for the name every time. So a busy server working with ~50 other computers and tons of connections is asking the DNS for every connection! Can any one help out? I am digging around in all sorts of conf files but not finding anything. My search online seems to suggest I should install a DNS caching utility, but I don't understand why I have this problem. I didn't have it before and on another system running a fresh build of Lenny running the exact same software handling a similar load and its DNS ask rate is just as low as it was on this system running Etch. I am at a loss. I appreciate any help people can give. Thanks, Chris Stackpole Well I can't seem to find and fix this problem. So I guess my two options are: 1) rebuild the system using Lenny 2) Install a DNS caching utility. Right now I am trying number 2. I installed dbndns and tied to configure it using this [1] talk as a guide, but I think I goofed something up. It isn't working. Can anyone help out in configuring this? Thanks, Chris Stackpole [1] http://bevilacqua.us/talks/djbdns/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
DNS lookup problems after upgrade from Etch to Lenny
Hey guys, I have been trying my best to figure this out recently but not having much luck. I am hoping someone here might be able to help. We had an Etch box that had been running great for almost 2 years. When we decided that we really should upgrade to Lenny, the box had over 300 days of uptime. It was a really solid box that handled a ton of data for us. There are a number of reasons, but we needed to update the system. So I ran the upgrade process. I did an `apt-get update` and `apt-get upgrade` on Etch, restarted, changed out sources to Lenny then did an `apt-get dist-upgrade`. Standard and simple and everything seemed to go really well. However, shortly after, it started slamming our DNS servers. It went from an average of 3.5 requests per minute to over 7000 requests per minute. Every time it talks to a system, it does a DNS lookup. At first I thought it was Apache and or the applications we run, but after some testing, I don't think that is the case. I stopped all the programs and apache before I started pinging other systems by their domain name. It constantly asked the DNS for information. How do I know? I am running `tshark -f 'port 53'` and watching all the data in real time. When I ping a name, it does a lookup. If I leave the ping running, after a few seconds it asks again. I set up a loop using `ping -c1` and no matter how fast the loop ran, it asked for the name every time. So a busy server working with ~50 other computers and tons of connections is asking the DNS for every connection! Can any one help out? I am digging around in all sorts of conf files but not finding anything. My search online seems to suggest I should install a DNS caching utility, but I don't understand why I have this problem. I didn't have it before and on another system running a fresh build of Lenny running the exact same software handling a similar load and its DNS ask rate is just as low as it was on this system running Etch. I am at a loss. I appreciate any help people can give. Thanks, Chris Stackpole -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: DNS lookup problems after upgrade from Etch to Lenny
From: Stackpole, Chris [mailto:cstackp...@barbnet.com] Sent: Monday, June 15, 2009 4:30 PM Subject: DNS lookup problems after upgrade from Etch to Lenny Hey guys, I have been trying my best to figure this out recently but not having much luck. I am hoping someone here might be able to help. We had an Etch box that had been running great for almost 2 years. When we decided that we really should upgrade to Lenny, the box had over 300 days of uptime. It was a really solid box that handled a ton of data for us. There are a number of reasons, but we needed to update the system. So I ran the upgrade process. I did an `apt-get update` and `apt-get upgrade` on Etch, restarted, changed out sources to Lenny then did an `apt-get dist-upgrade`. Standard and simple and everything seemed to go really well. However, shortly after, it started slamming our DNS servers. It went from an average of 3.5 requests per minute to over 7000 requests per minute. Every time it talks to a system, it does a DNS lookup. Scratch that bit. My network guy just sent me the official numbers. It jumped from 3.5 requests per minute to 73,955.25 requests per minute. A factor of 10 worse. :-0 At first I thought it was Apache and or the applications we run, but after some testing, I don't think that is the case. I stopped all the programs and apache before I started pinging other systems by their domain name. It constantly asked the DNS for information. How do I know? I am running `tshark -f 'port 53'` and watching all the data in real time. When I ping a name, it does a lookup. If I leave the ping running, after a few seconds it asks again. I set up a loop using `ping -c1` and no matter how fast the loop ran, it asked for the name every time. So a busy server working with ~50 other computers and tons of connections is asking the DNS for every connection! Can any one help out? I am digging around in all sorts of conf files but not finding anything. My search online seems to suggest I should install a DNS caching utility, but I don't understand why I have this problem. I didn't have it before and on another system running a fresh build of Lenny running the exact same software handling a similar load and its DNS ask rate is just as low as it was on this system running Etch. I am at a loss. I appreciate any help people can give. Thanks, Chris Stackpole -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: max sata connections
From: randall [mailto:rand...@songshu.org] Sent: Wednesday, June 10, 2009 9:31 AM Subject: max sata connections hi all, i'm fairly unexperienced when it comes to rackmountable hardware but i was looking at the cheapest way too get as much terrabytes as possible in a single system. my eye fell on the Chenbro RM23212 which is a 2u enclosure that fits 12x 3.5 disks and i obviously want to squeeze 12x 1 or 2 terrabyte disks in there. i figured that would be the most space/gigabyte solution at an affordable rate, however, when looking for a matching mobo i can not any with more then 10x sataII connections. i think this could be solved using sata multipliers but i do not have any experience with these and there seem to be mixed feelings about there reliability as far as i can tell from a quick google. anybody has any experience/recommendation on this? Sorry in advance for cross linking mailing lists, but check out the MythTV list. They have got almost this exact topic going on right now. http://mythtv.org/pipermail/mythtv-users/2009-June/257408.html The first link talks about an 8 bay setup (with discount!), but later in the discussion they talk about larger setups and various other ideas / implementations including rack-mountable solutions. Hope that helps. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Access denied for user 'root'@'localhost' in mysql
From: Bernard Fay [mailto:bernard@gmail.com] Sent: Wednesday, June 03, 2009 2:59 PM Subject: Access denied for user 'root'@'localhost' in mysql Hi, I installed MySQL in Lenny. When I try to login in with mysql -u root -p, I receive : ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) I tried to reset the password of root by adding skip-grant-tables in my.cnf then restart mysql. I could login in with mysql -u root then I ran the following commands: mysql update user set password=password('password') where user='root'; mysql flush privileges; I removed skip-grant-tables from my.cnf and restarted mysqld. I still have: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Any idea or clues about how to solve this issue? Thanks, Bernard Two methods on the same topic. 1) What database are you using when you login? If I remember correctly (it has been a while) you need to declare the user table like update mysql.user set And not just update user set... That may be the problem if it is trying to update the wrong table/database. 2) Maybe this is one of those multiple-ways-of-completing-the-same-task kind of scenarios but I reset passwords like so: SET PASSWORD FOR r...@localhost=password('MyNewPassword'); I don't seem to have problems with it. Other then the password reset, your methods seem right to me as long as you are on the localhost. Hope this helps. Have fun! ~Stack~
RE: Debian Linux
From: Raffaele Morelli [mailto:raffaele.more...@gmail.com] Sent: Tuesday, May 26, 2009 6:37 AM Subject: Re: Debian Linux 2009/5/26 Martyn Dowling martyn.dowl...@equanet.com Hi Please could you let me know if Debian Linix is compatible with a HP Proliant DL360 G5 server? Kind Regards Martyn Yes, I got this server up since debian etch was released along with the official port for amd64. cheers -r I can confirm as well. I am running several of these servers with Debian Etch and Lenny on both 32 and 64 bit installs. Have fun!
RE: Laptop woes - Black background is now pure red.
From: Harry Rickards [mailto:hricka...@l33tmyst.com] Sent: Friday, May 08, 2009 2:33 PM Subject: Re: Laptop woes - Black background is now pure red. On 05/08/09 20:21, Chris Jones wrote: [snip] To clarify, I have uploaded a few screenshots at: www.geocities.com/fcky1000/fckw/ Thanks, CJ The screenshots look normal to us, try taking them with a camera. Since the screenshots look normal my guess is the screen. Does the laptop have an external monitor port? If so I would try that first. ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: [OT] netbook recommendation
From: Leonardo Canducci [mailto:leonardo.candu...@gmail.com] Sent: Tuesday, May 05, 2009 1:39 PM Subject: [OT] netbook recommendation I'd like to buy a netbook and install debian on it, of course. It should be: 1. cheap, light and small, otherwise no use for a netbook :) 2. linux friendly 3. usable (decent keyboard, 9 screen minimum) 4. with a decent battery life (3h is not enough) Most eeepc seem to be well supported and some have a good battery life. nc10 seems good but it's not cheap nor friendly. dell mini 9 is really cheap but has little battery and bradcom wifi. So... what would you recommend? These are obviously my thoughts/opinions/experiences so YMMV. My wife /loves/ her Ubuntu based Dell Mini 9. Personally, the only drawback for me is I really don't like the keyboard. They rearranged the key placement for some of the keys and it really messes me up sometime (eg: the | is to the bottom right of the keyboard...something I use all the time on the CLI). Also Ubuntu from Dell uses the lpia repos. From my brief and limited testing the lpia works slightly better (interface is snappier, programs seem to load faster, ect) then the i386 install. Something hard to describe but we all noticed it when we were playing around with it. I ended up putting the lpia back on to keep up the WAF. Even though not all the packages are in the lpia repo, I have not had problems installing from the i386 repo. As for other notebooks, I was pleased to play around with the HP mini1000 but not enough to buy it. I have a friend who bought an Acer Aspire One. He installed Slackware on it and he absolutely loves it. I was able to borrow one for a few days and I tried to put Debian on it...there are some really good guides out there but even with them I still never got all the bits to work right. The worse part was that for some unknown reason every 5 seconds everything would freeze momentarily. Not long, but enough to be annoying when you are playing Tetris or watching a movie/youtube. I know several people who have bought one and returned it. I am personally looking forward to the Touch Book [1]. Touch screen, ~12-15hrs battery life, cheap, and they 'support' installing another Linux distro other then their own version. Also, if you don't like it then you can return it. From the FAQ: Q. Which OS is installed on the Touch Book? A. The Touch Book will ship with the Touch Book OS by default. Since the Touch Book has been designed with the help of a vibrant open source community that believes in diversity, you can install many other OSes, including Google Android, Ubuntu, Angstrom, and Windows CE. You are free to do whatever you want. Q. What will be the return policy? A. Fifteen days from shipment date. No question asked. So that's my planned purchase anyway... Have fun! ~Stack~ [1] https://www.alwaysinnovating.com/home/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: web monitoring tool?
From: Depo Catcher [mailto:depocatc...@gmail.com] Sent: Friday, April 24, 2009 12:38 AM Subject: web monitoring tool? I'm looking for a web based monitoring tool. mrtg isn't supported any longer? I tried rtg, but it seemed like it was really complex to setup. I just want a simple monitor that will graph cpu, memory, disk, etc. I use Zabbix and I love it. http://zabbix.com/wiki/doku.php?id=howto:installing_zabbix_on_debian Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Admit that the typical Debian machine has tons of cruft(8)
From: Klistvud [mailto:quotati...@aliceadsl.fr] Sent: Friday, April 24, 2009 8:28 AM Subject: Re: Admit that the typical Debian machine has tons of cruft(8) Dne, 24. 04. 2009 13:26:21 je Nuno Magalhães napisal(a): Agreed, yet there's a techical question in there. What's your take? I usually run apt-get autoremove and orphaner, clear /var/log stuff and /var/cache/apt as well; yet i always do have the feeling that my / oughta be smaller. Is there an option to autoremove unused files? Cheers, Nuno Magalhães Well, there was a program once, called FSlint or something like that. Never used it personally, though. I love FSlint. It will find duplicate files, empty directories, tmp files, bad names, name clashes, bad symlinks, and a bunch of other stuff that I can't remember. I use it to clean up the filesystem all the time. I do use deborphan (and gtkorphan) as well to clean up the packages. I also like filelight. A graphical drill down tool that helps find directories that are using up too much space. Yes, I use packages like find and du on the command line when I am in a hurry but sometimes the graphics are really cool to take into a meeting to say See? This is how much space we are using! Hope that helps. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: how to check memory type?
From: Zhengquan Zhang [mailto:zhang.zhengq...@gmail.com] Sent: Monday, April 27, 2009 2:11 PM Subject: how to check memory type? Dear debian community, I was looking for commands to check detailed memory info. (not usage info but type and manufacturer info). I have no idea what memory type our server is using and we want to add more rams to it. Particularly I don't know whether it is DDR or DDR2 or DDR3 and i would like to know if it is DIMM 240pin or 184pin or others. Try dmidecode as root. It should give you the stats on the memory currently in the system. Also take a look at the package lshw (probably have to install with `apt-get install lshw`). You can specify to show only the memory with: `lshw -c Memory` Hope this helps. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: will this one work?
From: Zhengquan Zhang [mailto:zhang.zhengq...@gmail.com] Sent: Monday, April 27, 2009 3:20 PM Subject: will this one work? http://www.cdw.com/shop/products/default.aspx?EDC=1068675#TS Will this one work? Now I think the only info I still do not have is whether the memory we are using is fully buffered or not. Is there any means to decode that? It is generally frowned on to change the topic of a conversation because it can mess up people trying to follow a thread. Just so you know later on. According to Intels website [1] you need ECC Fully Buffered memory. According to Kingstons website these [2] are the memory modules you should use. [1] http://www.intel.com/Products/Server/Motherboards/S5000PSL/S5000PSL-spec ifications.htm [2] http://www.ec.kingston.com/ecom/configurator_new/modelsinfo.asp?SysID=29 330mfr=Intelmodel=S5000PSL%2FS5000PSLR+Serversearch_type=root=usLin kBack=http%3A%2F%2Fwww.kingston.comSys=29330-Intel-S5000PSL%2FS5000PSLR +Serverdistributor=0submit1=Search Hope that helps. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Debian RAM supporting.
From: Ron Johnson [mailto:ron.l.john...@cox.net] Sent: Friday, April 03, 2009 4:25 AM Subject: Re: Debian RAM supporting. On 2009-04-02 23:54, Bret Busby wrote: On Thu, 2 Apr 2009, Stefan Monnier wrote: [snip] In that case, as installation disks (I think) automatically sense the CPU, and install the appropriate kernel for the CPU, does an installation disk automatically find how much RAM a computer has, It's in /proc/meminfo. and then install the appropriate memory size based kernel? The CD ISOs are pretty space-constrained. You could file a wishlist bug report, but the D-I team would probably prioritize it low. I could be wrong, but I am pretty certain that the netinstall does this. At least on the 32bit systems with more then 4GB that I have access to, I don't remember having to do anything extra special for it to install bigmem. Scooty Puff, Sr The Doom-Bringer Awesome. :-) Futurama: Always relevant. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: full backup/
From: Daniel Suleyman [mailto:danik...@gmail.com] Sent: Friday, April 03, 2009 8:46 AM Subject: full backup/ Dear all, I have HP DL380 G4 with installed debian sarge. I want to make full back up of system? before reinstalling to debian lenny. But server using hardware raid. and my question is. how can i take full backup, that in case of any failure i will be able to restore system and it was just before formating. thankyou I have done partimage backup/restores on a DL360's w/ hardware RAID without problems. I have not tried a DL380. http://www.partimage.org/Main_Page I would recommend that you backup and restore a few systems that you don't care as much about first. Just to get a handle on the software and make sure it works the way you are expecting it to. It is not difficult software to learn. Hope this helps! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Installing on a Compact Flash card.
Hello, I have an older laptop that has been working rather well, until the hard drive started making horrible noises that is. So I backed up the hard drive and was going to replace it with something much newer. I only found drives way bigger and more expensive then I actually need in this little laptop. After thinking about it, the hard drive is the loudest and warmest part of the laptop. So why not replace it with a Compact Flash card? So I did. I bought a CF-IDE adapter [1] and a CF card [2]. I found several places online that mentioned that these products work together well and are able to be used at the boot device. I switched out the drives and the BIOS saw the larger hard drive (Yes 8GB is larger; I don't need much in this laptop:-). I proceeded to install Etch (floppy net-install). It was as smooth of an install as I have ever done. Rebooted after install and no bootable device found. Huh. I booted off of my super-grub-boot-disc floppy; it found the hard drive and the install. Once booted, the laptop ran great. It is dead silent, it is much snappier, lighter, and cooler. Love the improvement. I regenerated grub and saw no error. It saw the partition and everything with no errors standing out to me. So I rebooted. Same thing; no bootable device found. Booting off of the grub floppy again got me back into the install. So I dist-upgraded to Lenny. I thought maybe I hit a bug or something and the newer grub would fix it. Nope. I thought maybe it didn't like the fact that I have a single 8GB ext2 / partition. Maybe I need a ~256MB /boot partition like some of the computers back-in-the-day needed? However, the old install was only a single 6GB ext3 / partition; there was no separate /boot partition on it. So now I am a bit confused. I am not sure what I am doing wrong. Can any one advice me on what to try next? Should I try to reinstall with a /boot partition and a / partition? Is there something I need to do for the CF card? [1] http://www.newegg.com/Product/Product.aspx?Item=N82E16812186050 [2] http://www.newegg.com/Product/Product.aspx?Item=N82E16820208340 Any help would be appreciated. Thanks! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Installing on a Compact Flash card.
From: Daryl Styrk [mailto:darylst...@gmail.com] Sent: Friday, April 03, 2009 9:54 AM Subject: Re: Installing on a Compact Flash card. Thorny wrote: [...] So now I am a bit confused. I am not sure what I am doing wrong. Can any one advice me on what to try next? Should I try to reinstall with a /boot partition and a / partition? Is there something I need to do for the CF card? Did you write a GRUB MBR to the drive, Chris? I'd have a look at Debian's guide to the eee. Your approach seems similar enough. http://wiki.debian.org/DebianEeePC I don't have time to read the entire thing over but I saw this. Now let the installer do its thing until it wants to write the GRUB bootloader. Stop now. Do not install the GRUB bootloader in the MBR. To install the bootloader on your external media you have to give the name of the device as the installer sees it during installation. http://wiki.debian.org/DebianEeePC/HowTo/InstallOnSDcardOrUsbStick OK, well I tried Thorny's request before I saw this email. I just followed these steps in restoring the MBR. http://www.supergrubdisk.org/wiki/Howto_Fix_Grub#Classical_solution I will now give your link a try. Thanks for the suggestions guys! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Installing on a Compact Flash card.
From: Daryl Styrk [mailto:darylst...@gmail.com] Sent: Friday, April 03, 2009 9:54 AM Subject: Re: Installing on a Compact Flash card. I'd have a look at Debian's guide to the eee. Your approach seems similar enough. http://wiki.debian.org/DebianEeePC [snip] http://wiki.debian.org/DebianEeePC/HowTo/InstallOnSDcardOrUsbStick I read through that and verified the MBR settings. Everything looks good. There is no CDROM or second hard drive, so it properly sets it up as hd0,0 and hda. I tried a few different methods of installing the MBR. I did switch the BIOS from Floppy-Hard Drive to Hard Drive-Floppy. That didn't help any. So I disabled the floppy and I got an: Error:9990301 A quick Google search tells me that the BIOS doesn't like the hard drive. It sees it, and it obviously works when GRUB is loaded from the floppy so I am not sure of the problem. It seems the only reliable way so far to boot this machine is with the external floppy drive. :-( Thanks for the suggestions so far. Anyone else? ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Installing on a Compact Flash card. Solved??
Well, after doing the GRUB MBR reinstall a dozen different ways I decided that it wasn't the software. I took the laptop apart and pulled the CF out, plugged it into my desktop through a USB-to-IDE connector, and it booted! I can successfully boot and use the CF drive on the desktop but putting it back in the laptop results in the same problems. I guess it wasn't meant to be and this +10yr old laptop really is at the end of the road. :-/ Oh well. I have had my eye on the touchbook[1] for a while now. Maybe it is time to upgrade. Thanks anyway for your help and suggestions! [1] http://www.alwaysinnovating.com/touchbook/ ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Debian RAM supporting.
From: Ron Johnson [mailto:ron.l.john...@cox.net] Sent: Friday, April 03, 2009 12:11 PM Subject: Re: Debian RAM supporting. On 2009-04-03 07:14, Stackpole, Chris wrote: From: Ron Johnson [mailto:ron.l.john...@cox.net] [snip] I could be wrong, but I am pretty certain that the netinstall does this. At least on the 32bit systems with more then 4GB that I have access to, I don't remember having to do anything extra special for it to install bigmem. Shame on me for assuming that GP had tried to install and only been able to see 4/3.6GB. Whoops, my bad. That is my fault for breezing through the thread. I somehow didn't connect that the OP mentioned the netinstall. Although I really don't remember having to do anything different with the HP DL30's when they came with 8GB (the only experience I have with 4GB 32bit). In fact I remember being really surprised that /proc/mem recorded all 8GB...wish I had a box to test that on... :-) Oh well. Thanks for the correction. ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Debian RAM supporting.
From: Stackpole, Chris [mailto:cstackp...@barbnet.com] Sent: Friday, April 03, 2009 12:30 PM Subject: RE: Debian RAM supporting. From: Ron Johnson [mailto:ron.l.john...@cox.net] Sent: Friday, April 03, 2009 12:11 PM Subject: Re: Debian RAM supporting. On 2009-04-03 07:14, Stackpole, Chris wrote: From: Ron Johnson [mailto:ron.l.john...@cox.net] [snip] I could be wrong, but I am pretty certain that the netinstall does this. At least on the 32bit systems with more then 4GB that I have access to, I don't remember having to do anything extra special for it to install bigmem. Shame on me for assuming that GP had tried to install and only been able to see 4/3.6GB. Whoops, my bad. That is my fault for breezing through the thread. I somehow didn't connect that the OP mentioned the netinstall. Although I really don't remember having to do anything different with the HP DL30's when they came with 8GB (the only experience I have with 4GB 32bit). In fact I remember being really surprised that /proc/mem recorded all 8GB...wish I had a box to test that on... :-) The short, I was completely wrong. Sorry. The long... So I mentioned this to my coworker. He too thought the net-install picked up the bigmem kernel. We have a dev box (Pentium D, 8GB memory, 64bit install) that isn't being used at the moment so we yanked the harddrive and dropped in a 10GB drive we have laying around. A quick* 32bit Lenny netinstall later and it only saw 3GB. No bigmem kernel. Apt-get the bigmem, reboot, and all 8GB are there. Guess that solves that. ;-D Thanks for the correction. ~Stack~ *Love having an apt-cache repository. Makes net installs /SO/ fast :-p -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Re: specific network traffic
From: news [mailto:n...@ger.gmane.org] On Behalf Of Lorenzo Bettini Sent: Sunday, March 22, 2009 10:03 AM Subject: Re: specific network traffic [snip] lately I've noticed some continuous traffic on port 1712, and I'd like to figure out who's generating this... Have you tried wireshark? Just add the 'Port 1712' filter and you will only see information going across on that port. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: AMD64 in vmware
From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g Sent: Monday, March 16, 2009 9:49 AM Subject: AMD64 in vmware Hi, Quick question, is it possible to test AMD64 ios under vmware which is hosted under i386? IIRC, launching AMD64 apps under chroot in i386 won't work, but I don't about this. You are asking if you can run a 64bit VM guest on a 32bit host? Sorry. Can't do it. Even if you have a 64bit processor, if you only have a 32bit host it won't work. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: AMD64 in vmware
From: David A. Parker [mailto:dpar...@utica.edu] Sent: Monday, March 16, 2009 10:06 AM Subject: Re: AMD64 in vmware Stackpole, Chris wrote: From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g Sent: Monday, March 16, 2009 9:49 AM Subject: AMD64 in vmware Hi, Quick question, is it possible to test AMD64 ios under vmware which is hosted under i386? IIRC, launching AMD64 apps under chroot in i386 won't work, but I don't about this. You are asking if you can run a 64bit VM guest on a 32bit host? Sorry. Can't do it. Even if you have a 64bit processor, if you only have a 32bit host it won't work. I thought this was possible as long as the physical CPU has VT support enabled and the BIOS supports it as well. Perhaps I'm mistaken, though. I stand corrected. After googling the VT support, it does indeed look like this is possible. You just have to have the VT hardware support. Thanks for letting me know! I learned something new*! ~Stack~ *If you learn something new everyday, does this mean I just met my quota and can go home early? :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Measure cp Speed?
From: Zaki Akhmad [mailto:zakiakh...@gmail.com] Sent: Thursday, March 12, 2009 5:43 AM Subject: Measure cp Speed? Hello, I am wondering, how do I measure the speed while I am doing cp command? Sadly, no one seems to want to give you a straight answer... Try looking into the rsync command. If you read the man pages, there is a --progress flag that you can use. This will tell you the stats as it copies. `rsync --progress /file/to/copy /destination/path` If you read the man pages on rsync, there are a few other flags that might work for better output depending on what you want/need. As someone else pointed out, there is the time command as well, but it will only give the time _after_ it has finished. `time cp /file/to/copy /destination/path` Lastly, if you do the copy within Gnome using Nautilus (and pretty sure KDE has it to) it will show you the progress and time remaining. I don't know what it uses on the backend to give these stats as I have never looked into it. Hope this helps. Have fun! ~S~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Measure cp Speed?
From: Dotan Cohen [mailto:dotanco...@gmail.com] Sent: Thursday, March 12, 2009 9:36 AM From: Chris Stackpole Try looking into the rsync command. If you read the man pages, there is a --progress flag that you can use. This will tell you the stats as it copies. `rsync --progress /file/to/copy /destination/path` He asked for speed, not progress, which implies benchmarking. His exact question was how do I measure the speed while I am doing cp command? I took the 'while' to mean 'as the cp command runs' aka progress during the transfer. As for benchmarking, when rsync finishes it prints out messages like: sent 17580260 bytes received 50 bytes 11720206.67 bytes/sec total size is 17577963 speedup is 1.00 That is perfect information for benchmarking. It gives how much was transferred and at what speed in bytes/second. ~S~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Local mirroring How-To?
From: Dennis Wicks [mailto:w...@mgssub.com] Sent: Thursday, March 12, 2009 11:22 AM Subject: Local mirroring How-To? Greetings; I remember there was a discussion sometime back about this but I can't locate it. Here is my situation. I have six Debian/Lenny machines that I have to update/upgrade at various times, and some of these runs take hours for each system over my 768Kbs connection. I have the space to install a local mirror of one or two releases of Debian so I can do updates over my local net at 100 Mbs and speed things up considerably. But ... I can't find anything current about how to do that. Does anybody have any pointers to a good, and current, set of directions on how to do this? Or have a cookbook that works for you? You probably don't want a full mirror. They are big (last doc I saw said 60GB per architecture/version). You want something that will only provide the packages you need/use. I prefer apt-cacher to do this. Try this link [1] to get you started. Yes, the guide is almost 2 years old, but it still works. There is also apt-cacher-ng and apt-proxy. They all do the same thing; they cache packages that run through them. If you search the list long enough, you will find people who recommend each of these. I prefer apt-cacher simply because it was easy to install, configure, and I have not had problems with it. The other plus for me is that I run Etch, Lenny, and Squeeze installs with a large mix of 32bit and 64bit systems plus 3 releases of Ubuntu which also have 32 and 64 bit installs. I only have one package cacher that supports all of them. My entire cache is at 9GB. Hope this helps. Have fun! ~Stack~ [1] http://www.debuntu.org/how-to-set-up-a-repository-cache-with-apt-cacher -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Debian packages for cool open source collaboration tools?
From: Rogelio [mailto:scubac...@gmail.com] Sent: Tuesday, March 10, 2009 1:49 AM Subject: Debian packages for cool open source collaboration tools? I'm looking for open source collaboration and project management tools, preferably already packaged in deb or apt-get. Ideally, I'd like to build my own internal resources like Google Docs, Meeting Wizard, Etherpad, etc. I'd like the idea of having them secure and free *internal* resources. Any advice on projects I should look into? Any and all suggestions would be greatly appreciated! Give http://opengoo.org/ a shot. It has most of the features I was looking for, and the ones it doesn't have are on the roadmap for future releases. Not saying it is perfect, but we have been pretty happy with it. If you want to test and play around with it, give the 1.3rc a shot. It looks like 1.3 will be going stable in the next week or so and it is shaping up to be an impressive release (at least for the new features/bug fixes that I watch :-). Yes, I know it is rc at the moment but I figure you should get to see all the new features that will be released soon. Hope that helps. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: smart
From: randall [mailto:rand...@songshu.org] Sent: Sunday, March 08, 2009 9:15 AM Subject: Re: smart Adrian Levi wrote: Your disc has been steadily failing for the last ~1800 hours. Buy a replacement and swap it out asap. Adrian Already had a spare lying around so i took the advice, the new disk is actually syncing with the array at this moment. http://www.songshu.org/index.php/replacing-a-failing-disk Randall, I have had drives that had bad sectors like yours. My suggestion would be to format the drive ext3 with the badblocks option. `man mkfs.ext3` You are going to want to read up on the -c option. I usually use the -cc option when formatting the drive. If all goes well, physically mark the drive so you know it has had issues then use it as a secondary/tertiary backup. I have a 500GB hard drive that has had problems for a while. It only gives me like 380GB to use after a format. I wouldn't trust that drive with my primary data period. However, if I am going on a road trip or something I will toss a few recordings off of MythTV onto it, toss it into an external drive enclosure, and I am good to go. Who cares if I lose it, drop it, or otherwise cause it to fail? What I am saying is, the badblocks option (mkfs.ext3 -cc) should find the bad spots and allocate around them. Don't trust the drive, but you might still be able to put it to use. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Why did you chose Debian over CentOS?
From: Raleigh Guevarra [mailto:death...@yahoo.com] Sent: Wednesday, March 04, 2009 7:11 PM Subject: Why did you chose Debian over CentOS? [snip] Why did you chose Debian over CentOS to host dozens of websites? [snip] I /really/ like CentOS. However, I choose Debian over CentOS for a few reasons. Apt. YUM is getting better but I hit dependency hell only a few months ago with it. No admin should /ever/ deal with that. Package caching. When you have dozens of servers, blindly doing updates is a bad idea but updating individually can be near impossible. Setting up a package repository so that packages you want get updated when you want them to is something that 'unnamed north American vendors' make you pay for and it isn't the easiest of tasks in CentOS. It is trivial w/ Debian (I am aware of at _least_ two guides being written and commented on within this mailing list within the last 6 months). A side bonus to this, instead of pulling X MB of data for each update on each server and wasting bandwidth, a Debian package cacher pulls once and shares with the rest. I personally have not found a solid way of doing this within the YUM/RPM world. An extra side bonus, which is faster your bandwidth or your network speed? Having 30+ servers pull X MB from the internet, or one pulling from the internet and the rest pulling over the network? I love my package cacher. :-) Smaller install base. The last thing you need on a production server is a bunch of unneeded packages. Fewer packages means less updates, less things to break, and more time for you to do productive tasks. Flexibility and recovery. You really have to plan for things to go wrong. Bad drives, bad motherboard, bad whatever you will come into work one day with a server down (hopefully you have planned this in advance and your users will never know). Debian is much more flexible in my opinion when it comes to dealing with outages, backups, and recovery. Combine the above mentioned package cacher and a good backup of data and I can do (have done and will do) /a complete production ready/ rebuild on a completely different system in sub 15 minutes. That is base install, all updates, all software, and ready to go with the users never knowing they were on a different system. While I can do most of the same things with CentOS, I just have not ever been able to get the installer and updates that fast. My average time still sits between 35-40 minutes for a fresh rebuild of CentOS. Maybe 30 minutes isn't a big deal for you, but it has been for me. Stable. The fact people joke and make fun of how stable Debian is a testament to the devs who make certain that Debian stable _is_ stable! Anyway, that is my 2 cents. Have fun! ~Stack~
Kerneloops Intel 82541PI Gigabit Ethernet woes
Hello! A few months ago I ran into a problem where my Gigabit Ethernet card would work perfectly under 32bit Lenny but had problems under 64bit (details at end of post). I made mention of it and then found that someone had already posted about the problem. I wanted to see if the problem had been fixed yet, so I just tried using the card again recently with a fully updated Lenny install. Works perfect with a 32bit lenny live CD, a 64bit Ubuntu live cd, but fails with the 64bit installation of Lenny already on the machine. So I tried looking for the bug report to no avail. I could have sworn I had found a Debian bug report about it when I encountered this problem a few months ago. However, I can't find that bug report anymore. What I think happened is that it was merged with another bug report because I found a few that are similar, but not with the same card I have. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499763 For the most part, the above link describes my problem, they just use a different card / driver. It isn't exact but it is similar. They suggest installing a newer kernel, which I did. I installed the 2.6.28-1 from sid. Didn't fix my problem. One of the side effects of the gigabit is that I get a kerneloops message. So I sent it in hoping I could track down more info. However, I can't seem to find where that information is stored locally (I have no idea what was sent), and I couldn't find my exact problem searching on kerneloops.org. So the questions I have are: Is the kerneloops information stored locally? Is there a way to track down what you sent on kerneloops so you can follow the progress? Does anyone have a better link for tracking this problem then the one I have? I would really like to start using my Gigabit network card again. Thanks! ~Stack~ $ lspci | grep Intel 04:09.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05) /var/log/messages output when the network cable is plugged in. http://pastebin.com/m390c2884 /var/log/message output after updating to the kernel in sid. http://pastebin.com/m22e0f99d -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: matched string of a regular expression
From: kamaraju kusumanchi [mailto:raju.mailingli...@gmail.com] Sent: Wednesday, March 04, 2009 3:24 PM Subject: OT: matched string of a regular expression Consider the following file. cat junk.txt a(i)1b a(j)1b a(ij)1b a(ji)1b a(ijk)1b a(jik)1b a(ikj)1b a(jki)1b a(kij)1b a(kji)1b In general the file is very long, might contain some other text. Now, I would like to replace all the occurrences of a(ijk)1b with a(ijk)23b a(jik)1b with a(jik)23b a(ikj)1b with a(ikj)23b and so on for all the strings such as a(???) Because of the size of the files involved, the number of files on which I have to perform this operation I decided to use sed (instead of doing it manually in vim) However my sed script currently involves 6 lines (for all the combinations of ijk) such as s/a(ijk)1b/a(ijk)23b/g s/a(jik)1b/a(jik)23b/g s/a(ikj)1b/a(ikj)23b/g and so on This method is very cumbersome, not scalable. If I have to do similar operations on a(ijklm) the script would be 120 lines! Is there any way to write something like s/a(???)1b/a(???)23b/g where the second ??? is the string matched by the first regular expression. In general, how can I obtain the string that is matched by a regular expression (in a shell script)? BTW, Is sed the right tool for this kind of job? If not, can you suggest any other tool that will get the job done in less time? PS: Please include my email in the CC. thanks raju I am not 100% certain this is what you are looking for, but here is my attempt. $ cat /tmp/junk.txt a(i)1b a(j)1b a(ij)1b a(ji)1b a(ijk)1b a(jik)1b a(ikj)1b a(jki)1b a(kij)1b a(kji)1b $ sed -e '/[ijk][ijk][ijk]/s/1b/23b/g' /tmp/junk.txt a(i)1b a(j)1b a(ij)1b a(ji)1b a(ijk)23b a(jik)23b a(ikj)23b a(jki)23b a(kij)23b a(kji)23b Also, this website is pure awesome. :-D http://student.northpark.edu/pemente/sed/sed1line.txt Hope this helps. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: finding similar files
From: Eric Gerlach [mailto:egerl...@feds.uwaterloo.ca] Sent: Friday, February 27, 2009 11:03 AM Subject: Re: finding similar files On Wed, Feb 25, 2009 at 06:58:48PM +, Hendrik Boom wrote: There wouldn't happen to be any handy tools for searching a directory tree with a few hundred ASCII files and telling me which ones have similar content? Many have been copied, edited, merged, reformatted, split, and I'd like to find the differences, decide on what to keep, and delete redundant ones. I know there's such a program for image files. I know about wdiff, which would be fine after I've paired off the similar files (or fragments of files). to resolve differences that remain. You could write a script that would brute force all possible pairs of files (yes, I know that's big, but it's only 125 000 for 500 files), run them through wdiff -s, and then set some threshold for similarity on the statistics. Then, you get a list of potential matches. The only trick is setting the threshold... and I have no idea how to help you there. And if you're looking for fragments of files, that's a whole different ballgame. Cheers, -- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: egerl...@feds.uwaterloo.ca I would probably do something similar as what Eric mentioned, but I would weed out duplicates first. Try using fdupes. I tend to use: `fdupes /your/dir/ -rS` Add the -d to it to delete as you go, but I highly encourage you to read up on the man page first and probably test it on something you don't care for so you know how it works. Hope this helps! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: [OT I think] Which Distro?
From: Jimmy Johnson [mailto:field.engin...@gmail.com] Sent: Thursday, February 26, 2009 7:49 AM Subject: Re: [OT I think] Which Distro? Dotan Cohen wrote: What applications or usage scenarios get more out of your hardware as with 32bit / 64bit kernel? How much better are those on amd64? If you have over 3 GB of memory then you need 64 bit. Otherwise, it is mostly very specific scientific applications that need 64 bit: home users will see no benefit. In _most_ cases. I imagine the arguments where similar when operating systems moved from 16 bit to 32 bit. ;) Ditto. Also, I have a few servers that need to run 64bit. I have run into several issues where things worked perfectly in 32bit but not in 64bit (mainly hardware drivers). I personally would run 64bit on the laptop but mainly because I figure the more I run 64 bit, the more likely I am going to find these issues and can report them. The fewer issues, the more likely others are going to switch to 64bit. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Fedora guy byebyes Debian
From: Rodolfo Alcazar Portillo [mailto:rodolfo.alca...@padep.org.bo] Sent: Wednesday, February 25, 2009 7:22 AM Subject: Fedora guy byebyes Debian Well, a fun time (one week), sweating it up to make my ATI and Wifi work in Lenny AMD64 but nothing. With old fedora wifi works from the live cd and ATI with the update. No need even to try it with my dell or my Aspireone. So byebye Debian. I found on lenny many of the bugs and troubles found in Fedora 8 and 9, which all today are old history. Why losing time? Cant' understand. Lenny is a nice white-haired rookie (altough older than fedora), apt is nice, directory structures and config files are better than fedora, but I hardly find Debian a stable distro. Pulling her to further limits causes a quick breakage. I find hard fedora reporting a segfault, like lenny gave yestarday on networks-admin gui. Why the battery indicator suddenly dissapeared, being the panel thingy active? Why it takes so long to boot -sometimes-? Farewell, debian. Thanks everybody. -- Rodolfo Alcazar - rodolfo.alca...@padep.org.bo otbits.blogspot.com / counter.li.org: #367962 -- Heh. This is yet another reason why I love Linux. If something doesn't work for you, switch to another project that does! :-) What is really funny is that I am almost a complete 180 from you. The last time I tried Fedora was when 9 was released. I spent a weekend trying to get things to work. When I tried to update pidgin I ran into dependency hell and in my feeble attempts to get it working again, I broke X. Then I just installed Debian. :-) I am sorry to hear you had problems with Debian, but I am glad you found a distro that works for you! Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Re: repo gpg keys list
From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g Sent: Tuesday, February 24, 2009 9:47 AM Subject: Re: repo gpg keys list On Tue, 24 Feb 2009 07:36:04 +, Magnus Therning wrote: I noticed that the gpg keys were updated for repos, but I didn't wrote it down before reboot. Anyway to list them now? Not sure I understand what you mean, but possibly this is what you are looking for: # apt-key list Hmm..., that list what I have currently. A previous run of aptitude update or upgrade showed all my expired keys and new keys. How do I get those info again? Or it has been taken care of automatically? I am not sure I understand the question but I think this is what you are asking for, correct? $grep gpg: key /var/log/apt/term.log gpg: key 6070D3A1: Debian Archive Automatic Signing Key (4.0/etch) ftpmas...@debian.org not changed gpg: key ADB11277: Etch Stable Release Key debian-rele...@lists.debian.org not changed gpg: key BBE55AB3: Debian-Volatile Archive Automatic Signing Key (4.0/etch) not changed gpg: key F42584E6: Lenny Stable Release Key debian-rele...@lists.debian.org not changed gpg: key 55BE302B: public key Debian Archive Automatic Signing Key (5.0/lenny) ftpmas...@debian.org imported gpg: key 6D849617: public key Debian-Volatile Archive Automatic Signing Key (5.0/lenny) imported gpg: key 6070D3A1: Debian Archive Automatic Signing Key (4.0/etch) ftpmas...@debian.org not changed gpg: key ADB11277: Etch Stable Release Key debian-rele...@lists.debian.org not changed gpg: key BBE55AB3: Debian-Volatile Archive Automatic Signing Key (4.0/etch) not changed gpg: key F42584E6: Lenny Stable Release Key debian-rele...@lists.debian.org not changed gpg: key 55BE302B: Debian Archive Automatic Signing Key (5.0/lenny) ftpmas...@debian.org not changed gpg: key 6D849617: Debian-Volatile Archive Automatic Signing Key (5.0/lenny) not changed Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: MySQL Clustering; Load balancing is not working.
Sorry for the long delay. Just how weekends go sometimes... From: Jeff D [mailto:fixedo...@gmail.com] Sent: Thursday, February 19, 2009 10:43 PM Subject: Re: MySQL Clustering; Load balancing is not working. [snip] your config looks ok. The one other thing I would check is the entries in your /etc/sysctl.conf to turn off arp. That sounds like that may be the main issue here I used the entries that were in the tutorial[1] for arp. I just did a straight cut and paste. Is there something else I should have done? # Enable configuration of arp_ignore option net.ipv4.conf.all.arp_ignore = 1 # When an arp request is received on eth0, only respond if that address is # configured on eth0. In particular, do not respond if the address is # configured on lo net.ipv4.conf.eth0.arp_ignore = 1 # Ditto for eth1, add for all ARPing interfaces #net.ipv4.conf.eth1.arp_ignore = 1 # Enable configuration of arp_announce option net.ipv4.conf.all.arp_announce = 2 # When making an ARP request sent through eth0 Always use an address that # is configured on eth0 as the source address of the ARP request. If this # is not set, and packets are being sent out eth0 for an address that is on # lo, and an arp request is required, then the address on lo will be used. # As the source IP address of arp requests is entered into the ARP cache on # the destination, it has the effect of announcing this address. This is # not desirable in this case as adresses on lo on the real-servers should # be announced only by the linux-director. net.ipv4.conf.eth0.arp_announce = 2 # Ditto for eth1, add for all ARPing interfaces #net.ipv4.conf.eth1.arp_announce = 2 Thanks for the help! ~Stack~ [1] http://www.howtoforge.com/setting-up-a-loadbalanced-mysql-cluster-with-m ysql5.1-p3 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: MySQL Clustering; Load balancing is not working.
Trying my post again. The formatting came out all weird for some unknown reason. From: Jeff D [mailto:fixedo...@gmail.com] Sent: Thursday, February 19, 2009 10:43 PM Subject: Re: MySQL Clustering; Load balancing is not working. [snip] your config looks ok. The one other thing I would check is the entries in your /etc/sysctl.conf to turn off arp. That sounds like that may be the main issue here I used the entries that were in the tutorial[1] for arp. I just did a straight cut and paste. Is there something else I should have done? # Enable configuration of arp_ignore option net.ipv4.conf.all.arp_ignore = 1 # When an arp request is received on eth0, only respond if that address is # configured on eth0. In particular, do not respond if the address is # configured on lo net.ipv4.conf.eth0.arp_ignore = 1 # Ditto for eth1, add for all ARPing interfaces #net.ipv4.conf.eth1.arp_ignore = 1 # Enable configuration of arp_announce option net.ipv4.conf.all.arp_announce = 2 # When making an ARP request sent through eth0 Always use an address that # is configured on eth0 as the source address of the ARP request. If this # is not set, and packets are being sent out eth0 for an address that is on # lo, and an arp request is required, then the address on lo will be used. # As the source IP address of arp requests is entered into the ARP cache on # the destination, it has the effect of announcing this address. This is # not desirable in this case as adresses on lo on the real-servers should # be announced only by the linux-director. net.ipv4.conf.eth0.arp_announce = 2 # Ditto for eth1, add for all ARPing interfaces #net.ipv4.conf.eth1.arp_announce = 2 Thanks for the help! ~Stack~ [1] http://www.howtoforge.com/setting-up-a-loadbalanced-mysql-cluster-with-m ysql5.1-p3 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: MySQL Clustering; Load balancing is not working.
My apologies everyone. My mail client is ultra-failing at posting this email for some reason. I don't think it liked the hash signs. From: Jeff D [mailto:fixedo...@gmail.com] Sent: Thursday, February 19, 2009 10:43 PM Subject: Re: MySQL Clustering; Load balancing is not working. [snip] your config looks ok. The one other thing I would check is the entries in your /etc/sysctl.conf to turn off arp. That sounds like that may be the main issue here What I was trying to say in my other emails, which came out in jibberish with lines crunched together, was that for my arp settings I just copied and pasted from the article. Are those the correct settings I should be using? It is at the bottom of the page in section 6.5. http://www.howtoforge.com/setting-up-a-loadbalanced-mysql-cluster-with-m ysql5.1-p3 Thanks! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
[SOLVED] MySQL Clustering; Load balancing is not working.
The problem I was having is now fixed. I started Googling (- sp?? Meh, oh well.) for other guides to see if I could spot some difference. It took me a while, but I found a guide where others were having the same problem I did. Eventually the answer was linked to from yet another location. I won't bother linking to all the various places of discussion, but here is the post with the final solution. http://www.howtoforge.com/forums/showpost.php?p=60388postcount=5 So now everything appears to be working. Hooray! Now to go beat it up to see if I can break it again and learn something valuable* from it :-D. Thanks for the help! ~Stack~ * If you have suggestions/ideas of something I could do to further educate myself in these matters, please post! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Wireless Setup Problem
From: Thomas H. George [mailto:li...@tomgeorge.info] Sent: Monday, February 23, 2009 12:35 PM Subject: Wireless Setup Problem I installed a Debian system including Gnome 2.22.3 on my OLPC (One Laptop per Child) laptop from a usb drive and tried to make a wireless connection to our LAN. After numerous tries (details below) I succeeded yesterday afternoon. Today nothing works. When I put the cursor on the network icon the message manual network configuration appears and when I click on the icon the message no network devices have been found appears. If I open a terminal and enter iwconfig everything is just I left it yesterday. A part of the problem is that our LAN uses static ip addresses not dhcp. Yesterday I tried iwconfig and ip commands without success. Finally, in /usr/share/doc/wireless-tools/README.Debian I found I could edit /etc/network/interfaces and add to the iface eth1 inet static stanza the lines wireless-essid foo wireless-mode ad-hoc Immediately after I did this putting the cursor on the network icon showed three signals - one for our lan and two for the neighbors. The system connected to our lan and through the gateway to the internet. As I said, today nothing works though iwconfig shows out essid and mode ad-hoc and Link Quality=100/100 Signal Level=0 dBm Noise Lever= -96 dBm. What could have gone wrong? I am guessing that you are using network-manager. I usually like network-manager, but the one consistent problem I have had with network-manager has been setting manual IP addresses. You may want to consider installing WICD instead. I, and many others, have had great luck with WICD. http://wicd.sourceforge.net/download.php Hope this helps! Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Wireless Setup Problem
From: Celejar [mailto:cele...@gmail.com] Sent: Monday, February 23, 2009 2:37 PM Subject: Re: Wireless Setup Problem On Mon, 23 Feb 2009 11:51:31 -0800 Raquel raq...@thericehouse.net wrote: ... http://wicd.sourceforge.net/download.php The OP said he's running Debian, so just 'aptitude install wicd' If he is running Squeeze or Sid, then yes. If he is running Lenny or older, he needs that link or this one. http://packages.debian.org/unstable/main/wicd Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Re: lenny on x86
From: news [mailto:n...@ger.gmane.org] On Behalf Of Stefan Monnier Sent: Wednesday, February 18, 2009 7:58 PM Subject: Re: lenny on x86 Then I guess my recommendation would be: - use your Etch floppys to install an simple Debian system. - using this system, use a USB key to transfer the hd-install data for Lenny onto the drive - bootinstall Lenny. Does that sound feasible? Hello all! Thanks for the suggestions! Here is where I am at. I have the one laptop that I have been working with, but until last night I had not looked into detail at the others. So last night I goofed around with the various others. Several of them had problems (bad screens, busted motherboards, keyboard with stuck keys, ect). So I part swapped until I have 2 laptops that appear to work really well, and one that has a busted mouse (not a big deal to me). I also made the discovery that one of the laptops that all the hardware appears to work on, is a different model and it has 98 on it! Sadly, this one doesn't have a lan connection, nor wireless, nor a USB port, nor a CDRom drive. Just a floppy, a parallel port, serial port, and a PCMCIA slot. I do have a wireless PCMCIA adapter that works, so I spent last night splitting drivers and other files to fit on a floppy to copy over to it. If I can get 98 on the internet then I should be able to use the earlier suggestion of www.goodbye-microsoft.com. On the good system that has a USB port, I tried Celejar's suggestion for the Smart Boot Manager on a floppy. So I put Debian Live on the USB drive and tested that it worked on another machine. However, SBM refuses to see the USB drive. I do have a question that came up from last night. Since I was taking all these laptops apart and doing a bit of mix/match to get things like a good screen paired with a good MB and a working keyboard, I figured I might as well install to one of the hard drives that I had pulled out. So I fired up my old p2 400mhz desktop that was in the depths of the closet (best match I have to the old Pentium line), plugged the drive in via a USB adapter, and installed Lenny to the drive. Everything worked as far as I could tell. It booted at least. So then I plugged the drive into the laptop, reassembled, and on boot up I get a GRUB message that just sticks there. After thinking about it, I never updated GRUB. The install system probably installed it as SDx and in the laptop it probably just shows up as HDx. I was thinking I would take the laptop apart again and try to fix my error. It is a PITA to take them apart, but after doing it so many times last night I think I have it down. Besides, the mouse is already busted so not a big deal if I break something else, right? So my questions are what suggestions do you guys have? Are GRUB and fstab the only things I need to update? Installing i386 with the 2.6 kernel to a P2 shouldn't have problems transferring to a Pentium, correct? Is there a better kernel I should install? What are the chances that something like this http://main.gnulabs.org/?q=node/3 will work? Thanks for the help guys! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
MySQL Clustering; Load balancing is not working.
This is a project of personal experimentation and learning; in other words, if I goof something up real bad, oh well. I can reinstall. I wanted to learn more about MySQL clustering so I looked around and found this guide [1]. It was the newest guide I found (8 months old), so I decided to give it a shot. I went through the guide with a little deviation and I end up with mostly the same results as the author. Data written to one node, shows up real quick on the other node. The management interface all gives the same results as the author too. However, the big problem (and reason for my post) is the virtual IP for the load balancing doesn't work right. When I try connect to the virtual IP: $ mysql -h 10.0.1.10 -u ldirector -p Enter password: It will sit here for a really long time before giving: ERROR 2003 (HY000): Can't connect to MySQL server on '10.0.1.10' (111) Which, if I understand right, means the client isn't getting data back from the MySQL server. However, if I try to connect directly to one of the nodes, I get success! So I started to think about it. What gives? What did I do wrong? Then I went back step by step to see where I went different from the author. Step 1) I obviously have different hardware, and the author uses Etch while I used Lenny (fresh net-install today so it is current stable). Step 2) Author uses MySQL 5.1.24 compiled from source. I used apt (I am not afraid to compile but I didn't because apt is awesome :). $ apt-cache show mysql-server | grep -i version Version: 5.0.51a-24 Well, I guess I can see the versioning being a problem. Maybe I should update and compile a newer version. ?? Step 3, 4, 5) I get the exact same results as author with exception of trivial things (like our PID's don't match. Whoop-de-do. Of course they won't. Doesn't affect the outcome.) Step 6.1) For whatever reason, I can't update the GPG key for ultramonkey, but I just hit y to install anyway on apt. Also, he installs libdbd-mysql-perl from a download he gives from CPAN. I had errors with his commands. Turns out you have to install libmysqlclient15-dev (not 14) and you have to install make too! Then his link to the DBD-mysql-3.0002.tar.gz didn't work for me. However, the link to the newest (I believe) DBD-mysql-3.0008.tar.gz, _did_ work. So I installed that one. So again, versioning issues? Step 6.2 - 7) Everything works exactly as the author suggests it should, /except/ for the last line of: `mysql -h 10.0.1.10 -u ldirector -p` As stated before, this fails. I can ping 10.0.1.10. I can even ssh into 10.0.1.10. They both redirect me to the (current) primary load balancer. If I turn off the primary, I go to the secondary. Also, if I run `ipvsadm -L -n` I can see the connections show up, even though they time out. So I don't think it is the virtual part. I think it is the redirection to the MySQL session. The only thing I have found in the log files that doesn't look right, is every once in a while this line is put into the /var/log/ldirectord.log: Exiting with exit_status 2: configu_error: Configuration Error The thing is, from everything I can find, it is correct. I posted at the end of the email. I would appreciate any feedback people may have. Thanks! ~Stack~ [1] http://www.howtoforge.com/setting-up-a-loadbalanced-mysql-cluster-with-m ysql5.1 $cat /etc/ha.d/ldirector.cf # Global Directives checktimeout=10 checkinterval=2 autoreload=no logfile=local0 quiescent=yes virtual=10.0.1.10:3306 service=mysql real=10.0.1.33:3306 gate real=10.0.1.34:3306 gate checktype=negotiate login=ldirector passwd=ldirectorpassword database=ldirectordb request=SELECT * FROM connectioncheck scheduler=wrr -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Re: lenny on x86
From: news [mailto:n...@ger.gmane.org] On Behalf Of Stefan Monnier Sent: Wednesday, February 18, 2009 10:28 AM Subject: Re: lenny on x86 Does anybody nows if lenny installation on x86 machines using floppy is (or will be) available? Why would you need that? Short Answer: Because there are still a lot of companies that use floppies for various utilities. There are also a lot of hobbyists that use older hardware. Many in my Linux user group still bring systems with floppies. Long answer specifically for me: I was given a bunch of Ricoh NP-50 laptops a few weeks ago. Nothing special, but I have been having fun tinkering with them while I watch Mythbusters / Dirty Jobs. They are Pentium 90mhz, 64MB ram, 4-6GB hard drives. They have no onboard lan, one usb 1.1 port (can't boot off of it), 2 PCMICA slots, no cdrom drive, and an external parallel-attached floppy disc. I have been using the etch floppy images to boot[1] and mess around with. The problem I am having is that all of the PCMCIA cards I have are either not recognized by these floppies, or in the case of one wireless PCMCIA card, it is recognized but I can't get it to attach to a wireless access point (no encryption). Yet, on another laptop (Debian Lenny is already installed) just about all of the PCMCIA cards work just fine straight away. So it would be nice to get a floppy install but then again I am just tinkering with it. I am not really in /need/ of it or anything. It just gives me something to do during the 40 minutes of coming-up-next/lets-recap of Mythbusters. Even if I get them running I am not sure what I am going to do with them. These things don't pull a lot of power so the only idea I have so far is a constant update screen for my MythTV system (load, mem usage, what shows are recording/upcoming, ect). If I can get internet working really well, they would also make for a good let me check the mailing list right quick devices too. Someone just recommended to me installing to a USB thumbdrive and using a floppy to load grub to boot off the USB thumbdrive. That would certainly make installing easier but I have not had a chance to really research that yet. If you know a good place to start, I would appreciate tips. Anyway, that is why I still use floppy installs. Have fun! ~Stack~ [1] http://ftp.us.debian.org/debian/dists/etch/main/installer-i386/current/i mages/floppy/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Re: lenny on x86
From: news [mailto:n...@ger.gmane.org] On Behalf Of Stefan Monnier Sent: Wednesday, February 18, 2009 12:06 PM Subject: Re: lenny on x86 [snip] They are Pentium 90mhz, 64MB ram, 4-6GB hard drives. They have no onboard lan, one usb 1.1 port (can't boot off of it), 2 PCMICA slots, no cdrom drive, and an external parallel-attached floppy disc. Do they have some kind of running system on them? Fraid not. They were wiped before I got them. Otherwise, I'd recommend you take the HD out and do the install on some other machine (or at least use the other machine to place the hd-install files). For most laptops (sadly not all), taking out the drive is very quickpainless, and external enclosures are pretty cheap (I got mine next door for $20) and it's always good to have one handy. Love my external drive bay (it is one that can take SATA, IDE, and laptop IDE). However, the amount of pain to take these things apart isn't funny. It is layered such that you remove the keyboard, then the motherboard, then the daughterboard, and the drive is at the very bottom. I have been unable to find an easier way to get to them and I accidently broke the one I took apart. :-[ Not that it really matters because I have others... Still I would rather not do that with the others. Someone just recommended to me installing to a USB thumbdrive and using a floppy to load grub to boot off the USB thumbdrive. Grub can only load a kernel from a disk seen by the BIOS, so that probably won't work. At least, you'll need to put not just Grub but also a kernel+initrd on that floppy. Good to know! Thanks for the info! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Strange keyboard lag
From: Joar Jegleim [mailto:joar.jegl...@gmail.com] Sent: Thursday, February 12, 2009 4:19 AM Subject: Strange keyboard lag [snip] I've attached output of 'lspci -vv' , 'lsusb -vv', dmesg + /proc/interrupts if anyone got any hints in how I can troubleshoot this problem I highly appreciate your opinion :) regards Joar Jegleim I don't see attachments. I think the mailing list stripped them out(?). Try posting them to someplace like pastebin.com and sending the URL it provides. ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Strange keyboard lag
From: Joar Jegleim [mailto:joar.jegl...@gmail.com] Sent: Thursday, February 12, 2009 1:23 PM Subject: Re: Strange keyboard lag ehm, or it could be that I forgot to actually attach the attachments. sorry :p I paste'ed the stuff on a pastebin a like service as weel. http://paste.uni.cc/19657 http://paste.uni.cc/19658 http://paste.uni.cc/19660 http://paste.uni.cc/19659 regards joar In those files I don't see anything that really stands out to me as a problem. After looking online (google) I am seeing a lot of other people with similar problem who fixed it by doing a update to their BIOS. Have you looked into that at all? http://support.fujitsu-siemens.com/com/support/downloads.html Then enter in the details for your laptop. You should have a BIOS option in the updates. I would check to see if the latest stable BIOS version matches the one you have. If not, I would read the Solved problems: section of the comments for the latest BIOS version. I don't know what model your laptop is, but after looking through a few different ones I see that there have been several updates for hardware profiles. I know this probably isn't the answer you want, but with the number of people online saying a BIOS update helped them it would be the first thing I would try. Also, if you need help finding the right BIOS (or just want to confirm), send me the output of dmidecode. I will look it up as soon as I get the chance (unless someone else on the list beats me to it; that's ok too :-). Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Wich e-mail server to choose?
From: Oscar Corte [mailto:oect_1...@hotmail.com] Sent: Wednesday, February 11, 2009 10:43 AM Subject: Wich e-mail server to choose? Hi all: I would appreciate any advice on what mail Server to choose. This would be my first experience installing and configuring an internal mail server (No e-mail outside the LAN). Only to exchange mails between Windows PC's inside my department (IP segment or subnet). This is a small intranet project where a Windows DNS server is already running but is not in my possibilities to manage it. I'll be using a Debian etch box to accomplish this intranet project. Thanks in advance for any hints. Regards Oscar Corte Just use Exim. Chances are it is already installed anyway. Just run `dpkg-reconfigure exim4-config` Of course it would probably help to read up on Exim first. Try this article: http://pkg-exim4.alioth.debian.org/README/README.Debian.etch.html At least it had the information I needed; YMMV. Hope this works for you. Have fun! ~Stack~
RE: Wich e-mail server to choose?
From: Lisi Reisz [mailto:lisi.re...@gmail.com] Sent: Wednesday, February 11, 2009 11:18 AM Subject: Re: Wich e-mail server to choose? On Wednesday 11 February 2009 17:03:13 Paul E Condon wrote: One of them is to let the Debian installer software choose for you. I suggest that you let the installer choose. I think it makes a good choice. How? TIA Lisi I believe he was referring to at install time. There is a screen for the selection of additional packages like Desktop, SQL server, ect. One of the options should be mail server. Though I am pretty sure it just installs Exim. It has been a while since I have setup a mail server, but I know the last few I have done were with Exim and I am pretty confident I went that route cause it was already there. Anyway, see my last post for links. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Please brainstorm: Word-processor compatible with version control
From: news [mailto:n...@ger.gmane.org] On Behalf Of Hendrik Boom Sent: Tuesday, February 10, 2009 12:59 PM Subject: Please brainstorm: Word-processor compatible with version control I'd like a word processor compatible with version control systems (hereafter abbreviated VCS) Having been duly impressed for decades now how useful VCSs are for programming, I'd like to use them for writing as well. [smip] This probably isn't what you are wanting in whole, but it might be something to consider. I tried finding something very similar to what you were wanting for a friend who writes a lot. The best they had come up with was eclipse with a few document management plugins they found connected to a subversion server. I moved them to mediawiki as a test, and they really liked it. From all of the versioning, to the linking of documents, to the ability to outline and update the order of the outline with almost no work, they loved everything. The only two complaints they had was getting their work into a .doc or .pdf required cut and paste then verify the formatting. Then after they formatted it, they had to manually save the file back into mediawiki to keep the revision history. However, they write small books, article, newsletters, ect. So nothing on a grand scale. I think the biggest work I know of is just over 50 pages of a normal 12 point font Courier document. I can see where anything large could run into problems here. Hope it helps. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Cloning methods
-Original Message- From: Eduardo M KALINOWSKI [mailto:edua...@kalinowski.com.br] Sent: Saturday, February 07, 2009 2:06 PM Subject: Re: Cloning methods Nagy Daniel wrote: Hi, again :) :S What's the best method for cloning a partition? [searching for an open-source software alternateive for it :P] I mean cloning like in norton ghost, a program that could leave bad blocks behind, when cloning, and not making a 10 GByte output file [like the partition size is], but just a eg.: a 3 GByte file [because 3 GByte was used in that partition, all other 7 GByte was free]? [The main goal is to install os on eg.: 15 computers, but only with one physically install in the reality] You may want to take a look at the partimage program. I will second partimage. Many years ago I dealt with a cluster that had another OS (I can not convey my hatred for that system; there simply are not enough words to do so). As you can guess, we had many problems with it. Anyway, there was a known issue at the time where a ghost process would start on the nodes (last I checked, still no answer for why; just something in the OS would suck CPU and memory). The ghost process would run the resources to the ground and blue screen. More often then not this would make the system blue screen on every startup after and the installation was unusable. This would mean HOURS of rebuild time as we install the OS, run updates, restart, install service packs, restart, updates, restarts, updates, restarts, updates, ect... It took a lot of work but we eventually setup a partimage server with a perfect clone of the other OS partition. We then setup the drives on the nodes with GRUB, the other OS, and a 1GB partition of Linux that would autorun the partimage script. So whenever we had a node go down, we reboot the node, select the Linux partition, and then forget about it. The partimage script would wipe the other OS partition, put a fresh image on the partition, then reboot into the other OS. The benefits, besides not wasting a day rebuilding a node, were that we could update the one image with updates/software and it only took about 1.5 hrs for partimage to run on each of the nodes. This saved us so much time it isn't even funny. It made dealing with the randomly killed nodes much less stressful as my day didn't start off with Oh jeez, I wonder how many installs will waste away my life today and replaced it with a 20 minute morning check that consisted of Blue screen? Reboot. Boot Linux. Next! For this reason, I will always hold a debt of gratitude to partimage. It is easy to use and the partimage server can be setup to hold a variety of images and stream the images over the LAN. If you are dealing with a large amount of systems that you want cloned from a single source, you should really look into partimage. Have fun! ~Stack~ PS: No, I don't have access to that cluster anymore. That problem was not the only one it had. Top 5 maybe, but I don't think it was the worst. I have many more horror stories on that POS. The first chance we got we destroyed that waste of time, space, and energy. Before management could think well maybe we shouldn't it was already too late as we didn't hesitate in wiping it. It was updated with Rocks Cluster Linux and made useful! :-) However, if you are in need of help with setting up a similar situation, let me know. It has been a while, but considering how well I knew the setup back then, I should be able to recreate it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Which programming Language
From: Douglas A. Tutty [mailto:dtu...@vianet.ca] Sent: Monday, February 09, 2009 9:19 AM Subject: Re: Which programming Language [snip] I really suggest that the OP read Understanding Programming Languages by M. Ben-Ari. It is freely available on the internet (or I can email it, its under 1 MB). It talks about programming lanagues in the abstract and contrasts and compares C, C++, Ada, Java, and the more historical languages where appropriate, such as FORTRAN, COBOL, Pascal, Smalltalk, PL/1, etc. Doug. This book piqued my interest. Just incase someone else wants it here is the link: http://www.computer-books.us/ada95_0008.php I got it from the wiki page of M. Ben-Ari. Though why it is compressed twice is beyond me. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: [OT] improving the mailing lists WAS: Re: Debian VPN
First responding to the OP: I know a few people who pretty much swear by the VPN software in Smoothwall (I know it isn't Debian, but there is free version). There are also several in my Linux User Group who would swear by Untangle. Many of the open source firewall solutions I have seen recently have VPN software included. I am probably willing to bet that they all use OpenVPN in the background but they should all have fairly easy-to-use guides to get you started. If you already have a firewall solution, look into it. Most of the corporate ones I have seen have add-ons for VPN if they don't already have it included. Depending on your needs, you may want to look at the various options (a good firewall is always a plus for a business anyway if you don't have one). For future reference, whenever I make a request asking for advice on packages I include blurbs like 'I did a Google search and found these. Am I looking in the right place?' It will help move things along from the annoying RTFM!'s and onto a useful conversation. If you didn't do a Google search, do so next time. From: Nuno Magalhães [mailto:nunomagalh...@eu.ipp.pt] Sent: Wednesday, February 04, 2009 8:34 AM Subject: Re: [OT] improving the mailing lists WAS: Re: Debian VPN Searching 'debian vpn' (the subject of OP's mail) is just about as good. Maybe it'd save some time, if the mailing software sent a google search link for the subject matter of all primary posts ;-) ... or at least for those that generate more than say 1,000,000 hits [1]. Or maybe people oughta search the web before posting to the list... Using a mailling-list as your first approach seems rather lazy and selfish. Nuno Magalhães Or maybe he saw the +1,000,000 hits and not yet knowing a lot about the subject at hand OP was looking for guidance on a package to get started on. Surely no one on this list ever does that, right? Maybe I just read the Ops post differently. Maybe I am reading the posts here wrong. I understand that sarcasm/jokes/tone-of-conversation doesn't always translate over text/email but I don't see the point in a snarky response to OP. The first thing I do when looking for software is use apt-cache. Just a habit I have. I am currently using Lenny and OpenVPN isn't even in the list (though it does exist if searched for by name). ~ apt-cache search vpn server ike - Shrew Soft VPN client - Daemon and libraries ike-qtgui - Shrew Soft VPN client - Connection manager ike-scan - discover and fingerprint IKE hosts (IPsec VPN Servers) network-manager-openvpn - network management framework (OpenVPN plugin core) network-manager-openvpn-gnome - network management framework (OpenVPN plugin GNOME GUI) network-manager-pptp - network management framework (PPTP plugin) network-manager-vpnc - network management framework (VPNC plugin core) network-manager-vpnc-gnome - network management framework (VPNC plugin GNOME GUI) pptpd - PoPToP Point to Point Tunneling Server proxychains - proxy chains - redirect connections through proxy servers ~ Again it IS there! ~ apt-cache search openvpn kvpnc - vpn clients frontend for KDE network-manager-openvpn - network management framework (OpenVPN plugin core) network-manager-openvpn-gnome - network management framework (OpenVPN plugin GNOME GUI) openvpn - virtual private network daemon openvpn-blacklist - list of blacklisted OpenVPN RSA shared keys ~ So what about just searching for vpn? ~ apt-cache search vpn | wc -l 27 ~ Twenty-seven packages listed of which most are clients or software not related to a VPN server. Don't get me wrong. There are plenty of times when RTFM! and Google MotherF! Do you use it? are appropriate responses (like the question on the Ubuntu forums asking how to use the 'ls' command...that post was pretty much asking for it). I just don't see the point in the less-then-helpful comments in this case. ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Lenny target release date 02/14
Just saw this post[1] (full post[2]) and thought I would share for those who don't normally look for this information. I know there has been a lot of discussion about it recently on this list. [1] http://times.debian.net/1306 [2] http://lists.debian.org/debian-devel-announce/2009/02/msg0.html ~Stack~ *Off to do my little happy dance now. :-D -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: [OT] improving the mailing lists WAS: Re: Debian VPN
From: Steve Kemp [mailto:s...@debian.org] Sent: Wednesday, February 04, 2009 10:16 AM Subject: Re: [OT] improving the mailing lists WAS: Re: Debian VPN On Wed Feb 04, 2009 at 09:30:00 -0600, Stackpole, Chris wrote: I just don't see the point in the less-then-helpful comments in this case. I believe I: a. Suggested openvpn as the most likely candidate. b. Offered the suggestion of using a search engine, and apt-cache, which might be useful in the future. Neither of those were unhelpful comments. Either one alone might prevent people posting questions like Is there software to do X? with the implied I've done no research myself. Steve This is true. I was not trying to criticize your specific post. I apologize if mine seemed to implicate that I was. My statement to the OP was even trying to re-enforce the openvpn package by suggesting alternate methods of dealing with it. I was simply trying to point out to the list that even when you use the correct tools, if you are trying to learn about a subject, have little knowledge on the subject, and you receive an overwhelming amount of possible answers, the task looks daunting and asking for help shouldn't be frowned upon. I was trying to re-enforce that idea. ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: [OT] improving the mailing lists WAS: Re: Debian VPN
The reaction I was going for is not the one I was wanting. That tells me that I wrote my response improperly. I apologize; my fault. More to the subject, let me try to explain my view. Please feel free to comment. I subscribe and watch a number of mailing lists/forums. While there has been a number of RTFM's since long before I was even involved in Linux, I have seen an unusual rise of these responses recently. Maybe it is just me and the number hasn't changed at all. Either way, personally, I don't care for them. We are at another unique point in time with a sudden rise in popularity of various outlets of Linux. This is _not_ another 'year of Linux' rant. It is just that people I know who looked at Linux a few years ago and wanted nothing to do with it are suddenly finding themselves loving their Ubuntu netbook and their G1 with Android. They want to learn more and they want to use Linux more but they don't know where to start. The rise in numbers on the forums/mailing lists seems to back my theory up. I, and many many others, are finding that more and more people are asking basic questions, mostly because they don't know where to start. Telling someone to read a manpage doesn't always help. Case in point, I recently had to explain what a man page was and how to use it. Thanks partially to Google we are at a point where you can find anything on the internet, /if/ you know where and how to look. However, finding someone to help you sort through the mass information is almost priceless. The best way for me to explain is through my own experience. If you Google 'Linux cluster' you are going to find a ton of information out there. If you know nothing about Linux clusters, just jumping in is quite the shock. There are many types of clusters on many types of hardware on many types of Distros. I am far from an Guru as there are many others that know _much_ more then I, but I love experimenting and working with clusters and probably have more experience with clusters then most people ever want to have. On the flip side, if you had asked me a few months ago to explain in detail everything I know about LDAP authentication I would have just looked at you and shook my head. Google offered TONS of data on the subject but by asking around I found someone who did have experience and he gave me a bunch of docs that were much more helpful to me then what I had found on Google. The other issue about asking Google is when I did a search for Debian how to ask for help the first page[1] tells me to RTFM! The second link[2], and I quote the first line, says: Unfortunately documentation on Unix-like systems is a little disorganized. [heavy sarcasm]That's great start for newbies...[/heavy sarcasm] I guess my issue is this, we have mailing lists and forums setup so that people can ask questions to users with more knowledge then they have on a subject and get information related to their questions. So why is it when someone posts I need help with some-package there are posts of Google has 3 billion answers! rather then Google brought up this link. Does it help? Explain why not. ? Am I the only one confused by this attitude? It would be different if this was a dev list and they were asking these questions, but on a user forum, why shouldn't they? Yes I know it helps a LOT when you are trying to answer a question to have more detail about the question. Hence why there are pages and pages of how to ask a question to user group X which they may or may not see. Even when they search they may not find helpful information (see my Google search above). I know when I did a Google search for Debian help the subscribe page for Debian[3] came up but I don't see a link to pages asking how newbies should phrase their questions. It has been a while, so maybe the pages are sent in the registration/confirmation page? If not, maybe it should be. Maybe instead of responding RTFM (or anything of the kind) to a badly posted cry for help we as a group reply That question is too broad. Please fill out as much detail using the following link as you can and repost. Where the link posted goes to a page that describes how to ask for help. Wouldn't that be more helpful to all involved? It saves the group from being frustrated with simple questions but doesn't annoy/frustrate the one asking the question. Bonus if the page is written well enough that it can be used on other forums/mailing lists. Again, maybe there is one and I just am not seeing it. If so, post! I'd love the opportunity to educate myself and will start using it. Comments? Helpful criticisms? Am I way off? Or am I just entering into another vi-vs-emacs like battle? :-D ~Stack~ [1] http://www.debian.org/doc/maint-guide/ch-helpme.en.html [2] http://www.debian.org/doc/manuals/debian-tutorial/ch-docs.html [3] http://lists.debian.org/debian-user/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of
RE: Slow Script
From: Dave Sherohman [mailto:d...@sherohman.org] Sent: Tuesday, February 03, 2009 11:25 AM Subject: Re: Slow Script On Tue, Feb 03, 2009 at 06:14:48PM +0100, Gorka wrote: Hi! I've got a perl script with this for: for (my $j=0;$j=$#fichero1;$j++) { if (@fichero1[$j] eq $valor1) { $token = 1; } } The problem is that fichero1 has 32 millions of records and moreover I've got to repeat this for several millions times, so this way it would take years to finish. Does anybody know a way to optimize this script? Is there any other linux programing language I could make this more quickly whith? Thank you! Although the Perl could definitely be optimized (and you've already been shown one way to do so), your core issue is that you're doing several million passes over 32 million records. That's not going to be fast in any language. (Even if you can check a million records per second, that's 32 seconds per pass, or about 6 hours for 1,000 passes, or just over a year for a million passes.) [snip] I was just thinking that as well. Does the OP have multiple boxes he can run this on? This could easily break down into a parallel process either by manual or programmatic assignment. Splitting up the parallel task is pretty easy; Google even has a shell script for easy parallel processing [1]. Of course there are a fair bit of If's in this. (If there are resources. If the data can be split/shared easily. Ect Ect.) If not, Dave's idea for a database is a good idea too. ~Stack~ [1] http://code.google.com/p/ppss/ Note: you will probably need to do a fair bit of tweaking for this but the ideas are what will be most useful to you anyway. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: reinserting USB plug via software
From: Henrique de Moraes Holschuh [mailto:h...@debian.org] Sent: Tuesday, January 20, 2009 12:19 PM Subject: Re: reinserting USB plug via software On Tue, 20 Jan 2009, Stackpole, Chris wrote: What commands would be the equivalent to pulling the USB connector out of the computer, waiting a second, and then putting it back in? rmmod uhci-hcd; rmmod ehci-hcd; sleep 1; modprobe ehci-hcd; \ modprobe uhci-hcd (you may also need ohci-hcd, but the above is the most common setup) If you do something stupid with that, like running it with usb-storage filesystems mounted, and the kernel happens to let you do it, you may suffer data-loss. You have been warned. It will bring down (logically) all USB buses, then bring them up again. Wait. It will bring down _all_ USB buses? Hrm. I think I will just stick with unplugging and plugging it back in. I just have an external hard drive that refuses to go into standby mode/sleep unless I unmount it. However, once it goes to sleep, I haven't been able to bring it out of sleep unless I unplug and plug it back in. It is annoying to have to stand up and go to the computer to mess around with it when I need it, but since I rarely use it that alternative is slightly less annoying then having it constantly whirring. Thanks anyway though! It is another set of commands that I will have to remember. ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: [Offtopic?] IRC blocked at school
From: Michael Pobega [mailto:pob...@gmail.com] Sent: Monday, January 19, 2009 4:47 PM Subject: Re: [Offtopic?] IRC blocked at school On Mon, Jan 19, 2009 at 05:11:44PM -0500, Paul Gupta wrote: Michael Pobega wrote: I just got into my new dorm room, only to find out that they block all IRC clients. I find this pretty disheartening since I often lurk on #debian and #debian-eeepc Is there any good way to tunnel or encrypt my data, or something similar? I am looking for something feasible, considering I can't afford to run my own tunnel or proxy. Do you have access to an SSH server somewhere? Nope. I wish I had a blinkenshell account, but I can't actually get into IRC to get two members to vouch for me. Does anyone know of any good free/cheap shell services that offer IRC? (I wouldn't mind paying say $1/month for it, but it'd be preferable not to since I don't have my own PayPal). I know I am late to the party, but thought I would chime in anyway. It has been a few years, but when I had the same issues at my school I used SDF ( http://sdf.lonestar.org ). I am not sure about pricing now, but back then they only required 1$ to sign up and that was just to prevent people from using their services as spam/attacks/ect. It was a good when I needed it. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: reinserting USB plug via software
From: jida...@jidanni.org [mailto:jida...@jidanni.org] Sent: Friday, January 16, 2009 4:29 PM Subject: reinserting USB plug via software What commands would be the equivalent to pulling the USB connector out of the computer, waiting a second, and then putting it back in? I find that's what I have to do sometimes to get certain things to work, and wish to reduce the wear and tear on the hardware. But wouldn't it be better to fix the underlying cause? Yes, but please just tell me the commands. Did you ever find a solution? I have some interest in this as well but have not found one yet. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: my new Inspiron - WAS: OT: laptop recomendations
From: Bernard [mailto:bdebr...@teaser.fr] Sent: Tuesday, January 06, 2009 4:44 PM Subject: Re: my new Inspiron - WAS: OT: laptop recomendations Stackpole, Chris wrote: From: Bernard [mailto:bdebr...@teaser.fr] Sent: Tuesday, January 06, 2009 2:41 PM To: Stackpole, Chris Subject: Re: my new Inspiron - WAS: OT: laptop recomendations [snip] light did not came out and I got two networks available, one is my neigbour's, the other one is mine. I gave the pasword as required, and it seems to reach a connexion... the former icon is being replaced by four bars... If I get the pointer on it, it says : connection to wireless network Livebox-46db (0%). [snip] 0% is bad; especially if you have 4 bars shown. Something isn't right. Post your hardware please and let the list look at it. Have fun! ~Stack~ my hardware is available at http://www.teaser.fr/~bdebreil/test.txt I have managed to get a cable DSL connexion, just plugging the cable from my desktop, and it worked right away, so that I have been able to save the trouble of typing one line after the other. ncftp was easy enough to install for the purpose of that transfer. I just got the output of lspci at this stage. Looking at your hardware I see this: 0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) OK, I have that wireless card in one of my laptops. I know it works with Ubuntu and Debian. If it is not working with your current setup, something is buggered up. Do you have the ability to download either the Debian or the Ubuntu live CD's? You mentioned before you were looking to find out if all the hardware worked properly and I see no reason why the LiveCD's wouldn't tell you that. I don't know how the laptop came to you preconfigured, and I think that a clean run of a LiveCD would be just as good at determining if the hardware worked properly. If you get it to work with a LiveCD then it is the configuration; if not then it might be the hardware. Do you get restore discs with the laptop? That way if you do not have access to the LiveCD's (restricted internet access or something) then you should be able to do a fresh install of Lenny and have the drivers work right away. Should you have problems you can restore the original install to call tech support. Hope this helps. Have fun! ~S~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: my new Inspiron - WAS: OT: laptop recomendations
From: Bernard [mailto:bdebr...@teaser.fr] Sent: Monday, January 05, 2009 3:30 PM Subject: my new Inspiron - WAS: OT: laptop recomendations [snip] For I have not been able to get WiFi working so far ! The UBUNTU v8.04 Gnome Desktop proposes a few things to get wifi working, but it does not work here. On my Desktop computer (running on Debian Sarge half upgraded to Etch), WiFi works on my DSL box/router, whether with WEP or WPA encryption. My old Thinkpad 600 worked WiFi only on WEP encryption. This one does not work at all so far ; no doubt that it is my mistake, but I'd like to kwow which one is mine. The automated process network tools has not given any success. I have tried to insert my WPA encryption key in /etc/network/interfaces as I have done on my Desktop, but I had no success. A ping on 192.168.1.1 gives no result either. I have not forgotten to switch the side button that is supposed to switch the network ON/OFF. If you have not used Ubuntu recently, the wireless configurations are /much/ different then they were in Debian Etch. Try using network manager; I bet the icon is in the top right of your screen by the clock (looks like 2 computers). Left click to see the wireless networks it has found, right click to see the properties information. Also, right after a fresh boot up, it will take a few minutes for it to scan/find wireless networks (I kid you not, it takes a full 2 minutes to find my wireless network on my Ubuntu 8.10 laptop). So give it time. Once it scans the area, it should present a drop down menu of all the wireless networks found (left click). If you have your SSID set to hidden you will have to select the connect to Hidden Network option. Both options bring you to the same menu where you can define your network, your encryption, and your password/phrase. That should be it to get you connected. If you try to do networking/wireless the Debian way in Ubuntu, you have to disable/remove network manager first. You will have issues if you don't. You will probably find that people tend to either love or loath network manager. Do you recommend to give it a quick extra trial before installing Debian Lenny, or have I better switch right away ? I would give it a trial. Also, please do yourself and anyone helping you a favor and look at the hardware before hand. I have heard several stories of these laptops being shipped with binary blobs for drivers. Also, a friend got one of the first Ubuntu-preinstalled Dell laptops. We were unable to get Etch to install and we were unable to get Lenny working right. The latest Sid and Ubuntu worked though (This was almost a year ago so I hope things have changed for the better). If I were you I would look through all the hardware and do a few Google searches to make sure that the Debian version you are going to install will work (or at least find out how much work it will take to get the drivers to work). I hope this helps. May the drivers be included on install and your configuration smooth! Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Debian AMD64
From: Umarzuki Mochlis [mailto:umarz...@gmail.com] Sent: Tuesday, January 06, 2009 8:13 AM Subject: Re: Debian AMD64 Come to think of it, my main concern for this laptop (CQ40-115AU) is it's wifi, altec lansing audio and it's webcam whether anyone ever got them working on Lenny AMD64. Now still googling on that. I have had only a few problems with the latest installs of AMD64. Software wise, I am happy and have not had any major problems recently. Hardware I have had a few issues. For example, my Intel PWLA8391GT network card[1]? Yeah, that totally doesn't work in 64bit. Works perfect in 32bit. I have complained about that before on the Debian list and I joined in on an already-filed bug report back in August. So I am not the only one who has run into this problem either. I am not familiar with your wireless card, but if it has kernel drivers you should be OK. It has been problematic for me when using wrappers and windows binary blobs though. I am sure the mileage varies for different cards. Personally, I am so happy with 64bit that I am moving everything that I can to it. I think it is certainly worth a shot. You might want to try the Debian Live CD's [2]. They should be good enough for you to see how much work it is going to require for your devices to function properly. Plus you can test out Etch, Lenny, and Sid to see which one works best for you. Hope everything goes smoothly for you! Have fun! ~Stack~ [1] http://www.newegg.com/Product/Product.aspx?Item=N82E16833106123 [2] http://live.debian.net/cdimage/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: my new Inspiron - WAS: OT: laptop recomendations
From: Stackpole, Chris [mailto:cstackp...@barbnet.com] Sent: Tuesday, January 06, 2009 8:25 AM Subject: RE: my new Inspiron - WAS: OT: laptop recomendations From: Bernard [mailto:bdebr...@teaser.fr] Sent: Monday, January 05, 2009 3:30 PM Subject: my new Inspiron - WAS: OT: laptop recomendations [snip] For I have not been able to get WiFi working so far ! The UBUNTU v8.04 Gnome Desktop proposes a few things to get wifi working, but it does not work here. On my Desktop computer (running on Debian Sarge half upgraded to Etch), WiFi works on my DSL box/router, whether with WEP or WPA encryption. My old Thinkpad 600 worked WiFi only on WEP encryption. This one does not work at all so far ; no doubt that it is my mistake, but I'd like to kwow which one is mine. The automated process network tools has not given any success. I have tried to insert my WPA encryption key in /etc/network/interfaces as I have done on my Desktop, but I had no success. A ping on 192.168.1.1 gives no result either. I have not forgotten to switch the side button that is supposed to switch the network ON/OFF. If you have not used Ubuntu recently, the wireless configurations are /much/ different then they were in Debian Etch. Try using network manager; I bet the icon is in the top right of your screen by the clock (looks like 2 computers). Left click to see the wireless networks it has found, right click to see the properties information. Also, right after a fresh boot up, it will take a few minutes for it to scan/find wireless networks (I kid you not, it takes a full 2 minutes to find my wireless network on my Ubuntu 8.10 laptop). So give it time. Once it scans the area, it should present a drop down menu of all the wireless networks found (left click). If you have your SSID set to hidden you will have to select the connect to Hidden Network option. Both options bring you to the same menu where you can define your network, your encryption, and your password/phrase. That should be it to get you connected. If you try to do networking/wireless the Debian way in Ubuntu, you have to disable/remove network manager first. You will have issues if you don't. You will probably find that people tend to either love or loath network manager. Do you recommend to give it a quick extra trial before installing Debian Lenny, or have I better switch right away ? I would give it a trial. Also, please do yourself and anyone helping you a favor and look at the hardware before hand. I have heard several stories of these laptops being shipped with binary blobs for drivers. Also, a friend got one of the first Ubuntu-preinstalled Dell laptops. We were unable to get Etch to install and we were unable to get Lenny working right. The latest Sid and Ubuntu worked though (This was almost a year ago so I hope things have changed for the better). If I were you I would look through all the hardware and do a few Google searches to make sure that the Debian version you are going to install will work (or at least find out how much work it will take to get the drivers to work). I hope this helps. May the drivers be included on install and your configuration smooth! Have fun! ~Stack~ One thing I wanted to add to this (just remembered while answering another topic). Debian does have Live CD's that can be tested out [1]. I have had a few issues with them not detecting hardware yet the install had no problems at all. Most of the time these issues have been a simple fix (a module not being loaded or something easy like that). They should be good enough for you to see how much work it is going to require for your devices to function properly. Plus you can test out Etch, Lenny, and Sid to see which one works best for you. That way you don't have to spend time to do multiple installs. Hope everything goes smoothly for you! Have fun! ~Stack~ [1] http://live.debian.net/cdimage/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: my new Inspiron - WAS: OT: laptop recomendations
From: Bernard [mailto:bdebr...@teaser.fr] Sent: Tuesday, January 06, 2009 2:41 PM To: Stackpole, Chris Subject: Re: my new Inspiron - WAS: OT: laptop recomendations Stackpole, Chris wrote: From: Bernard [mailto:bdebr...@teaser.fr] Sent: Monday, January 05, 2009 3:30 PM Subject: my new Inspiron - WAS: OT: laptop recomendations [snip] For I have not been able to get WiFi working so far ! The UBUNTU v8.04 Gnome Desktop proposes a few things to get wifi working, but it does not work here. On my Desktop computer (running on Debian Sarge half upgraded to Etch), WiFi works on my DSL box/router, whether with WEP or WPA encryption. My old Thinkpad 600 worked WiFi only on WEP encryption. This one does not work at all so far ; no doubt that it is my mistake, but I'd like to kwow which one is mine. The automated process network tools has not given any success. I have tried to insert my WPA encryption key in /etc/network/interfaces as I have done on my Desktop, but I had no success. A ping on 192.168.1.1 gives no result either. I have not forgotten to switch the side button that is supposed to switch the network ON/OFF. If you have not used Ubuntu recently, This is my first encounter with Ubuntu... and it is rather hard, ever since I also have to cope with Gnome which is also not familiar to me (used to fvwm). One of the first things that I learnt about Ubunto, is that, by default, the user cannot become superuser (su) using the root password [snip] Meh, the sudo thing annoys me. I just `sudo su` and get the root prompt. I will probably get yelled at again for saying that though... the wireless configurations are /much/ different then they were in Debian Etch. Try using network manager; I bet the icon is in the top right of your screen by the clock (looks like 2 computers). Left click to see the wireless networks it has found, right click to see the properties information. I have just tried this. A left click on the icon just proposes a manual config (it also shows a grayed line Cabled network. After awhile, a box appears though, but the box is blank. At this stage, the system has been up for at least 30 minutes. So, I clicked to manual config. Once there and after authentification with my pasword (it still works there), I clicked on wireless connexion and properties. Once there, I deactivated the roaming mode (I hope there is no confusion in the translation, since most everything is in French on that laptop). Once that mode deactivated, the blue network light came on in the front left of the machine ; it was out before... Ah YES, I just carried another trial... true enough, the blue light did come in only after I deactivated roaming, but, this time, when I tried to reactivate it, the light did not came out and I got two networks available, one is my neigbour's, the other one is mine. I gave the pasword as required, and it seems to reach a connexion... the former icon is being replaced by four bars... If I get the pointer on it, it says : connection to wireless network Livebox-46db (0%). [snip] 0% is bad; especially if you have 4 bars shown. Something isn't right. Post your hardware please and let the list look at it. Have fun! ~Stack~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: iPod
From: b_kl...@web.de [mailto:b_kl...@web.de] Sent: Sunday, December 21, 2008 3:12 AM Subject: Re: iPod [snip] on Lenny I asked aptitude about gtkpod and it proposes also the installation of faac faad Why encoders? mp3gain Is this only modifying mp3's you put in the ipod or is it changing the sources before transferring songs to an ipod? Back before I converted my iPod to Rockbox* I had never paid attention to how I stored my music in relation to what others told me how I should store my music. I just used the format that was best for me at the time. I have a method to my madness that makes sense to me, but the short of it is I have a huge collection of FLAC, OGG, and a very small minority of MP3's. When I used song managers with my iPod I discovered that they would auto convert my music into mp3's (at least I don't remember manually configuring that). Again, I have not used gtkpod or amarok for iPod related activities in a long time so things may be different, but I suspect that they are there to do just that. Convert files that the device would otherwise not recognize. *I realize that Rockbox is not an option for you at this time. However, that really was the best thing I ever did with my iPod. I hate iTunes and back then the iPod under Etch (then testing) wasn't much better. I have heard it is infinitely better now but Rockbox has been too good to me to risk switching back. Anyway, I hope that provided the information you were looking for and wasn't too much of a rambling story. :-) Have fun! ~S~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: To-do-list Application
From: Zaki Akhmad [mailto:zakiakh...@gmail.com] Sent: Thursday, December 18, 2008 9:45 AM Subject: To-do-list Application Dear all I am looking for such a post it application. So that I can write my to-do-list and view it on my Desktop. Any suggestion? - -- Zaki Akhmad Good luck! There are quite a few of them out there and they vary wildly. I spent quite a bit of time trying to find one that I liked but the problem for me was that I would find applications that had 1 or 2 features I really liked, and a dozen features I couldn't care less about. None of them had the things I was looking for. I attempted to improve gtodo only to find out that most of my work had already been done in gtodo2 but I don't think that project has been updated in a long time. It is just the dev's blog for information ( http://blog.sarine.nl/category/gtodo/ ). I even got so frustrated with the todo lists out there that I tried building my own. It is still ongoing... So for the time being I use rememberthemilk.com for the todo list and I use Basket for notes. I am also playing around with redmine for the todo's that are more project oriented. Hopefully that helps you. Have fun! ~S~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: laptop recomendations
Whoops. Sorry about that, hit the reply and not reply-to-list button the first time... From: Micha Feigin [mailto:mi...@post.tau.ac.il] Sent: Wednesday, December 10, 2008 4:45 PM Subject: OT: laptop recomendations Hello, Sorry for being a bit off topic but it's time for a new laptop that will run linux solely and I'm looking for recomendation on what has a good build quallity (will travel), descent battery life, although more important is good computing power and a good screen at 15.4 (needs to be workable with the screen) at a price range of around 1500$ rough ballpark. Good service is a must since it's a working laptop. I know that hp and compaq are a big no no (build quality is shaky at best). I also have the worst experience possible with Sony support on just about every continent (haven't managed to run into worse). Lenovo 3000 series also has a bad track run at our uni in terms of build quallity, no experience with the ideapad pad heard that they are not much brighter. Currently the best candidates are the lenovo thinkpad series (either stick with the older and probed t61 or go with the t500 or similar), mac (not sure about the one button issue although the design is nice). Runner up is Dell, although the hardware seems a bit cheap when looking at the drivers (especially the touchpad which tends to be alps which isn't up to par with the synaptic). Toshiba local dealers didn't prove themselves with a friends laptop. Can't find anyone with experience with lg and fujitsu. Will be happy for feedback/experience/hardware trouble/Service experience in case of mulfunciton etc. Thanks I have been /very/ happy with my laptop from Linux Certified [1]. I have recommended them to others and as far as I know, they have been very happy with them as well. I have a 2100 and I travel quite a bit with it plus use it frequently at home. The great thing about these laptops is that I have never really had a problem with drivers in any of the Linux distros I have tried. In some cases not all of the drivers are present at install, but they are available for Linux. I had to track down a few drivers for Slackware, but Ubuntu 8.10 required no extra drivers or configuration after install. I am not 100% sure about the other models, but all the fancy compiz features work really nicely on the 2100. Just my 2 cents. [1] http://www.linuxcertified.com/linux_laptops.html Have fun! ~S~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: server upgrade question
From: Mag Gam [mailto:magaw...@gmail.com] Sent: Thursday, December 11, 2008 10:33 PM Subject: server upgrade question At my university we have 10 servers. Each server has 8 cores with 32 GIG of memory running Debian 4.0. We have to give these servers to a different department, and our Dean would like to consiladate 10 servers into 5 servers. The new server will have 16 cores with 64 GIG of memory. Basically a 2:1 type of deal. Since we are doing a 2:1, should we expect 2:1 performance? For instance, most of our applications are heavy compute and memory intensive applications. Would they run at the same speed, better, or worse with this new setup? My guess is that same? Oh, yeah will be running 4.0 :-) TIA It really depends. If your applications talk to each other a lot, chances are you will see an increase in speed when they don't have to go out to the LAN. You say your applications are Memory intensive and this will probably have the biggest impact. If the application is greedy and just uses all of the memory it can get its hands on, then you will probably see a decrease in performance as the instances of the applications will fight. If the application uses a set amount of memory (eg 2GB) and just constantly read/writes to that portion, then you probably won't notice a difference. When dealing with applications across multiple systems/cores it is very important to determine exactly what your overhead and constraints are first before trying to upgrade the system. A good example is a cluster I worked on a few years ago. It started out as five P3 500Mhz boxes. When we upgraded to fifteen Athlon 1.2Ghz systems, our application slowed to a crawl. The cross-talk on the LAN connection was killing the app. We temporarily configured just 2 of the Athlon systems and got better performance then either of the previous configurations while we recoded the app to better deal with scalability. If you can identify where the applications bottlenecks and strengths are, you will be in a much better position to know how hardware upgrades will affect your results. Have fun! ~S~ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
RE: Trouble
Hi, my name is Amaranta, and i'm from Chile. In the page says that I have to write you in english, so i'm trying, but i'm not that handy though, so please be patience. I have 2 problems: 1.- I sort of need the login.cc file of the Debian sources and I can't find it in anywere, if you please could send it to me. I need to see an example of how to capture the password of the user of the keyboard before it apears in the screen (like when someone make su). [snip] I am assuming that you are writing a program that requires a user to enter a password and you just want to ensure that the password is not displayed. If that is the case, here is how you would do it in bash. Please note that the read command is a bash shell variable so you will have to read the bash man pages for more information (`man bash` ...I swear the devs do this on purpose sometimes...heh heh :) #!/bin/sh read -rsp Enter Password: pass echo echo $pass As for other languages, I use the following phrase to do google searches whenever I need this info Mask password entry in insert language. Here are a few for you since you didn't say what language you are using: C/C++ : http://www.dreamincode.net/forums/showtopic57944.htm Java : http://java.sun.com/developer/technicalArticles/Security/pwordmask/ Hope that helps. Have fun! ~S~
RE: Re: Errors after AMD64 install but not with the 32bit install
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Johan Grönqvist Sent: Sunday, November 30, 2008 7:10 AM To: debian-user@lists.debian.org Subject: Re: Errors after AMD64 install but not with the 32bit install Stackpole, Chris skrev: Problem #1 Nov 27 23:28:31 SK kernel: [0.004000] Your BIOS doesn't leave a aperture memory hole Nov 27 23:28:31 SK kernel: [0.004000] Please enable the IOMMU option in the BIOS setup I think I had some messages like that once as well ... (on amd64 lenny) I use iommu=soft, and it solved some probems I had before. Unfortunately, I have forgotten the details. / johan Thanks! That solved that problem. Still have issues with the others. However, the only thing that is actually still causing problems is the Gb network card. Still working on that one. Thanks again Johan! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Synaptic. Can't find where it saves history
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Six Sent: Monday, December 01, 2008 2:15 PM Subject: Re: Synaptic. Can't find where it saves history Nigel Henry wrote the following on 01.12.2008 18:09 Hi Folks. Does anyone know where Synaptic saves it's history? /root/.synaptic/log - *snip* - Nigel. -- bye Thilo key: 0x4A411E09 I just learned a new feature! I did not know it did this. Thanks! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Errors after AMD64 install but not with the 32bit install
Hello everyone! I just did another Debian Lenny AMD64 install. However, it wasn't as smooth as the other installs. This time I have three errors that I am still trying to figure out. For what it is worth, when I install the 32bit version* I do not get these errors at all and all of the hardware works as it should. *I downloaded the 64 and 32 bit versions at the same time and I did network installs so they should have a pretty similar package versions. Problem #1 Nov 27 23:28:31 SK kernel: [0.004000] Aperture pointing to e820 RAM. Ignoring. Nov 27 23:28:31 SK kernel: [0.004000] No AGP bridge found Nov 27 23:28:31 SK kernel: [0.004000] Your BIOS doesn't leave a aperture memory hole Nov 27 23:28:31 SK kernel: [0.004000] Please enable the IOMMU option in the BIOS setup Nov 27 23:28:31 SK kernel: [0.004000] This costs you 64 MB of RAM Nov 27 23:28:31 SK kernel: [0.004000] Mapping aperture over 65536 KB of RAM @ 400 Nov 27 23:28:31 SK kernel: [0.004000] PM: Registered nosave memory: 0400 - 0800 Nov 27 23:28:31 SK kernel: [0.004000] Memory: 4056728k/4718592k available (2226k kernel code, 136100k reserved, 1079k data, 392k init) I have found several forums that, since I have PCI-Express and no agp, they recommend disabling AGP with iommu=noagp in the kernel boot list in grub. However, this doesn't seem to work. I still have these messages everytime I boot up. I have found no such IOMMU options in the BIOS and google searching for my system returns very little and nothing helpful. Problem #2 Nov 27 23:28:31 SK kernel: [0.252015] PCI: MCFG configuration 0: base f000 segment 0 buses 0 - 255 Nov 27 23:28:31 SK kernel: [0.260976] PCI: BIOS Bug: MCFG area at f000 is not reserved in ACPI motherboard resources Nov 27 23:28:31 SK kernel: [0.261017] PCI: Not using MMCONFIG. From the google searches I did, it looks like this is harmless, but I just want to be sure. I think this is related to the first problem. Can anyone give me a bit more information? Problem #3 $ lspci | grep Intel 04:09.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05) $ cat /var/log/messages [snip] Nov 29 09:34:17 SK kernel: [ 249.993244] e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Nov 29 09:34:17 SK kernel: [ 249.993244] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready Nov 29 09:34:19 SK kernel: [ 252.475565] Tx Queue 0 Nov 29 09:34:19 SK kernel: [ 252.475566] TDH 8 Nov 29 09:34:19 SK kernel: [ 252.475567] TDT 8 Nov 29 09:34:19 SK kernel: [ 252.475568] next_to_use 8 Nov 29 09:34:19 SK kernel: [ 252.475569] next_to_clean0 Nov 29 09:34:19 SK kernel: [ 252.475570] buffer_info[next_to_clean] Nov 29 09:34:19 SK kernel: [ 252.475570] time_stamp c1d7 Nov 29 09:34:19 SK kernel: [ 252.475571] next_to_watch0 Nov 29 09:34:19 SK kernel: [ 252.475572] jiffies c43d Nov 29 09:34:19 SK kernel: [ 252.475573] next_to_watch.status 0 Nov 29 09:34:21 SK kernel: [ 254.481301] Tx Queue 0 Nov 29 09:34:21 SK kernel: [ 254.481302] TDH 8 Nov 29 09:34:21 SK kernel: [ 254.481303] TDT 8 Nov 29 09:34:21 SK kernel: [ 254.481304] next_to_use 8 Nov 29 09:34:21 SK kernel: [ 254.481305] next_to_clean0 Nov 29 09:34:21 SK kernel: [ 254.481305] buffer_info[next_to_clean] Nov 29 09:34:21 SK kernel: [ 254.481306] time_stamp c1d7 Nov 29 09:34:21 SK kernel: [ 254.481307] next_to_watch0 Nov 29 09:34:21 SK kernel: [ 254.481308] jiffies c631 Nov 29 09:34:21 SK kernel: [ 254.481309] next_to_watch.status 0 Nov 29 09:34:23 SK kernel: [ 256.709472] Tx Queue 0 Nov 29 09:34:23 SK kernel: [ 256.709473] TDH 8 Nov 29 09:34:23 SK kernel: [ 256.709474] TDT 8 Nov 29 09:34:23 SK kernel: [ 256.709475] next_to_use 8 Nov 29 09:34:23 SK kernel: [ 256.709475] next_to_clean0 Nov 29 09:34:23 SK kernel: [ 256.709476] buffer_info[next_to_clean] Nov 29 09:34:23 SK kernel: [ 256.709477] time_stamp c1d7 Nov 29 09:34:23 SK kernel: [ 256.709478] next_to_watch0 Nov 29 09:34:23 SK kernel: [ 256.709479] jiffies c825 Nov 29 09:34:23 SK kernel: [ 256.709480] next_to_watch.status 0 Nov 29 09:34:25 SK kernel: [ 258.716503] Tx Queue 0 Nov 29 09:34:25 SK kernel: [ 258.716504] TDH 8 Nov 29 09:34:25 SK kernel: [ 258.716504] TDT 8 Nov 29 09:34:25 SK kernel: [ 258.716505] next_to_use 8 Nov 29 09:34:25 SK kernel: [ 258.716506] next_to_clean0 Nov 29 09:34:25 SK kernel: [ 258.716507] buffer_info[next_to_clean] Nov 29 09:34:25 SK kernel: [ 258.716508] time_stamp c1d7 Nov
RE: 32bit vs 64bit EXT3
From: Aioanei Rares [mailto:[EMAIL PROTECTED] On Wed, Nov 19, 2008 at 8:36 AM, Adrian Levi [EMAIL PROTECTED] wrote: 2008/11/19 Stackpole, Chris [EMAIL PROTECTED]: The system started life out as a 32bit etch install. Then later I did an upgrade to Lenny (~5 months ago) and it has been running smooth since. Since the drives were all formated as ext3 with a 32bit Etch install, should I expect any problems with the ext3 file system when I install a 64bit Lenny? As far as I understand it filesystems aren't tied to a specific processor type or architecture. You should be safe with whatever choice you make. Adrian Yes, filesystems don't really care if you're on 32-bit or 64-bit, so I don't think you should worry. OK. I won't. :-) I was trying to read up on the subject as best as I could. From what I understand, most of what the 64bit format provides is bigger block sizes and a larger filesystem (+8TB). However, I only have drives in the hundreds of GB not in the TB range (I wish...but don't we all). It is my understanding that 64bit carries full backwards compatibility, but I really wanted to verify first. So now all that is left is to give the upgrade a shot and see what happens. Besides...I have backups. :-) Thanks for your input guys! ~S~
RE: Alternative to network-manager
From: Brian McKee [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 8:49 AM Subject: Fwd: Alternative to network-manager On Wed, Nov 19, 2008 at 7:56 AM, Eduardo M KALINOWSKI [EMAIL PROTECTED] wrote: I know network-manager often does more bad than good, so I would like to avoid using it. Debateable, but hey - it's your computer. So, is there any other graphical tool that allows for easy set-up of networking (especially wireless), listing networks in reach and allowing automatic connection to them? Try http://wicd.sourceforge.net I have never had a problem with network manager after the Ubuntu 7.10 release. No problems in Debian; no problems in Ubuntu. I am not sure why there is so much hate against it. Maybe I am that lucky user for this package. ;-) Still, I have never heard of wicd and I have to admit it looks pretty good. There are certainly a few options that I wish network-manager had. Do you use it? Or did you just stumble across it? I am contemplating installing it on my dev box when I get home... Thanks for the suggestion! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
apt-cacher-ng
Caching is perfect for those that consistently use the same packages in their builds or for those who have to update many systems and do not want to use lots of bandwidth. One package that I have been using for sometime and am a big fan of is apt-cacher. I have mentioned it to several people on this list and have I helped a lot of people setup and configure it. Today, I discovered apt-cacher-ng in Lenny. The about section describes it as: Apt-Cacher NG is a caching HTTP download proxy for software packages, primarily for Debian/Ubuntu clients. It's partially based on concepts of Apt-Cacher but is rewritten with a main focus on performance and low resource usage. I thought I had used most of the cacher/mirrors that Debian provided for apt, but this one was new to me. So I gave it a shot. Apt-get installed it with no problems. I added my own local repository to /etc/apt-cacher-ng/backends_debian (just because I don't mind hammering my own servers for testing purposes). I updated /etc/apt-cacher-ng/acng.conf with the port and directories that I wanted, and started it up. I opened Firefox and went to localhost: (default is 3142) to be greeted by page describing what I need to do to configure apt to use apt-cacher-ng. It also provides a link to a usage report. It was a really simple setup. So far I see only one major difference between apt-cacher-ng and apt-cacher: the fact that the reports are generated on page load (apt-cacher-ng) and not once a day by a cron job (apt-cacher). Other then that one detail I have not noticed a huge difference in the two programs. I have attached a few systems to it and am planning on letting it run for a while to see if any problems show up. Even though it doesn't appear that different to me now the updated reports are worth giving it a longer test run. I use those reports often and it is nice to have them auto updated. Here is the link to the main webpage if anyone is interested: http://www.unix-ag.uni-kl.de/~bloch/acng/ I am very interested in others experiences with apt-cacher-ng. If there is a feature that makes it stand out over the other cachers that I missed, please let me know. Thanks! Have Fun! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[OT] Broken flashplayer installation.
From: Jack Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2008 2:01 PM Subject: Broken flashplayer installation. Hi, all. Debian lenny Linux Speeduke 2.6.26-1-amd64 #1 SMP Thu Oct 9 14:16:53 UTC 2008 x86_64 GNU/Linux -- I get the following errors from Synaptic when trying to reinstall flashplayer-mozilla. RE: E: /var/cache/apt/archives/ia32-libs-libidn11_1.10-0.0_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libidn.so.11.5.39', which is also in package libidn11-emul E: /var/cache/apt/archives/ia32-libs-libssh2_0.18-0.0_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libssh2.so.1.0.0', which is also in package libssh2-1-emul E: /var/cache/apt/archives/ia32-libs-libcurl3_7.18.2-0.0_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libcurl.so.4.1.0', which is also in package libcurl3-emul E: /var/cache/apt/archives/ia32-libs-libnspr4_4.7.1-0.1_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libplds4.so.0d', which is also in package libnspr4-0d-emul E: /var/cache/apt/archives/ia32-libs-libnss3_3.12.0-0.1_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libssl3.so.1d', which is also in package libnss3-1d-emul I don't know what the /emul/* stuff is or where it came from... How do I get started fixing this...?? TIA Jack This is probably not the answer you were expecting, so I labeled it Off Topic. Have you looked into the new 64bit version from Adobe? http://labs.adobe.com/technologies/flashplayer10/ I had many problems with getting 32bit flash working right. I ended up getting something usable, but nothing satisfactory. Adobe still claims that the 64bit version is Alpha and it was only released yesterday but I have not had any issues with it yet. I have already seen a noticeable decrease in system resources while getting much better performance. The 32bit wrapper would take minutes to load a youtube video and would crash if I skipped around too much. None of those issues so far with the 64bit version. All of the sites I visit work without problem (YMMV of course). I have 2 64bit Debian Lenny systems with flash. So far 0 problems with the 64bit flash player 10. It is something you might want to consider. Have fun! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: [OT] Broken flashplayer installation.
From: Jack Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2008 3:02 PM Subject: Re: [OT] Broken flashplayer installation. On Tue, 18 Nov 2008 14:18:55 -0600 Stackpole, Chris [EMAIL PROTECTED] wrote: From: Jack Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2008 2:01 PM Subject: Broken flashplayer installation. Hi, all. Debian lenny Linux Speeduke 2.6.26-1-amd64 #1 SMP Thu Oct 9 14:16:53 UTC 2008 x86_64 GNU/Linux -- I get the following errors from Synaptic when trying to reinstall flashplayer-mozilla. RE: E: /var/cache/apt/archives/ia32-libs-libidn11_1.10-0.0_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libidn.so.11.5.39', which is also in package libidn11-emul E: /var/cache/apt/archives/ia32-libs-libssh2_0.18-0.0_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libssh2.so.1.0.0', which is also in package libssh2-1-emul E: /var/cache/apt/archives/ia32-libs-libcurl3_7.18.2-0.0_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libcurl.so.4.1.0', which is also in package libcurl3-emul E: /var/cache/apt/archives/ia32-libs-libnspr4_4.7.1-0.1_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libplds4.so.0d', which is also in package libnspr4-0d-emul E: /var/cache/apt/archives/ia32-libs-libnss3_3.12.0-0.1_amd64.deb: trying to overwrite `/emul/ia32-linux/usr/lib/libssl3.so.1d', which is also in package libnss3-1d-emul I don't know what the /emul/* stuff is or where it came from... How do I get started fixing this...?? TIA Jack This is probably not the answer you were expecting, so I labeled it Off Topic. Have you looked into the new 64bit version from Adobe? http://labs.adobe.com/technologies/flashplayer10/ I had many problems with getting 32bit flash working right. I ended up getting something usable, but nothing satisfactory. Adobe still claims that the 64bit version is Alpha and it was only released yesterday but I have not had any issues with it yet. I have already seen a noticeable decrease in system resources while getting much better performance. The 32bit wrapper would take minutes to load a youtube video and would crash if I skipped around too much. None of those issues so far with the 64bit version. All of the sites I visit work without problem (YMMV of course). I have 2 64bit Debian Lenny systems with flash. So far 0 problems with the 64bit flash player 10. It is something you might want to consider. Have fun! ~S~ Hi, Chris Got the libflashplayer.so.So where exactly do I put it??? FWIW, just spent a few minutes removing the 32bit stuff... Thanks again! Jack I just put it in ~/.mozilla/plugins/, restarted iceweasel, and as soon as iceweasel came back up it said it found a new add-on. I verified it by checking Tools-Add-ons and it worked for me from there on out. Have fun! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
32bit vs 64bit EXT3
Pardon me if these are basic questions, but I have only ever done clean installs of 64bit Debian before and I am having difficulty getting the answers I am looking for from Google. I have a 32bit system with a bunch of 500GB hard drives. The system is 64bit capable and so I would like to format/reinstall with 64bit Lenny. The system started life out as a 32bit etch install. Then later I did an upgrade to Lenny (~5 months ago) and it has been running smooth since. Since the drives were all formated as ext3 with a 32bit Etch install, should I expect any problems with the ext3 file system when I install a 64bit Lenny? I know that the major benefits of the 64bit ext3 don't really have any influence on my 500GB drives. I just don't know if it would be safer to just verify the backup of the whole system and format them all with 64bit Lenny. I guess my real concern is that if I just rebuild and wipe / but keep the other file systems as-is then I will have the following layout *: hda1 64bit / hda2 64bit swap hda3 64bit /tmp hdb1 32bit /home sda1 32bit /media/sda1 sdb1 32bit /media/sdb1 sdc1 32bit /media/sdc1 So I will have a mixture of 32bit and 64bit ext3 filesystems. Also, I would really like to keep my /home partition as is. Will there be problems when I install 64bit and it places info on top of it? If anyone can comment, I would be appreciative. I have a full backup of the system, so if I need to I can just give it a go and see what happens. I just would not rather spend a day doing a restore if I could prevent it. Thanks! ~S~ *Yes I know. I really do name my mount points like that. I am just crazy creative that way... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: BIOS Problem
First: I don't know if it was the same for others, but your email came as an attachment. I have not had that before on this list so I think it may be your mail. Please correct me if I am wrong. From: Thomas H. George [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 12:02 PM Subject: OT: BIOS Problem Very slow bootup while grub tries repeatedly to get responses from a dead ide slave drive. If the ide slave drive is disconnected bios apparently spends a long time searching for ide drives and grub loads very slowly but, once loaded, boots the system quickly. I have had similar issues. In one case, I was able to simply disable the IDE connection within the BIOS. That BIOS had quite a few non-standard features, and being able to disable certain devices, like the IDE, was a bonus and not likely to be standard. I do not know your motherboard. I also one tried to migrate a Debian install off of a IDE drive and onto a SATA drive (all partitions including grub) and I found it to be really slow. I tried updating grub and a few tricks I found on this group, but I was never able to get it to boot right. The grub prompt came up pretty quick but it took about ~5 minutes to properly load the Linux kernel and start booting. Since everything I had was backed up, I just wiped the system and started over. Worked fine after that. The best we could figure was I had missed some link or pointer and it wasn't happy that it had left IDE. Hope this helps! Have fun! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: minimal mirror for lenny net install
From: Tzafrir Cohen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 8:05 AM Subject: minimal mirror for lenny net install Hi I'd like to run a network installation setup on my LAN. With previous versions I could just take a Debian Installer CD (e.g.: the netinst) and loopmount it to get the initial files. This provides me most of the required files. The problem is that the installer CDs no longer contain signed images. I'd like to avoid any hacks with configuring a system to use unsigned sources as at least with Etch this affected the usability later on. How do I make a compact partial Debian mirror? I don't have the extra disk space and network bandwidth[1] for a full mirror. [1] Well, I do. But it would be a waste of time and disk space and complicate the setup. I want to have a mirror that contains all the packages in my default install, so I won't need to re-download them from the Internet every time. But downloading a few gigs every once in a while to maintain the mirror is not something I want either. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849754 || friend Not sure this is what you are looking for, but I use apt-cacher. It works really well. It only downloads the packages you request from it so you get the benefit of a local mirror, without having to actually host a full mirror. It can even support multiple Arch Repos so that I only have 1 apt-cacher system that serves for i386, AMD64, and IA64 for Etch, Lenny, and Sid (for me all of those arch/repos only take up 2.8GB). It has also been stable for a really long time so there are a ton of how-to guides out there (including several links on this list). There is also apt-proxy, but for me it didn't work nearly as well as apt-cacher. Have fun! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: alternative to brightside
From: lee [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 5:43 AM Subject: alternative to brightside Hi, is there an alternative to brightside? The overview window that shows up when switching desktops is extremely annoying, and sometimes windows end up on the wrong desktop. I know there is a compiz plugin that is similar, but I don't remember which one it is. I didn't care for it so I disabled it early on... Of course that plugin does require you to be running compiz... Anyway, that is the only alternative I know about. Hope it helps. Have fun! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: alternative to brightside
From: lee [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 10:45 AM Subject: Re: alternative to brightside On Mon, 10 Nov 2008 08:46:24 -0600 Stackpole, Chris [EMAIL PROTECTED] wrote: I know there is a compiz plugin that is similar, but I don't remember which one it is. I didn't care for it so I disabled it early on... Hm, compiz doesn't have seemless desktop switching built in either? Every window manager that has virtual desktops should have that built in. What's the point of those desktops when you can't switch easily? Umm, I believe it should...I am thinking something isn't right with your compiz install. Of course that plugin does require you to be running compiz... Well, I tried that. I installed compiz and it didn't appear in gdm as a session I could select. I made a session file for that, but no matter if I don't use gdm and start compiz from my .xinitrc or with gdm, all it shows is a black screen. Maybe I'll go back to enlightenment ... Still I'd like to try compiz. What did I do wrong that compiz only shows a black screen? No menues, nothing, no window decorations ... but it seems to be running. Again, I am thinking your system either doesn't support compiz or isn't configured right. Fraid I don't know much about compiz. I just searched for problems with my hardware and when I didn't find anything major I just installed the deb packages then added 'fusion-icon' as a startup program in my session preferences. I then thanked the developers and went on my merry way to play with my new eye-candy. Anyone out there able to provide more help for Lee? Good luck and have fun! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Question regarding bonding of multiple eth's
I finally figured it out and thought I would share in case someone else stumbles upon this problem. After doing a lot of research I found that I had to add the following line to my /etc/modules: bonding mode=1 miimon=100 downdelay=200 updelay=200 It seems to be working perfectly now. Chris Stackpole From: Stackpole, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 1:01 PM To: debian-user@lists.debian.org Subject: Question regarding bonding of multiple eth's I seem to be having a problem with bonding under Debian Lenny, but I am not sure exactly what the problem is. I have two servers and each server has two gigabit network cards. We have two gigabit switches that we use so that we have failover should one die. I matched both eth0's to switch0 and both eth1's to switch one. I then bonded the eth's together on both servers. I posted how I did it below just in case I screwed something up. Once I did the bonding, everything looks to be OK. I can ping out and I can ping the hosts from other systems. I pulled the network plug from one of the cards and watched that the failover worked as it should. Then I plugged it back in and removed the other. Everything worked as I thought it should; I am not an expert at bonding but I have used the same method a few times now without problem. Well I went on about my business and soon complaints began to come in that one server was much slower then the other. :-/ I began investigating and sure enough, one system is slower. Transferring a 1GB file across the network, I easily maintain ~38-40M/s on the first host and I usually top out around 15-18MB/s on the other. Ifconfig shows that both cards are set to the proper speed (txqueuelen:1000) but it isn't behaving like should be. Worse is when I do a watch or htop or something else that updates I can notice the lag. For example, I have ssh'd into the system and have htop running right now; it is supposed to update every 2 seconds. It works like it should for a short time but then every once in a while the screen freezes for about 10 seconds, then everything updates all at once and continues its 2 second update interval. I thought it was the network cards, so I disabled the bonding and tested each of them. I get gigabit speeds individually. Rebonded the cards and I am back to the slow speeds. I turned off the system to see if there was physical damage or something (found nothing) and when I brought it back up I saw this in the logs: Oct 30 11:53:04 Hostname kernel: [ 10.167568] bonding: bond0: Warning: failed to get speed and duplex from eth0, assumed to be 100Mb/sec and Full. Oct 30 11:53:04 Hostname kernel: [ 10.167568] bonding: bond0: enslaving eth0 as an active interface with an up link. Oct 30 11:53:04 Hostname kernel: [ 10.264691] bonding: bond0: Warning: failed to get speed and duplex from eth1, assumed to be 100Mb/sec and Full. Oct 30 11:53:04 Hostname kernel: [ 10.264691] bonding: bond0: enslaving eth1 as an active interface with an up link. Oct 30 11:53:04 Hostname kernel: [ 10.578052] NET: Registered protocol family 10 Oct 30 11:53:04 Hostname kernel: [ 10.579606] lo: Disabled Privacy Extensions Oct 30 11:53:05 Hostname kernel: [ 12.884391] tg3: eth0: Link is up at 1000 Mbps, full duplex. Oct 30 11:53:05 Hostname kernel: [ 12.884391] tg3: eth0: Flow control is off for TX and off for RX. Oct 30 11:53:06 Hostname kernel: [ 13.012292] tg3: eth1: Link is up at 1000 Mbps, full duplex. Oct 30 11:53:06 Hostname kernel: [ 13.012292] tg3: eth1: Flow control is off for TX and off for RX. I see the tg3 messages in the first server, but I don't see the bonding warnings. My guess is that the bonding is somehow screwed up and stuck on 100Mb/sec and doesn't update when the cards go to 1000Mb/sec. I tried to find an answer via google but did not find anything that seemed useful to me. I see others have had this problem, but I found no solution that helped me. I don't know why one works and the other doesn't. They should be pretty similar in setup and configuration as I didn't do anything drastically different when I built them. Any help would be appreciated. Thanks! Chris Stackpole How I did the bonding: # apt-get install ifenslave # vi /etc/network/interfaces auto lo iface lo inet loopback auto bond0 iface bond0 inet static address 10.3.45.3 netmask 255.255.255.0 network 10.3.45.0 broadcast 10.3.45.255 gateway 10.3.45.251 dns-nameservers 10.1.1.5 10.1.1.6 dns-search mydomain.com up /sbin/ifenslave bond0 eth0 eth1 down /sbin/ifenslave -d bond0 eth0 eth1 Then I restarted (yeah I know I could have just reset the network but I restarted). When it was back up ifconfig shows bond0, eth0, eth1, and lo all correctly.
Question regarding bonding of multiple eth's
I seem to be having a problem with bonding under Debian Lenny, but I am not sure exactly what the problem is. I have two servers and each server has two gigabit network cards. We have two gigabit switches that we use so that we have failover should one die. I matched both eth0's to switch0 and both eth1's to switch one. I then bonded the eth's together on both servers. I posted how I did it below just in case I screwed something up. Once I did the bonding, everything looks to be OK. I can ping out and I can ping the hosts from other systems. I pulled the network plug from one of the cards and watched that the failover worked as it should. Then I plugged it back in and removed the other. Everything worked as I thought it should; I am not an expert at bonding but I have used the same method a few times now without problem. Well I went on about my business and soon complaints began to come in that one server was much slower then the other. :-/ I began investigating and sure enough, one system is slower. Transferring a 1GB file across the network, I easily maintain ~38-40M/s on the first host and I usually top out around 15-18MB/s on the other. Ifconfig shows that both cards are set to the proper speed (txqueuelen:1000) but it isn't behaving like should be. Worse is when I do a watch or htop or something else that updates I can notice the lag. For example, I have ssh'd into the system and have htop running right now; it is supposed to update every 2 seconds. It works like it should for a short time but then every once in a while the screen freezes for about 10 seconds, then everything updates all at once and continues its 2 second update interval. I thought it was the network cards, so I disabled the bonding and tested each of them. I get gigabit speeds individually. Rebonded the cards and I am back to the slow speeds. I turned off the system to see if there was physical damage or something (found nothing) and when I brought it back up I saw this in the logs: Oct 30 11:53:04 Hostname kernel: [ 10.167568] bonding: bond0: Warning: failed to get speed and duplex from eth0, assumed to be 100Mb/sec and Full. Oct 30 11:53:04 Hostname kernel: [ 10.167568] bonding: bond0: enslaving eth0 as an active interface with an up link. Oct 30 11:53:04 Hostname kernel: [ 10.264691] bonding: bond0: Warning: failed to get speed and duplex from eth1, assumed to be 100Mb/sec and Full. Oct 30 11:53:04 Hostname kernel: [ 10.264691] bonding: bond0: enslaving eth1 as an active interface with an up link. Oct 30 11:53:04 Hostname kernel: [ 10.578052] NET: Registered protocol family 10 Oct 30 11:53:04 Hostname kernel: [ 10.579606] lo: Disabled Privacy Extensions Oct 30 11:53:05 Hostname kernel: [ 12.884391] tg3: eth0: Link is up at 1000 Mbps, full duplex. Oct 30 11:53:05 Hostname kernel: [ 12.884391] tg3: eth0: Flow control is off for TX and off for RX. Oct 30 11:53:06 Hostname kernel: [ 13.012292] tg3: eth1: Link is up at 1000 Mbps, full duplex. Oct 30 11:53:06 Hostname kernel: [ 13.012292] tg3: eth1: Flow control is off for TX and off for RX. I see the tg3 messages in the first server, but I don't see the bonding warnings. My guess is that the bonding is somehow screwed up and stuck on 100Mb/sec and doesn't update when the cards go to 1000Mb/sec. I tried to find an answer via google but did not find anything that seemed useful to me. I see others have had this problem, but I found no solution that helped me. I don't know why one works and the other doesn't. They should be pretty similar in setup and configuration as I didn't do anything drastically different when I built them. Any help would be appreciated. Thanks! Chris Stackpole How I did the bonding: # apt-get install ifenslave # vi /etc/network/interfaces auto lo iface lo inet loopback auto bond0 iface bond0 inet static address 10.3.45.3 netmask 255.255.255.0 network 10.3.45.0 broadcast 10.3.45.255 gateway 10.3.45.251 dns-nameservers 10.1.1.5 10.1.1.6 dns-search mydomain.com up /sbin/ifenslave bond0 eth0 eth1 down /sbin/ifenslave -d bond0 eth0 eth1 Then I restarted (yeah I know I could have just reset the network but I restarted). When it was back up ifconfig shows bond0, eth0, eth1, and lo all correctly.
RE: Anti-Virus - seeking opinions
From: Raj Kiran Grandhi [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 9:35 PM Don Sutter wrote: Hi All, I certainly hope the following doesn't start a flame war! I would like to use Linux to scan Windows drives for viruses. Since Linux is generally slime free are any of the Linux anti-virus solutions robust enough to handle Windows? Perhaps I should consider using VM, Windows and a Windows based anti-virus? Ideas? Did you give clamav a try? It is in the repos. Avast has a version for linux. It is free as in beer for personal use. You can manage without an anti virus by running Windows in a VM if you do not connect it directly to any untrusted network and if you do not connect any removable devices directly to the VM. Thanks in advance If you can't explain it simply, you don't understand it well enough. -- Albert Einstein I will second Avast. You will have to pay for a company use, but they do have a freebie version that you can use at home. There is not much difference between the two from what I can tell (in terms of what they can do). Plus their support has been really helpful when I needed it. I have nothing against clamav, but I have had such a good experience with Avast on both Linux and Windows that I have just stuck with Avast. ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Changelog broken on Lenny?
Hello, I noticed that I had some updates on my Lenny box so double clicked the package manager icon in the gnome task bar. As I browsed through the packages I noticed that there were no change logs showing up. So I visited the site: http://packages.debian.org/changelogs/pool/main Sure enough, all of the folders are empty. I have not seen or heard anything about the changelog being down and I didn't find anything with a quick google search, so I thought I would ask the list. Anyone know what's going on? Is this planned? Any idea when it will be up again? Thanks! ~Stack~
RE: Gnome Nautilus: How to Open Same Folder in Same Window
From: Kejia [mailto:[EMAIL PROTECTED] Subject: Re: Gnome Nautilus: How to Open Same Folder in Same Window Hi, My steps: 0) Show the Desktop, and there is one folder A; 1) Double click folder A's icon and open the folder A in the window #1; 2) Show the Desktop; 3) Double click folder A's icon again, but this time a new window is open to show folder A's content. We call the second one as window #2. Window #1 and window #2 are two different windows. And I prefer window #1 is refocused on when I double click folder A's icon again. Thank you for your endless patience! I can not replicate that experience, but after searching Google I found this: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/120746 It sounds like it might be related. Do you have Nautilus default to list mode? What version of Nautilus are you using? The link has problems starting at version 2.21.90 and fixed in 2.23.2 for Ubuntu (probably doesn't correlate to Debian). I am using 2.20.0-7 on Debian Lenny and don't see your problem. Hope this helps. Have fun! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Gnome Nautilus: How to Open Same Folder in Same Window
From: P. Lane [mailto:[EMAIL PROTECTED] Subject: Re: Gnome Nautilus: How to Open Same Folder in Same Window On Wed, Oct 01, 2008 at 09:59:01AM -0700, Kejia wrote: Hi all, I am not meaning the Nautilus spatial window. Now, when I click the same folder twice, there are two windows for the same folder. Is it possible to configure nautilus so as to only show the open existed window of one folder rather than to open the second one? Thanks a lot for any suggestion. Cheers, Kejia I am not sure what you mean by spatial window. But I think what your talking about, is that Nautilus is not browsing. Nautilus can be set to browser mode by clicking; Edit\ Prefrences\, selecting the Behavior\ tab and checking the Always open in brower window. Paul Lane |Debian-Etch Like a Rock KC9EYE|GNU/Linux 2.6.18-6-486 |Mutt 1.5.13 (2006-08-11) Amateur Radio and Linux like Peas and Carrots http://www.qsl.net/kc9eye -- Freedom is the light of all sentient beings. Optimus Prime -- I *think* that what he meant by spatial window was opening in the same window. So that suggestion helps with opening the directory in the same spatial window but not what OP was asking about. If I understand correctly, when you open directory A you get a window. When you open subdirectory B, you get another window. Then you open B again and you get a second B window. Correct? If so, I think you have a bug. When I open A then B the graphic for the B folder icon changes. When I try to open B again, it takes me to the already open B window. If B is on another workspace, then the window flashes in the application bar and clicking on it takes me to that workspace. I tested on Lenny (64 and 32 bit) and Etch (32bit) and it works the same on all three systems. If I understand your problem correctly, then I would make sure you have the latest updates and file a bug report. If I misunderstood you and have it all wrong, sorry. Have fun! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Gnome Nautilus: How to Open Same Folder in Same Window
From: Kejia [mailto:[EMAIL PROTECTED] Subject: Re: Gnome Nautilus: How to Open Same Folder in Same Window Hi all, Thank you very much for every reply. I think I ignored one important point: my problem is on folders appearing on gnome user's Desktop. Yes, I use browsing mode, but for folders on Desktop ... . You may try. Any further suggestions? Thanks. My previous statement of opening a folder and having the icon change still applies to the desktop. It works the same for me. Will you do us (and yourself) a favor and detail exactly what steps we need to do to recreate your problem? For example, here is what I did to test: 1) Right click on desktop and select New Folder. Call it A. 2) Open folder by double clicking on it. Minimize it. 3) With the first window Open, double click the icon again. For me the first window reopens. so forth and so on... Because when I tested it, it always signaled the already open window to reappear. I might not be testing the same steps you are. Have fun! ~S~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: unable to play some flash videos
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Kamaraju S Kusumanchi Subject: unable to play some flash videos I am unable to play flash videos on http://www.nbc.com/Heroes/video/episodes/ in iceweasel. The website says requires Adobe flash player 9 or greater. However, I can play videos on youtube. The problem seems specific to only some websites. Is there any one who can play videos at http://www.nbc.com/Heroes/video/episodes/ ? I am using Debian Etch. $dpkg -l \*flash\* | grep ^ii ii flashplayer-mozilla 9.0.124.0-0.0 Macromedia Flash Player ii libflash-mozplugin 0.4.13-8 GPL Flash (SWF) Library - Mozilla-compatible ii libflash-swfplayer 0.4.13-8 GPL Flash (SWF) Library - stand- alone player ii libflash0c2 0.4.13-8 GPL Flash (SWF) Library - shared library $dpkg -l \*iceweasel\* | grep ^ii ii iceweasel 2.0.0.16-0etch1 lightweight web browser based on Mozilla Any ideas/suggestions (other than asking me to switch to windows :-)) to get around this? thanks raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/ Same error message from that site. I am running Debian Lenny (fully updated) with the actual flash plugin from Adobe's site installed through iceweasle. Heh, it's kinda funny that they don't seem to notice their own plugin... Frankly, I have not had much luck with tv websites that stream their online content. Everything pretty much sucks. From Mythbusters episodes on Discovery's website to that Hulu website. I can't seem to get them to work right. As for suggestions...What about building a MythTV box to capture the episodes as they air? That is what I do. And should the recording fail for some reason (#*!%^ Charter!) there is a famous bay for torrents that does a really good job. ;-) Have fun! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: unable to play some flash videos
From: Carl Fink [mailto:[EMAIL PROTECTED] Subject: Re: unable to play some flash videos On Thu, Sep 25, 2008 at 11:38:06AM -0500, Stackpole, Chris wrote: Frankly, I have not had much luck with tv websites that stream their online content. Everything pretty much sucks. From Mythbusters episodes on Discovery's website to that Hulu website. I can't seem to get them to work right. Hulu works perfectly for me, with Firefox and either the free clone or official Flash players. Two different Lenny systems. -- Carl Fink [EMAIL PROTECTED] Read my blog at blog.nitpicking.com. Reviews! Observations! Stupid mistakes you can correct! OK well before this gets too OT... When I go to Hulu and click any video, I get taken to a page and everything looks OK but when I click play, the video goes to white and nothing happens. I tried a number of shows with the same response. I was actually composing an email detailing what I had done to replicate it when I thought I should test on a second computer. Another Debian Lenny (fully updated) with Adobe flash plugin. Same thing. I thought I might really have an issue until it occurred to me that the machines I tested were dev boxes all running 64bit (because we are planning on rolling out new 64bit hardware when Lenny is released). So I booted up my virtual machine with an old, not-updated-in-months, Debian Etch 32bit system. I grabbed a newer version of Iceweasel and the flash plugins and tada! It worked! Well as best as can be expected from a VM (little choppy and sound was a mess). It looks like there have been quite a few improvements because I didn't have a 64bit system the last time I tried Hulu (some months ago and also there is a lot more content now too!). Anyone using 64bit Debian have Hulu working? Also...I changed the Iceweasel user agent string to Firefox and refreshed NBC's website. Same as those before me, I just got the peacock but nothing else. So in summary: NBC's website doesn't appear play well with Linux. Hulu looks like it might be an alternative to OP's problem ( http://www.hulu.com/search/Heroes?company=nbctype=episode ). However, 64bit seems to have problems (for me at least). Have fun! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]