Network automatic installation with custom mirror

2009-11-14 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi list,

I try to install my server from pxe boot and encounter some issue.

Because my network bandwidth is very limited and I can't wait too long
to install a server, so I collect all I need packages include packages
from security.debian.org and ftp.us.debian.org and run apt-move to get a
proper archive hierarchy that can be act as a mirror.

The command apt-move above generate a modified Release file in
/debian/dists/lenny/Release, and I have to sign this file to make the
installer trust me. So I sign the /debian/dists/lenny/Release with my
gpg key, then I custom the /var/lib/tftpboot/./initrd.gz and add my
gpg key to initrd's /usr/share/keyrings/debian-archive-keyring.gpg

Then I use pxeboot and preseed to install the Debian system. The new
issue raised because in target system, my key does not added as trusted key.

It seems the target's trusted key is generated at debootstrap step in
debian-installer, I don't know how can I hack into it to add my gpg key
as trusted key.

Anyway, I think what I did it too complicated and there should be an
easy way to fit my requirement. I appreciated if you can give me some
clue to resolve this problem.

Thanks
Ding

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr/krcACgkQJo9Njjkvy36yXACgt47FqGwQbuNL4tHj8Q4JMZC0
2J4AoMlOCKoZbyijop64X5OEKcrS1Jj6
=O9Wd
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Show Chinese font at Linux boot

2009-07-17 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

User Debian wrote:
> Hello All,
> 
> I would like to be able to see the Chinese font from the moment I boot
> Linux (i.e. before I start Gnone).
> 
> So far, I have installed the Chinese font as follow from this page:
> http://isis.poly.edu/~qiming/chinese-debian-mini-howto.html
> I did steps 1, 2 and 3:
> 
> |*1- dpkg-reconfigure locales
> 
> *|2- apt-get install ttf-arphic-bkai00mp ttf-arphic-bsmi00lp
> ttf-arphic-gbsn00lp ttf-arphic-gbsn00lp
> 
> 3- apt-get install scim scim-chinese scim-tables-zh
> 
> However I am unable to display anything: it remains in Western fonts. I
> would be happy to get some help from you.
> 
> Many thanks in advance,
> 
> Regards,
> 
> Eric
> 
> 
What you need maybe is zhcon or cce.

Run zhcon in console and you can see Chinese charactors now.

- --Ding
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpgaIoACgkQJo9Njjkvy37vRQCgkhjU8qpq0TZeZeov8D20FJLp
1jEAoLjhM988VUrxHu2L662GgUNQp/Qo
=QbZv
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Question about ipmitool and DRAC4

2009-04-29 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello List,

These days I learn to use ipmitool, it works great with DRAC 5, but I
can't use ipmitool to config DRAC 4.

Can anyone help me to figure out how can use ipmitool to config DRAC 4
or if there are no way to config it by ipmitool?

Regards,
Ding Honghui
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn5QVYACgkQJo9Njjkvy36LIwCfVxVWivR7G1fZcoiWp2VBtcXr
iZQAn2sclZyQUdYa+tB0HEARKielUIO0
=YdPu
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: mount foo.img problem

2009-02-07 Thread Ding Honghui
Thomas H. George wrote:
> I have carefullly followed the instructions in man mount and in the
> Debian Reference manual, for example
> 
> mount -o loop -t ext3 debxo-awesome.ext3.img /media/sdloop
> 
> or
> 
> mount dexo-awesome.ext3.img /media/sdloop -t ext3 -o loop
> 
> In both cases the mount command exits with a message:
> 
> Can't find ext3 filesystem on dev loop0.
> 
> 
> What must I do to be able to mount this image file?
> 
> Tom
> 
> 
There are no ext3 filesystem in file dexo-awesome.ext3.img. Maybe no
filesystem or filesystem such as ntfs,vfat(fat32) in dexo-awesome.ext3.img.
If you would like to create ext3 filesystem on this file, please run

mkfs.ext3 dexo-awesome.ext3.img


Regards,
Ding Honghui


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: umask problem

