Re: fstab for usb devices in Squeeze

2011-07-26 Thread Huang, Tao
On Mon, Jul 25, 2011 at 7:51 AM, Mark Grieveson wrote: > Hello.  Back in the good old days when I used Lenny, I was able to > mount my usb stick, mount my digital camera, and sync my palm pilot, > at the same time.  After upgrading to Squeeze, this now seems like an > impossible dream. > > My fsta

Re: BoF?

2011-07-26 Thread Huang, Tao
On Tue, Jul 26, 2011 at 10:40 PM, T o n g wrote: > Hi, > > What does BoF stands for? Birds of a Feather http://en.wikipedia.org/wiki/Birds_of_a_Feather_(computing) Cheers, Tao -- http://huangtao.me/ School of Mathematical Sciences Peking University -- To UNSUBSCRIBE, email to debian-user-r

Re: libreoffice在KDE 4.6下无法启动

2011-07-26 Thread Huang, Tao
2011/7/21 Di Shaodong : > 如题,无论是通过菜单还是通过终端,都是只出现启动画面,然后进度条不走,然后便消失了。更无法理解的是,通 > 过终端启动居然没有任何提示信息,就好像程序已经正常启动了,但事实上没有。各位有谁遇到过同样的问题,有谁 > 知道如何解决吗? > > p.s. 我用的是Debian Sid最新版。libreoffice-kde已装。 我前段時間遇到過 要關閉一個libreoffice默認開啟的選項才能啟動 好像是qt的bug還是哪個包帶進來的bug 記不清了 其實設一個環境變量就可以解決 讓libreoffice使用gtk 現在找不到當時是怎麼改的

Re: installing debian from USB... IS IT POSSIBLE?

