Re: 新版Debian Administrator Handbook翻译计划是否开始?

2014-01-01 文章 choury
支持使用weblate,用git的话限制不少
 
于 2014年01月01日 20:00, Emfox Zhou 写道:
 2014/1/1 tong hui tongh...@gmail.com:
 首先祝各位2014年新年快乐!

 新版DAH已经出来了,全面支持Debian 7
 Wheezy版。我看到咱们的中文翻译计划依旧是老版本[1],且还没有翻译完成。而且因为现在官方Git库普通人不能访问,希望尽快同步到现在的库[2]来吧。

 我提议尽快同步新版本,争取一鼓作气把新版翻译完成!

 [1] http://wiki.nanjinglug.org/DebianHandBook-zh_CN
 [2] https://gitcafe.com/emfox/debian-handbook-zh
 你好, 感谢对于翻译计划的关心。

 鉴于之前的版本大家都挺忙,翻译的进度不是很快,而且很多人对于使用 git 感觉有一些困难,我建议下一版本我们切换到基于 web 的翻译系统
 weblate 继续我们的工作。官方已经有weblate [1] 的支持,而且界面不难使用。这样大家可以同时在 weblate
 上开工,动手前在邮件列表里通知一声,免得互相冲突就可以了。

 [1] https://debian.weblate.org/projects/debian-handbook/
 (目前似乎被锁定而不能更新,应该是在等待同步到 wheezy)



-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


Re: debian忽然很奇怪的上网问题

2013-10-31 文章 choury
你运行一下 host ftp.us.debian.org 看看呢


于 2013年10月31日 14:01, qspy wang 写道:
 本来好好 的,今天开机忽然firefox就不能上网了,apt-get 也不能用了,但是
 chrome 可以上网,ping www.google.com 是通的,调出 /etc/resolv.conf 中
 的 dns, 也是可以 ping 得通的。 
 各位可知这是什么问题? 

 $ sudo apt-get update 
 错误 http://ftp.us.debian.org wheezy Release.gpg 
 无法解析域名“ftp.us.debian.org” 
 错误 http://mirrors.163.com wheezy Release.gpg 
 无法解析域名“mirrors.163.com” 
 错误 http://security.debian.org wheezy/updates Release.gpg 
 无法解析域名“security.debian.org” 
 正在读取软件包列表... 完成 
 W: 无法下载 http://mirrors.163.com/debian/dists/wheezy/Release.gpg 无
 法解析域名 “mirrors.163.com” 

 W: 无法下载 http://security.debian.org/dists/wheezy/updates
 /Release.gpg 无法解析域名 “security.debian.org” 

 W: 无法下载 http://ftp.us.debian.org/debian/dists/wheezy
 /Release.gpg 无法解析域名 “ftp.us.debian.org” 

 W: Some index files failed to download. They have been ignored, or old
 ones used instead. 


 $ ping www.google.com 
 PING www.google.com (173.194.72.103) 56(84) bytes of data. 
 64 bytes from tf-in-f103.1e100.net (173.194.72.103): icmp_req=2 ttl=45
 time=75.5 ms 
 64 bytes from tf-in-f103.1e100.net (173.194.72.103): icmp_req=3 ttl=45
 time=73.9 ms 
 64 bytes from tf-in-f103.1e100.net (173.194.72.103): icmp_req=5 ttl=45
 time=75.3 ms 
 64 bytes from tf-in-f103.1e100.net (173.194.72.103): icmp_req=6 ttl=45
 time=74.1 ms 
 ^C 
 --- www.google.com ping statistics --- 
 6 packets transmitted, 4 received, 33% packet loss, time 5010ms 
 rtt min/avg/max/mdev = 73.976/74.753/75.502/0.717 ms 



 $ ping 8.8.8.8 
 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 
 64 bytes from 8.8.8.8: icmp_req=2 ttl=42 time=107 ms 
 64 bytes from 8.8.8.8: icmp_req=3 ttl=42 time=108 ms 
 64 bytes from 8.8.8.8: icmp_req=5 ttl=42 time=107 ms 
 64 bytes from 8.8.8.8: icmp_req=6 ttl=42 time=108 ms 
 ^C 
 --- 8.8.8.8 ping statistics --- 
 6 packets transmitted, 4 received, 33% packet loss, time 5021ms 
 rtt min/avg/max/mdev = 107.665/108.182/108.694/0.399 ms 


 -- 
   致
 礼!
 Qspy


-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


Re: debian忽然很奇怪的上网问题

2013-10-31 文章 choury
邮件可以正常收发?
你有没有设代理?


于 2013年10月31日 14:07, qspy wang 写道:
 $ host ftp.us.debian.org http://ftp.us.debian.org
 ftp.us.debian.org http://ftp.us.debian.org has address 128.61.240.89
 ftp.us.debian.org http://ftp.us.debian.org has address 128.30.2.36
 ftp.us.debian.org http://ftp.us.debian.org has address 64.50.233.100
 ftp.us.debian.org http://ftp.us.debian.org has address 64.50.236.52



 2013/10/31 choury zhou...@choury.com mailto:zhou...@choury.com

 你运行一下 host ftp.us.debian.org ftp://ftp.us.debian.org 看看呢


 于 2013年10月31日 14:01, qspy wang 写道:
 本来好 好 的,今天开机忽然firefox就不能上网了,apt-get 也不能用
 了,但是 chrome 可以上网,ping www.google.com
 http://www.google.com 是 通的,调出 /etc/resolv.conf 中的 dns,
 也是可以 ping 得通的。 

 各位可知这是什么问题? 

 $ sudo apt-get update 
 错误 http://ftp.us.debian.org wheezy Release.gpg 
 无法解析域名“ftp.us.debian.org http://ftp.us.debian.org” 
 错误 http://mirrors.163.com wheezy Release.gpg 
 无法解析域名“mirrors.163.com http://mirrors.163.com” 
 错误 http://security.debian.org wheezy/updates Release.gpg 
 无法解析域名“security.debian.org http://security.debian.org” 
 正在读取软件包列表... 完成 
 W: 无法下载 http://mirrors.163.com/debian/dists/wheezy
 /Release.gpg 无 法解析域名 “mirrors.163.com
 http://mirrors.163.com” 

 W: 无法下载 http://security.debian.org/dists/wheezy/updates
 /Release.gpg 无 法解析域名 “security.debian.org
 http://security.debian.org” 

 W: 无法下载 http://ftp.us.debian.org/debian/dists/wheezy
 /Release.gpg 无 法解析域名 “ftp.us.debian.org
 http://ftp.us.debian.org” 

 W: Some index files failed to download. They have been ignored,
 or old ones used instead. 


 $ ping www.google.com http://www.google.com 
 PING www.google.com http://www.google.com (173.194.72.103)
 56(84) bytes of data. 
 64 bytes from tf-in-f103.1e100.net http://tf-in-f103.1e100.net
 (173.194.72.103): icmp_req=2 ttl=45 time=75.5 ms 
 64 bytes from tf-in-f103.1e100.net http://tf-in-f103.1e100.net
 (173.194.72.103): icmp_req=3 ttl=45 time=73.9 ms 
 64 bytes from tf-in-f103.1e100.net http://tf-in-f103.1e100.net
 (173.194.72.103): icmp_req=5 ttl=45 time=75.3 ms 
 64 bytes from tf-in-f103.1e100.net http://tf-in-f103.1e100.net
 (173.194.72.103): icmp_req=6 ttl=45 time=74.1 ms 
 ^C 
 --- www.google.com http://www.google.com ping statistics --- 
 6 packets transmitted, 4 received, 33% packet loss, time 5010ms 
 rtt min/avg/max/mdev = 73.976/74.753/75.502/0.717 ms 



 $ ping 8.8.8.8 
 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=2 ttl=42
 time=107 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=3 ttl=42
 time=108 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=5 ttl=42
 time=107 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=6 ttl=42
 time=108 ms 
 ^C 
 --- 8.8.8.8 ping statistics --- 
 6 packets transmitted, 4 received, 33% packet loss, time 5021ms 
 rtt min/avg/max/mdev = 107.665/108.182/108.694/0.399 ms 


 -- 
   致
 礼!
 Qspy


 -- 
 
 yours
 Choury




 -- 
   致
 礼!
 Qspy


-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


Re: debian忽然很奇怪的上网问题

2013-10-31 文章 choury
你apt有设过代理吗?
直接用wget能下載到东西吗?


