2022年6月24日 星期五

金融:初級市場vs次級市場

 

銀行局定義

初級市場與次級市場

Primary and Secondary Markets 初級市場係指資金需求者(包括政府單位、金融機構及公民營企業)為籌集資金首次出售有價證券予最初購買者之交易市場,而次級市場係指初級市場發行後之有價證券買賣之交易市場。
資料來源:中華民國票券金融商業同業公會提供
業務性質:票券


基本上看完對於定義還是很難理解
簡單講就是第一次賣是初級市場(Ex:IPO)
後面流通都是次級市場

其他參考資料
https://davidhuang1219.pixnet.net/blog/post/333578134-初級市場和次級市場有何差異%3F


2022年6月15日 星期三

COTS UE是甚麼

 看到幾次這個詞,一開始一直不理解這個概念

後來才知道這是商用終端

如何加入OAI mailling list及提問

 

OAI是一個開源社群,有一個討論社群是很重要的

 

在訂閱的時候可能會遇到的問題是因為我是另外用firefox esr去做http2的瀏覽,於是造成他要跳出信箱失敗...

我直接複製subscribe的信箱 (sympa@lists.eurecom.fr 都是寄給這個信箱)

 

但要注意command部分在信件標題要這樣寫

以訂閱openair5g-user為例

subscribe openair5g-user YourFirstName YourLastName

退訂則是

unsubscribe openair5g-user YourFirstName YourLastName

另一個訂閱方式就是用這樣的網址去看到一個可以訂閱的網站

https://lists.eurecom.fr/sympa/subscribe/openair5g-user

 

要訂閱不同列表就是在信件標題或者網址更換openair5g-user這個部分

至於openair5g-nr這個是另外獨立的,直接點它的訂閱

 

另外不用訂閱也可以直接點archives觀看內容,以方便來說建議訂閱並建立密碼

 

一般來說,一般使用者會用到的兩個郵件列表

openair5g-user:  Ran討論(gNB+UE)

openaircn-user:   可問EPC問題

原則參考下面

  • the RAN (OpenAirInterface5G) for 4G and 5G
  • the EPC (OpenAirCN) for 4G.
  • the 5G-CORE (or CN-5G) for 5G.

以訂閱這兩個為主

開發的就看完整英文寄信

訂閱的話建議建立標籤跟用篩選器過濾,不然信箱很容易爆掉的

 

觀看Archive過去問題列表

 

點選Admin建立密碼

 

搜尋過去問題

除了一般search 之外, advanced search也要使用

記得用shift選到比較久的時間,才可以看到比較多問題

但選太久的時間它會很慢,所以分段手動囉

 

提問原則(簡單寫出來,建議看下面完整的)

1.郵件列表很多,但不要同一個問題全部都寄

2.提問前先搜尋

3.遇到問題的軟體硬體資訊及作業系統資訊,專案的branch commit...最好全部附上

4.Log file請放在附件,不要貼出來

 

回信內容

[Failed 1]

標題沒有command也未訂月

信件內容有東西,自帶的簽名檔

 

Command has failed:

> Best Regards,

  Command not understood: ignoring end of message.


-----------==========================================-----------


For further information, check the mailing list web site

https://lists.eurecom.fr/sympa

 

 

[Failed 2]

標題格式不合

           ==========================================

No command found in message.




-----------==========================================-----------

For further information, check the mailing list web site

https://lists.eurecom.fr/sympa

 

 

 

 

[Successed]

 

Welcome to list openair5g-user@lists.eurecom.fr
Your subscription email is __________________


The OpenAirInterface5G User mailing list



The list homepage: 
https://lists.eurecom.fr/sympa/info/openair5g-user
General informations about mailing lists:
https://lists.eurecom.fr/sympa/help/introduction

 

 

Mailing lists官方頁面

可訂閱的列表

Mailing lists

Several mailing lists are hosted on Eurecom's sympa server.

 

這是另一個自己獨立出來的郵件列表

有在開發相關的建議訂閱

Some projects have their own mailing list

 

如何訂閱及退訂

How to subscribe or unsubscribe to a mailing list

Clicking on the link [subscribe] (or [unsubscribe]) above should open your email client. You then simply need to send the email.

If clicking the above link does not work, manually send an email to sympa@lists.eurecom.fr with the subject subscribe [list name] [your first name] [your last name] (unsubscribe instead of subscribe to unsubscribe).

