原创 openwrt 啓動問題(virtualBox)

當啓動以後,出現Kernel panic - not syncing: Attempted to kill init ! 的提示時,只需要打開一個串

原创 samba option

摘自:http://www.samba.org/samba/docs/using_samba/ch10.html Samba Printing Options Table 10-2 summarizes the Samba printin

原创 ubuntu重新檢測網卡

啓動系統是出現錯誤 Waiting for network configuration... Waiting up to 60 more seconds for network configuration... 解決方法: rm /e

原创 OpenWrt添加開發板RT5350-EVB,併成功設置pppoe

前段時間在某寶上買了這個RT5350-EVB ver3.1開發板。近日發現,這些核心板都跟HLK-RM04是一樣的。。。。。。 OpenWrt使用的是最新的穩定版Barrier Breaker 14.07,該版本已經支持RT5350 因爲

原创 ubuntu 更換軟件源

http://mirror.ubuntu9.com/index.php?t=s&r=precise該鏈接給出了很多的源,可以用ping找出對你來說最快的源 例如 cd /etc/apt/ cp source.list source.lis

原创 GNU ARM指令僞操作

僞操作 語法格式 作用 常量編譯控制 .byte .byte expr{, expr} … 分配一段字節內存單元,並用expr初始化 .hword .short .hword expr{, expr

原创 ubuntu 12.04添加應用程序到Unity側欄

在dash裏不能搜到的應用程序是不能直接鎖定到側欄的。可行方法如下: 1、在桌面上創建空白文件,並增加如下內容 [Desktop Entry] Name= 鼠標指向側欄圖標時,顯示的名稱 Type=Application I

原创 ubuntu server 12.04 配置webdav(Apache)

1.安裝apache2(需要配置後能正常工作才進行後面的工作) sudo apt-get install apache22.啓用關聯到的模塊: sudo a2enmod dav sudo a2enmod dav_fs sudo a

原创 ubuntu server 12.04下git、github

1.安裝git: apt-get install git 2.添加信息 git config --global user.name"xxxxx" git config --global user.email [email protected] 3

原创 linux下,accept得到的客戶端地址爲0.0.0.0:0的解決方法

accept的第三個參數,在調用之前需要設置爲第二個參數的長度。在manpage中有明確的說明:          The addrlen argument is a value-result argument: the caller 

原创 c++11中正則表達式的使用

環境:Ubuntu 15.10       QtCreator     CMake      c++ 頭文件  #include <regex> regex_search: std::regex pattern; pattern = "

原创 UBoot頂層Makefile及config.mk確定的相關參數

VERSION_FILE = include/version_autogenerated.h # 版本文件 HOSTARCH = i386 # 宿主機的體系結構 HOSTOS = linux # 宿主機的操作系統 sa

原创 Ubuntu的PATH永久修改

Ubuntu有PATH變量存放在/etc/environment中,相對其它的linux發行版不大一樣

原创 關於zend studio的漢化

zend的漢化是用的Eclipse的漢化包,eclipse的漢化包也不是官方提供的。可以根據不同的版本選擇不同的鏈接 http://archive.eclipse.org/technology/babel/index.php

原创 VirtualBox安裝ubuntu 12.04LTS 圖形界面無法啓動:The system is running in low-graphics mode

首先給出官方的鏈接:https://forums.virtualbox.org/viewtopic.php?f=29&t=15679 出現如下的界面時,點擊確定,並選擇最後一項進入文本界面 1.確保網絡連通,並更新一下軟件源 apt-