于 2013年10月31日 14:16, qspy wang 写道:
 我有使用 goagent , 但只在 chrome 上设置了; firefox 其实也不是完全不
 能上网,直接输入 IP 地址还是可以联网的,但如果输入域名如 www.baidu.com
 http://www.baidu.com 这样的就不行。
 邮件不能正常收发
 但我有用 virtualbox 虚拟了一个 xp 系统,使用的是 NAT 的连接方式,在虚
 拟的xp系统中却是可以正常上网的 

 这样是代理的问题吗?


 在 2013年10月31日下午2:11,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 邮件可以正常收发?
 你有没有设代理?


 于 2013年10月31日 14:07, qspy wang 写道:
 $ host ftp.us.debian.org http://ftp.us.debian.org
 ftp.us.debian.org http://ftp.us.debian.org has address
 128.61.240.89
 ftp.us.debian.org http://ftp.us.debian.org has address 128.30.2.36
 ftp.us.debian.org http://ftp.us.debian.org has address
 64.50.233.100
 ftp.us.debian.org http://ftp.us.debian.org has address 64.50.236.52



 2013/10/31 choury zhou...@choury.com mailto:zhou...@choury.com

 你运行一下 host ftp.us.debian.org ftp://ftp.us.debian.org
 看看呢


 于 2013年10月31日 14:01, qspy wang 写道:
 本 来好 好 的,今天开机忽然firefox就不能上网了,apt-get 也不
 能用了,但是 chrome 可以上网,ping www.google.com
 http://www.google.com 是 通的,调出 /etc/resolv.conf 中的
 dns, 也是可以 ping 得通的。 

 各位可知这是什么问题? 

 $ sudo apt-get update 
 错误 http://ftp.us.debian.org wheezy Release.gpg 
 无法解析域名“ftp.us.debian.org http://ftp.us.debian.org” 
 错误 http://mirrors.163.com wheezy Release.gpg 
 无法解析域名“mirrors.163.com http://mirrors.163.com” 
 错误 http://security.debian.org wheezy/updates Release.gpg 
 无法解析域名“security.debian.org http://security.debian.org” 
 正在读取软件包列表... 完成 
 W: 无法下载 http://mirrors.163.com/debian/dists/wheezy
 /Release.gpg 无 法解析域名 “mirrors.163.com
 http://mirrors.163.com” 

 W: 无法下载 http://security.debian.org/dists/wheezy/updates
 /Release.gpg 无 法解析域名 “security.debian.org
 http://security.debian.org” 

 W: 无法下载 http://ftp.us.debian.org/debian/dists/wheezy
 /Release.gpg 无 法解析域名 “ftp.us.debian.org
 http://ftp.us.debian.org” 


 W: Some index files failed to download. They have been
 ignored, or old ones used instead. 


 $ ping www.google.com http://www.google.com 
 PING www.google.com http://www.google.com (173.194.72.103)
 56(84) bytes of data. 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103): icmp_req=2
 ttl=45 time=75.5 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103): icmp_req=3
 ttl=45 time=73.9 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103): icmp_req=5
 ttl=45 time=75.3 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103): icmp_req=6
 ttl=45 time=74.1 ms 
 ^C 
 --- www.google.com http://www.google.com ping statistics --- 
 6 packets transmitted, 4 received, 33% packet loss, time 5010ms 
 rtt min/avg/max/mdev = 73.976/74.753/75.502/0.717 ms 



 $ ping 8.8.8.8 
 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=2 ttl=42
 time=107 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=3 ttl=42
 time=108 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=5 ttl=42
 time=107 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=6 ttl=42
 time=108 ms 
 ^C 
 --- 8.8.8.8 ping statistics --- 
 6 packets transmitted, 4 received, 33% packet loss, time 5021ms 
 rtt min/avg/max/mdev = 107.665/108.182/108.694/0.399 ms 


 -- 
   致
 礼!
 Qspy


 -- 
 
 yours
 Choury




 -- 
   致
 礼!
 Qspy


 -- 
 
 yours
 Choury




 -- 
   致
 礼!
 Qspy


-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


Re: debian忽然很奇怪的上网问题

2013-10-31 文章 choury
怎么这么诡异,host明明已经解析出ip了啊
你电脑上有几块网卡啊?

于 2013年10月31日 14:25, qspy wang 写道:
 从来没有弄过 apt 代理
 wget 刚试了下,不行

 $ wget http://.236.xdowns.com/uploadFile/2007-4/wget.rar
 --2013-10-31 14:24:58--
  http://.236.xdowns.com/uploadFile/2007-4/wget.rar
 正在解析主机 .236.xdowns.com http://.236.xdowns.com
 (.236.xdowns.com http://.236.xdowns.com)... 失败:未知的名称
 或服务。
 wget: 无法解析主机地址 “.236.xdowns.com http://.236.xdowns.com”



 在 2013年10月31日下午2:21,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 你apt有设过代理吗?
 直接用wget能下載到东西吗?


 于 2013年10月31日 14:16, qspy wang 写道:
 我有使用 goagent , 但只在 chrome 上设置了; firefox 其实也不是完
 全不能上网,直接输入 IP 地址还是可以联网的,但如果输入域名如
 www.baidu.com http://www.baidu.com 这样的就不行。
 邮件不能正常收发
 但我有用 virtualbox 虚拟了一个 xp 系统,使用的是 NAT 的连接方式,
 在虚拟的xp系统中却是可以正常上网的 

 这样是代理的问题吗?


 在 2013年10月31日下午2:11,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 邮件可以正常收发?
 你有没有设代理?


 于 2013年10月31日 14:07, qspy wang 写道:
 $ host ftp.us.debian.org http://ftp.us.debian.org
 ftp.us.debian.org http://ftp.us.debian.org has address
 128.61.240.89
 ftp.us.debian.org http://ftp.us.debian.org has address
 128.30.2.36
 ftp.us.debian.org http://ftp.us.debian.org has address
 64.50.233.100
 ftp.us.debian.org http://ftp.us.debian.org has address
 64.50.236.52



 2013/10/31 choury zhou...@choury.com
 mailto:zhou...@choury.com

 你运行一下 host ftp.us.debian.org
 ftp://ftp.us.debian.org 看看呢


 于 2013年10月31日 14:01, qspy wang 写道:
 本 来好 好 的,今天开机忽然firefox就不能上网了,apt-get
 也不能用了,但是 chrome 可以上网,ping www.google.com
 http://www.google.com 是 通的,调出 /etc/resolv.conf
 中的 dns, 也是可以 ping 得通的。 

 各位可知这是什么问题? 

 $ sudo apt-get update 
 错误 http://ftp.us.debian.org wheezy Release.gpg 
 无法解析域名“ftp.us.debian.org http://ftp.us.debian.org” 
 错误 http://mirrors.163.com wheezy Release.gpg 
 无法解析域名“mirrors.163.com http://mirrors.163.com” 
 错误 http://security.debian.org wheezy/updates Release.gpg 
 无法解析域名“security.debian.org
 http://security.debian.org” 
 正在读取软件包列表... 完成 
 W: 无法下载 http://mirrors.163.com/debian/dists/wheezy
 /Release.gpg 无 法解析域名 “mirrors.163.com
 http://mirrors.163.com” 

 W: 无法下载 http://security.debian.org/dists/wheezy
 /updates/Release.gpg 无 法解析域名 “security.debian.org
 http://security.debian.org” 

 W: 无法下载 http://ftp.us.debian.org/debian/dists
 /wheezy/Release.gpg 无 法解析域名 “ftp.us.debian.org
 http://ftp.us.debian.org” 


 W: Some index files failed to download. They have been
 ignored, or old ones used instead. 


 $ ping www.google.com http://www.google.com 
 PING www.google.com
 http://www.google.com (173.194.72.103) 56(84) bytes
 of data. 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103):
 icmp_req=2 ttl=45 time=75.5 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103):
 icmp_req=3 ttl=45 time=73.9 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103):
 icmp_req=5 ttl=45 time=75.3 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103):
 icmp_req=6 ttl=45 time=74.1 ms 
 ^C 
 --- www.google.com http://www.google.com ping
 statistics --- 
 6 packets transmitted, 4 received, 33% packet loss,
 time 5010ms 
 rtt min/avg/max/mdev = 73.976/74.753/75.502/0.717 ms 



 $ ping 8.8.8.8 
 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=2
 ttl=42 time=107 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=3
 ttl=42 time=108 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=5
 ttl=42 time=107 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=6
 ttl=42 time=108 ms 
 ^C 
 --- 8.8.8.8 ping statistics --- 
 6 packets transmitted, 4 received, 33% packet loss,
 time 5021ms 
 rtt min/avg/max/mdev = 107.665/108.182/108.694/0.399 ms 


 -- 
   致
 礼!
 Qspy


 -- 
 
 yours
 Choury




 -- 
   致
 礼!
 Qspy

Re: debian忽然很奇怪的上网问题

2013-10-31 文章 choury
贴一下你的/etc/resolv.conf?