[list name] is one of openair5g-useropenair5g-developenaircn-useropenaircn-devel depending on which mailing list you want to subscribe to (or unsubscribe).

如何對信箱列表提問

How to ask questions on the mailing lists

Refer to this page.

中文論壇

Chinese Forum

There is also a forum in Chinese dedicated to OpenAirInterface hosted at the Open5G Lab.

我自己連是看起來是這個中文論壇網站掛掉了

 

AskQuestions官方頁面

 

提問

AskQuestions

Read this post before asking questions on the mailing lists.

郵件列表用途

Mailing list usage

  1. openair5g-user: mailing list to post questions on the usage of openairinterface5g repository. This mailing list must not contain questions related to development of OAI. This mailing list is meant for users of OAI.

openairinterface5g   User 提問的問題,不要包括開發的問題

  1. openair5g-devel: mailing list to post questions on the development of openairinterface5g repository. This mailing list is meant only for developers of openairinterface.

針對openairinterface5g 項目開發提問

  1. openaircn-user: mailing list to post questions on the usage of openair-cn repository. This mailing list must not contain questions related to development of OAI. This mailing list is meant only for users of openair-cn repository

openair-cn   User 提問的問題,不要包括開發的問題

  1. openaircn-devel: mailing list to post questions on the development of openair-cn repository. This mailing list is meant only for developers of openair-cn.

針對openair-cn項目開發提問

  1. Please post your networking configuartion of eNB/EPC/UE/RRH using the output of ifconfig -a and route -n 

提問時將網路設定的資訊列出,這邊給了兩個建議的指令

通用原則

General

  1. Do no post same issue in multiple mailing lists and create spam for everyeone The community has limited time/resources to help you. Read this carefully to ensure you get the correct response.

不要將相同問題寄給多個郵件列表,會對大家會造成垃圾郵件

社群會限制對你的幫助資源跟時間,請謹慎閱讀這一個確保你能得到正確的回應

  1. Please report your branch/commit ID, linux kernel version, and what cpu type, etc in your post

請告訴大家你的branch/commit ID, linux kernel version還有CPU種類等

(其他軟硬體資訊也可以一併附上,有助於大家幫你除錯)

  1. Search the Mailing List Archives if the problem was not already treated. Try to look at the linux installation, kernel logs to find out the problem. If you describe the problem clearly, then someone can answer you with a clear solution.
  2. Try to locate whether the problem is within openairinterface5g or openair-cn repository. Avoid sending email to multiple mailing lists.
  3. In some cases, it might be that problem of usage is related to both openairinterface5g and openair-CN. Only in these exceptional cases, you should send email to both the mailing lists.
  4. Make sure the subject describes the problems clearly. Avoid sending new/different problems on the old thread.
  5. Do not post questions on usage of OAI in developer mailing list or vice versa.
  6. Look in the list of know bugs and at the issues on gitlab
  7. We make lot of frequent updates to develop/master branch. Please try both the branches (latest updates by pulling from gitlab server) before posting on the mailing list.
  8. When posting a logfile, we need complete log file as an attachment and not inserted as inline text withing email

 

Questions related to basic installation of OAI (core + optional packages)

  1. Look at the logfiles that are generated after installation for errors
  2. Send these log files along with information on your machine (VM, Ubuntu 14.04?) and x86 CPU type

 

Questions related to compilation of OAI (oaisim + lte-softmodem)

  1. Look at the logfiles that are generated after installation for errors. In most cases, it is related to Linux issues.
  2. What command did you use for compilation?
  3. Send these log files along with information on your machine (VM, Ubuntu 14.04?) and x86 CPU type

 

Questions related to oaisim/lte-softmodem execution

  1. Look at the logfiles that are generated after installation for errors
  2. What command was used for compilation?
  3. What command was used for execution and in what order? In case of lte-softmodem, what is your physical setup (USRP/ExpressMimo/XXX, antennas/direct connection/attenuators/XXX, UE is phone/dongle/OAI based)?
  4. Send these log files (compilation + execution) along with information on your machine (VM, Ubuntu 14.04?) and x86 CPU type
  5. Send the config files which were changed for your setup
  6. If HSS database was changed, send the image of the database
  7. Upload the wireshark trace (eNB and EPC) on a dropbox/google drive capturing the traffic on ALL interfaces. Do not send wireshark trace as an attachment to the mailing list. If these files are too big (which should not be the case), do not send them on the mailing list, but upload them on google drive/dropbox folder and send everyone the link. Refrain from sending huge attachments to the mailing list.

 

