diracnote
diracnote
DiracNote
7 posts
胖纸+码农+笔记
Don't wanna be here? Send us removal request.
diracnote · 12 years ago
Text
CMD无法输入中文
该死的Ghost。。。。。。又精简了
确保代码页为936
修改注册表HKEY_CURRENT_USER\console,其中的loadconime的值从0改为1,该值作用是开启conime
conime.exe是输入法编辑器相关程序。允许用户使用标准键盘就能输入复杂的字符与符号,需要注意它同时可能是一个bfghost1.0远程控制后门程序。此程序允许攻击者访问你的计算机,窃取密码和个人数据。
0 notes
diracnote · 12 years ago
Text
CHM已取消到该网页的导航或者无法显示网页
见于下载的CHM文件(文件名字存在#等特殊字符者修改即可),现象为打开时弹出“打开文件—安��警告”,右键解除锁定即可
0 notes
diracnote · 12 years ago
Text
Avast!报告删tcpip.sys后无法上网
网络连接无发送接收的数据包,本来推测网卡驱动挂掉,实际应该是tcpip协议被Avast整挂了。
Ping的出错信息:
Unable to contact IP driver, error code 2,
ipconfig的出错信息:
Windows IP Configuration An internal error occurred: 不支持请求。 Please contact Microsoft Product Support Services for further help. Additional information: Unable to query host name.
解决方案:
网上的方案:
删winsock的注册表:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2]
重装TCP/IP协议:
选择从磁盘安装,在C:\Windows\inf选nettcpip.inf
[MS_TCPIP.PrimaryInstall]
Characteristics = 0xa0 <——把此处的0Xa0改为0×80 保存退出
如果未找到inf文件夹,修改文件夹属性,显示系统文件和隐藏文件
实际只用重装TCP/IP协议即可,没必要删注册表和修改nettcpip.inf文件
1 note · View note
diracnote · 12 years ago
Text
(Debian)bash:command not found
输shutdown居然显示这错,你好歹显示权限不足啊 = =
Debian默认PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
没有sbin。。。。。。(只能老老实实sudo了)
Ps.
/bin: bin为binary的简写主要放置一些系统的必备执行档例如:cat、cp、chmod df、dmesg、gzip、kill、ls、mkdir、more、mount、rm、su、tar等。
/usr/bin: 主要放置一些应用软体工具的必备执行档例如c++、g++、gcc、chdrv、diff、dig、du、eject、elm、free、gnome*、 gzip、htpasswd、kfm、ktop、last、less、locale、m4、make、man、mcopy、ncftp、 newaliases、nslookup passwd、quota、smb*、wget等。
/sbin: 主要放置一些系统管理的必备程式例如:cfdisk、dhcpcd、dump、e2fsck、fdisk、halt、ifconfig、ifup、 ifdown、init、insmod、lilo、lsmod、mke2fs、modprobe、quotacheck、reboot、rmmod、 runlevel、shutdown等。 /usr/sbin: 放置一些网路管理的必备程式例如:dhcpd、httpd、imap、in.*d、inetd、lpd、named、netconfig、nmbd、samba、sendmail、squid、swap、tcpd、tcpdump等。
外加Debian的解释:
Using text console
Boot process in regards to environment variable definition when a text console (also called login shell) is used.
At the end of boot the mother of all processes initis started. init's environment, including PATH, is defined in its source code and cannot be changed at run time.
init runs the start-up scripts from /etc/init.ddepending on the run level set in /etc/inittab. Since init's environment is very bare, the scripts define their required environment variables within themselves.
init starts the text login process that waits for the user to log in. When the user logs in, the login process checks /etc/passwdto see what shell should be started for this particular user.
The shell starts and reads its shell-specific configuration files.
Bash first reads /etc/profileto get values that are defined for all users. After reading that file, it looks for ~/.bash_profile', ~/.bash_login', and `~/.profile', in that order, and reads and executes commands from the first of these files that exists and is readable. b. (please fill in other shells as well)
Now the environment variables are ready to be used by the applications you start from the terminal.
Source:http://wiki.debian.org/EnvironmentVariables
0 notes
diracnote · 12 years ago
Text
Tumblr重定向网页不起作用(Tumblr redirect pages not work)
(假定添加的步骤正确)原因可能是这个��能没有被解锁。。。。。。
解决方案:加别人关注 = =
下面是官方的回复:
In order to prevent spam and other types of abuse on Tumblr, that feature is locked on new accounts. After you’ve used the account for a while to do things like Following other blogs, Liking posts, and customizing your blog’s appearance, the feature will be unlocked so you can use it. We apologize for the inconvenience.
0 notes
diracnote · 12 years ago
Text
Gnome shell无法同步时间
Debian默认不安装时间同步的程序,导致Gnome 3里面
系统设置——时间和日期
中有通过网络自动对时的开关无法使用(打开后会自动关闭)。
安装ntp:
sudo aptitude install ntpdate
ntpdate在NTP网站上属于要淘汰的(Deprecating),参见http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate。
Debian在源中并未去除改程序,实际也可以安装,不影响使用,不过不推荐安装。
0 notes
diracnote · 12 years ago
Text
Pro/Toolkit应用程序在分配到您的地址之前未被解锁
Pro/Toolkit开发的程序在部署到其他电脑上去之前需要被解锁,未解锁的程序需要Pro/Toolkit license才能运行。
错误信息:
"The Pro/TOOLKIT application "*" was not unlocked before distribution to your site.
Please contact the provider of "*" for assistance."
中文错误:“Pro/Toolkit应用程序在分配到您的地址之前未被解锁”
解锁步骤:
<Pro/Engineer Installation>\bin\protk_unlock "<Folder>\*.dll"
(注意:在开发机上运行,即需要Pro/Toolkit的许可)
下述操作貌似可以避免解锁这个步骤,不过,没有ProE在身边,无法证实 = =
For Pro/Toolkit application development, unlocking of files can be avoided using following steps:
Start Pro/Engineer setup using <Pro/Engineer Installation>\bin\ptcsetup.bat. Make sure FLEXnet License Servers page is showing Pro/Toolkit license available.
On Optional Configuration Steps page, select option Additional license configuration. Click on Next button.
On License Configuration page, select Pro/Engineer license and click on Edit button. In Select Licenses dialog box, select Pro/Toolkit and click on arrow button to move it to Startup Extensions & floating licenses. Click on OK button to close Select Licenses dialog box.
Click on Configure button to complete Pro/Engineer setup.
0 notes