于 2013年10月31日 14:42, qspy wang 写道:
 我用的是笔记本,一个有线一个无线,没其他了

 我也觉着奇怪,外网可以ping,chrome也可以上网,虚拟机也可以上网,网络没
 问题的呀;firefox 可以用ip直接联网,域名不能解析,apt 不能用,像是dns
 问题,但 ping dns地址,ping 域名都可以,再说 chrome 和虚拟机也都是用的
 域名地址直接联网的



 在 2013年10月31日下午2:29,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 怎么这么诡异,host明明已经解析出ip了啊
 你电脑上有几块网卡啊?

 于 2013年10月31日 14:25, qspy wang 写道:
 从来没有弄过 apt 代理
 wget 刚试了下,不行

 $ wget http://.236.xdowns.com/uploadFile/2007-4/wget.rar
 --2013-10-31 14:24:58--
  http://.236.xdowns.com/uploadFile/2007-4/wget.rar
 正在解析主机 .236.xdowns.com http://.236.xdowns.com
 (.236.xdowns.com http://.236.xdowns.com)... 失败:未知
 的名称或服务。
 wget: 无法解析主机地址 “.236.xdowns.com
 http://.236.xdowns.com”



 在 2013年10月31日下午2:21,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 你apt有设过代理吗?
 直接用wget能下載到东西吗?


 于 2013年10月31日 14:16, qspy wang 写道:
 我有使用 goagent , 但只在 chrome 上设置了; firefox 其实也
 不是完全不能上网,直接输入 IP 地址还是可以联网的,但如果输入
 域名如 www.baidu.com http://www.baidu.com 这样的就不行。
 邮件不能正常收发
 但我有用 virtualbox 虚拟了一个 xp 系统,使用的是 NAT 的连接
 方式,在虚拟的xp系统中却是可以正常上网的 

 这样是代理的问题吗?


 在 2013年10月31日下午2:11,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 邮件可以正常收发?
 你有没有设代理?


 于 2013年10月31日 14:07, qspy wang 写道:
 $ host ftp.us.debian.org http://ftp.us.debian.org
 ftp.us.debian.org http://ftp.us.debian.org has
 address 128.61.240.89
 ftp.us.debian.org http://ftp.us.debian.org has
 address 128.30.2.36
 ftp.us.debian.org http://ftp.us.debian.org has
 address 64.50.233.100
 ftp.us.debian.org http://ftp.us.debian.org has
 address 64.50.236.52



 2013/10/31 choury zhou...@choury.com
 mailto:zhou...@choury.com

 你运行一下 host ftp.us.debian.org
 ftp://ftp.us.debian.org 看看呢


 于 2013年10月31日 14:01, qspy wang 写道:
 本 来好 好 的,今天开机忽然firefox就不能上网
 了,apt-get 也不能用了,但是 chrome 可以上
 网,ping www.google.com http://www.google.com 是
 通的,调出 /etc/resolv.conf 中的 dns, 也是可以
 ping 得通的。 

 各位可知这是什么问题? 

 $ sudo apt-get update 
 错误 http://ftp.us.debian.org wheezy Release.gpg 
 无法解析域名“ftp.us.debian.org
 http://ftp.us.debian.org” 
 错误 http://mirrors.163.com wheezy Release.gpg 
 无法解析域名“mirrors.163.com
 http://mirrors.163.com” 
 错误 http://security.debian.org wheezy/updates
 Release.gpg 
 无法解析域名“security.debian.org
 http://security.debian.org” 
 正在读取软件包列表... 完成 
 W: 无法下载 http://mirrors.163.com/debian/dists
 /wheezy/Release.gpg 无 法解析域名 “mirrors.163.com
 http://mirrors.163.com” 

 W: 无法下载 http://security.debian.org/dists
 /wheezy/updates/Release.gpg 无 法解析域名
 “security.debian.org http://security.debian.org” 

 W: 无法下载 http://ftp.us.debian.org/debian/dists
 /wheezy/Release.gpg 无 法解析域名
 “ftp.us.debian.org http://ftp.us.debian.org” 


 W: Some index files failed to download. They have
 been ignored, or old ones used instead. 


 $ ping www.google.com http://www.google.com 
 PING www.google.com
 http://www.google.com (173.194.72.103) 56(84)
 bytes of data. 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103):
 icmp_req=2 ttl=45 time=75.5 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103):
 icmp_req=3 ttl=45 time=73.9 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103):
 icmp_req=5 ttl=45 time=75.3 ms 
 64 bytes from tf-in-f103.1e100.net
 http://tf-in-f103.1e100.net (173.194.72.103):
 icmp_req=6 ttl=45 time=74.1 ms 
 ^C 
 --- www.google.com http://www.google.com ping
 statistics --- 
 6 packets transmitted, 4 received, 33% packet
 loss, time 5010ms 
 rtt min/avg/max/mdev = 73.976/74.753/75.502/0.717 ms 



 $ ping 8.8.8.8 
 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=2
 ttl=42 time=107 ms 
 64 bytes from 8.8.8.8 http://8.8.8.8: icmp_req=3

Re: zip解压乱码

2013-08-13 文章 choury
我用了这个命令来测试 for i in {`convmv --list`};do convmv -f $i -t utf8
-r * ; done
仍然没有找到有用的输出结果
我的原始文件是http://pan.baidu.com/share/link?shareid=11109uk=3625072214
对这个文件夹的打包下载,看一下是不是压缩文件本身有问题



于 2013年08月13日 14:12, Alex 写道:
 试试这个,我以前一直这样用的,使用的是 7z
 $ LANG=C 7z e *.zip   ##ASCII 环境解压缩
 $ convmv --list   ##列举可用的字符集 ,下例中用的是 shiftjis,请自行更改
 $ convmv -f shiftjis -t utf8 -r *   ##测试 是否乱码
 $ convmv -f shiftjis -t utf8 -r --notest *   ##若成功,执行此步骤


 在 2013年8月13日上午12:22,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 不好意思,我对python并不是十分了解……所以,能否具体告知如何操作?

 于 2013年08月12日 08:13, Shell Xu 写道:
 是否可以用python来解压zip,出来的文件名直接用内置的code translate
 转换掉?


 在 2013年8月12日上午6:10,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 用unzip解压 zip文件 文件名乱码
 我搜索了一下,网上说有-O参数可以用,我试了一下,似乎现在
 debain用的unzip
 版本中
 没有这个选项
 我解压以后显示的文件名是这样的“+��-+-��”
 我又查了一下,似乎convmv可以解决这个问题,于是我就使用这个命
 令 convmv -f
 gbk -o utf8 +��-+-��
 然后输出是
 Unknown option: o
 Unknown option: �

 应该怎么做?

 --
 
 yours
 Choury




 -- 
 彼節者有間,而刀刃者無厚;以無厚入有間,恢恢乎其於游刃必有餘地矣。
 blog: http://shell909090.com/blog/
 about.me http://about.me: http://about.me/shell909090


 -- 
 
 yours
 Choury




-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


Re: zip解压乱码

2013-08-13 文章 choury
我能说它在我机器上运行是这样的吗……
$ LANG=C 7z e *.zip

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: 【批量下载】《银河系漫游指南》系列1-5中文版等.zip

Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ
Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/ÔÙ¼û£¬Ð»Ð»Óã.txt
Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/»ù±¾ÉÏÎÞº¦.txt
Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/ÓîÖ澡ͷµÄ²Í¹Ý.txt
Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/ÉúÃü.ÓîÖæ¼°Ò»ÇÐ.txt
Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/ÒøºÓϵÂþÓÎÖ¸ÄÏ.txt

Everything is Ok

Folders: 1
Files: 5
Size:   1029334
Compressed: 1030474

convmv -f cp936 -t utf8 -r *.txt
Your Perl version has fleas #37757 #49830
Starting a dry run without changes...
Skipping, already UTF-8: ./ÉúÃü.ÓîÖæ¼°Ò»ÇÐ.txt
Skipping, already UTF-8: ./ÓîÖ澡ͷµÄ²Í¹Ý.txt
Skipping, already UTF-8: ./ÒøºÓϵÂþÓÎÖ¸ÄÏ.txt
Skipping, already UTF-8: ./ÔÙ¼û£¬Ð»Ð»Óã.txt
Skipping, already UTF-8: ./»ù±¾ÉÏÎÞº¦.txt
No changes to your files done. Use --notest to finally rename the files.