Questions related to openair-cn

  1. tags prior to v1.0.0 are not maintained anymore.
  2. Follow the guidelines above to post questions on the usage of openair-cn.
  3. It will be far more easier for us to inspect a scenario if you capture a pcap trace of relevant messages. Please provide: 
    1. Repetition of General section above: Please report your branch/commit ID, linux kernel version, in your post.
    2. A PCAP trace. (In general S1-C, S11, S6a, S5, SX-ab, S1-U traffic should be captured).
    3. Configuration files if relevant.
    4. Network functions logs if relevant.

 

Numpy create array

 import numpy

 

通常習慣會 import numpy    as np

zeros

ones

full

empty

2022年6月14日 星期二

SSH to Ubuntu

 在這些裝置放core network 或者gNB通常是在server或者usrp上

一般來說不太會是個人開發用的電腦

因此會建議建立SSH連線

 

這裡有兩部分

1.建立SSH

這樣可以用console連線

2.讓VSCode可以SSH同步修改程式碼

 

https://linuxhint.com/generate-ssh-key-ubuntu/

建議跳過step4不用禁用密碼


SSH建立

https://linuxhint.com/generate-ssh-key-ubuntu/

https://xenby.com/b/220-%e6%95%99%e5%ad%b8-%e7%94%a2%e7%94%9fssh-key%e4%b8%a6%e4%b8%94%e9%80%8f%e9%81%8ekey%e9%80%b2%e8%a1%8c%e5%85%8d%e5%af%86%e7%a2%bc%e7%99%bb%e5%85%a5

https://www.bilibili.com/read/cv9303578

 

Permission denied (publickey).

換成需要密碼就可以了

Please select password used, or sometimes it will connection error

 

斷線方法

https://linuxconfig.org/how-to-disconnect-from-ssh-connection

 

瀏覽器無法訪問Http2網站

在瀏覽OAI資料時,遇到http2網站問題 

範例:   https://gitlab.eurecom.fr/oai/openairinterface5g/-/wikis/OpenAirSystemRequirements

 

下面在這兩個瀏覽器出現的錯誤訊息代表,想瀏覽的網站是http2的

Firefox NS_ERROR_NET_INADEQUATE_SECURITY

Chrome ERR_HTTP2_INADEQUATE_TRANSPORT_SECURITY


在蘋果裝置Safari可直接瀏覽

但windows跟linux裝置的瀏覽器通常不行了

 

目前實測Firefox ESR在windows跟ubuntu可以正常瀏覽

https://www.mozilla.org/zh-TW/firefox/enterprise/

 

 

安裝好另外做下面設定

新的空白分頁網址列輸入 about:config

If a warning screen comes up, press the I Accept the Risk button. At the top of the screen is a search bar.

搜尋network.http.spdy.enabled.http2 

將其改成false

 

Setting

NS_ERROR_NET_INADEQUATE_SECURITY indicates that the server initiates a HTTP/2 connection, but Firefox detects an invalid TLS configuration in the server response (server negotiated HTTP/2 with blacklisted cipher suites). This is likely not an issue with the certificate, but this is a problem with the server setup and there are invalid cipher suites for HTTP/2 claimed (INADEQUATE_SECURITY). 

http://httpwg.org/specs/rfc7540.html#TLSUsage There might also be other software that acts as a MITM and is interfering. When HTTP/2 is enabled and used then the requirements are much stricter than with HTTP/1.1 You can get the NS_ERROR_NET_INADEQUATE_SECURITY error message in case the server isn't configured properly. 

A workaround to fix this ANNOYING issue is; network.http.spdy.enabled.http2 = false in about:config 

Type about:config<enter> in the address bar. If a warning screen comes up, press the I Accept the Risk button. At the top of the screen is a search bar.

 

但是Ubuntu會跟一般的firefox在同一個圖示下

我會建議用chrome跟firefox給OAI官網專用

以安全性來說會比較好,畢竟這個ESR的安全性是比較差的

不動產執照查詢

不動產估價師 地政士 不動產經紀業(不動產經紀人、不動產營業員) 租賃住宅服務業(租賃住宅管理人員)


 https://resim.land.moi.gov.tw/Home/QueryIndex

ADGuard