2009-02-07 Thread Ding Honghui
Boyd Stephen Smith Jr. wrote:
> On Wednesday 04 February 2009 20:55:50 Ding Honghui wrote:
>> Bash will not read the profile when in notty mode.
>> The /etc/profile and .bash_profile both set the umask to 022, so after
>> login, the hostA and hostB any user have same umask.
>> The problem occurs in notty mode.
> 
> Perhaps .bashrc then?  That should be run for all interactive shells 
> (including some shells that look interactive, but aren't).
Not the .bashrc, any other possible clue?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: /dev/sda16 (140GB)

2009-02-04 Thread Ding Honghui
magdi wrote:
> Hello,
> 
> I'm facing a problem to mount ext3 partition 140GB under debian etch-
> and-a-half kernel  2.6.26-1-686 #1 SMP  
> 
> linuxbox:/dev# fdisk -l
> 
> Disk /dev/sda: 250.0 GB, 250059350016 bytes
> 255 heads, 63 sectors/track, 30401 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x12481247
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   *   13825307242817  HPFS/NTFS
> /dev/sda23826   30401   213471720f  W95 Ext'd (LBA)
> /dev/sda538268032337926967  HPFS/NTFS
> /dev/sda6   *80338178 1172713+  83  Linux
> /dev/sda781798324 1172713+  83  Linux
> /dev/sda883259078 6056473+  83  Linux
> /dev/sda990799163  682731   83  Linux
> /dev/sda10   91649345 1461883+  83  Linux
> /dev/sda11   93469588 1951866   83  Linux
> /dev/sda12   95899710  979933+  83  Linux
> /dev/sda13   97119892 1461883+  82  Linux swap /
> Solaris
> /dev/sda14   9893   11108 9767488+  83  Linux
> /dev/sda15  11109   12324 9767488+  83  Linux
> /dev/sda16  12325   30401   145203502   83  Linux
> 
> linuxbox:/dev# mount -t ext3 /dev/sda16 /mnt
> mount: special device /dev/sda16 does not exist
> 
> i'm always getting this error as the /dev/sda16 not created!
> 
> please advice.
> 
> Thank you 
> Magdi
>  
> 
> 

Have you reboot after you create the partition?
The udev will create node /dev/sda16 for you after you reboot.

Regards,
Ding Honghui


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: umask problem

2009-02-04 Thread Ding Honghui
Hello Jeff,

Bash will not read the profile when in notty mode.
The /etc/profile and .bash_profile both set the umask to 022, so after
login, the hostA and hostB any user have same umask.
The problem occurs in notty mode.

Regards,
Ding Honghui

Jeff D wrote:
> On Thu, 5 Feb 2009, Ding Honghui wrote:
> 
>> Hello list,
>>
>> I encounter a problem and can't finger out why it is:
>>
>> For hostA
>> 1. ssh u...@hosta umask shows 0022
>> 2. ssh r...@hosta umask shows 0022
>> For hostB
>> 3. ssh u...@hostb umask shows 0077
>> 4. ssh r...@hostb umask shows 0022
>>
>> md5sum for files
>> /etc/login.defs
>> /etc/pam.d/login
>> /etc/pam.d/ssh
>> /etc/ssh/sshd_config
>> in both hosts are same
>>
>> What can be reason the umask are different in normal user when ssh in
>> notty mode?
>>
>> Thanks.
>>
>> Regards,
>> Ding Honghui
> 
> Have you checked that users .bash_profile, that would be my first guess..
> 
> Jeff
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



umask problem

2009-02-04 Thread Ding Honghui
Hello list,

I encounter a problem and can't finger out why it is:

For hostA
1. ssh u...@hosta umask shows 0022
2. ssh r...@hosta umask shows 0022
For hostB
3. ssh u...@hostb umask shows 0077
4. ssh r...@hostb umask shows 0022

md5sum for files
/etc/login.defs
/etc/pam.d/login
/etc/pam.d/ssh
/etc/ssh/sshd_config
in both hosts are same

What can be reason the umask are different in normal user when ssh in
notty mode?

Thanks.

Regards,
Ding Honghui


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Help on kerberos passwordless login in ssh service

2008-11-30 Thread Ding Honghui
Hello list,

My OS is Debian 4.0.
I install 3 server, 1 is kerberos server(krb), 1 is ssh client(sshc) and
1 is ssh server(sshs).
My kerberos server installed krb5-admin-server and krb5-kdc.
I has add a principal root and host/krbsshs.hz.vobile in kerberos server.
For ssh client and ssh server, I install krb5-user and krb5-config.

I would like to test if I can ssh from sshc to sshs passwordlessly.

I run kinit -f and klist, it seems ok.

But, when I ssh to sshs, it prompt me to input password, I input the
kerberos password, then I login to the server. That's not I wanted. How
should I config so that I can login to sshs from sshc without password.

krb


krb:~# kadmin.local
Authenticating as principal root/[EMAIL PROTECTED] with password.
kadmin.local:  listprincs
K/[EMAIL PROTECTED]
host/[EMAIL PROTECTED]
kadmin/[EMAIL PROTECTED]
kadmin/[EMAIL PROTECTED]
kadmin/[EMAIL PROTECTED]
kadmin/[EMAIL PROTECTED]
krbtgt/[EMAIL PROTECTED]
root/[EMAIL PROTECTED]
[EMAIL PROTECTED]
kadmin.local:  quit
krb:~#

sshc


Host *
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes

Regards,
Ding Honghui


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: need help with bash command

2008-11-20 Thread Ding Honghui
tôba wrote:
> Hello,
> 
> Can you help me with a bash command?
> I a directory, I want to extract with a command line for jpg name files.
> I have a lot of:
> 
> icon_3620_0_1.jpg
> icon_3616_0_1.jpg
> icon_3563_0_1.jpg
> 
> I want to extract the number betwen icon_*_0_1.jpg AND I want to use
> the entire filename too in the same command.
> 
> The goal is to create a directory called 3620 and move the
> icon_3620_0_1.jpg file into this directory.
> 
> So, I did like this for test:
> 
> # for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
> icon_$a_0_1.jpg; done
> 
> I hope it should give me:
> 
> icon_3620_0_1.jpg
> icon_3616_0_1.jpg
> icon_3563_0_1.jpg
> 
> like the original
> 
> BUT in my surprise, it shows:
> 
> icon_.jpg
> icon_.jpg
> icon_.jpg
> icon_.jpg
> 
> Why?
> Where is the $a_0_1 gone? Surely I missed something but I cannot
> find it.
> Can you tell me how to reproduce the exact filename so?
> 
> Best regards,
> 
> --
> Tôba
> 
> 

Hello, do you means like that?
for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
icon_${a}_0_1.jpg; done

A better way maybe is:
[EMAIL PROTECTED]:~/test/jpg$ touch icon_3563_0_1.jpg  icon_3616_0_1.jpg
icon_3620_0_1.jpg
[EMAIL PROTECTED]:~/test/jpg$ ls
icon_3563_0_1.jpg  icon_3616_0_1.jpg  icon_3620_0_1.jpg
[EMAIL PROTECTED]:~/test/jpg$ ls | awk -F_ '{print $2}'
3563
3616
3620
[EMAIL PROTECTED]:~/test/jpg$


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to change date of system

2008-11-12 Thread Ding Honghui
abdelkader belahcene wrote:
> Hi,
> I want to change the time for my system, ( the time displayed doesn't
> correspond to my country which is gmt+1)
> I use date -s, but I have to do it at each reboot,
> how to do it permanently
> 
> thanks a lot
> bela
date -s
then
hwclock -w

you'd better install ntp to sync the date from internet server.

Regards,
Ding Honghui


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Any suggest on NFS server in product environment?

2008-10-08 Thread Ding Honghui

hi list,

Any suggest on NFS server in product environment?
nfs-user-server or nfs-kernel-server?
We need stable nfs server.

Regards,
Ding Honghui


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Anyone knows why django in lenny is removed?

2008-09-08 Thread Ding Honghui
Anyone knows why django in lenny is removed?

It seems no critical bug in python-django, and django is licensed under
BSD licence.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



nfs problem

2008-07-21 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

nfs server 192.168.110.28
FilesystemSize  Used Avail Use% Mounted on
/dev/sdb1 2.2T  1.6T  473G  78% /home

/etc/exports
/home/nfs_for_217  192.168.110.27/255.255.255.255 (rw,sync,no_root_squash)

nfs client
FilesystemSize  Used Avail Use% Mounted on
192.168.110.28:/home/nfs_for_217
  170G -417G  474G   -  /data_nfs218

What's the problem? The field Used is -417 and field Use% is -.
It's really strange..

thanks

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiEZ04ACgkQJo9Njjkvy372fgCffo9vfZra66+rRzkwiaFDeAre
Rn8AmwWST1LMI/Mknc51OSgjYauCAUrl
=ndad
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cpuinfo in HP DL580 G4

2008-07-10 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Fox wrote:
> On Wed, Jul 9, 2008 at 11:09 PM, Ding Honghui <[EMAIL PROTECTED]> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> hi, here is the cpuinfo for HP DL580 G4 with kernel 2.6.18-6-686. HT is
>> not disabled.
>>
>> This server have 4 slots for cpu and every slot can contain a dual core
>> cpu.
> 
>>From your cpuinfo file it looks like you  have 8 cpus (4 and all are
> dual core) so I don't see where the problem lies.
> 
> Also all of those cpus support long mode so you could switch to a 64
> bit platform and solve your other problem with the system's memory not
> all being seen. There's also an overhead that only goes away when you
> do 64bit, when it tries to address memory over 4 gigs.
> 
> 
The question is why physical id is not 0 1 2 3? here physical is 0 and
1. Does not physical id means slot?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdrqbJo9Njjkvy34RAi7XAKCW0uNXKHeC8UTHt32MmEp7h6b9eACfcNd7
/SfBBJ9Hh0dp9HkyGL2D3AM=
=DhRd
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



cpuinfo in HP DL580 G4

2008-07-09 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi, here is the cpuinfo for HP DL580 G4 with kernel 2.6.18-6-686. HT is
not disabled.

This server have 4 slots for cpu and every slot can contain a dual core
cpu.

But in this cpuinfo file, only physical id 0 and physical id 1 exist, it
means only 2 slot is used and every slot contain 2 dual core cpu? It
confuse me.

/proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Xeon(TM) CPU 3.00GHz
stepping: 8
cpu MHz : 2992.970
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm
bogomips: 5991.80

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Xeon(TM) CPU 3.00GHz
stepping: 8
cpu MHz : 2992.970
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm
bogomips: 5985.40

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Xeon(TM) CPU 3.00GHz
stepping: 8
cpu MHz : 2992.970
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 1
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm
bogomips: 5985.35

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Xeon(TM) CPU 3.00GHz
stepping: 8
cpu MHz : 2992.970
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 1
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm
bogomips: 5985.52

processor   : 4
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Xeon(TM) CPU 3.00GHz
stepping: 8
cpu MHz : 2992.970
cache size  : 4096 KB
physical id : 1
siblings: 4
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm
bogomips: 5985.77

processor   : 5
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Xeon(TM) CPU 3.00GHz
stepping: 8
cpu MHz : 2992.970
cache size  : 4096 KB
physical id : 1
siblings: 4
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm
bogomips: 5985.62

processor   : 6
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Xeon(TM) CPU 3.00GHz
stepping: 8
cpu MHz : 2992.970
cache size  : 4096 KB
physical id : 1
siblings: 4
core id : 1
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu

big memory kernel on HP DL580 G4

2008-07-09 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi, list

I have install kernel 2.6.18-6-686 on HP DL580 G4, It works. But full
memory is not recognized. So I install the bigmem version of memory. It
frozen on Checking TSC synchronization across 16 CPUS: passed. Brought
up 16 CPUs.

What's next?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdJSxJo9Njjkvy34RAqJwAKDKkRV052mmfB7DPCMo9PStrnjQfgCePAid
oIoILhftpE8ZrCGOrtSukSA=
=GeBB
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppoeconf does not work

2008-06-12 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Star Liu wrote:
> I tried it in this way:
> 1. connect from my desktop to ADSL, it works fine
> 2. disconnect the ADSL from desktop, and shutdown the desktop
> 3. run pppoeconf in my laptop
> 4. get the error message
> it seems the laptop cannot communicate with the adsl server, but I have no 
> idea on how to check and fix it.
>  
> thanks
> 
> 
> 
>> Date: Wed, 11 Jun 2008 19:32:34 -0300> From: [EMAIL PROTECTED]> To: 
>> debian-user@lists.debian.org> Subject: Re: pppoeconf does not work> > > On 
>> Thu, Jun 12, 2008 at 6:23 AM, Eduardo M KALINOWSKI> > <[EMAIL PROTECTED] 
>> > wrote:> > > Do you disconnect your desktop when 
>> you try to connect via the> > > laptop?> Star Liu wrote:> > Hi Eduardo,> > > 
>> > I'm not sure what does this mean, how to disconnect my desktop ? sorry,> > 
>> i'm a newbie.> > Firstly, please reply to the list so that others can see 
>> the posts and> possibly help you.> > Essentially, you cannot at the same 
>> time run pppoe in the desktop and in> the laptop. I do not know how one 
>> disconnects pppoe; turning off the> system should do that, at least for you 
>> to try.> > If you want both computers to have access at the same time, you 
>> need a> different setup, you cannot rum pppoe on both at the same time.> > 
>> -- > It was all so different before everything changed.> > Eduardo M KAL
INOWSKI> [EMAIL PROTECTED]> http://move.to/hpkb> > > -- > To UNSUBSCRIBE, email 
to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL 
PROTECTED]> 
> _
> Connect to the next generation of MSN Messenger 
> http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
hmm, Does ethercard on your laptop work? If it works, run tcpdump or
wireshark on it, then run pppoeconf to know what happened.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIUdyPJo9Njjkvy34RAplBAKDKxFsQm6E15AjmVjM5IpjhawFs6wCgz/Mg
S8IXZnEZmMY6KKt6cAzCEbU=
=4Se3
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian netinstall