于 2013年08月13日 15:42, Alex 写道:
 我也是一知半解的,关于你的命令我是不懂,让别人解答吧

 在我机器上运行的结果如下:
 $ LANG=C 7z e yhx.zip

 7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
 p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)

 Processing archive: yhx.zip

 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/�ټ���лл��.txt
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/���޺�.txt
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/���澡ͷ�IJ͹�.txt
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/.���漰һ��.txt
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/ϵָ��.txt

 Everything is Ok

 Folders: 1
 Files: 5
 Size:   1029334
 Compressed: 1030474

 $ convmv -f cp936 -t utf8 -r *
 Your Perl version has fleas #37757 #49830
 Starting a dry run without changes...
 mv ./��ϵָ�ϡ�ϵ��1-5���İ�./《银河系漫游指南》系列1-5中文版
 mv ./���޺�.txt./基本上无害.txt
 mv ./ϵָ��.txt./银河系漫游指南.txt
 mv ./�ټ���лл��.txt./再见,谢谢鱼.txt
 mv ./.���漰һ��.txt./生命.宇宙及一切.txt
 mv ./���澡ͷ�IJ͹�.txt./宇宙尽头的餐馆.txt
 No changes to your files done. Use --notest to finally rename the files.

 $ convmv -f cp936 -t utf8 -r --notest *
 Your Perl version has fleas #37757 #49830
 mv ./��ϵָ�ϡ�ϵ��1-5���İ�./《银河系漫游指南》系列1-5中文版
 mv ./���޺�.txt./基本上无害.txt
 mv ./ϵָ��.txt./银河系漫游指南.txt
 mv ./�ټ���лл��.txt./再见,谢谢鱼.txt
 mv ./.���漰һ��.txt./生命.宇宙及一切.txt
 mv ./���澡ͷ�IJ͹�.txt./宇宙尽头的餐馆.txt
 Ready!

 $ iconv -f CP936 -t UTF8 基本上无害.txt -o 基本上无害2.txt

 在 2013年8月14日上午6:50,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 我用了这个命令来测试 for i in {`convmv --list`};do convmv -f $i -t
 utf8 -r * ; done
 仍然没有找到有用的输出结果
 我的原始文件是http://pan.baidu.com/share/link?shareid=11109;
 uk=3625072214
 对这个文件夹的打包下载,看一下是不是压缩文件本身有问题



 于 2013年08月13日 14:12, Alex 写道:
 试试这个,我以前一直这样用的,使用的是 7z
 $ LANG=C 7z e *.zip   ##ASCII 环境解压缩
 $ convmv --list   ##列举可用的字符集 ,下例中用的是 shiftjis,请
 自行更改
 $ convmv -f shiftjis -t utf8 -r *   ##测试 是否乱码
 $ convmv -f shiftjis -t utf8 -r --notest *   ##若成功,执行此步骤


 在 2013年8月13日上午12:22,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 不好意思,我对python并不是十分了解……所以,能否具体告知如何操 作?

 于 2013年08月12日 08:13, Shell Xu 写道:
 是否可以用python来解压zip,出 来的文件名直接用内置的code
 translate转换掉?


 在 2013年8月12日上午6:10,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 用unzip解压 zip文件 文件名乱码
 我搜索了一下,网上说有-O参数可以用,我试了一下,似乎现
 在debain用的unzip
 版本中
 没有这个选项
 我解压以后显示的文件名是这样的“+��-+-��”
 我又查了一下,似乎convmv可以解决这个问题,于是我就 使用
 这个命令 convmv -f
 gbk -o utf8 +��-+-��
 然后输出是
 Unknown option: o
 Unknown option: �

 应该怎么做?

 --
 
 yours
 Choury




 -- 
 彼節者有間,而刀刃者無厚;以無厚入 有間,恢恢乎其於游刃必有
 餘地矣。
 blog: http://shell909090.com/blog/
 about.me http://about.me: http://about.me/shell909090


 -- 
 
 yours
 Choury




 -- 
 
 yours
 Choury




-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


Re: 同样的samba配置却导致不一样的结果

2013-08-13 文章 choury
执行下 chmod a-w /media 试试看


于 2013年08月07日 14:12, 丰 写道:
   大概 Debian 7.0 发布前后几天,我 Debian Testing 的 samba 服务可以正常把台式机的分区共享给 win7
 本本,之后我把硬盘重新分区,并用 7 月中旬的某个 Debian-Installer weekly build 重装了
 Debian,/etc/apt/source.list 里启用的是 testing 仓库,uname -a 结果是 Linux hxf
 3.9-1-amd64 #1 SMP Debian 3.9.8-1 x86_64 GNU/Linux,我不确定目前的系统是否算
 testing,因为记得 testing 的内核版本没有这么高。是否用 weekly 或 daily 的 d-i,会被自动安装成 sid?
   以前,同样的配置(无 public 部分),我在本本上用账户名和密码都一致的帐号可以访问对应 Linux 用户的主目录,和
 /media,并且都有读写权限。而现在,除了 public 目录可以读写,访问其他目录都会弹出输入网络密码对话框,不管是输入和 Linux
 相同的帐号密码还是 root 及其密码,目录都无法打开。
   在这里询问一下是否有人遇到过相同的问题,先谢过了。

 附上一些相关信息和当前的 smb.conf:
   uname -a: Linux hxf 3.9-1-amd64 #1 SMP Debian 3.9.8-1 x86_64 GNU/Linux
   samba 版本:3.6.16-2
   /media/ 目录属性:drwxr-xr-x 6 root root 4.0K 7月  14 14:49 media
   我的主目录属性:drwxr-xr-x  51 bnw  bnw  4.0K 8月   7 21:44 bnw
   /home/samba/ 目录属性:drwxr-xr-x   3 bnw  bnw  4.0K 7月  14 19:15 samba
   /home/samba/public/ 目录属性:drwxrwxrwx  3 bnw  bnw  4.0K 7月  27 19:51 public

 /etc/samba/smb.conf
 [global]
 ### Browsing/Identification ###
 workgroup = WORKGROUP
 netbios name = debian
 server string = Debian Linux
 ### Authentication ###
 security = user
 encrypted password = true
 unix password sync = yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\s*\spassword:* %n\n
 *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
 guest account = nobody
 map to guest = bad user
 dos charset = cp936
 unix charset = utf-8
 ### Debugging/Accounting ###
 syslog = 3
 log file = /var/log/samba/log.%m
 max log size = 1024
 [homes]
 comment = Home Directories
 valid users = %S
 browseable = yes
 writeable = yes
 create mode = 0644
 directory mode = 755
 [public]
 comment = Public Directory
 path = /home/samba/public
 public = yes
 browseable = yes
 writeable = yes
 read only = no
 [media]
 comment = Linux mounted media
 path = /media
 valid users = bnw
 browseable = yes
 writeable = yes
 read only = no


-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


Re: zip解压乱码

2013-08-13 文章 choury
哈哈,终于好使了,非常感谢

于 2013年08月13日 18:07, CHEN Xing 写道:

 用LC_ALL=C 7z 看看?  你7z的locale还是中文

 From my Android phone

 在 2013-8-13 上午9:07,choury zhou...@choury.com
 mailto:zhou...@choury.com 写道:

 我能说它在我机器上运行是这样的吗……
 $ LANG=C 7z e *.zip

 7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
 p7zip Version 9.20 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

 Processing archive: 【批量下载】《银河系漫游指南》系列1-5中文版等.zip

 Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ
 Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/ÔÙ¼û£¬Ð»Ð»Óã.txt
 Extracting  ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/»ù±¾ÉÏÎÞº¦.txt
 Extracting 
 ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/ÓîÖ澡ͷµÄ²Í¹Ý.txt
 Extracting 
 ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/ÉúÃü.ÓîÖæ¼°Ò»ÇÐ.txt
 Extracting 
 ÎÒµÄÎĵµ/¡¶ÒøºÓϵÂþÓÎÖ¸ÄÏ¡·ÏµÁÐ1-5ÖÐÎÄ°æ/ÒøºÓϵÂþÓÎÖ¸ÄÏ.txt

 Everything is Ok

 Folders: 1
 Files: 5
 Size:   1029334
 Compressed: 1030474

 convmv -f cp936 -t utf8 -r *.txt
 Your Perl version has fleas #37757 #49830
 Starting a dry run without changes...
 Skipping, already UTF-8: ./ÉúÃü.ÓîÖæ¼°Ò»ÇÐ.txt
 Skipping, already UTF-8: ./ÓîÖ澡ͷµÄ²Í¹Ý.txt
 Skipping, already UTF-8: ./ÒøºÓϵÂþÓÎÖ¸ÄÏ.txt
 Skipping, already UTF-8: ./ÔÙ¼û£¬Ð»Ð»Óã.txt
 Skipping, already UTF-8: ./»ù±¾ÉÏÎÞº¦.txt
 No changes to your files done. Use --notest to finally rename the
 files.


 于 2013年08月13日 15:42, Alex 写道:
 我也是一知半解的,关于你的命令我是不懂,让别人解答吧

 在我机器上运行的结果如下:
 $ LANG=C 7z e yhx.zip

 7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
 p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)

 Processing archive: yhx.zip

 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/�ټ���лл��.txt
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/���޺�.txt
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/���澡ͷ�IJ͹�.txt
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/.���漰һ��.txt
 Extracting  �ҵ��ĵ�/��ϵָ�ϡ�ϵ��1-5���İ�/ϵָ��.txt

 Everything is Ok

 Folders: 1
 Files: 5
 Size:   1029334
 Compressed: 1030474

 $ convmv -f cp936 -t utf8 -r *
 Your Perl version has fleas #37757 #49830
 Starting a dry run without changes...
 mv ./��ϵָ�ϡ�ϵ��1-5���İ�./《银河系漫游指南》系列1-5中文版
 mv ./���޺�.txt./基本上无害.txt
 mv ./ϵָ��.txt./银河系漫游指南.txt
 mv ./�ټ���лл��.txt./再见,谢谢鱼.txt
 mv ./.���漰һ��.txt./生命.宇宙及一切.txt
 mv ./���澡ͷ�IJ͹�.txt./宇宙尽头的餐馆.txt
 No changes to your files done. Use --notest to finally rename the
 files.

 $ convmv -f cp936 -t utf8 -r --notest *
 Your Perl version has fleas #37757 #49830
 mv ./��ϵָ�ϡ�ϵ��1-5���İ�./《银河系漫游指南》系列1-5中文版
 mv ./���޺�.txt./基本上无害.txt
 mv ./ϵָ��.txt./银河系漫游指南.txt
 mv ./�ټ���лл��.txt./再见,谢谢鱼.txt
 mv ./.���漰һ��.txt./生命.宇宙及一切.txt
 mv ./���澡ͷ�IJ͹�.txt./宇宙尽头的餐馆.txt
 Ready!

 $ iconv -f CP936 -t UTF8 基本上无害.txt -o 基本上无害2.txt

 在 2013年8月14日上午6:50,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 我用了这个命令来测试 for i in {`convmv --list`};do convmv -f
 $i -t utf8 -r * ; done
 仍然没有找到有用的输出结果
 我的原始文件是http://pan.baidu.com/share/link?shareid=11109;
 uk=3625072214
 对这个文件夹的打包下载,看一下是不是压缩文件本身有问题



 于 2013年08月13日 14:12, Alex 写道:
 试试这个,我以前一直这样用的,使用的是 7z
 $ LANG=C 7z e *.zip   ##ASCII 环境解压缩
 $ convmv --list   ##列举可用的字符集 ,下例中用的是
 shiftjis,请自行更改
 $ convmv -f shiftjis -t utf8 -r *   ##测试 是否乱码
 $ convmv -f shiftjis -t utf8 -r --notest *   ##若成功,执行
 此步骤


 在 2013年8月13日上午12:22,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 不好意思,我对python并不是十分了解……所以,能否 具体告知
 如何操 作?

 于 2013年08月12日 08:13, Shell Xu 写道:
 是否可以用python 来解压zip,出 来的文件名直接用内置的
 code translate转换掉?


 在 2013年8月12日上午 6:10,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 用 unzip解压 zip文件 文件名乱码
 我搜索了一下,网上说有-O参数可以用,我 试了一下,似
 乎现 在debain用的unzip
 版本中
 没有这个选项
 我解压以后显示的文件名是这样的 “+��-+-��”
 我又查了一下,似乎convmv可以解决这 个问题,于是我就
 使用这个命令 convmv -f
 gbk -o utf8 +��-+-��
 然后输出是
 Unknown option: o
 Unknown option: �

 应该怎么做?

 --
 
 
 yours
 Choury




 -- 
 彼節者有間,而刀刃 者無厚;以無厚入 有間,恢恢乎其於游
 刃必有餘地矣。
 blog: http://shell909090.com/blog/
 about.me http://about.me: http://about.me/shell909090

