his

his

·

  1 tzselect

  2 cp -rf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

  3 date

  4 apt update

  5 apt install ntpdate

  6 ntpdate ntp.aliyun.com

  7 date

  8 apt update

  9 sudo apt install -y python3 python3-pip hostapd dnsmasq acpid

  10 sudo apt install -y python3-flask python3-netifaces

  11 sudo apt install -y iptables network-manager iw psmisc ython3-flask-cors

  12 sudo apt install -y iptables network-manager iw psmisc python3-flask-cors

  13 vim /etc/systemd/logind.conf

  14 systemctl restart systemd-logind

  15 vim /etc/acpi/events/power

  16 sudo systemctl start acpid

  17 sudo systemctl enable acpid

  18 chmod -R 777 /root/ubuntubtwifi

  19 cp /home/pi/ubuntubtwifi /root/

  20 cp -rf /home/pi/ubuntubtwifi /root/

  21 chmod -R 777 /root/ubuntubtwifi

  22 echo "sh /root/ubuntubtwifi/ledoff.sh" >> /etc/rc.local

  23 cat /etc/rc.local

  24 reboot

  25 cat /etc/rc.local

  26 sh /root/ubuntubtwifi/ledoff.sh

  27 chmod -R 777 /root/ubuntubtwifi

  28 sh /root/ubuntubtwifi/ledoff.sh

  29 cat /root/ubuntubtwifi/ledoff.sh

  30 sh /root/ubuntubtwifi/ledoff.sh

  31 cat /root/ubuntubtwifi/ledoff.sh

  32 vim /root/ubuntubtwifi/ledoff.sh

  33 sh /root/ubuntubtwifi/ledoff.sh

  34 vim /root/ubuntubtwifi/ledoff.sh

  35 cat /root/ubuntubtwifi/ledoff.sh

  36 sudo sh -c "echo 0 > $LED_PATH/brightness"

  37 LED_PATH="/sys/class/leds/status_led"

  38 sudo sh -c "echo none > $LED_PATH/trigger"

  39 sudo sh -c "echo 0 > $LED_PATH/brightness"

  40 sh /root/ubuntubtwifi/ledoff.sh

  41 vim /root/ubuntubtwifi/ledoff.sh

  42 sh /root/ubuntubtwifi/ledoff.sh

  43 vim /root/ubuntubtwifi/ledoff.sh

  44 reboot

  45 cd ubuntubtwifi/

  46 sudo sh ledoff.sh

  47 cp ledoff.sh ../

  48 cd ..

  49 ls

  50 sh ledoff.sh

  51 vim ledoff.sh

  52 cd ubuntubtwifi/

  53 ls

  54 sh brightled.sh

  55 cp -rf brightled.sh ledoff.sh

  56 vim ledoff.sh

  57 sh ledoff.sh

  58 cd ..

  59 rm -rf ledoff.sh

  60 cd ubuntubtwifi/

  61 cat /etc/hosts

  62 sh power.sh

  63 reboot

  64 passwd root

  65 exit

  66 passwd root

  67 sh /root/ubuntubtwifi/power.sh

  68 ifconfig

  69 sh /root/ubuntubtwifi/power.sh

  70 cd ubuntubtwifi/

  71 ls

  72 python3 app.py

  73 ps -ef|grep flask

  74 python3 app.py

  75 reboot

  76 cd ubuntubtwifi/

  77 python3 app.py

  78 nmcli dev wifi

  79 service NetworkManager restart

  80 nmcli dev wifi

  81 cd ubuntubtwifi/

  82 py3 app.py

  83 python3 app.py

  84 reboot

  85 cd ubuntubtwifi/

  86 python3 app.py

  87 ping m.ctrip.com

  88 ping www.baidu.com

  89 ping 8.8.8.8

  90 ping 114.114.114.114

  91 ping 8.8.8.8

  92 reboot

  93 ping www.baidu.com

  94 ping m.ctrip.com

  95 cd ubuntubtwifi/

  96 python3 app.py

  97 ping m.ctrip.com

  98 ping www.baidu.com

  99 cp /home/pi/ubuntubtwifi /root/

 100 cp -rf/home/pi/ubuntubtwifi /root/

 101 cp -rf /home/pi/ubuntubtwifi /root/

 102 reboot

 103 cp -rf /home/pi/ubuntubtwifi /root/

 104 python3 app.py

 105 cd ubuntubtwifi/

 106 python3 app.py

 107 service NetworkManager start

 108 nmcli dev wifi

 109 cp -rf /home/pi/ubuntubtwifi /root/

 110 python3 app.py

 111 cp -rf /home/pi/ubuntubtwifi /root/

 112 cd ubuntubtwifi/

 113 python3 app.py

 114 reboot

 115 cd ubuntubtwifi/

 116 python3 app.py

 117 cp -rf /home/pi/ubuntubtwifi /root/

 118 rm -rf /home/pi/ubuntubtwifi

 119 python3 app.py

 120 ping www.baidu.com

 121 crontab -l

 122 cd ubuntubtwifi/

 123 python3 app.py

 124 cd ubuntubtwifi/

 125 python3 app.py

 126 reboot

 127 ntpdate ntp.aliyun.com

 128 python3 ubuntubtwifi/app.py

 129 vim /etc/rc.local

 130 reboot

 131 cp -rf /home/pi/ubuntubtwifi /root/

 132 rm -rf /home/pi/ubuntubtwifi

 133 cd ubuntubtwifi/

 134 ls

 135 exit

 136 vim ubuntubtwifi/templates/index.html

 137 python3 ubuntubtwifi/app.py

 138 halt

 139 clear

 140 ls

 141 cat getconf.sh

 142 cat healthcheck.sh

 143 ls

 144 cat whoami.sh

 145 clear

 146 vim whoami.sh

 147 crontab -l

 148 shell /root/whoami.sh

 149 sh /root/whoami.sh

 150 ls -al

 151 ./whoami.sh

 152 crontab -l

 153 ./root/whoami.sh

 154 /root/whoami.sh

 155 vim /etc/rc.local

 156 sh /root/whoami.sh

 157 /root/whoami.sh

 158 vim /root/whoami.sh

 159 vim /etc/rc.local

 160 reboot

 161 ls

 162 sudo apt update

 163 cd /etc

 164 cd apt

 165 ls

 166 vim sources.list

 167 cd sources.list.d

 168 ls

 169 cd ../apt.conf.d/

 170 ls

 171 cd ..

 172 ls

 173 cp sources.list sources.list.bak

 174 vim sources.list

 175 apt update

 176 date

 177 ntpdate time.nist.gov

 178 date

 179 ntpdate time.nist.gov

 180 apt update

 181 apt-get install cups hplip

 182 id

 183 passwd

 184 ifconfig

 185 usermod -aG lpadmin pi

 186 cupsctl --remote-any

 187 ifconfig

 188 poweroff

 189 lsusb

 190 ls

 191 apt show hplip

 192 cd /dev/usb

 193 cd /dev

 194 ls

 195 cd usb

 196 ls us*

 197 ls -ls

 198 apt install usbutils

 199 lsusb

 200 apt install hplip

 201 apt install hplip -y

 202 lsusb

 203 cd usb

 204 ls

 205 lsusb

 206 lsusb -v

 207 reboot

 208 lsusb

 209 cd /dev/

 210 ls

 211 cd usb

 212 kmsg

 213 pwd

 214 cd

 215 ls

 216 cd /etc

 217 ls

 218 lsusb -t

 219 cd /dev/usb

 220 lsusb

 221 poweroff

 222 l▒l▒l lslsu▒l sulsu▒lsusb

 223 lsusb

 224 cd /dev/usb

 225 lsusb

 226 cd /dev/usb

 227 hplip

 228 hplip-check

 229 apt update

 230 apt upgrade

 231 ls

 232 hp - check

 233 hp

 234 hp-check

 235 hpcheck --help

 236 hp-check --help

 237 hp-check -r

 238 apt install hplip -y

 239 apt-get install

 240 usb

 241 apt-get install libusb

 242 ls