2008-06-11 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kristian Kirilov wrote:
> Hi, i have problem with new kernel 2.6.25.6. I use the config of my debian
> debian-40r3-i386-netinst. He comming up with 2.6.18 kernel and working
> greatest. I used this config to install new kernel, the new kernel was
> compiled and booted sucessfully, but my dns not working. I not have ping
> to my isp, i don't know why? With old kernel and this config work greatest
> but with new with this config - not work.. Can somebody help me?
> 
> 
How about your network interfaces? Are they active and configed?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIULOUJo9Njjkvy34RAt62AJ0UO0TbOpHAU6BVMi8Sj8O1CBgG3ACdE9o8
O0ejFJBXoJpt8yMUSbI7whU=
=5LnS
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Where debian save iptables rules?

2008-06-11 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there a debian way to save and load iptables rule when system boot or
interface active?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIULL4Jo9Njjkvy34RAhlnAJ9fC3dMDnCYTZbYpiuUgLsT0AqC6ACbB0sZ
4wpwOb6RYSRXFl+0jU8ie20=
=PTJt
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Is there any todo manager tools?

2008-06-03 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I need a todo manager tools has such feature:

1. category support ( personal, business, etc )
2. remind before due date ( by mail ,etc )
3. relation between todo lists ( such as todo A dependence todo B )
4. support priority ( it's better when I can give it a score by
emergency and necessary )
5. easy to update, if I mark it as done, it should disappear in list but
still remain in history
6. searchable