Re: zip解压乱码

2013-08-12 文章 choury
不好意思,我对python并不是十分了解……所以,能否具体告知如何操作?

于 2013年08月12日 08:13, Shell Xu 写道:
 是否可以用python来解压zip,出来的文件名直接用内置的code translate转换掉?


 在 2013年8月12日上午6:10,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 用unzip解压 zip文件 文件名乱码
 我搜索了一下,网上说有-O参数可以用,我试了一下,似乎现在debain用的
 unzip
 版本中
 没有这个选项
 我解压以后显示的文件名是这样的“+��-+-��”
 我又查了一下,似乎convmv可以解决这个问题,于是我就使用这个命令
 convmv -f
 gbk -o utf8 +��-+-��
 然后输出是
 Unknown option: o
 Unknown option: �

 应该怎么做?

 --
 
 yours
 Choury




 -- 
 彼節者有間,而刀刃者無厚;以無厚入有間,恢恢乎其於游刃必有餘地矣。
 blog: http://shell909090.com/blog/
 about.me http://about.me: http://about.me/shell909090


-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


zip解压乱码

2013-08-11 文章 choury
用unzip解压 zip文件 文件名乱码
我搜索了一下,网上说有-O参数可以用,我试了一下,似乎现在debain用的unzip
版本中
没有这个选项
我解压以后显示的文件名是这样的“+��-+-��”
我又查了一下,似乎convmv可以解决这个问题,于是我就使用这个命令 convmv -f
gbk -o utf8 +��-+-��
然后输出是
Unknown option: o
Unknown option: �

应该怎么做?

-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


Re: zip解压乱码

2013-08-11 文章 choury
这样可以转换,但是似乎结果并不正确

$ convmv -r -f cp936 -t utf8 --notest --nosmart *
Your Perl version has fleas #37757 #49830
mv ��ʰ�ˤ�-��+ͩ--�1-5��+-��/+���+�+̦�.txt   ��ʰ�ˤ�-��+ͩ--
�1-5��+-��/+é�+�+苔�.txt
mv ��ʰ�ˤ�-��+ͩ--�1-5��+-��/ʰ�ˤ�-��+ͩ-�.txt��ʰ�ˤ�-��+ͩ-
-�1-5��+-��/拾λち-λ+桐-�.txt
mv ��ʰ�ˤ�-��+ͩ--�1-5��+-��/+�+�.˯͵+��+��.txt  ��ʰ�ˤ�-��+ͩ-
-�1-5��+-��/+�+�.睡偷+κ+灭.txt
mv ��ʰ�ˤ�-��+ͩ--�1-5��+-��/˯͵��-��-�-��.txt   ��ʰ�ˤ�-��+ͩ-
-�1-5��+-��/睡偷ロ-懒-�-Ζ.txt
mv ��ʰ�ˤ�-��+ͩ--�1-5��+-��/�+++�+��.txt   ��ʰ�ˤ�-��+ͩ-
-�1-5��+-��/�++国拣+�+艘.txt
mv ./��ʰ�ˤ�-��+ͩ--�1-5��+-��  ./砺拾λち-λ+桐-ろ坤�-�1-5宛+-Φ
Ready!


于 2013年08月12日 01:07, 蒋文佼 写道:

 要 转换文件编码请先进入要转换文件的目录

   * 转换文件名由GBK为UTF8

  convmv -r -f cp936 -t utf8 --notest --nosmart *


 在 2013年8月12日上午6:10,choury zhou...@choury.com
 mailto:zhou...@choury.com写 道:

 用unzip解压 zip文件 文件名乱码
 我搜索了一下,网上说有-O参数可以用,我试了一下,似乎现在debain用的
 unzip
 版本中
 没有这个选项
 我解压以后显示的文件名是这样的“+��-+-��”
 我又查了一下,似乎convmv可以解决这个问题,于是我就使用这个命令
 convmv -f
 gbk -o utf8 +��-+-��
 然后输出是
 Unknown option: o
 Unknown option: �

 应该怎么做?

 --
 
 yours
 Choury




-- 

yours
Choury



signature.asc
Description: OpenPGP digital signature


icedove-l10n-zh-cn 这个包在sid中的依赖是怎么回事

2013-06-10 文章 choury

下列软件包有未满足的依赖关系:
 icedove-l10n-zh-cn : 依赖: icedove (= 10.1) 但是 17.0.5-2 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的 
依赖关系。



源里面已经没有10.1版本的icedove了,但是icedove-l10n的所有包都是10.1版本 
的,这个问题已经有好一会了


--

yours
Choury


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51b58268.4020...@choury.com



Re: icedove-l10n-zh-cn 这个包在sid中的依赖是怎么回事

2013-06-10 文章 choury

应该不是这个原因,前几天还没有问题,而且我到源里面查了,有17.0.5的语言包


On 2013年06月10日 16:21, YunQiang Su wrote:

icedove更新了,而语言包还没有更新,可能是没忙过来,也可能是忘记了

2013/6/10 choury zhou...@choury.com:

下列软件包有未满足的依赖关系:
  icedove-l10n-zh-cn : 依赖: icedove (= 10.1) 但是 17.0.5-2 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的 依赖关系。


源里面已经没有10.1版本的icedove了,但是icedove-l10n的所有包都是10.1版本 的,这个问题已经有好一会了

--

yours
Choury


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/51b58268.4020...@choury.com







--

yours
Choury


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51b58d7c.3080...@choury.com



Re: 答复: Re: icedove-l10n-zh-cn 这个包在sid中的依赖是怎么回事

2013-06-10 文章 choury
恩,我仔细看了下,发现的确没有语言包,现在源里面有 17.0.5-2的icedove和 
17.0.5-1的语言包看,

看来最近icedove升级了


On 2013年06月10日 17:18, luo.yong.n...@gmail.com wrote:

但那个是17.0.5-2的
-- http://www.pixel-white.com

-Original Message-
From: choury zhou...@choury.com
Date: Mon, 10 Jun 2013 16:25:32
To: YunQiang Suwzss...@gmail.com
Cc: debian-chinese-gb@lists.debian.orgdebian-chinese-gb@lists.debian.org
Subject: Re: icedove-l10n-zh-cn 这个包在sid中的依赖是怎么回事

应该不是这个原因,前几天还没有问题,而且我到源里面查了,有17.0.5的语言包


On 2013年06月10日 16:21, YunQiang Su wrote:

icedove更新了,而语言包还没有更新,可能是没忙过来,也可能是忘记了

2013/6/10 choury zhou...@choury.com:

下列软件包有未满足的依赖关系:
   icedove-l10n-zh-cn : 依赖: icedove (= 10.1) 但是 17.0.5-2 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的 依赖关系。


源里面已经没有10.1版本的icedove了,但是icedove-l10n的所有包都是10.1版本 的,这个问题已经有好一会了

