Skip to content

Instantly share code, notes, and snippets.

View enukane's full-sized avatar
🏠
Working from home

naoya Kaneko enukane

🏠
Working from home
View GitHub Profile
# policy
bgp AS Number := 650000 + ($layer - 1) * 100 + $inLayerID
$layer := { 1 (external), 2 (aggr) , 3 (head
$inlayerid := counter from left
e.g. aggr router with ID=2 -> 65102
# bgp-local(101, 10.1.$ID.1/32)
.1: seilx1-1
$ID := ($layer - 1) * 100 + $InLayerID
@enukane
enukane / gist:004ab745f4532893b6c7d497760f8081
Created March 25, 2020 04:45
ifconfig -v en0 on macbookpro
% ifconfig -v en0 [](03/25/20 13:43)
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 6
eflags=412008c0<ACCEPT_RTADV,TXSTART,ARPLL,NOACKPRI,ECN_ENABLE,FASTLN_ON>
xflags=1<WOL>
options=400<CHANNEL_IO>
ether f0:18:98:XX:XX:XX
inet6 fe80::87b:d440:XXX:XXXX%en0 prefixlen 64 secured scopeid 0x6
inet 10.10.2.102 netmask 0xfffffe00 broadcast 10.10.3.255
netif: 2AD4AFD3-8A74-XXXX-XXXX-6CA1152511A7
flowswitch: F8A9466A-6731-XXXX-XXXX-D12192B8A88B
HUAWEI Startcode 2015.01 (Jan 18 2017 - 15:59:50)
DRAM: 1 GB
Boot From NAND Flash
CHIP ID = 51180100
NAND: Special Nand id table Version 1.23
Nand ID: 0x2C 0xDC 0x90 0x95 0x56 0x00 0x00 0x00
512 MiB
In: serial
Out: serial
HUAWEI Startcode 2015.01 (Jan 18 2017 - 15:59:50)
DRAM: 1 GB
Boot From NAND Flash
CHIP ID = 51180100
NAND: Special Nand id table Version 1.23
Nand ID: 0x2C 0xDC 0x90 0x95 0x56 0x00 0x00 0x00
512 MiB
In: serial
Out: serial
@enukane
enukane / dmesg.txt
Last active September 20, 2022 08:23
SAXA SS3000 ubuntu 19.10で起動時のdmesg等
[ 0.000000] microcode: microcode updated early to revision 0x12d, date = 2019-09-16
[ 0.000000] Linux version 5.3.0-26-generic (buildd@lgw01-amd64-013) (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)) #28-Ubuntu SMP Wed Dec 18 05:37:46 UTC 2019 (Ubuntu 5.3.0-26.28-generic 5.3.13)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic root=UUID=85242ad6-107a-48dc-af3a-26b8e3290d95 ro splash quiet vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
@enukane
enukane / gist:cd6de06a5ded20a82426057117ef710b
Last active September 16, 2019 07:33
c-75 config by get ap config
[config]$ get ap config
Current AP config file is:
--------------------------
[ RADIO_START ]
WIRELESS_MODE=3
AP_CHAN_WIDTH=1
OP_CHANNEL=0
FRAG_THRESH=2346
RTSCTS_THRESH=2347
BEACON_INT=100
U-Boot 1.1.4 (Jun 22 2014 - 15:02:11)
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(200): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x5, 0x1f)
Tap values = (0x12, 0x12, 0x12, 0x12)
128 MB
@enukane
enukane / ap.md
Last active July 3, 2025 02:13
APこれくしょん、その他ユーティリティ
メーカー 型番 個数 規格 MIMO:ストリーム 備考
Ruckus ZoneFlex 7341 1 bgn 2x2:2
ZoneFlex 7363 1 bgn+an 2x2:2+2x2:2
H510 1 bgn+an/ac w2 2x2:2+2x2:2 壊れたので廃棄
Aruba IAP-103 1 bgn+an 2x2:2+2x2:2
AP22 1 bgn+an/ac/ax 2x2:2+2x2:2
AP17 1 bgn+an/ac 2x2:2+2x2:2 屋外モデル
AP11D 4 bgn+an/ac 2x2:2:2x2:2 APINH303, shownet2024で一つギフト
Cisco AIR-CAP2602I-Q-K9 1 bgn+an 3x3:3+3x4:3
@enukane
enukane / ap230-1.boot.txt
Created July 4, 2019 03:11
Aerohive AP230 boot log
U-Boot 2012.10 (Apr 27 2019 - 23:36:59)
I2C: ready
Wait.
Done.
DEV ID= 0000cf12
REV ID= 00000000
SKU ID = 0
OTP status: eca00018
MEMC 0 DDR speed = 800MHz
@enukane
enukane / wle900vx7a.channel.json
Last active July 20, 2018 10:54
WLE900VX-7Aの対応チャネル一覧 by wlan-device-channel-checker
{
"1": true,
"2": true,
"3": true,
"4": true,
"5": true,
"6": true,
"7": true,
"8": true,
"9": true,