1.玩TQ2440,燒寫uboot時,忘記拔usb線電腦藍屏,重啟電腦DNW工具不能用了。
解決方案:刪掉C盤下的dnw.ini檔案,就可以了
問題描述:
SecureCRT串連主機時,無法從鍵盤輸入,進入不了ok狀態,而用超級終端可以。解決辦法:
在使用CRT串連時,在quick connect裡取消Flow Control選項(把勾取消)
通常我們都是設定:(Flow Control 中選擇了一項)
取消Flow Control中所有選項,便可以使用CRT從鍵盤輸入。
2.玩TQ2440,通過nfs掛載時,老是提示正在響應的英文字樣,或出現卡住情況。
解決方案:換掉命令
mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 192.168.1.109:/opt/EmbedSky/root_nfs /mnt
3.boost庫應用,直接把下載的boost解壓出來,然後把該目錄下的boost拷貝到/usr/include目錄底下,然後直接就可以運用boost了。
4.ubuntu,root使用者自動登入:
a) 查看/etc/gdm/目錄下是否存在custom.conf檔案,如果存在,則直接跳到下一步,如果不存在,在上方工作列則依次開啟”System àAdministrationà Login Screen”,點擊“Unlock”後,修改Login Screen Settings的某一項設定,比如Enable或者Disable一下“Log in as automatically”,然後關閉該視窗,再查看一下/etc/gdm/目錄下,custom.conf檔案應該就會存在了。
b) 編輯/etc/gdm/custom.conf檔案,修改其中的AutomaticLoginEnable,AutomaticLogin,TimedLogin三項,具體如下所示:
[daemon]
AutomaticLoginEnable=true 這個修改為true
AutomaticLogin=root 這個修改為root
TimedLoginEnable=false
TimedLogin=root 這個修改為root
TimedLoginDelay=10
DefaultSession=gnome
c. 重啟,自動登入root
4.ubuntu,裝SVN
http://blog.csdn.net/barrydiu/archive/2009/02/25/3936243.aspx
http://developer.51cto.com/art/201005/202506.htm
服務
sc create svnserve binpath= "C:\Program Files\Subversion\bin\svnserve.exe --service --root c:\AA" displayname= "Subversion" depend= tcpip start= auto
http://developer.51cto.com/art/201006/203043.htm
http://hi.baidu.com/sjncer/blog/item/9e6c79efd3e829ffce1b3ed9.html
RabbitVCS 是一款 Linux 平台上的版本控制前端程式
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitvcs-core rabbitvcs-nautilus rabbitvcs-cli
附加: 安裝 RabbitVCS Gedit 擴充
sudo apt-get install rabbitvcs-gedit
修複無法顯示表徵圖的問題
gconftool-2 --set /desktop/gnome/interface/menus_have_icons --type bool true
最後輸入以下命令重啟 Nautilus 就可以使用 RabbitVCS 了。
nautilus -q
5.ubuntu,安裝nfs
http://mwtx.blog.163.com/blog/static/38939129201021510022295/
a.安裝NFS服務
$ sudo apt-get install nfs-kernel-server
b. 配置NFS
$ sudo dpkg-reconfigure portmap
對Should portmap be bound to the loopback address? 選N.
(3,4可以略過)
c.配置/etc/hosts.deny
$ sudo gedit /etc/hosts.deny
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
d.配 置/etc/hosts.allow
$ sudo gedit /etc/hosts.allow
portmap: 192.168.1.
lockd: 192.168.1.
rquotad: 192.168.1.
mountd: 192.168.1.
statd: 192.168.1.
e.重啟portmap daemon
$ sudo /etc/init.d/portmap restart
f.配置/etc/exports
$ sudo gedit /etc/exports
/nfsboot *(rw,sync,no_root_squash)
g.重啟nfs服務
$ sudo /etc/init.d/nfs-kernel-server restart
h.nfs檔案夾添加
$sudo mount 192.168.1.129:/nfsboot /mnt
i.查看結果
$ df
j.編輯隨身碟,userinfo.txt
Mountpath="/nfsboot"
k.手動掛載開發板的nfs
$ mount -t nfs -o nolock 192.168.1.129:/nfsboot /mnt/nfs
l.手動卸載開發板的nfs
$ umount /mnt/nfs
6.ubuntu 安裝ftp
http://www.360doc.com/content/10/1013/15/3564483_60653057.shtml
http://www.236z.com/html/30/29/32/2010/10/18/122225.html
http://www.linuxidc.com/Linux/2007-08/6660.htm
1. 安裝vsftpd
$ sudo apt-get install vsftpd
2. 配置
$ sudo gedit /etc/vsftpd.conf
anonymous_enable=YES #接受匿名使用者
no_anon_password=YES #匿名使用者login時不詢問口令
write_enable=YES #啟用全域上傳
anon_upload_enable=YES #啟用匿名使用者上傳
anon_mkdir_write_enable=YES #啟用匿名使用者建立檔案夾許可權
3. 重啟
$ sudo /etc/init.d/vsftpd restart
7.ubuntu samba
a.安裝
apt-get install samba smbfs
b.配置
cp /etc/samba/smb.conf /etc/samba/smb.conf.bak --先備份下
vi /etc/samba/smb.conf 內容如下(刪掉全部,修改如下):
[global]
workgroup = WORKGROUP
netbios name = ArmSMB
server string = Arm Linux Samba Server
security = share
[share]
path = /home/wyz/share #這個為共用目錄(先建立,並設定許可權為777)
writeable = yes
browseable = yes
guest ok = yes
c.重啟
/etc/init.d/smbd restart
d.訪問
//192.168.X.X
註: apt-get install無效時,執行apt-get update
make menuconfig失敗,一般執行 apt-get install libncurses*