--

yours
Choury


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/51b58268.4020...@choury.com








--

yours
Choury


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51b59f62.6060...@choury.com



Re: 请问使用 gdm 登录是在哪设置 locale 的?

2013-03-20 文章 choury

家目录的.xsessionrc,和/etc/X11/Xsession 和一些/etc/X11/下相似的文件和目录

于 2013年03月20日 23:04, Mickey Fox 写道:

Wheezy i386环境,我在字符终端下登录,运行 locale,得到:
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC=zh_CN.UTF-8
LC_TIME=zh_CN.UTF-8
LC_COLLATE=zh_CN.UTF-8
LC_MONETARY=zh_CN.UTF-8
LC_MESSAGES=zh_CN.UTF-8
LC_PAPER=zh_CN.UTF-8
LC_NAME=zh_CN.UTF-8
LC_ADDRESS=zh_CN.UTF-8
LC_TELEPHONE=zh_CN.UTF-8
LC_MEASUREMENT=zh_CN.UTF-8
LC_IDENTIFICATION=zh_CN.UTF-8
LC_ALL=

以图形方式登录,在gnome-terminal中运行 locale,得到:
LANG=zh_CN.utf8
LANGUAGE=
LC_CTYPE=zh_CN.utf8
LC_NUMERIC=zh_CN.utf8
LC_TIME=zh_CN.utf8
LC_COLLATE=zh_CN.utf8
LC_MONETARY=zh_CN.utf8
LC_MESSAGES=zh_CN.utf8
LC_PAPER=zh_CN.utf8
LC_NAME=zh_CN.utf8
LC_ADDRESS=zh_CN.utf8
LC_TELEPHONE=zh_CN.utf8
LC_MEASUREMENT=zh_CN.utf8
LC_IDENTIFICATION=zh_CN.utf8
LC_ALL=

我并没有在 .bashrc 等文件中设置 locale,不知为什么会有这种差别。我想把图形环境中 locale 中的 utf8 改为
UTF-8,虽然我可以通过修改 .bashrc 来实现,但是应该有其它更好的方法吧?

我用 grep 查找 /etc  目录及家目录的包含 utf8 字符串的文件,没有发现可疑的配置文件。网上搜索也没找到办法。请问哪位能给点提示吗?谢谢!



--

yours
Choury


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5149d0a3.8060...@choury.com



Re: usb摄像头无法识别

2013-02-20 文章 choury

我按照它的说明git clone下来以后执行里面的build脚本,
它似乎并没有给我编译uvc模块,这是怎么回事?

于 2013年02月20日 15:50, Dongsheng Song 写道:

On 2013/2/20 15:00, choury wrote:
我在3.2 内核下面编译了驱动从http://www.linuxtv.org下的,怎么还是没有 
编 译 出uvcvideo.ko这个文件呢


我应该从哪下这个驱动来编译,或者改什么设置?


从 git log 看,驱动在 3.2 之前已经内置了,无需下载。

$ git log -1 2bb00fe63
commit 2bb00fe6336687f08e0a3733bce2343a821af843
Author: Laurent Pinchart laurent.pinch...@ideasonboard.com
Date:   Fri Jun 25 04:58:43 2010 -0300

V4L/DVB: uvcvideo: Add support for Manta MM-353 Plako

The camera requires the PROBE_MINMAX quirk. Add a corresponding entry
in the device IDs list

Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

你编译出来的是什么 ko 文件 ?



--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51248329.8060...@choury.com



Re: usb摄像头无法识别

2013-02-20 文章 choury

这是make命令给出的错误

