Can’t reconnect to the smb share?

After an upgrade I could not connect to my samba shares on a FreeNAS-9.10.2-U2. Just the following appeared in my syslog:

CIFS VFS: Send error in SessSetup = -13
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
[CIFS VFS: Unable to select appropriate authentication method!
CIFS VFS: Send error in SessSetup = -22
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13

The FreeNAS-9.10.2-U2 upgrade bumped the samba version number from 4.4.5 to 4.5.5 so something might got deprecated and I could not connect via fstab:

//IP/SHARE /home/USER/share cifs credentials=/home/USER/.smbcred,iocharset=utf8,sec=ntlm 0 0

Solving this problem was easy. The “security=ntlm” part had to be removed. Yaaaay!!!

Advertisements

Flash Archer C20i from factory to OpenWRT/LEDE

I had a lot of success changing the firmware to OpenWRT on multiple TP-Link devices (TL-WR941ND, TL-WR841N, TL-WR740N). With original firmware these devices are only good for home use, but are not capable of supporting 10-20 users (or even more) for example in a dormitory. They just freeze, or drop wireless users randomly. But with an OpenWRT firmware they are rock stable, even under high load. Because these devices have only 4Mb of flash and 32Mb RAM they “just work” and don’t leave any opportunity for adding extra functionality (maybe a little muninlite or tinyproxy). With lede-17.01 you even have to disable some package feeds in opkg to install packages because opkg eats too much RAM. So it was time for a hardware upgrade…

Continue reading “Flash Archer C20i from factory to OpenWRT/LEDE”

FreeBSD 10 installed with tftp on a Amilo L7320

The Background Story: TL;DR

I had a little spare time this weekend, and wanted to put a new OS on my Fujitsu Siemens Amilo L7320. The laptop is now ~8 years old, and my opensource deep-dive started with it. I installed my first Ubuntu 7.10 on this machine to replace the preinstalled Windows XP. And no dual booting, no turning back! (sadly this changed…)*

It was a deep dive, because X11 was not working and I had to hack my own xorg.conf. I hate the Via Unichrome GPU, but around Ubuntu 10.04 the openchrome driver was doing it’s job out of the box. The CD/DVD drive died after 1,5 years (before 9.10, so I had to make my on TFTP/PXE install server. You might ask why didn’t I use a USB Stick, and boot from a “USB Storage Disk” as the bios suggests. Well, the machine won’t boot from any USB Installer, because “Invalid partition table”. So no iso dd/imgwriter. It can boot from grub2 or lilo, so it needs a mbr? I don’t care. TFTP/PXE is good for me. And there were other problems, like the clock and the whole system hanged if there was no user input or cpu load (this was on kernel 2.6.35 and some more kernels above). But with Xubuntu 12.04.5 the machine was working OK. But it was time to make the change and try a new OS…. FreeBSD. Thanks to Allan & Kris. Continue reading “FreeBSD 10 installed with tftp on a Amilo L7320”

Asus Fonepad 7 (FE170CG) firmware update misery

So you bought a new phone+tablet from ASUS and accidentaly failed an update? Well you are at the right place, because I was in the same shoe. Note: This is for the WW version. If your’s is on a different SKU then you must stay on that path.

Recovery from a failed update:

Symptoms:

  • You wanted to update from Jelly Bean (4.3) to KitKat (4.4) using an update from the asus website.
  • During the update an Error message showed up.
  • When you want to start your device it only shows an usb logo for a second.

Origin of the problem:

  • You applied the latest kitkat update on a jellybean firmware.

Repair:

  1. Download the UpdateLauncher_K012_WW_10_32_1_33_1.zip from ASUS site.
  2. Unzip the archive.
  3. Rename UL-K012-WW-10.32.1.33.1-user.zip to k012_sdupdate.zip
  4. Copy the renamed file to an SD card, and insert it to the device.
  5. Start the Phonetab in Droidboot by pressing and HOLDING Volume up and Power button until the menu appears.
  6. Select Recovery.

How to do a proper update to KitKat?

  1. Start from the latest Jelly Bean.
  2. Apply the first KitKat update: UL-K012-WW-11.2.3.18.2-user.zip
    1. Rename to k012_sdupdate.zip
    2. Copy it to the SD card.
    3. Reboot into Droidboot.
    4. Select SD Upload.
    5. Optional: Do a Wipe.
  3. Apply the next KitKat update: UL-K012-WW-11.2.3.21.5-user.zip
  4. And so on… (or you can now safely jump to the latest one: UL-K012-WW-11.2.3.33-user.zip)

You can be paranoid (apply all updates in order) or semi-paranoid (apply only firs KitKat and move to the latest). But don’t skip immediately from Jelly Bean to KitKat.

What is IFWI?

Intel FirmWare Interface – a blob to load kernel. Like a PC BIOS.

About Lollipop updates

Please don’t upgrade to Lollipop yet. You might get it via OTA or via the Asus download page. But ignore it.

You will loose DualApp, the memory usage and the internal storage usage will increase.

I recommend waiting for a more updated version of lollipop (not WW_12.8.1.38 , and not WW_12.8.1.33), because you cannot downgrade!

Source