hmm, seems bugzilla satisfy almost all these feature..

Ding Honghui
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIRjFuJo9Njjkvy34RAnKbAKCtYIfQ0Ww4zAzpsUoQwN/hl4ptNwCghQ/o
/C4zWzRYauIzEvhLBMiIFgo=
=4h4q
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



boot dom0 hang at xen is relinquishing vga console

2008-05-28 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

any suggest?

ii  linux-headers-2.6.25-2-common-xen   2.6.25-3
Common header files for Linux 2.6.25
ii  linux-headers-2.6.25-2-xen-686  2.6.25-3
Header files for Linux 2.6.25 on i686
ii  linux-image-2.6-xen-686 2.6.24+13
Linux 2.6 image on i686
ii  linux-image-2.6.24-1-xen-6862.6.24-7
Linux 2.6.24 image on i686
ii  linux-image-2.6.25-2-xen-6862.6.25-3
Linux 2.6.25 image on i686
ii  linux-image-xen-686 2.6.24+13
Linux image on i686
ii  linux-modules-2.6.24-1-xen-686  2.6.24-7
Linux 2.6.24 modules on i686
ii  linux-modules-2.6.25-2-xen-686  2.6.25-3
Linux 2.6.25 modules on i686
ii  xen-hypervisor-3.2-1-i386   3.2.0-5
The Xen Hypervisor on i386
ii  xen-utils-3.2-1 3.2.0-5
XEN administrative tools
ii  xen-utils-common3.2.0-2
XEN administrative tools - common files
ii  xenstore-utils  3.2.0-5
Xenstore utilities for Xen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIPlMBJo9Njjkvy34RAkhdAKDoJ4P3DNvTisX7GQc5jBwQ3qYblACgkreg
lL48Dzri4tqnMjBIK8e/KnY=
=2V2P
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IO diagnose tools?