sudo make
make -C /lib/modules/3.2.0-4-rpi/build M= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-rpi'
/usr/src/linux-headers-3.2.0-4-common/scripts/Makefile.build:44: 
/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile: No such 
file or directory
make[5]: *** No rule to make target 
`/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile'.  Stop.

make[4]: *** [scripts_basic] Error 2
make[3]: *** No rule to make target `include/config/auto.conf', needed 
by `include/config/kernel.release'.  Stop.

make[2]: *** [sub-make] 错误 2
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-rpi'
make: *** [all] 错误 2



于 2013年02月20日 16:18, Dongsheng Song 写道:

给你一个最简单的方法,在你所用的内核源代码目录下,修改 uvc/Makefile 为:

uvcvideo-objs  := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o 
uvc_ctrl.o \

  uvc_status.o uvc_isight.o uvc_debugfs.o
uvcvideo-objs  += uvc_entity.o
obj-m := uvcvideo.o

all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

然后编译:
~/vcs/git/linux/drivers/media/video/uvc$ make
make -C /lib/modules/3.4.0-2-amd64/build 
M=~/vcs/git/linux/drivers/media/video/uvc modules

make[1]: Entering directory `/usr/src/linux-headers-3.4.0-2-amd64'
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_driver.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_queue.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_v4l2.o
~/vcs/git/linux/drivers/media/video/uvc/uvc_v4l2.c: In function 
‘uvc_v4l2_put_xu_mapping’:
~/vcs/git/linux/drivers/media/video/uvc/uvc_v4l2.c:1100:14: warning: 
ignoring return value of ‘__clear_user’, declared with attribute 
warn_unused_result [-Wunused-result]

  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_video.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_ctrl.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_status.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_isight.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_debugfs.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_entity.o
  LD [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvcvideo.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC  ~/vcs/git/linux/drivers/media/video/uvc/uvcvideo.mod.o
  LD [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvcvideo.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.4.0-2-amd64'

即可得到驱动程序文件 uvcvideo.ko 。

On 2013/2/20 16:02, choury wrote:

我按照 它的 说明git clone下来以后执行里面的build脚本,
它似乎并没有给我编译uvc模块,这是怎么回事?

于 2013年02月20日 15:50, Dongsheng Song 写道:

On 2013/2/20 15:00, choury wrote:
我在3.2 内核下面编译了驱动从http://www.linuxtv.org 下的,怎么还是没 
有 编 译 出uvcvideo.ko这个文件呢


我应该从哪下这个驱动来编译,或者改什么设置?


从 git log 看,驱动在 3.2 之前已经内置了,无需下载。

$ git log -1 2bb00fe63
commit 2bb00fe6336687f08e0a3733bce2343a821af843
Author: Laurent Pinchart laurent.pinch...@ideasonboard.com
Date:   Fri Jun 25 04:58:43 2010 -0300

V4L/DVB: uvcvideo: Add support for Manta MM-353 Plako

The camera requires the PROBE_MINMAX quirk. Add a corresponding 
entry

in the device IDs list

Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

你编译出来的是什么 ko 文件 ?








Re: usb摄像头无法识别

2013-02-20 文章 choury

这些我都已经装了

sudo dpkg -l linux-headers*
期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持 (h)
| 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安 
装(H)/触发器等待(W)/触发器未决 (T)

|/ 错误?=(无)/须重装(R) (状态,错误:大写=故 障)
||/ 名称 版本 
Architecture   描 述
+++-==-==-==-= 

un  linux-headers none
(无可用描 述)
ii  linux-headers-3.2.0-4-all  
3.2.35-2+rpi1  armhf  All header files 
for Linux 3.2 (meta-package)
ii  linux-headers-3.2.0-4-all-armhf
3.2.35-2+rpi1  armhf  All header files 
for Linux 3.2 (meta-package)
ii  linux-headers-3.2.0-4-common   
3.2.35-2+rpi1  armhf  Common header 
files for Linux 3.2.0-4
ii  linux-headers-3.2.0-4-rpi  
3.2.35-2+rpi1  armhf  Header files for 
Linux 3.2.0-4-rpi









于 2013年02月20日 17:28, Dongsheng Song 写道:

安装对应的软件包 linux-headers-3.2

于 2013/2/20 17:21, choury 写道:

这是make命令给出的错误

sudo make
make -C /lib/modules/3.2.0-4-rpi/build M= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-rpi'
/usr/src/linux-headers-3.2.0-4-common/scripts/Makefile.build:44: 
/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile: No such 
file or directory
make[5]: *** No rule to make target 
`/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile'.  Stop.

make[4]: *** [scripts_basic] Error 2
make[3]: *** No rule to make target `include/config/auto.conf', 
needed by `include/config/kernel.release'.  Stop.

make[2]: *** [sub-make] 错误 2
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-rpi'
make: *** [all] 错误 2



于 2013年02月20日 16:18, Dongsheng Song 写道:

给你一个最简单的方法,在你所用的内核源代码目录下,修改 uvc/Makefile 为:

uvcvideo-objs  := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o 
uvc_ctrl.o \

  uvc_status.o uvc_isight.o uvc_debugfs.o
uvcvideo-objs  += uvc_entity.o
obj-m := uvcvideo.o

all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

然后编译:
~/vcs/git/linux/drivers/media/video/uvc$ make
make -C /lib/modules/3.4.0-2-amd64/build 
M=~/vcs/git/linux/drivers/media/video/uvc modules

make[1]: Entering directory `/usr/src/linux-headers-3.4.0-2-amd64'
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_driver.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_queue.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_v4l2.o
~/vcs/git/linux/drivers/media/video/uvc/uvc_v4l2.c: In function 
‘uvc_v4l2_put_xu_mapping’:
~/vcs/git/linux/drivers/media/video/uvc/uvc_v4l2.c:1100:14: warning: 
ignoring return value of ‘__clear_user’, declared with attribute 
warn_unused_result [-Wunused-result]

  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_video.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_ctrl.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_status.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_isight.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_debugfs.o
  CC [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvc_entity.o
  LD [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvcvideo.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC  ~/vcs/git/linux/drivers/media/video/uvc/uvcvideo.mod.o
  LD [M]  ~/vcs/git/linux/drivers/media/video/uvc/uvcvideo.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.4.0-2-amd64'

即可得到驱动程序文件 uvcvideo.ko 。

On 2013/2/20 16:02, choury wrote:

我按照 它的 说明git clone下来以后执行里面的build脚本,
它似乎并没有给我编译uvc模块,这是怎么回事?

于 2013年02月20日 15:50, Dongsheng Song 写道:

On 2013/2/20 15:00, choury wrote:
我在3.2 内核下面编译了驱动从http://www.linuxtv.org 下的,怎么还是 
没有 编 译 出uvcvideo.ko这个文件呢


我应该从哪下这个驱动来编译,或者改什么设置?


从 git log 看,驱动在 3.2 之前已经内置了,无需下载。

$ git log -1 2bb00fe63
commit 2bb00fe6336687f08e0a3733bce2343a821af843
Author: Laurent Pinchart laurent.pinch...@ideasonboard.com
Date:   Fri Jun 25 04:58:43 2010 -0300

V4L/DVB: uvcvideo: Add support for Manta MM-353 Plako

The camera requires the PROBE_MINMAX quirk. Add a 
corresponding entry

in the device IDs list

Signed-off-by: Laurent Pinchart 
laurent.pinch...@ideasonboard.com

Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

你编译出来的是什么 ko 文件 ?












Re: usb摄像头无法识别

2013-02-20 文章 choury

还是不行,和刚才显示是一样的……

于 2013年02月20日 17:39, Dongsheng Song 写道:

安装 module-assistant,运行 module-assistant,执行 UPDATE 和 PREPARE,然后再编译内核模块。



--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51249c6d.3020...@choury.com



usb摄像头无法识别

2013-02-19 文章 choury
我的usb摄像头插上时在/dev/下找不到video0或者类似的文件,但是使用lsusb却
可以看到摄像头:
Bus 001 Device 004: ID 18ec:3188 Arkmicro Technologies Inc. ARK3188 UVC
Webcam

我又去uvc驱动的网站上找了这个id发现型号是受支持的,请问是怎么一会时呢?


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5124424d.3000...@choury.com



Re: usb摄像头无法识别

2013-02-19 文章 choury
而且我下了一个驱动源程序发现其中有uvc_video.c等一系列文件,但是编译完我 
还是没有发现uvcvideo.ko


于 2013年02月20日 13:29, choury 写道:

这个没有找 到

于 2013年02月20日 13:28, Dongsheng Song 写道:

uvcvideo.ko 呢?这个最重要。

On Wed, Feb 20, 2013 at 1:24 PM, chouryzhou...@choury.com  wrote:

在config文件里面有
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

但是第二个没有找到

于 2013年02月20日 13:17, Dongsheng Song 写道:


找一下你的内核到底有没有这个驱动程序:

# cat /boot/config-`uname -r` | grep USB_VIDEO_CLASS
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

# find  /lib/modules/`uname -r`/kernel/drivers/media -name uvcvideo.ko
/lib/modules/3.8.0-1-amd64/kernel/drivers/media/usb/uvc/uvcvideo.ko

On Wed, Feb 20, 2013 at 11:26 AM, chouryzhou...@choury.com   wrote:
我的usb摄像头插上时在/dev/下找不到video0或者类似的文件,但 是使用 
lsusb却

可以看到摄像头:
Bus 001 Device 004: ID 18ec:3188 Arkmicro Technologies Inc. 
ARK3188 UVC

Webcam

我又去uvc驱动的网站上找了这个id发现型号是受支持的,请问是怎么一会 
时呢?



--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/5124424d.3000...@choury.com






--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/512460ef.6000...@choury.com



Re: usb摄像头无法识别

2013-02-19 文章 choury

用的是arm平台,是不是这个原因?

于 2013年02月20日 13:39, Dongsheng Song 写道:

奇怪,官方内核,以及我编译的内核都有这个文件,只是路径有少许不同:

/lib/modules/3.2.0-4-amd64# find -name uvc*.ko
./kernel/drivers/media/video/uvc/uvcvideo.ko

/lib/modules/3.8.0-1-amd64# find -name uvc*.ko
./kernel/drivers/media/usb/uvc/uvcvideo.ko

2013/2/20 chouryzhou...@choury.com:

而且我下了一个驱动源程序发现其中有uvc_video.c等一系列文件,但是编译完我 还是没有发现uvcvideo.ko

于 2013年02月20日 13:29, choury 写道:

这个没有找 到


于 2013年02月20日 13:28, Dongsheng Song 写道:

uvcvideo.ko 呢?这个最重要。

On Wed, Feb 20, 2013 at 1:24 PM, chouryzhou...@choury.com   wrote:

在config文件里面有
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

但是第二个没有找到

于 2013年02月20日 13:17, Dongsheng Song 写道:


找一下你的内核到底有没有这个驱动程序:

# cat /boot/config-`uname -r` | grep USB_VIDEO_CLASS
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

# find  /lib/modules/`uname -r`/kernel/drivers/media -name uvcvideo.ko
/lib/modules/3.8.0-1-amd64/kernel/drivers/media/usb/uvc/uvcvideo.ko

On Wed, Feb 20, 2013 at 11:26 AM, chouryzhou...@choury.comwrote:

我的usb摄像头插上时在/dev/下找不到video0或者类似的文件,但 是使用 lsusb却
可以看到摄像头:
Bus 001 Device 004: ID 18ec:3188 Arkmicro Technologies Inc. ARK3188
UVC
Webcam

我又去uvc驱动的网站上找了这个id发现型号是受支持的,请问是怎么一会 时呢?


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/5124424d.3000...@choury.com




--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51246266.4080...@choury.com



Re: usb摄像头无法识别

2013-02-19 文章 choury

找到了这个:

/lib/modules/3.6.11+ $ find -name uvc*.ko
./kernel/drivers/media/video/uvc/uvcvideo.ko


于 2013年02月20日 13:39, Dongsheng Song 写道:

奇怪,官方内核,以及我编译的内核都有这个文件,只是路径有少许不同:

/lib/modules/3.2.0-4-amd64# find -name uvc*.ko
./kernel/drivers/media/video/uvc/uvcvideo.ko

/lib/modules/3.8.0-1-amd64# find -name uvc*.ko
./kernel/drivers/media/usb/uvc/uvcvideo.ko

2013/2/20 chouryzhou...@choury.com:

而且我下了一个驱动源程序发现其中有uvc_video.c等一系列文件,但是编译完我 还是没有发现uvcvideo.ko

于 2013年02月20日 13:29, choury 写道:

这个没有找 到


于 2013年02月20日 13:28, Dongsheng Song 写道:

uvcvideo.ko 呢?这个最重要。

On Wed, Feb 20, 2013 at 1:24 PM, chouryzhou...@choury.com   wrote:

在config文件里面有
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

但是第二个没有找到

于 2013年02月20日 13:17, Dongsheng Song 写道:


找一下你的内核到底有没有这个驱动程序:

# cat /boot/config-`uname -r` | grep USB_VIDEO_CLASS
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

# find  /lib/modules/`uname -r`/kernel/drivers/media -name uvcvideo.ko
/lib/modules/3.8.0-1-amd64/kernel/drivers/media/usb/uvc/uvcvideo.ko

On Wed, Feb 20, 2013 at 11:26 AM, chouryzhou...@choury.comwrote:

我的usb摄像头插上时在/dev/下找不到video0或者类似的文件,但 是使用 lsusb却
可以看到摄像头:
Bus 001 Device 004: ID 18ec:3188 Arkmicro Technologies Inc. ARK3188
UVC
Webcam

我又去uvc驱动的网站上找了这个id发现型号是受支持的,请问是怎么一会 时呢?


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/5124424d.3000...@choury.com




--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51246333.2000...@choury.com



Re: usb摄像头无法识别

2013-02-19 文章 choury

不行,我内核版本是3.2.27+ 这个是在3.6..11+的目录里面的,我复制过去就能用吗?

于 2013年02月20日 13:48, Dongsheng Song 写道:

那你就可以强制使用驱动了:

$ sudo modprobe uvcvideo

2013/2/20 chouryzhou...@choury.com

找到了这个:

/lib/modules/3.6.11+ $ find -name uvc*.ko
./kernel/drivers/media/video/uvc/uvcvideo.ko



于 2013年02月20日 13:39, Dongsheng Song 写道:

奇怪,官方内核,以及我编译的内核都有这个文件,只是路径有少许不同:


/lib/modules/3.2.0-4-amd64# find -name uvc*.ko
./kernel/drivers/media/video/uvc/uvcvideo.ko

/lib/modules/3.8.0-1-amd64# find -name uvc*.ko
./kernel/drivers/media/usb/uvc/uvcvideo.ko

2013/2/20 chouryzhou...@choury.com:

而且我下了一个驱动源程序发现其中有uvc_video.c等一系列文件,但是编译完我 还是没有发现uvcvideo.ko

于 2013年02月20日 13:29, choury 写道:

这个没有找 到


于 2013年02月20日 13:28, Dongsheng Song 写道:

uvcvideo.ko 呢?这个最重要。

On Wed, Feb 20, 2013 at 1:24 PM, chouryzhou...@choury.comwrote:

在config文件里面有
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

但是第二个没有找到

于 2013年02月20日 13:17, Dongsheng Song 写道:


找一下你的内核到底有没有这个驱动程序:

# cat /boot/config-`uname -r` | grep USB_VIDEO_CLASS
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

# find  /lib/modules/`uname -r`/kernel/drivers/media -name uvcvideo.ko
/lib/modules/3.8.0-1-amd64/kernel/drivers/media/usb/uvc/uvcvideo.ko

On Wed, Feb 20, 2013 at 11:26 AM, chouryzhou...@choury.com wrote:

我的usb摄像头插上时在/dev/下找不到video0或者类似的文件,但 是使用 lsusb却
可以看到摄像头:
Bus 001 Device 004: ID 18ec:3188 Arkmicro Technologies Inc. ARK3188
UVC
Webcam

我又去uvc驱动的网站上找了这个id发现型号是受支持的,请问是怎么一会 时呢?


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/5124424d.3000...@choury.com




--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5124646b.30...@choury.com



Re: usb摄像头无法识别

2013-02-19 文章 choury

我先尝试一下更换一下内核

于 2013年02月20日 13:48, Dongsheng Song 写道:

那你就可以强制使用驱动了:

$ sudo modprobe uvcvideo

2013/2/20 chouryzhou...@choury.com

找到了这个:

/lib/modules/3.6.11+ $ find -name uvc*.ko
./kernel/drivers/media/video/uvc/uvcvideo.ko



于 2013年02月20日 13:39, Dongsheng Song 写道:

奇怪,官方内核,以及我编译的内核都有这个文件,只是路径有少许不同:


/lib/modules/3.2.0-4-amd64# find -name uvc*.ko
./kernel/drivers/media/video/uvc/uvcvideo.ko

/lib/modules/3.8.0-1-amd64# find -name uvc*.ko
./kernel/drivers/media/usb/uvc/uvcvideo.ko

2013/2/20 chouryzhou...@choury.com:

而且我下了一个驱动源程序发现其中有uvc_video.c等一系列文件,但是编译完我 还是没有发现uvcvideo.ko

于 2013年02月20日 13:29, choury 写道:

这个没有找 到


于 2013年02月20日 13:28, Dongsheng Song 写道:

uvcvideo.ko 呢?这个最重要。

On Wed, Feb 20, 2013 at 1:24 PM, chouryzhou...@choury.comwrote:

在config文件里面有
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

但是第二个没有找到

于 2013年02月20日 13:17, Dongsheng Song 写道:


找一下你的内核到底有没有这个驱动程序:

# cat /boot/config-`uname -r` | grep USB_VIDEO_CLASS
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

# find  /lib/modules/`uname -r`/kernel/drivers/media -name uvcvideo.ko
/lib/modules/3.8.0-1-amd64/kernel/drivers/media/usb/uvc/uvcvideo.ko

On Wed, Feb 20, 2013 at 11:26 AM, chouryzhou...@choury.com wrote:

我的usb摄像头插上时在/dev/下找不到video0或者类似的文件,但 是使用 lsusb却
可以看到摄像头:
Bus 001 Device 004: ID 18ec:3188 Arkmicro Technologies Inc. ARK3188
UVC
Webcam

我又去uvc驱动的网站上找了这个id发现型号是受支持的,请问是怎么一会 时呢?


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/5124424d.3000...@choury.com




--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/512464f7.9080...@choury.com



Re: usb摄像头无法识别

2013-02-19 文章 choury
我在3.2内核下面编译了驱动从http://www.linuxtv.org下的,怎么还是没有编译 
出uvcvideo.ko这个文件呢


我应该从哪下这个驱动来编译,或者改什么设置?

于 2013年02月20日 13:53, Dongsheng Song 写道:

当然不能,或者为3.2编译驱动,或者切换到对应的 3.6 内核。

2013/2/20 chouryzhou...@choury.com:

不行,我内核版本是3.2.27+ 这个是在3.6..11+的目录里面的,我复制过去就能用吗?



--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51247492.7030...@choury.com



Re: 回复: 虚拟机IP地址的问题

2012-12-11 文章 choury
错了,应该是sudo ifconfig eth0 up


于 2012年12月11日 18:51, Zhigang Song 写道:
 On 12/11/2012 06:35 PM, roolcz wrote:
 亲,我非常负责的告诉你,你没有启动eth0
 请
 vi /etc/sysconfig/network-scripts/ifcfg-eth0
 检查ONBOOT=YES
 然后service network restart
 
 roolcz
 *发件人:* Zhigang Song mailto:10054114...@gmail.com
 *发送时间:* 2012-12-11 17:53
 *收件人:* debian-chinese-gb mailto:debian-chinese-gb@lists.debian.org
 *主题:* 虚拟机IP地址的问题
 新建了两台虚拟机,NAT方式上网,用ifconfig查询,IP地址都是127.0.1.1.
 这是怎么回事??
 -- 
 To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/50c702a0.6050...@gmail.com
 大哥,我机子里没有你说的那个文件。这个文件是开机启动eth0么??

 我确实没有用eth0.我的宿主机事笔记本,只有wlan0接通了网络。



有谁知道关闭kde特效的命令或脚本吗

2012-08-23 文章 choury
本人用的是笔记本,我想在用电池的时候自动执行脚本关闭kde的桌面特效
,现在只查到用键盘快捷键可以办到,大家知道有这种命令吗,或者模拟出这个
快捷键的操作也可以。


????kde????????????????????????

2012-07-08 文章 choury





signature.asc
Description: OpenPGP digital signature


Re: Fwd: 安装debian testing失败

2012-06-19 文章 choury
不可能啊,我就是安装到分区的,gpt分区

于 2012年06月19日 13:21, 陈兴友 写道:


 -- 已转发邮件 --
 发件人: *陈兴友* niatlant...@gmail.com mailto:niatlant...@gmail.com
 日期: 2012年6月19日 下午1:18
 主题: Re: 安装debian testing失败
 收件人: wolf python london lyh19901...@gmail.com
 mailto:lyh19901...@gmail.com


 Grub 2不支持安装到分区了,可以安装到MBR,也可以插个U盘把安装过程走掉,
 后面用U盘或grub-rescue-pc包里面的映像来启动。

 在 2012年6月6日 下午2:29,wolf python london lyh19901...@gmail.com
 mailto:lyh19901...@gmail.com写道:

 2012/6/6 Lerry lvdac...@gmail.com mailto:lvdac...@gmail.com:
  我前几天下了最新的testing镜像,也是装不上,重新下载,换个主机,
 还是不行,提示busybox怎么了,具体不记得了,后来又用原来的镜像装好
 了,记得以前装的时候老是grub安装失败,总之,安装有点问题
 
 我这边是如果grub2不安装在MBR就会安装失败

  在 2012年6月6日 下午1:33,刘世伟 liushi...@anheng.com.cn
 mailto:liushi...@anheng.com.cn 写道:
  于 2012年05月26日 23:21, Shell Xu 写道:
  日志上看,是缺文件。至于为什么,就不好说了。
 
 
  testing安装盘缺文件应该是正常的吧,
  以前build出来的iso可能跟现在的镜像文件不配套了。
 
 
  --
  To UNSUBSCRIBE, email to
 debian-chinese-gb-requ...@lists.debian.org
 mailto:debian-chinese-gb-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org mailto:listmas...@lists.debian.org
  Archive: http://lists.debian.org/4fceeba6.9070...@anheng.com.cn
 
 
 
 
  --
  yours,Lerry
  --
  LinuxerPythoner lerry.org http://lerry.org



 --
 
 Yes, I use Debian GNU/L
 wolf python london(WPL)
 Do as you soul should do !
 






休眠恢复不成功

2012-05-29 文章 choury
休眠成功的将数据写入了硬盘,但是按下开机键确是通常的直接启动了
是因为用的是交换文件而不是交换分区的缘故吗?
版本是sid的 x86_64
-- 
Best regards
Choury
http://www.choury.com
http://www.facebook.com/ichoury


Re: 安装debian testing失败

2012-05-27 文章 choury
在 2012年5月27日 Sunday 09:10:44,您写道:
 升級Testing失敗,不先裝X、GNOME等東西應該不太會吧。
这样安装成功了,但是ati的显卡驱动安不上……无线网卡驱动安装了也不好使……

-- 
Best regards
Choury
My Facebook