User Tools

Site Tools


notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes [2024/05/13 07:57] protocolnotes [2025/03/01 13:44] (current) protocol
Line 1: Line 1:
 [[freeradius]] [[freeradius]]
  
-=== mount proxmox virtual disk === 
-<code C [enable_keyword_links="false"]> 
-mount -t vfat -o loop,offset=$((8192 * 512 ))  imgfile.img /mnt/disk1 
-</code> 
  
-=== dd through ssh === +=== links to sort ===
-<code> +
-ssh host "dd if=/dev/mapper/pve-vm--106--disk--0" | dd of=/dev/mapper/pve-vm--106--disk--0 status=progress +
-</code> +
-or+
  
-<code> +https://github.com/Jamesits/pve-fake-subscription
-dd if=/dev/mapper/pve-vm--106--disk--0 bs=4MiB conv=sync status=progress | ssh host ' dd of=/dev/mapper/pve-vm--106--disk--0 bs=4MiB' +
-</code>+
  
-=== repositories ===+https://github.com/foundObjects/pve-nag-buster/
  
-old:+https://tteck.github.io/Proxmox/
  
-/etc/apt/sources.list.d/pve-enterprise.list  +https://helper-scripts.com/
-deb http://download.proxmox.com/debian/pve buster pve-no-subscription+
  
 +[[certbot]]
  
-new:+<code>
  
-/etc/apt/sources.list.d/pve-enterprise.list +--deploy-hook "/etc/init.d/apache2 restart
-deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription+
  
-/etc/apt/sources.list.d/ceph.list +/etc/letsencrypt/renewal-hooks/deploy 
-deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription+</code>
  
  
-=== remove nag screen ===+===== Enable IDKW ===== 
 <code> <code>
-sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service 
-</code> 
  
 +Login: GEPON
 +Password:GEPON
 +User> enable
 +Password: GEPON
 +Admin# lll
 +Admin(DEBUG_H)> cd diag
 +Please input password: fhdiag
 +Admin(DEBUG_H)\diagtest> set pon_simulator_switch slot 1 switch enable union_simulator_switch enable
 +set ok!
 +Admin(DEBUG_H)\diagtest> show pon_simulator_switch slot 1
 +slot 1 pon simulator switch: enable, 
 +union simulator switch : enable
  
-=== links to sort ===+</code>
  
-https://github.com/Jamesits/pve-fake-subscription+===== Note =====
  
-https://github.com/foundObjects/pve-nag-buster/+<code>
  
-https://tteck.github.io/Proxmox/+Admin# cd onu 
 +Admin\onu# show discovery slot all pon all 
 +Admin\onu# set whitelist phy_addr address ITBS4458cb89 password null action add slot 12 pon 1 onu 1 type HG260 
 +Admin\onu\lan# set epon slot 12 pon 1 onu 1 port 1 service 1 vlan_mode tag 0 33024 109 
 +Admin\onu\lan# apply onu 12 1 1 vlan
  
-https://helper-scripts.com/+</code>
  
notes.1715597841.txt.gz · Last modified: 2024/05/13 07:57 by protocol