Friday, February 2, 2024

Wednesday, January 10, 2024

Untuk bisa print ke windows dari ubuntu 22.04 atau lebih baru

 Jalankan perintah berikut untuk mengeluarkan opsi pilih printer dari seting

apt install smbclient python3-smbc

Friday, July 21, 2023

merubah jam / tanggal di ubuntu pakai perintah date

Untuk merubah tanggal menjadi 22 Juli 2023 jam 10:15 perintahnya adalah:

sudo date 072210152023

Di belakang perintah date adalah 2 digit bulan + 2 digit tanggal + 2 digit jam + 2 digit menit + 4 digit tahun

Untuk membuat user biasa bisa menjalakan perintah itu maka jalankan program visudo sebagai admin, dan tambahkan baris berikut di akhir file. tekan ctrl+x untuk keluar, tekan y untuk simpan

<username> ALL=(ALL) NOPASSWD: /bin/date

Friday, May 26, 2023

Tidak bisa share printer di windows 10

 

Open Start > Settings > Network & Internet > Status
Scroll to the bottom
Click Network and Sharing Center

Click Change advanced sharing settings
Expand All Networks
Under Password protected sharing

Switch between 'Turn on password protected sharing and Turn off password protected sharing'

Then choose 'Turn off password protected sharing'

Then click 'Save changes'

Also:

Press Windows key + R
Type: optionalfeatures.exe
Hit Enter

Scroll down to SMB 1.0/CIFS File Sharing Support
Tick the SMB 1.0/CIFS Client
Untick SMB 1.0/CIFS Automatic Removal and
Untick SMB 1.0/CIFS Server


Click OK
Restart if prompted.

Microsoft apparently has a workaround which does not require enabling SMBv1, for those who rely on the ability to 'browse' the network.

https://support.microsoft.com/en-us/help/403431...

Explorer Network Browsing

The Computer Browser service relies on the SMBv1 protocol to populate the Windows Explorer Network node (also known as "Network Neighborhood"). This legacy protocol is long deprecated, doesn't route, and has limited security. Because the service cannot function without SMBv1, it is removed at the same time.

However, if you still have to use the Explorer Network in home and small business workgroup environments to locate Windows-based computers, you can follow these steps on your Windows-based computers that no longer use SMBv1:
Start the "Function Discovery Provider Host" and "Function Discovery Resource Publication" services, and then set them to Automatic (Delayed Start). When you open Explorer Network, enable network discovery when you are prompted.

All Windows devices within that subnet that have these settings will now appear in Network for browsing. This uses the WS-DISCOVERY protocol. Contact your other vendors and manufacturers if their devices still don't appear in this browse list after the Windows devices appear. It is possible they have this protocol disabled or that they support only SMBv1.

- Try browsing to some of the computers manually, press Windows key + R, type: \\computername, hit Enter
- Press Windows key + R
Type: services.msc
Hit Enter

1. Start the "Function Discovery Provider Host" and "Function Discovery Resource Publication" services, and then set them toAutomatic (Delayed Start).
2. When you open Explorer Network, enable network discovery when you are prompted.

Press Windows key + X > computer management-->shared folders--> choose the shared folder, right click it then click Properties > Share Permissions -->protection that everyone can read and execute, see folder contents and read permissions.

See this thread for further tips:
https://answers.microsoft.com/en-us/windows/for...
Best,
Andre
twitter/adacosta
groovypost.com