بایگانی نویسنده: Wesign

ubiquiti auto scheduled reboot

hi

for that

connect to your ubnt device via ssh (using software like putty

login with web GUI username

insert this codes:

set system task-scheduler task daily-reboot interval 1d
set system task-scheduler task daily-reboot executable /sbin/reboot

.and Done

 

this command reset device every day at 00:00

 

ref:

https://community.ubnt.com/t5/EdgeMAX/How-can-I-schedule-a-reboot/td-p/429633

https://community.ubnt.com/t5/EdgeMAX/ER-8-locking-up/m-p/1174715/highlight/false#M56291

https://community.ubnt.com/t5/EdgeMAX-Feature-Requests/Schedule-automatic-shutdown-or-restart/idi-p/588567/page/2#comments

https://community.ubnt.com/t5/EdgeMAX/Scheduled-Reboot-every-Sunday-morning/td-p/1637078

how to block usb in active directory for users or computers

hello

after searching whole internet for a tutorial to block usb devices in active directory i found that non of them are actually work because in all of them they said to

“enable (* removable access * deny) in computer config/administrative templ

and link existing gpo to USER or OU

then run gpoupdate /force command in both server and client

and poof not working

because they point to enable usb blocking in computer config so then we shoud link gpo to comuter instead of users

while doing that make usb blocking work perfectly but also block usb for every user on that particular computer included administrators

so what to do to block usb for users instead of computer?sample just:

enable gpo in user config/ instead

 

also if your AD functional level is windows server 2000 the android smartphone and other portable device is still have accessable to avoid that you need to raise it to 2012 r2.

be notice with that windows xp and older mashine maybe stop working in AD

 

GOOD LUCK

 

how to install dlink 528t and atheros ar8168 ethernet nic (or any other) driver in esxi (6.X)

hi

first i download the vid file from internet =>
http://murzim.tistory.com/entry/Atheros-AR8151AR8161-custom-driver-on-ESXi
then with the help of this video link from vmware =>
Installing async drivers on VMware ESXi 5.0, 5.1, and 5.5 – Part 2 – YouTube
which as below:
first copy downloaded driver to datastore from esxi win client or web client or sap software (like winSCP)
the put server in maintenance mode by client or the following code:
> esxcli system maintenanceMode Set —enable true
then copy copied file to /var/log/vmware path
install by
*for .vib files
>esxcli software via install -v /var/log/vmware/*.vib
*for *bundle*.zip files
>esxcli software via install -d /var/log/vmware/*.zip

then restart server by
>reboot

wait until server completely boot up

see if driver is installed and eth is detect by
>lspci -v | grep “Class 0200” -B 1

it should be shown something like this:
[root@localhost:~] lspci -v | grep “Class 0200” -B 1
0000:02:00.0 Ethernet controller Network controller: Qualcomm Atheros AR8161 Gigabit Ethernet [vmnic2]
Class 0200: 1969:1091

0000:04:00.0 Ethernet controller Network controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter [vmnic0]
Class 0200: 1186:4300

0000:04:01.0 Ethernet controller Network controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter [vmnic1]
Class 0200: 1186:4300

if its [vmnic*] is there in end of the network adapter name ,its mean driver installation has successfully

remember put back serve from maintenance mode by this command
> esxcli system maintenanceMode Set —enable false