2008-04-14 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks for you replay.

It seems lsof does not display which process is write or read from the
block device.

As refered in kernel document Documentation/filesystems/proc.txt,
I read the document Documentation/laptop-mode.txt:

If you want to find out which process caused the disk to spin up, you can
gather information by setting the flag /proc/sys/vm/block_dump. When
this flag
is set, Linux reports all disk read and write operations that take
place, and
all block dirtyings done to files. This makes it possible to debug why a
disk
needs to spin up, and to increase battery life even more. The output of
block_dump is written to the kernel output, and it can be retrieved using
"dmesg". When you use block_dump and your kernel logging level also includes
kernel debugging messages, you probably want to turn off klogd, otherwise
the output of block_dump will be logged, causing disk activity that is not
normally there.

It works.
and any tools provide maybe better.

David Fox wrote:
> On Mon, Apr 14, 2008 at 7:23 PM, Ding Honghui <[EMAIL PROTECTED]> wrote:
>>  1. Is it means some processes are accessing my disk heavly?
> 
>> 1000 ? I'd say yes.
> 
> For comparison, my (rather) idle box is doing:
> 
> [EMAIL PROTECTED]:~$ vmstat -a 4
> procs ---memory-- ---swap-- -io -system-- cpu
>  r  b   swpd   free  inact active   si   sobibo   in   cs us sy id wa
>  2  0  61812   7992 210820 507152001342   47   44 83  7 10  0
>  0  0  61812   7960 210832 50724800 059  546 2127 39 11 50  0
>  1  0  61812   7836 210916 50728000 036  539 2093 43  8 44  4
>  0  0  61812   7804 210960 50723600 0 3  547 1943 52 10 37  0
>  1  0  61812   7556 211056 50725600 021  543 2102 41 10 49  0
>  0  0  61812   8300 210628 50707200 040  536 2084 44 10 46  0
>  1  0  61812   8300 210636 50712000 044  541 2065 35 10 55  0
>  0  0  61812   8300 210680 50708800 036  544 2066 41 11 48  0
>  0  0  61812   8300 210680 50705600 0 0  701 2198 42 12 46  0
>  1  0  61812   8052 210792 50718400 026  691 2382 45 15 41  0
>  0  0  61812   7672 211052 50726400 042  553 2110 48 12 40  0
>  0  0  61812   7640 211132 50728000 0   104  602 2010 49 11 39  0
>  1  0  61812   7516 211188 50728800 026  806 2470 47 13 40  0
> 
> The (bo) block out io is coming mostly from cdparanoia which is ATM
> trying to read in a CD to wav, and the CD is kind of dirty :(.
> 
> 
>>  2. If so, is there any IO diagnose tools exist to find out which process is?
> 
> lsof probably:
> 
> [EMAIL PROTECTED]:~$ lsof /dev/hdd
> lsof: WARNING: can't stat() reiserfs file system /dev/.static/dev
>   Output information may be incomplete.
> COMMANDPID USER   FD   TYPE DEVICE SIZE NODE NAME
> cdparanoi 7526 dfox3u   BLK  22,64  3624 /dev/hdd
> cdparanoi 7526 dfox4u   BLK  22,64  3624 /dev/hdd
> 
>>  - --
>>  Best Regards,
>>  Ding Honghui
>>  -BEGIN PGP SIGNATURE-
>>  Version: GnuPG v1.4.6 (GNU/Linux)
>>  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>>  iD8DBQFIBBGdJo9Njjkvy34RAv1NAKCRIOnyL93LGbpPt+wEZszeXBDrEgCfa8EH
>>  XGXrnYwI4GZHGgKls/FEPpU=
>>  =D4Nm
>>  -END PGP SIGNATURE-
>>
>>
>>  --
>>  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>>  with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>>
>>
> 
> 

- --
Best Regards,
Ding Honghui
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBDGfJo9Njjkvy34RArLCAKCGSTqcspZLkR0Lxi1rEZWcz2kDgACdHudj
JIcgOJBg4Zeo/6N+L0kJcVI=
=1nbZ
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



IO diagnose tools?

2008-04-14 Thread Ding Honghui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi list

vmstat 1 shows my debian box wa in field cpu is about 9x% and bi in
field io is high(about 2000-7000).

1. Is it means some processes are accessing my disk heavly?
2. If so, is there any IO diagnose tools exist to find out which process is?

- --
Best Regards,
Ding Honghui
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBBGdJo9Njjkvy34RAv1NAKCRIOnyL93LGbpPt+wEZszeXBDrEgCfa8EH
XGXrnYwI4GZHGgKls/FEPpU=
=D4Nm
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Does lxr support multi sourceroot?

2008-04-07 Thread Ding Honghui
hi, list

Does lxr support multi sourceroot?


-- 
Best Regards,
 Ding Honghui


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: add a host web name

2008-04-01 Thread Ding Honghui
fake way:

a. add www.mysampleweb.com to your /etc/hosts
b. add www.mysampleweb.com to your dns server

common way:
get a domain name www.mysampleweb.com from dns provider, you should pay
for it

hce wrote:
> Hi,
> 
> How can I add a web name such as www.mysampleweb.com to my box? I
> configurated www.mysampleweb.com to the lighttpd server running on my
> box, but I could not even ping it "unknown host www.mysampleweb.com".
> 
> Thank you.
> 
> 

-- 
Best Regards,
 Ding Honghui


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: add user as group member

2008-03-14 Thread Ding Honghui
usermod -G sys,adm,audio,disk,camera -a skyblue

jeffry s wrote:
> 
> 
> On Fri, Mar 14, 2008 at 2:29 PM, Paul Johnson <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> On Thursday 13 March 2008 11:14:43 pm jeffry s wrote:
> > i know this question sound so stupid.
> > after gooogling. i end up with useradd, groupadd, usermod,
> userdel,
> > groupmod, groupdel, groups.
> > i do not be able to determine how to add a user to particular
> group in the
> > system.
> 
> adduser can take up to two arguments.
> 
> If you call adduser with one argument, it must be the login of the
> user you
> wish to add.
> 
> If you call it with two arguments, it must be the existing user on
> the system
> and the group you wish to add that user to.
> 
> --
> Paul Johnson
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> let say i have existing  user  skyblue
> if i want to add skyblue to multiple group sys, adm, audio, disk, camera
> 
> how can i do that?

-- 
Best Regards,
 Ding Honghui


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: add user as group member

2008-03-13 Thread Ding Honghui
Are you looking for usermod -G groupname -a username ?

jeffry s wrote:
> i know this question sound so stupid.
> after gooogling. i end up with useradd, groupadd, usermod, userdel,
> groupmod, groupdel, groups.
> i do not be able to determine how to add a user to particular group in
> the system.
> i use to do a manual edit on the /etc/group files and it work fine so far
> 
> it is just a matter of curiosity, is there any command out there i can
> use for this task?
> 
> thank you..

-- 
Best Regards,
 Ding Honghui


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Repository Question

2008-03-13 Thread Ding Honghui
The standard way to create OpenVZ template in debian is use debootstrap[1]

If you run other tools such like EZ-Templates, As you said, some package
maybe missing when you create template because the offical debian
sources maybe changed in days. I guess you are looking for something
like snapshot.debian.org. It keeps all package in old days for you. Any
way, I think the method in [1] is better for security reason.

[1] http://wiki.openvz.org/Debian_template_creation

Andrei Popescu wrote:
> On Thu, Mar 13, 2008 at 05:12:16PM +0100, gooldi wrote:
> 
>> This is my first time asking stuff on a mailinglist and I am amazed at the 
>> speed of the replies :) thanks!
> 
> With so many subscribers ... ;)
> 
>> We are using OpenVZ for virtualization which uses EZ-Templates to create 
>> OS-Template-Caches (ie Debian). These templates are metapackages which 
>> depend on packages in the official repositories. Our customers have the 
>> problem, when migrating their system and rebuilding the template-cache that 
>> it doesn't work when the packages aren't in the repo anymore.
>>
>> The easiest solution to the problem is updating the EZ-templates.
> 
> [Disclaimer: I am not a Debian Developer and never built a package]
> 
> I think you need to define your dependencies like "package >= 1.2.3" and 
> not "package = 1.2.3", this would make your metapackages more flexible, 
> if this is what you want to achieve. I also think your question is 
> better suited on the 'mentors' mailing lists, which deals with packaging 
> questions, but please provide more and specific details.
> 
> Regards,
> Andrei

-- 
Best Regards,
 Ding Honghui


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]