Latest Posts

server BMC firmware bring up test 服务器系统BMC固件启动(开机)测试


server BMC firmware bring up test 服务器系统BMC固件启动(开机)测试


Read More

中国公司MAC OUI申请数目统计


中国公司MAC OUI申请数目统计,只显示统计数目超过8的公司。

数据来源:1. MAC Address Block Large (MA-L)
http://standards-oui.ieee.org/oui/oui.csv
http://standards-oui.ieee.org/oui/oui.txt

HUAWEI TECHNOLOGIES CO.,LTD 786
Huawei Device Co., Ltd. 300
zte corporation 233
TP-LINK TECHNOLOGIES CO.,LTD. 146
Hon Hai Precision Ind. Co.,Ltd. 130
Fiberhome Telecommunication Technologies Co.,LTD 124
Xiaomi Communications Co Ltd 114
GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP.,LTD 100
vivo Mobile Communication Co., Ltd. 86
Espressif Inc. 72
New H3C Technologies Co., Ltd 56
TCT mobile ltd 39
Sichuan Tianyi Comheart Telecom Co.,LTD 39
China Mobile Group Device Co.,Ltd. 33
Shenzhen YOUHUA Technology Co., Ltd 31
Hangzhou Hikvision Digital Technology Co.,Ltd. 29
Hangzhou H3C Technologies Co., Limited 26
SHENZHEN GONGJIN ELECTRONICS CO.,LT 24
CHONGQING FUGUI ELECTRONICS CO.,LTD. 24
COMPAL INFORMATION (KUNSHAN) CO., LTD. 23
Taicang T&W Electronics 22
FN-LINK TECHNOLOGY LIMITED 21
Hui Zhou Gaoshengda Technology Co.,LTD 20
China Mobile IOT Company Limited 19
Zhejiang Dahua Technology Co., Ltd. 19
Beijing Xiaomi Mobile Software Co., Ltd 18
Skyworth Digital Technology(Shenzhen) Co.,Ltd 17
Shenzhen TINNO Mobile Technology Corp. 16
SHENZHEN FAST TECHNOLOGIES CO.,LTD 15
WEIFANG GOERTEK ELECTRONICS CO.,LTD 14
SHENZHEN MERCURY COMMUNICATION TECHNOLOGIES CO.,LT... 13
SHENZHEN CHUANGWEI-RGB ELECTRONICS CO.,LTD 13
SHENZHEN BILIAN ELECTRONIC CO.,LTD 13
Cambridge Industries(Group) Co.,Ltd. 12
Motorola (Wuhan) Mobility Technologies Communicati... 12
SHENZHEN RF-LINK TECHNOLOGY CO.,LTD. 12
LCFC(HeFei) Electronics Technology co., ltd 12
Alcatel-Lucent Shanghai Bell Co., Ltd 12
Qingdao Hisense Communications Co.,Ltd. 11
Tenda Technology Co.,Ltd.Dongguan branch 11
Sichuan Changhong Electric Ltd. 11
Honor Device Co., Ltd. 11
Zhejiang Tmall Technology Co., Ltd. 11
Realme Chongqing Mobile Telecommunications Corp.,L... 10
GD Midea Air-Conditioning Equipment Co.,Ltd. 10
Sichuan AI-Link Technology Co., Ltd. 10
Nokia Shanghai Bell Co., Ltd. 10
Beijing Xiaomi Electronics Co., Ltd. 9
China Mobile (Hangzhou) Information Technology Co.... 9
OnePlus Technology (Shenzhen) Co., Ltd 9
Sichuan AI-Link Technology Co., Ltd. 9
Shenzhen SuperElectron Technology Co.,Ltd. 8
MERCURY COMMUNICATION TECHNOLOGIES CO.,LTD. 8
Shenzhen Jingxun Software Telecommunication Techno... 8
XIAOMI Electronics,CO.,LTD 8
Ruijie Networks Co.,LTD 8
Sunitec Enterprise Co.,Ltd 8
CLOUD NETWORK TECHNOLOGY SINGAPORE PTE. LTD. 8
Quectel Wireless Solutions Co., Ltd. 8

Read More

MAC OUI根据国家或者地区申请数目统计


 

MAC OUI根据国家或者地区申请数目统计。

数据来源:1. MAC Address Block Large (MA-L)
http://standards-oui.ieee.org/oui/oui.csv
http://standards-oui.ieee.org/oui/oui.txt