2011-07-26 Thread Huang, Tao
On Tue, Jul 26, 2011 at 10:15 PM, thuilliercharmet wrote: > " not sure that your minority will be part of my "global" diversity . " > franckly and directly. > > With my best that i can at the moment because i have the same problem > than you : no dvd reader (means i am limited in choice OR nob

Re: installing debian from USB... IS IT POSSIBLE?

2011-07-26 Thread Huang, Tao
On Tue, Jul 26, 2011 at 7:16 PM, Dirk wrote: > for the love of everything that doesn't suck... > > could it be any harder to find a USB stick image to install debian from? [snip] debian iso images have native usb stick support. what u want is a one-liner. and i won't explain too much to u, in cas

Re: locate something not exist

2011-04-28 Thread Huang, Tao
off-topic: mlocate have some advantages over locate. it does a partial scan on modified files only, which makes it's updatedb much faster and disk friendly. u may already be using it if u have it installed, since mlocate has a higher score in the update-alternatives system than the original locat

ttf-liberation over ttf-mscorefonts; was Re: Why doesn't debian remove the proprietary software from it's servers?

2011-04-27 Thread Huang, Tao
On Wed, Apr 27, 2011 at 7:13 PM, Klistvud wrote: > Dne, 27. 04. 2011 12:36:03 je Andrei Popescu napisal(a): >> >> On Mi, 27 apr 11, 12:09:56, Klistvud wrote: >> > >> > Seems a quite reasonable policy to me. Of course, we all wish we >> > could run free software ponly on our machines, but the time

Re: Debian 6: openvpn tun0 device not created

2011-04-26 Thread Huang, Tao
On Wed, Apr 27, 2011 at 4:14 AM, Chris wrote: > Chris wrote: > >> I have a new installed Debian 6 system (Fujitsu Siemens tablet st4121) >> that runs fine so far. When I set up openvpn, the tun0 device is not >> created. /dev/net/tun exists, but ifconfig tells: >> >> sudo ifconfig tun0 >> tun0: Fe

Re: Connect to a hidden wireless by command line

2011-04-25 Thread Huang, Tao
On Tue, Apr 26, 2011 at 9:16 AM, Marcelo Laia wrote: > Hi, > > I am in a hidden wireless network when I could connect in it set this > commands in /etc/network/interfaces: > > auto wlan0 > iface wlan0 inet static > wpa-driver wext > wpa-conf managed > wpa-ssid BLABLABLABLA > wpa-ap-scan 2 > wpa-pr

Re: Issue writing image to disk via dd

2011-04-25 Thread Huang, Tao
On Mon, Apr 25, 2011 at 4:54 PM, Mark Kane wrote: [...] > So the problem only happens when overwriting the live system in either > Etch or Squeeze. Lenny works exactly as expected so I guess I could try > upgrading the remote server from Etch to Lenny and then do it, but it > still seems odd that

Re: Issue writing image to disk via dd

2011-04-24 Thread Huang, Tao
On Mon, Apr 25, 2011 at 10:00 AM, Mark Kane wrote: > On Mon, Apr 25, 2011, at 09:45:44 +0800, Huang, Tao wrote: >> what do u mean by "live running file system"? >> a mounted file system? > > Yes. Debian is installed and running on sda and I am trying to > overw

Re: Issue writing image to disk via dd

2011-04-24 Thread Huang, Tao
On Mon, Apr 25, 2011 at 7:48 AM, Mark Kane wrote: > On Sun, Apr 24, 2011, at 22:54:48 +0800, Huang, Tao wrote: [...] > When using either of the above commands, there is no difference > outputted from diff between the data written by Lenny (where it works) > and Squeeze (wher

Re: list all the devices connected to the router

2011-04-24 Thread Huang, Tao
On Mon, Apr 25, 2011 at 12:52 AM, Kamaraju S Kusumanchi wrote: > I connect my PCs to internet via Verizon DSL router. When I go to > 192.168.1.1 in a browser (say firefox), I am able to see all the computers > connected to this router. > > However, from command line is there any way to probe for t

Re: Issue writing image to disk via dd

2011-04-24 Thread Huang, Tao
what about a binary diff on those two written images. i guess the difference should be at the beginning / end of the device. just diff their hex value instead of a real binary diff. try $ dd if=/dev/sda bs=1024 count=1 | hexdump -x > outfile or $ dd if=/dev/sda bs=1024 skip=30719 count=1 | hexd

Re: test usb drive read / write speed

2011-04-24 Thread Huang, Tao
On Sun, Apr 24, 2011 at 9:44 PM, Camaleón wrote: [...] > You may find useful this link: > > http://grigio.org/microsd_class_6_performance_benchmarks > > It seems to be using "palimtest", a nice GUI tool included within the > GNOME desktop. Just a careful note here, write speed test needs the > dev

Re: test usb drive read / write speed

2011-04-24 Thread Huang, Tao
On Sun, Apr 24, 2011 at 1:14 PM, Ron Johnson wrote: > On 04/23/2011 11:09 PM, Huang, Tao wrote: [snip] >> is there a utility that: >> 1. benchmarks random access, >> 2. can do random writing on unused spaces for major filesystems, >> 3. deals with the buffer proper

Re: test usb drive read / write speed

2011-04-24 Thread Huang, Tao
On Sun, Apr 24, 2011 at 1:14 PM, Ron Johnson wrote: > On 04/23/2011 11:09 PM, Huang, Tao wrote: [snip] >> is there a utility that: >> 1. benchmarks random access, >> 2. can do random writing on unused spaces for major filesystems, >> 3. deals with the buffer proper

test usb drive read / write speed

2011-04-23 Thread Huang, Tao
hi list, i was trying to find out among several microSD cards which one has the fastest speed. i searched the web and didn't see any efficient solutions. are there conventional ways to test usb drive read / write speed? or any block device? i'm currently using hdparm for reading speed test. $ hd

Re: [help-a-newb] setting grub

2011-04-06 Thread Huang, Tao
On Wed, Apr 6, 2011 at 11:32 PM, Tom H wrote: [snip] > 1. Set "GRUB_DEFAULT=saved" in "/etc/default/grub" and run > "grub-set-default "; update-grub". You will then always boot by > default with the last kernel with which you booted. you dont boot with the the last entry you used unless you had th

Re: [help-a-newb] setting grub

2011-04-06 Thread Huang, Tao
On Wed, Apr 6, 2011 at 10:56 PM, Joel Rees wrote: [snip] > Another problem is the fragile linkage. If Debian ends up with more > than two entries there, or if, for some reason I delete the rescue > mode entry, having the third entry as the default suddenly is not what > I want. Maybe that won't ha

Re: Can I get some help with this? (Cleaning bad dependencies with APT)

2011-04-06 Thread Huang, Tao
On Wed, Apr 6, 2011 at 3:46 AM, Ken Ingram wrote: [snip] > apollo:/var/www/fss# cat /etc/apt/sources.lst > cat: /etc/apt/sources.lst: No such file or directory should be /etc/apt/sources.list it appears to me that purging "kdepim-dev" and reinstall it afterwards might be a solution. and what's th

Re: The following packages cannot be authenticated

2011-04-06 Thread Huang, Tao
I'm not familiar with the SwiftLinux project. guess you'll have to manually update your keys. see this wiki page for instructions. http://wiki.debian.org/SecureApt Cheers, Tao -- http://huangtao.me/ http://www.google.com/profiles/UniIsland School of Mathematical Science, Peking University --

Fwd: Updating files in /etc Remotely (and automated)

2010-09-12 Thread Huang, Tao
-- Forwarded message -- From: Hal Vaughan Date: Sun, Sep 12, 2010 at 11:52 PM Subject: Re: Updating files in /etc Remotely (and automated) To: "Huang, Tao" On Sep 12, 2010, at 9:33 AM, Huang, Tao wrote: > On Sun, Sep 12, 2010 at 5:15 AM, Hal Vaughan wrote:

Re: How 'stable' is squeeze?

2010-06-24 Thread Huang, Tao
On Thu, Jun 24, 2010 at 11:34 AM, John A. Sullivan III wrote: > Well . . . I suppose this is not hijacking as it is about stability and > usability.  I eagerly ran my apt-get update and apt-get upgrade, > rebooted and, voila, X refused to start.  I finally installed the > proprietary nvidia driver

Re: X login screen with onscreen keyboard

2010-06-23 Thread Huang, Tao
On Thu, Jun 24, 2010 at 12:25 PM, jeremy jozwik wrote: > hmm... edited the two files as instructed but not only do i get no > keyboard but a nice notifier telling me that my config is bad. make sure you used correct syntax. > along with that, gdm.conf in debian lenny is located in /etc/gdm/ > an

Re: LEMP Development Server

2010-06-23 Thread Huang, Tao
On Wed, Jun 23, 2010 at 9:42 PM, GNUbie wrote: [snip] > You mean, it's possible that a user can create MySQL users, databases, > tables, etc. anytime they wanted to? Likewise, they can change the > MySQL configuration, change DB engine, restart the service, and many > others without affecting the

Re: Sound in iceweasel? (fwd)

2010-06-22 Thread Huang, Tao
On Tue, Jun 22, 2010 at 11:29 PM, I Rattan wrote: > I missed the response, so, trying again. > > -ishwar > > -- Forwarded message -- > Date: Fri, 28 May 2010 12:39:37 -0400 (EDT) > From: I Rattan > To: debian-user@lists.debian.org > Subject: Sound in iceweasel? > > > I can play th

Re: e2fsck: HOWTO tutorial

2010-06-22 Thread Huang, Tao
On Tue, Jun 22, 2010 at 1:33 PM, Augustin wrote: > > Hello, > > I must learn to use e2fsck as I am having some I/O problems on some of > my external drives. > I checked all the existing documentation everywhere I could think of > (including the Debian official documentation and existing HOWTOs fro

Re: Between a Rock and a Hard Place (Installing Squeeze)

2010-06-21 Thread Huang, Tao
On Mon, Jun 21, 2010 at 9:10 PM, Alan Chandler wrote: > I have spent the last couple of days (intermittently) failing get a usb > bootable installation for squeeze that will work with my hardware and AMD-64 > (I have inadvertently built an i386 system [twice] - because I have an old > squeeze inst

Re: Version in use

2010-06-21 Thread Huang, Tao
On Mon, Jun 21, 2010 at 7:18 PM, Cliff Ayling wrote: > How do I find out which version of operating system I have? Please. cat /etc/issue /proc/version Tao -- http://huangtao.me/ http://www.google.com/profiles/UniIsland -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a

Re: Torrents killing my conection

2010-06-21 Thread Huang, Tao
On Mon, Jun 21, 2010 at 12:43 PM, Ron Johnson wrote: [snip] >> he won't be able to get the 4.4G iso file without pausing and >> resuming, if a misconfigured networking enviroment (or flaky wireless) >> was the reason. >> > > From what I can remember of his claims, it (downloading a torrent) over t

Re: Torrents killing my conection

2010-06-20 Thread Huang, Tao
On Mon, Jun 21, 2010 at 12:18 PM, Mark Allums wrote: > If you use Iceweasel for downloading, try the Firefox add-on Downthemall for > management of downloads.  I use and recommend it.  Mainly for safer "pause" > (or dropped connection) and "resume". no, we don't want download managers here. we ar

Re: Torrents killing my connection

2010-06-20 Thread Huang, Tao
On Mon, Jun 21, 2010 at 11:44 AM, ABS Doug wrote: [snip] > -Error messages: Don't know where to look. Visual indication is Skype > is offline & internet is offline so the torrents render you wireless disconnected. if your wifi adapter driver supports auto-reconnecting, everything should be solve

Re: Torrents killing my conection

2010-06-20 Thread Huang, Tao
On Mon, Jun 21, 2010 at 9:59 AM, ABS Doug wrote: > Yes, quite right, a DVD. Now which one? download this one [1] with iceweasel and see if it fails or encounters any glitch. [1]: http://cdimage.debian.org/debian-cd/5.0.4/amd64/iso-dvd/debian-504-amd64-DVD-1.iso Tao -- http://huangtao.me/ http

Re: Torrents killing my connection

2010-06-20 Thread Huang, Tao
On Mon, Jun 21, 2010 at 10:10 AM, H.S. wrote: > On 06/20/10 21:55, Ron Johnson wrote: >> On 06/20/2010 08:26 PM, Huang, Tao wrote: >> [snip] >>> >>> torrents over wireless can be very tricky. >> >> Why? >> > > I think he is over-simplifyin

Re: Torrents killing my connection

2010-06-20 Thread Huang, Tao
On Mon, Jun 21, 2010 at 5:30 AM, ABS Doug wrote: [snip] > I rent a room. The router is in a different part of the house. WiFi is > included in the rent. I already asked about moving the router, but > that isn't gunna happen. The router isn't even mine. I might end up > trying to run a splitter at

Re: Well, this is interesting... (was Re: Torrents killing my connection)

2010-06-20 Thread Huang, Tao
On Mon, Jun 21, 2010 at 5:18 AM, ABS Doug wrote: > No problem. From now on, I'm hitting reply to all. nah, read the code of conduct http://www.debian.org/MailingLists/#codeofconduct "When replying to messages on the mailing list, do not send a carbon copy (CC) to the original poster unless they

Re: netstat (was Re: Torrents killing my conection)

2010-06-20 Thread Huang, Tao
On Mon, Jun 21, 2010 at 2:56 AM, Ron Johnson wrote: [snip] > Nope, since that also returns tcp6 packets.  This does it simplest: > $ netstat -ant4 so you are not taking use of ipv6 p2p. Tao -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Troub

Re: 32bits and 3G memory limit

2010-06-20 Thread Huang, Tao
articles to read: https://secure.wikimedia.org/wikipedia/en/wiki/3_GB_barrier https://secure.wikimedia.org/wikipedia/en/wiki/64-bit#Limitations Tao -- http://huangtao.me/ http://www.google.com/profiles/UniIsland On Mon, Jun 21, 2010 at 12:32 AM, T o n g wrote: > Hi, > > Sorry if it is a FAQ, >

Re: grb2 can't boot my ext4 partition

2010-06-20 Thread Huang, Tao
On Sun, Jun 20, 2010 at 11:50 PM, mess-mate wrote: > i've squeeze and lenny installed and squeeze as a production system now. > Recently installed grub2 (1.98) on squeeze on the MBR of hd0. > Evereting goes well but i can't  boot lenny. > The lenny file system partitions are for /boot ext3 and all

Re: Torrents killing my conection

2010-06-20 Thread Huang, Tao
On Sun, Jun 20, 2010 at 6:32 PM, Stan Hoeppner wrote: > Ron Johnson put forth on 6/20/2010 1:58 AM: > >> $ netstat -an | grep ^tcp\  | grep -v LISTEN | wc -l >> 111 > > You might get a more accurate count of BitTorrent connections with: > > netstat -an | grep ^tcp\  | grep ":"[6][8,9][0-9][0-9] |

Re: Installing from businesscard ISO

2010-06-20 Thread Huang, Tao
On Sun, Jun 20, 2010 at 7:53 PM, Disc Magnet wrote: [snip] > Why do you say that CD1 would be useful if we don't have a net > connection. It seems that the netinstall can install a base system as > well. I hope netinstall would install a system with the basic tools > like ls, aptitude, vim, etc. I

Re: [ubuntu-bo] Desconfiguración al conectrar lapto p a la tele :S

2010-06-19 Thread Huang, Tao
When you use the "Reply to all" button in Gmail, check the addresses before hitting "Send" Tao -- http://huangtao.me/ http://www.google.com/profiles/UniIsland 2010/6/20 Tn 4dm1n : > una cosa tienes que tener en cuenta que para que lso menus se acomoden a la > resolucion del pantalla de 32 de pu

Re: Pre-Install Question

2010-06-19 Thread Huang, Tao
look for the listing in the mirror directory hierarchy. go up one level and you'll find http://cdimage.debian.org/debian-cd/5.0.4/i386/list-dvd/ btw, the first disc contains the installer and the most frequently used packages. Do not post to multiple mailing list. and this question is totally ir

Re: cp: backup version control

2010-06-18 Thread Huang, Tao
On Sat, Jun 19, 2010 at 8:36 AM, T o n g wrote: > Hi, > > >From 'man cp': > > ,- > | The backup suffix is `~', unless set with --suffix or SIM- > | PLE_BACKUP_SUFFIX.  The version control method may be > | selected via the --backup option or through the > | VERSION_CONTROL environment variable

Re: partition re-sizing

2010-06-18 Thread Huang, Tao
On Sat, Jun 19, 2010 at 7:03 AM, Jim Pazarena wrote: > Does debian have a native way to re-size a partition which > can be run live? "parted" should be the choice. you can also use a gui of it, like gparted. what do you mean by live? in most cases, you can only resize a unmounted partition > I

Re: UUID in fstab?

2010-06-18 Thread Huang, Tao
On Sat, Jun 19, 2010 at 1:15 AM, Thomas H. George wrote: > I edited fstab and replaced /dev/sda1 with UUID=507caf8f-f9cd... (i.e. > an hell of a long string I obtained from blkid /dev/sda1) leaving the > rest of the line unchanged as /bkups  ext3  rw,user,noauto  0  2 > > Next I rebooted the syste

Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-18 Thread Huang, Tao
On Fri, Jun 18, 2010 at 6:02 PM, Tom H wrote: [snip] > mdadm assembles an array according to data in the superblock so it > shouldn't matter whether the kernel recognizes sda and sdb as sdb and > sda respectively should you plug them in differently. so they's recognized with data in the superbloc

Re: Ntpdate Errors (previously posted, +)

2010-06-17 Thread Huang, Tao
On Thu, Jun 17, 2010 at 11:42 PM, David Baron wrote: > > [snip] > > So .. I got rid of ntpdate altogether, installed the ntp daemon instead. I > still get the error messages, now with /usr/sbin/ntpdate does not exist (of > course). So I still need to find the original cron script! > write a scrip

Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-17 Thread Huang, Tao
On Thu, Jun 17, 2010 at 4:17 PM, Michal wrote: > This is a better way then disconnecting the drive and checking which > drive was disconnected like I did, but I would still put a very easy to > read label on the drive to say /dev/sdX. It would be far easier then > checking a long serial number, es

Re: Triple boot with MS XP

2010-06-16 Thread Huang, Tao
On Thu, Jun 17, 2010 at 11:03 AM, ABSDoug wrote: > I've never heard this term "Symlink". I'm off to Google, but if you care to > elaborate, please feel free! > i didn't notice that you are not familiar with the symbolic link solution. actually, it's the simplest way. i should have mentioned it i

Re: Triple boot with MS XP

2010-06-16 Thread Huang, Tao
On Wed, Jun 16, 2010 at 2:34 PM, ABSDoug wrote: > Cheesy that I wouldn't just write straight to the partition with /home files, > from XP. The way I have it setup now, info is stored on a ntfs named > "storage", any OS can read/write. That said, I don't really use XP that much > anyway. > why

Re: deb_checkmd5sum?

2010-06-15 Thread Huang, Tao
nvokes a Tiger > sub-package called "check_system" - which in turns runs a procedure called > "checkmd5sum" - which shows up in a process listing as deb_checkmd5sum > (which, I think, comes from a library).  We'll see if turning off that job > stops the nightly crash

Re: deb_checkmd5sum?

2010-06-14 Thread Huang, Tao
Why not search for the process name in your hard drive? Tao -- Link: http://www.google.com/profiles/UniIsland On Mon, Jun 14, 2010 at 7:52 PM, Miles Fidelman wrote: > Anybody recognize this process name? > > I'm seeing a nightly crash, and this seems to be running at the time (I've > been leav