I've had this complaint a couple times.
Email 'magically disappears'
It's not in deleted, not in the recoverable items on the server.
Turns out, if you hit backspace in newer versions of outlook (2016 for sure) backspace will put the email into the archive folder.
Monday, February 12, 2018
Saturday, February 10, 2018
Media server with Ubuntu, Plex and and Intel NUC
What I used:
Intel NUC kit, NUC7i5BNH
Corsair 4GB DDR4 2133mhz unbuffered CL15 SoDIMM
Seagate 2tb 7mm HDD
Mac Computer
4GB flash drive
Ubuntu 16.04.3 64 bit
http://releases.ubuntu.com
Etcher
Ubuntu has a cool tutorial on making the USB flash bootable:
https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-macos#0
I'll copy the important bits in case the link dies
But I'm pretty sure this is all I ended up having to do to get handbrake working. I'll probably wipe the drive again and test this to see if this is all I had to do. I'm sure eventually this will crash and I'll have to redo it all again.
I kept getting the problem where the Encoding button was greyed out, I found out that when selecting the DVD drive, it was selecting the AUDIO_TS folder, selecting the VIDEO_TS folder got the encoding button to work.
It took about a half hour to rip a 2 hour animated DVD at the Super HQ 1080p setting.
Hooooly crap there is a lot of settings in handbrake.
This guys post helped me a lot.
https://mattgadient.com/2013/06/12/a-best-settings-guide-for-handbrake-0-9-9/
Update:
I'm using the following settings on handbrake:
I started with the 1080p Fast as a baseline.
I bumped RF to 12 and put it on Very Fast.
(I ripped a movie at Very Fast and the one just above placebo (slowest setting) and the file size was about the same, it just took a little longer.)
profile is Main and its set to 4.0.
(the default Apple TV setting its high and 4.2 so I ripped a movie at both settings and there wasn't a noticeable difference in quality or file size.)
I left Audio default, just checking the box for DTS-HD passthrough. No idea what this does. I have a sound bar/sub setup and the sound is very good on the default setting (based on the 1080p fast profile).
At least on par with Netflix or playing the disk through an Xbox.
File sizes are around 3-4gb and they finish in about an hour.
Quality on my 70in tv is good, even better on a 42 or my iPhone. Which you have to have Plex Premium for if you want to play more than a minute at a time. I like the program so I'll probably just buy their forever license, still have some reading to do on how that works.
(update:5/12/18 I bought the license, no regrets.)
So far so good. I've watched movies while its ripping dvds and it does fine, so I'm not too concerned with its performance doing multiple streams.
There was on time I think it got a little warm, causing it to shut down. I set RF to its lowest setting and let handbrake run for a while. The NUC went flashing orange, but started right back up when I hit power and it continued ripping. It was pretty weird. This resulted in a 14gb file that wouldn't play through Plex, giving me a shaka3015 error. I spent a whole two minutes researching what the error meant before giving up.
It would play through Ubuntu's media player though, so the file was fine.
I ripped the movie again with my 'pretty good' settings and it played fine through Plex.
Update:5/12/18
BluRay...
I could read some BluRays, but not others.
This thread fixed it for me:
https://askubuntu.com/questions/565516/can-linux-play-blu-rays
I already had MakeMKV installed so straight to:
Step 2: Uninstall the open-source libaacs
(/usr/lib might not be the correct directory for you – do a search for "libmmbd.so")
Note, I couldn't find libmmbd.so through the search, I didn't do a CLI search, maybe I would have found it that way.
I added them to the /usr/lib like it says and I was able to read BluRay.
That got it so I could read the files, then I had to do this:
https://www.makemkv.com/forum2/viewtopic.php?f=8&t=14821
Go http://vlc-bluray.whoknowsmy.name/ and download KEYDB.cfg. Put it under ~/.MakeMKV.
This location can be viewed and changed in the preferences of MakeMKV.
Mine was home/(computername)/.MakeMKV
Make sure you can view hidden folders.
Update:
I'm doing everything with Makemkv now, the quality is basically lossless. The files are huge, but data is cheap. I'm running a seagate (I think) 8tb external drive. I haven't had any streaming latency, even with blueray.
Intel NUC kit, NUC7i5BNH
Corsair 4GB DDR4 2133mhz unbuffered CL15 SoDIMM
Seagate 2tb 7mm HDD
Mac Computer
4GB flash drive
Ubuntu 16.04.3 64 bit
http://releases.ubuntu.com
Etcher
Ubuntu has a cool tutorial on making the USB flash bootable:
https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-macos#0
I'll copy the important bits in case the link dies
- Launch Disk Utility from Applications>Utilities or Spotlight search
- Insert your USB stick and observe the new device added to Disk Utility
- Select the USB stick device and select
Erasefrom the tool bar (or right-click menu) - Set the format to
MS-DOS (FAT)and the scheme toGUID Partition Map - Check you've chosen the correct device and click
Erase
Install Etcher from here: https://etcher.io
Select the ISO of Ubuntu in Etcher and tell it to load it to the USB. SOOO much easier than this used to be.
Boot the NUC and let it run. This took quite a while for me.
install Plex from Plex.tv
Install the newest handbrake like this:
http://www.ubuntoid.com/install-handbrake-ubuntu-16-04-16-10/
http://www.ubuntoid.com/install-handbrake-ubuntu-16-04-16-10/
sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo apt-get update
sudo apt-get install handbrake-gtk handbrake-cli
Then
I had to do those last two (I think) to get dvds to play at all. I'm new to this whole thing...sudo apt-get update && sudo apt-get upgrade
sudo apt-get install ubuntu-restricted-extras
sudo apt-get install libdvdcss2
sudo apt-get install libudf-dev
But I'm pretty sure this is all I ended up having to do to get handbrake working. I'll probably wipe the drive again and test this to see if this is all I had to do. I'm sure eventually this will crash and I'll have to redo it all again.
I kept getting the problem where the Encoding button was greyed out, I found out that when selecting the DVD drive, it was selecting the AUDIO_TS folder, selecting the VIDEO_TS folder got the encoding button to work.
It took about a half hour to rip a 2 hour animated DVD at the Super HQ 1080p setting.
Hooooly crap there is a lot of settings in handbrake.
This guys post helped me a lot.
https://mattgadient.com/2013/06/12/a-best-settings-guide-for-handbrake-0-9-9/
Update:
I'm using the following settings on handbrake:
I started with the 1080p Fast as a baseline.
I bumped RF to 12 and put it on Very Fast.
(I ripped a movie at Very Fast and the one just above placebo (slowest setting) and the file size was about the same, it just took a little longer.)
profile is Main and its set to 4.0.
(the default Apple TV setting its high and 4.2 so I ripped a movie at both settings and there wasn't a noticeable difference in quality or file size.)
I left Audio default, just checking the box for DTS-HD passthrough. No idea what this does. I have a sound bar/sub setup and the sound is very good on the default setting (based on the 1080p fast profile).
At least on par with Netflix or playing the disk through an Xbox.
File sizes are around 3-4gb and they finish in about an hour.
Quality on my 70in tv is good, even better on a 42 or my iPhone. Which you have to have Plex Premium for if you want to play more than a minute at a time. I like the program so I'll probably just buy their forever license, still have some reading to do on how that works.
(update:5/12/18 I bought the license, no regrets.)
So far so good. I've watched movies while its ripping dvds and it does fine, so I'm not too concerned with its performance doing multiple streams.
There was on time I think it got a little warm, causing it to shut down. I set RF to its lowest setting and let handbrake run for a while. The NUC went flashing orange, but started right back up when I hit power and it continued ripping. It was pretty weird. This resulted in a 14gb file that wouldn't play through Plex, giving me a shaka3015 error. I spent a whole two minutes researching what the error meant before giving up.
It would play through Ubuntu's media player though, so the file was fine.
I ripped the movie again with my 'pretty good' settings and it played fine through Plex.
Update:5/12/18
BluRay...
I could read some BluRays, but not others.
This thread fixed it for me:
https://askubuntu.com/questions/565516/can-linux-play-blu-rays
I already had MakeMKV installed so straight to:
Step 2: Uninstall the open-source libaacs
sudo apt-get remove libaacs0
Step 3: Symlink MakeMKV's libmmbd to emulate libaacs and libdplus(/usr/lib might not be the correct directory for you – do a search for "libmmbd.so")
cd /usr/lib
sudo ln -s libmmbd.so.0 libaacs.so.0
sudo ln -s libmmbd.so.0 libbdplus.so.0
Note, I couldn't find libmmbd.so through the search, I didn't do a CLI search, maybe I would have found it that way.
I added them to the /usr/lib like it says and I was able to read BluRay.
That got it so I could read the files, then I had to do this:
https://www.makemkv.com/forum2/viewtopic.php?f=8&t=14821
Go http://vlc-bluray.whoknowsmy.name/ and download KEYDB.cfg. Put it under ~/.MakeMKV.
This location can be viewed and changed in the preferences of MakeMKV.
Mine was home/(computername)/.MakeMKV
Make sure you can view hidden folders.
Update:
I'm doing everything with Makemkv now, the quality is basically lossless. The files are huge, but data is cheap. I'm running a seagate (I think) 8tb external drive. I haven't had any streaming latency, even with blueray.
Tuesday, December 5, 2017
Finding out what port devices are plugged into: Cisco
Telnet to switch
login,
(it would be a good idea to enable logging before running these)
enable
switch#>sh arp
this will give the mac/ip list
switch#>show mac address-table
This will give mac/port
I enabled logging so I had a notepad with all the data.
Manually went in and made it a CSV, there might be a way to do this automatically, but I didn't do it that way...
In the end, after manipulating the data in excel, I ended up with a workable list of IP, MAC, and Port numbers. I figured nslookup is easy enough to find out what the device is via the IP, but I guess you could go to DNS/DHCP also.
login,
(it would be a good idea to enable logging before running these)
enable
switch#>sh arp
this will give the mac/ip list
switch#>show mac address-table
This will give mac/port
I enabled logging so I had a notepad with all the data.
Manually went in and made it a CSV, there might be a way to do this automatically, but I didn't do it that way...
In the end, after manipulating the data in excel, I ended up with a workable list of IP, MAC, and Port numbers. I figured nslookup is easy enough to find out what the device is via the IP, but I guess you could go to DNS/DHCP also.
Wednesday, November 15, 2017
Xerox Workcentre not pingable by Hostname
Requested Host Name is not verified, have you seen this on your Xerox WorkCentre?
Well I finally got this working.
In my environment, I have assigned all my printers a static IP address, which is then shared through a print server, I know, revolutionary right?
In the near future we'll be going through a re-IP, so my static assignments aren't going to work. On all my other printers (HP, Ricoh, Brother) I was able to add a host name, ping the host name, and share the printer via a port based on that hostname instead of the IP. Now I can put that printer into DHCP, ready for the re-ip.
The Xerox did not want to play. And the kicker, the Xerox printers aren't in the office I'm in. So I was afraid to go DHCP and lose connection.
Luckily I work with some pretty smart people, and it was suggested I put a reservation for the device based on its MAC. Brilliant.
So I did that, went to DHCP, success. It pulled the right address and I was connected. The other cool part is the Host Name verified.
Ping test? success!
This re-IP might not be that bad after all.
Wednesday, November 8, 2017
Enabling Telnet on cisco switch
After setting up my switch I could ping it and access the UI, but couldn't Telnet into it, because I didn't turn it on...
switch>enable
switch#config t
switch(config)#line vty 0 4
switch(config-line)#password <password>
(this doesn't require the <>, you just put the password. Ex, if you want the password to be Password1 it would look like this:
switch(config-line)#password Password1
that's it)
switch(config-line)#login
switch(config-line)#end
now test it
switch#telnet (IP of switch)
once connection is verified, save it.
switch#write memory
switch#copy running-config startup-config
Double saved.
switch>enable
switch#config t
switch(config)#line vty 0 4
switch(config-line)#password <password>
(this doesn't require the <>, you just put the password. Ex, if you want the password to be Password1 it would look like this:
switch(config-line)#password Password1
that's it)
switch(config-line)#login
switch(config-line)#end
now test it
switch#telnet (IP of switch)
once connection is verified, save it.
switch#write memory
switch#copy running-config startup-config
Double saved.
Monday, November 6, 2017
Making Cisco switch pingable
If you're like me, you went through the initial setup wrong and need to do the following:
(remember to enable)
Switch# write erase Erasing the nvram filesystem will remove all files! Continue? [confirm]y[OK] Erase of nvram: complete Switch# Switch# reload
This will run for a while... a long while
In my case, I wanted to assign an IP to the vlan 1 (why? I don't know, I just did OK?)
Ok, so after that:
switch#config t
switch[config]#interface vlan 1
switch[config-if]#ip address x.x.x.x x.x.x.x
(second set of x.x.x.x for subnet)
switch[config-if]#exit
switch[config]#ip routing
switch[config]#show running-config
(make sure ip routing is listed)
switch[config]#interface vlan 1
switch[config-if]#ip address x.x.x.x x.x.x.x
switch[config-if]#no shutdown
switch[config-if]#exit
switch[config]#exit
switch#write memory
switch#copy running-config startup-config
(hit enter on the save prompt)
now that IP routing is turned on, you won't be able to ping from another subnet... until:
switch#config t
switch[config]#ip route 0.0.0.0 0.0.0.0 (ip of router)
(remember to enable)
Switch# write erase Erasing the nvram filesystem will remove all files! Continue? [confirm]y[OK] Erase of nvram: complete Switch# Switch# reload
This will run for a while... a long while
In my case, I wanted to assign an IP to the vlan 1 (why? I don't know, I just did OK?)
Ok, so after that:
switch#config t
switch[config]#interface vlan 1
switch[config-if]#ip address x.x.x.x x.x.x.x
(second set of x.x.x.x for subnet)
switch[config-if]#exit
switch[config]#ip routing
switch[config]#show running-config
(make sure ip routing is listed)
switch[config]#interface vlan 1
switch[config-if]#ip address x.x.x.x x.x.x.x
switch[config-if]#no shutdown
switch[config-if]#exit
switch[config]#exit
switch#write memory
switch#copy running-config startup-config
(hit enter on the save prompt)
now that IP routing is turned on, you won't be able to ping from another subnet... until:
switch#config t
switch[config]#ip route 0.0.0.0 0.0.0.0 (ip of router)
Friday, October 6, 2017
Make DomainA see DomainB
Able to ping each other by IP, not able to ping by name.
Make sure one of the hardcoded DNS servers is the servers IP or 127.0.0.1.
Open DNS manager
Right Click Forward Lookup Zones
Defaults click next all the way through, zone name DomainName (.corp,.com,whatever)
Expand the new zone
Right click, New Host (A) name
Name of server and IP address
Pinging between via name works now.
Make sure one of the hardcoded DNS servers is the servers IP or 127.0.0.1.
Open DNS manager
Right Click Forward Lookup Zones
Defaults click next all the way through, zone name DomainName (.corp,.com,whatever)
Expand the new zone
Right click, New Host (A) name
Name of server and IP address
Pinging between via name works now.
Thursday, September 28, 2017
Cisco Anyconnect VPN Failed to get configuration from secure gateway
Out of the blue, users start getting these errors.
It turned out my certificate had expired, I found this out through another fix where you clear preferences.xml. After deleting that file and trying to connect, it pops up with the certificate and I saw it had just expired. While the certificate auto renews through GoDaddy, it doesn't on the ASA. I didn't update the certificate, we have a network guy that does that and he doesn't tell me how he does stuff.
I know he generated a CSR that I had to paste into GoDaddy. GoDaddy verified and issued the cert, and I downloaded the Apache version of the cert from GoDaddy.
Failed to get configuration from secure gateway. Contact your system administrator.
AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again.
It turned out my certificate had expired, I found this out through another fix where you clear preferences.xml. After deleting that file and trying to connect, it pops up with the certificate and I saw it had just expired. While the certificate auto renews through GoDaddy, it doesn't on the ASA. I didn't update the certificate, we have a network guy that does that and he doesn't tell me how he does stuff.
I know he generated a CSR that I had to paste into GoDaddy. GoDaddy verified and issued the cert, and I downloaded the Apache version of the cert from GoDaddy.
Friday, September 15, 2017
something went wrong and outlook couldn’t set up your account. please try again. if the problem continues, contact your email administrator.
I got this error on a new install of Windows 10. I was also getting kb2566790 DNS errors with skype.
After going through some internet fixes (disabling IPv6, full reset of 10) to no avail, I was thinking it might just be the version of W10. A new 'nothing works' update or something.
After some trial and error, I tried adding the account under the local admin account. Worked fine. Added this specific user as a local admin and Skype no longer had the issue, and I was able to add the email account.
This particular user is part of a domain I don't manage within the same corporate umbrella. I'm guessing they have some dumb group policy or something. I didn't care to look, I just needed to get this user running.
After going through some internet fixes (disabling IPv6, full reset of 10) to no avail, I was thinking it might just be the version of W10. A new 'nothing works' update or something.
After some trial and error, I tried adding the account under the local admin account. Worked fine. Added this specific user as a local admin and Skype no longer had the issue, and I was able to add the email account.
This particular user is part of a domain I don't manage within the same corporate umbrella. I'm guessing they have some dumb group policy or something. I didn't care to look, I just needed to get this user running.
Wednesday, September 13, 2017
Resyncing previously synced account in Office 365 and synching a new account to an existing
If you read my previous article about my migration fiasco, you'll remember I pointed out that previously synced accounts are fubar'd and won't sync.
After some discussion with Microsoft, I was informed there is a source anchor/immutable ID that populates in synced accounts. This ties the account to the local On Premise AD account and won't let anything else connect.
In my case, the old "On Premise AD" was a cloud Okta server that we didn't have anymore. Luckily, these accounts transitioned to In Cloud (I don't remember if they went into a Soft Delete, but they probably did.)
The first tech I spoke with a while back gave me some pretty... scary solutions.
Option A would be to disable Azure sync for 3 DAYS and run a bunch of powershells.
Option B would be to delete the account in question, sync an account from the local ad and reattach the mailbox via powershell. Rendering all shares to this account useless. FUUUUUUAAAA.
Well, one of the accounts was my own and I Option B'd that muthafuka. 0/10 would not recommend.
This whole time I was like, can't we just get rid of that immutable ID? clear the flag? The MS guy said the only way would be to disable the Azure Sync for 24-36 hours...
Fast forward, and I found out this is not the case.
Once the account is in In Cloud status, you just have to run a simple powershell on the account.
You will have to do this through the Azure AD module for powershell http://connect.microsoft.com/site1164/Downloads/DownloadDetails.aspx?DownloadID=59185
And good luck with that. I have fully updated Windows 10 and it keeps saying I need Powershell 2.0 or higher... (if you have fixed this stupid error, please let me know, I gave up and set it up on my DC)
At this point the account is ready to be synced with a new AD account on any local AD anywhere.
After some discussion with Microsoft, I was informed there is a source anchor/immutable ID that populates in synced accounts. This ties the account to the local On Premise AD account and won't let anything else connect.
In my case, the old "On Premise AD" was a cloud Okta server that we didn't have anymore. Luckily, these accounts transitioned to In Cloud (I don't remember if they went into a Soft Delete, but they probably did.)
The first tech I spoke with a while back gave me some pretty... scary solutions.
Option A would be to disable Azure sync for 3 DAYS and run a bunch of powershells.
Option B would be to delete the account in question, sync an account from the local ad and reattach the mailbox via powershell. Rendering all shares to this account useless. FUUUUUUAAAA.
Well, one of the accounts was my own and I Option B'd that muthafuka. 0/10 would not recommend.
This whole time I was like, can't we just get rid of that immutable ID? clear the flag? The MS guy said the only way would be to disable the Azure Sync for 24-36 hours...
Fast forward, and I found out this is not the case.
Once the account is in In Cloud status, you just have to run a simple powershell on the account.
You will have to do this through the Azure AD module for powershell http://connect.microsoft.com/site1164/Downloads/DownloadDetails.aspx?DownloadID=59185
And good luck with that. I have fully updated Windows 10 and it keeps saying I need Powershell 2.0 or higher... (if you have fixed this stupid error, please let me know, I gave up and set it up on my DC)
- Run the command "Connect-MsolService". (Enter Global Admin credentials when prompted).
- Check the details of a user with the below command:
- Get-MsolUser -UserPrincipalName user@domain.com | FL
- To remove the Immutable ID, run below command:
- Set-MsolUser -UserPrincipalName user@domain.com -Immutableid ""
- The above command will remove the Immutable ID for the user
At this point the account is ready to be synced with a new AD account on any local AD anywhere.
Unable to convert O365 mailbox to shared mailbox
Converting a mailbox to a shared mailbox is normally pretty easy in Office 365.
Log into the Admin center, Users, locate the user, expand Mail Settings (you will see this if the user has proper licensing and you have proper admin level) and click on the Convert to shared Mailbox option
Easy Peasy.
So you're running O365 and you're thinking 'Boy, it would be nice to have at least the same password between my local AD and Office 365.'
So you do that, pretty simple.
But wait, what's this? A user left and now you need to convert them to a shared mailbox so everyone can view their email and pretend to be them. (insert your own personal reason for making a user mailbox shared)
You follow the same steps as before, but the option isn't there.
Darn!
This is because the account is now Synced with a local active directory.
Donezo, right? I guess its time to give all the users full access rights on this mailbox... But wait, there's more!
If you move the terminated user, or whatever the reason, to a NON syncing OU, the account will soft delete.
I know DELETE is scary, but this is a soft scary. Think lion or koala, just kidding, its not that bad.
Now that the account is no longer an active user, it will show up in Deleted Users in Admin
Find the user here, and Restore the user, you can set a password or let it do a random password, doesn't really matter.
Once that is done, the account will now be "In Cloud" and you can convert it to a shared mailbox.
Log into the Admin center, Users, locate the user, expand Mail Settings (you will see this if the user has proper licensing and you have proper admin level) and click on the Convert to shared Mailbox option
So you're running O365 and you're thinking 'Boy, it would be nice to have at least the same password between my local AD and Office 365.'
So you do that, pretty simple.
But wait, what's this? A user left and now you need to convert them to a shared mailbox so everyone can view their email and pretend to be them. (insert your own personal reason for making a user mailbox shared)
You follow the same steps as before, but the option isn't there.
This is because the account is now Synced with a local active directory.
Donezo, right? I guess its time to give all the users full access rights on this mailbox... But wait, there's more!
If you move the terminated user, or whatever the reason, to a NON syncing OU, the account will soft delete.
I know DELETE is scary, but this is a soft scary. Think lion or koala, just kidding, its not that bad.
Now that the account is no longer an active user, it will show up in Deleted Users in Admin
Once that is done, the account will now be "In Cloud" and you can convert it to a shared mailbox.
Subscribe to:
Posts (Atom)
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
I tried a couple things, downgrading, reinstalling, followed some github links talking about /usr/local/lib/python3.10/dist-packages/basics...
-
Situation: Vizio sound bar works. But all of a sudden, no sound. The movie is playing fine, but no sound. On the sound bar itself, two ind...
-
I have a customer that would like 3 monitors, for whatever reason. The Dell 9020 is capable of this, and this is how I got it to work. No ...