US 10370
CN 5496
KR 2316
TW 1986
JP 1673
DE 1255
GB 741
CA 646
FR 553
MY 490
HK 350
IT 314
IL 268
FI 266
SE 258
CH 248
DK 242
AU 209
NL 194
SG 159
IN 155
RU 155
ES 135
  128
BR 123
BE 105
AT 102
NO 82
TH 55
PL 54
CZ 49
ZA 47
TR 44
NZ 44
IE 33
HU 24
MX 24
SI 24
SK 20
LV 18
PT 17
ID 15
BG 14
GR 11
LT 11
AR 9
VN 9
AE 8
VG 7
PH 7
JO 6
KY 6
HR 5
MT 4
TJ 4
LU 4
RO 3
RS 3
IR 3
CY 3
YU 3
EG 3
KZ 2
KP 2
IS 2
MD 2
KW 2
MA 2
EE 2
CO 2
LI 2
UA 2
GE 2
BO 1
MC 1
MU 1
CL 1
SZ 1
BY 1
BS 1
LB 1
MM 1
PE 1
QA 1
VU 1
VE 1
DZ 1
BN 1
VI 1
KM 1

Read More

shell脚本读取文件无法读入tab的解决方案


shell脚本读取文件无法读入tab的解决方案。主要表现是读取到的行,没有了tab。

即使用 read line无法读入tab。

解决方法:

#!/bin/bash
# A shell script to read file line by line
 
filename="/var/log/xyz.log"
 
while IFS= read -r line
do
    # $line variable contains current line read from the file
    # display $line text on the screen or do something with it.
 
    echo "$line"
done < $filename

方法2:

#!/bin/bash
IFS=$'\n'
for line in $(cat ./Survey.txt)
do
   echo $line
done

 


Read More

浪潮(Inspur)的MAC-OUI地址


根据IEEE提供的数据进行查询,浪潮(Inspur)共有6个MAC-OUI。

从注册的地址,大体能够看出时间变迁

1:山大路224号,

2:舜雅路1036号

3:浪潮路1036号

 

BC20BA     (base 16) Inspur (Shandong) Electronic Information Co., Ltd No.1036 Shunya Rd. Jinan  Shandong  250101 CN
5CB4E2     (base 16) Inspur Software Group Ltd. No. 1036, Langchao Road Jinan  Shandong  250101 CN
C0A66D     (base 16) Inspur Group Co., Ltd. No.1036 Langchao Rd. Jinan  Shandong  250101 CN
B4055D     (base 16) Inspur Electronic Information Industry Co.,Ltd. No 224 Shanda Road Jinan  Shandong  250013 CN
043110     (base 16) Inspur Group Co., Ltd. No.1036 Langchao Rd. Jinan  Shandong  250101 CN
6C92BF     (base 16) Inspur Electronic Information Industry Co.,Ltd. No 224 Shanda Road Jinan  Shandong  250013 CN

Read More

ubuntu下使用udhcpd搭建DHCP IPV4服务器 (不修改参数)


ubuntu下使用udhcpd搭建DHCP IPV4服务器(不修改参数) 

 

1:安装udhcpd软件,可以通过下面命令来安装:

apt-get install udhcpd

2:修改eth0的ip为192.168.0.2

因缺省的ip范围为 192.168.0.20-192.168.0.254

3:用网线将DHCP服务器与目标机器直连

4:运行udhcpd命令,开始分配ip

udhcpd -f /etc/udhcpd.conf

5:查看是否显示分配的ip地址


Read More

udhcpd: no free IP addresses. OFFER abandoned 可能原因


在使用udhcpd /etc/udhcpd.conf 给BMC动态分配IP的过程中,遇到以下提示。

udhcpd: no free IP addresses. OFFER abandoned
udhcpd: no free IP addresses. OFFER abandoned
udhcpd: no free IP addresses. OFFER abandoned

产生这个问题的原因可能是BMC没有设置MAC地址,MAC地址为0,无法获取到DHCP分配的IP地址


Read More

shell脚本将windows文件(回车换行\r\n)替换为linux文件(换行\n)。


shell脚本将windows文件(回车换行\r\n)替换为linux文件(换行\n)。

 

方法一:使用tr命令删除回车"\r"

cat ouiold.txt | tr -d "\r"  >> ouitest.txt
 


Read More


© 2008-2020 CunYouLu存有录博客 村友录 存游录 鲁ICP备08005943号