摘要: error info[WNDR4700]# smbpasswd -D 10 -a adminNetbios name list:-my_netbios_names[0]="READYSHARE"Attempting to register passdb backend smbpasswdSuccessfully added passdb backend 'smbpasswd'Attempting to register passdb backend tdbsamSuccessfully added passdb backend 'tdbsam' 阅读全文
posted @ 2012-11-27 14:35 Ray.floyd 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: 错误1checking that the C compiler understands negative enum values... configure: error: in `/home/floyd.peng/wndr4700-db-buildroot.git/build_dir/target-powerpc_eglibc-2.13/samba':configure: error: cannot run test program while cross compiling出现该错误,我们的Makefile中有类似这样的语句(cd $(PKG_BUILD_DIR)/source;./ 阅读全文
posted @ 2012-11-23 08:31 Ray.floyd 阅读(4012) 评论(0) 推荐(0) 编辑
摘要: package/<name>/Makefilepackage/<name>/patchespackage/<name>/filesMakefile example# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ include $(TOPDIR)/rules.mk PKG_NAME:=bridge PKG_VERSION:=1.0.6 PKG_RELEASE:=1 PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/bridge P 阅读全文
posted @ 2012-11-21 10:23 Ray.floyd 阅读(316) 评论(0) 推荐(0) 编辑
摘要: (移植android OS 到 openwrt)确保linux能够识别adb命令,请自行添加环境变量。root@Ray:/home/floyd/adt-bundle-linux/sdk/platform-tools# ./adb devices -lList of devices attached 02a0251d device usb:2-1.1注,确保adb运行权限为root,否则floyd@Ray:~/adt-bundle-linux/sdk/platform-tools$ ./adb devices -lList of devices attached ??... 阅读全文
posted @ 2012-11-20 21:55 Ray.floyd 阅读(6560) 评论(0) 推荐(0) 编辑
摘要: You are in the middle of a conflicted merge 解决方法解决办法:git reset --hard HEADgit fetch origingit reset --hard origin 阅读全文
posted @ 2012-11-20 16:47 Ray.floyd 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 通常编译Java app javac appname.java执行Java app java appname(Java虚拟机)此外,Setting an Entry Point with the JAR Tool(how to run *.jar)The 'e' flag (for 'entrypoint'), introduced in JDK 6, creates or overrides the manifest's Main-Class attribute. It can be used while creating or updating a 阅读全文
posted @ 2012-11-16 16:24 Ray.floyd 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 错误描述[ 36.768000] VFS: Unable to mount root fs via NFS, trying floppy.[ 36.772000] VFS: Cannot open root device "nfs" or unknown-block(2,0)[ 36.776000] Please append a correct "root=" boot option; here are the available partitions:[ 36.780000] Kernel panic - not syncing: VFS: Unab 阅读全文
posted @ 2012-11-16 11:03 Ray.floyd 阅读(846) 评论(0) 推荐(0) 编辑
摘要: GRUB啟動時選擇fedora,按e鍵,再選擇kernel,按e鍵,在kernel /boot/vmlinuz最後面加入single,回車-按b鍵 ,内核会启动到单用户模式,等待進入命令行模式。 阅读全文
posted @ 2012-11-16 10:16 Ray.floyd 阅读(2170) 评论(0) 推荐(0) 编辑
摘要: 1,下载http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-i586.tar.gz2,解压 tar -zxvf jdk-7u9-linux-i586.tar.gz3,移动解压后的文件夹jdk1.7.0_09到适当位置 mv jdk1.7.0_09 /usr/bin/jvm ( 需要root权限且实现建立jvm文件)4,设置环境变量 vi ~/.bashrc 在文件后面添加 export JAVA_HOME=/usr/bin/jvmexport JRE_HOME=${JAVA_HOME}/jreexport CL.. 阅读全文
posted @ 2012-11-15 22:38 Ray.floyd 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Learning GIT from an exampleGIT #表示注释、说明,蓝色表输入命令mkdir first.git #git init #初始化倉庫#copy some files to this dirgit add . #添加所有文件#git add ./path/all/git commit -m "init" #生成commitpwd#/home2/floyd.peng/testdir/first.git#and the user is floyd.peng password is ****#then how to clone this deposito 阅读全文
posted @ 2012-11-08 10:41 Ray.floyd 阅读(276) 评论(0) 推荐(0) 编辑