在modules\flashvideo\classes\FlashVideoRenderer.class
裡面有說
/* Set allowDL=false to omit download button in upper right of player */
$flashVars .= '&allowDl=flase';
原本是true 改成false就好了
--
害我研究這麼久 原來這麼簡單 XD
2010年12月22日 星期三
2010年12月15日 星期三
ns2的一些error message
抓了ns-allinone-2.29_multichan.rar下來 想把他弄到Fedora上面跑
沒想到工程比想像中的浩大 囧....
----
先解壓縮 然後搜尋檔案內容 把/home/smallko/ns-allinone-2.28/改成你自己的ns2路徑
然後再執行./install
不過中間會遇到很多錯誤訊息 (有人說是編譯器版本問題!?)
下面節錄部份解決方法 因為改的東西太多了 那就改天吧(冷)
不然就去參考這個
http://shagin45.blogspot.com/2008/02/ns2-nistmobility.html
或者是把你的錯誤訊息丟到google 應該也可以找到
----
dsr/dsragent.cc: In member function ‘void DSRAgent::handleFlowForwarding(SRPacket&, int)’:
dsr/dsragent.cc:828: error: ‘XmitFlowFailureCallback’ was not declared in this scope
dsr/dsragent.cc: In member function ‘void DSRAgent::sendOutPacketWithRoute(SRPacket&, bool, Time)’:
dsr/dsragent.cc:1385: error: ‘XmitFailureCallback’ was not declared in this scope
dsr/dsragent.cc:1386: error: ‘XmitFlowFailureCallback’ was not declared in this scope
dsr/dsragent.cc:1403: error: ‘XmitFailureCallback’ was not declared in this scope
make: *** [dsr/dsragent.o] Error 1
@line 220, add:
void XmitFlowFailureCallback(Packet *pkt, void *data);
void XmitFailureCallback(Packet *pkt, void *data);
= = = = = = = = = = = = = =
diffusion/diffusion.cc: In member function 'void DiffusionAgent::MACprepare(Packet*, nsaddr_t, int, bool)':
diffusion/diffusion.cc:429: error: 'XmitFailedCallback' was not declared in this scope
make: *** [diffusion/diffusion.o] Error 1
add:
void XmitFailedCallback(Packet *pkt, void *data);
before
void DiffusionAgent::MACprepare(Packet *pkt, nsaddr_t next_hop,
int type, bool lk_dtct)
= = = = = = = = = = = = = =
diffusion/omni_mcast.cc: In member function 'void OmniMcastAgent::MACprepare(Packet*, nsaddr_t, unsigned int, bool)':
diffusion/omni_mcast.cc:388: error: 'OmniMcastXmitFailedCallback' was not declared in this scope
make: *** [diffusion/omni_mcast.o] Error 1
@line 106, add:
void OmniMcastXmitFailedCallback(Packet *pkt, void *data);
沒想到工程比想像中的浩大 囧....
----
先解壓縮 然後搜尋檔案內容 把/home/smallko/ns-allinone-2.28/改成你自己的ns2路徑
然後再執行./install
不過中間會遇到很多錯誤訊息 (有人說是編譯器版本問題!?)
下面節錄部份解決方法 因為改的東西太多了 那就改天吧(冷)
不然就去參考這個
http://shagin45.blogspot.com/2008/02/ns2-nistmobility.html
或者是把你的錯誤訊息丟到google 應該也可以找到
----
dsr/dsragent.cc: In member function ‘void DSRAgent::handleFlowForwarding(SRPacket&, int)’:
dsr/dsragent.cc:828: error: ‘XmitFlowFailureCallback’ was not declared in this scope
dsr/dsragent.cc: In member function ‘void DSRAgent::sendOutPacketWithRoute(SRPacket&, bool, Time)’:
dsr/dsragent.cc:1385: error: ‘XmitFailureCallback’ was not declared in this scope
dsr/dsragent.cc:1386: error: ‘XmitFlowFailureCallback’ was not declared in this scope
dsr/dsragent.cc:1403: error: ‘XmitFailureCallback’ was not declared in this scope
make: *** [dsr/dsragent.o] Error 1
@line 220, add:
void XmitFlowFailureCallback(Packet *pkt, void *data);
void XmitFailureCallback(Packet *pkt, void *data);
= = = = = = = = = = = = = =
diffusion/diffusion.cc: In member function 'void DiffusionAgent::MACprepare(Packet*, nsaddr_t, int, bool)':
diffusion/diffusion.cc:429: error: 'XmitFailedCallback' was not declared in this scope
make: *** [diffusion/diffusion.o] Error 1
add:
void XmitFailedCallback(Packet *pkt, void *data);
before
void DiffusionAgent::MACprepare(Packet *pkt, nsaddr_t next_hop,
int type, bool lk_dtct)
= = = = = = = = = = = = = =
diffusion/omni_mcast.cc: In member function 'void OmniMcastAgent::MACprepare(Packet*, nsaddr_t, unsigned int, bool)':
diffusion/omni_mcast.cc:388: error: 'OmniMcastXmitFailedCallback' was not declared in this scope
make: *** [diffusion/omni_mcast.o] Error 1
@line 106, add:
void OmniMcastXmitFailedCallback(Packet *pkt, void *data);
2010年12月13日 星期一
madwifi - 多張網卡的IRQ問題
http://madwifi-project.org/ticket/2335
好像是說 使用多張同樣的網卡 他們會使用同一個IRQ
因此會造成一些問題
然後那個人有講他覺得的解決方法為何
--
我也不知道我這個說法對不對 XD
好像是說 使用多張同樣的網卡 他們會使用同一個IRQ
因此會造成一些問題
然後那個人有講他覺得的解決方法為何
--
我也不知道我這個說法對不對 XD
2010年12月4日 星期六
Fedora 1 的 yum站台
編輯 /etc/yum.conf (應該沒記錯XD)
[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/1/i386/
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/1/i386/
[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/1/i386/
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/1/i386/
2010年12月3日 星期五
修改xp遠端預設port
regedit
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp
改PortNumber
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp
改PortNumber
訂閱:
文章 (Atom)