You are here
Hello All, I am using the version "turnkey-fileserver-11.2-lucid-x86" on a somewhat experimental setup, for me at least. I wanted to test turnkey in the most light-weight and frugal environment. I had a couple of old HP t5530 thin client lying around.
You can check its details over here.
http://www.parkytowers.me.uk/thin/HpT5530/index.shtml
This small machine has fixed 128MB RAM and I had a 512MB Flash DOM installed in it for storage. Although i did read somewhere that the turnkey team has tested the server in the most minimum setup of 256MB RAM, but I wanted to go below and beyond by trying the installation on this little guy. So i burned the ISO file on a USB flash stick using the unetbootin from http://unetbootin.sourceforge.net
It makes the USB stick bootable with default GRUB screen of running the TurnKey from USB or installing it onto a harddisk. I chose the first option of running it from the disk, and after waiting for quite sometime (have to give the discount for miniscule RAM and old hardware) it showed me the standard options of selecting IP address and stuff and finally started the turnkey server. I could check it by connecting to this machine from another one at the default https://myipaddress:12341.
This was a good news so I went on by trying to install it on a harddisk, but since the internal 512MB is too little , I added another flash USB stick (4GB) to the thin client to be used as installation disk (to be booted from USB). I chose the manual partitioning and kept all the partitions on the USB Flash stick except the /var partition which i thought (might be for frequent access) should be kept in internal 512MB DOM disk.
The idea has worked and now I have a running TurnKey Fileserver on HP t5530. I have connected two USB harddisks (2TB each) to it and shared them via SAMBA networking. Have installed NTFS-3G in TurnKey Fileserver so the disks around mounted in fstab in read/write mode, somehow the standard ntfs filesystem built-in does not support SAMBA write on NTFS shares. The read/write rate i get on my CAT5 10/100MBps wired network is around 4MB/sec. Not very fast but enough for the while. I can stream the shared movies from the SAMBA shares to my NMT and XBMC based HTPC. The 1080p stuff streams without stuttering as well, more or less.
Have updated the ubuntu packages as well and tried the upgrade distribution option too. Everything works except that a major glitch. During reading/streaming or writing to the SAMBA shares, sometimes at totally random time intervals, the WIRED network connection to the turnkey server drops. The network adapter totally stops responding. When this happens I cannot ping the turnkey fileserver niether can I access the SAMBA shares or the WebMin interface. Seems like there is no network adapter present in the machine. The only solution to it is to physically turn-off the machine and turn it back on after which everything starts working normally untill the same network black out happens again.
I am no expert in CLI Linux, whatever the underlying Ubuntu has configrued is pretty much plug-n-play for the system devices. The network adapter as far as I know inside the machine is RealTek. You can check the datasheet here http://www.forestals.com/filebank/imagebank/products/T5530.pdf
Is there any way i can remedy the situation for a stable wired network connection, or maybe a way I can do troubleshooting or can get some logs to post over here for further guidance. Thanks for reading the long post and replying in advance.
Do you have a screen connected?
If not perhaps it is not just the networking that stops?
If you do have a screen connected and the rest of the system keeps working then you could do some troubleshooting. Firstly I'd check what the kernel is up to tail /var/log/dmesg (or just dmesg to look at it all). may give you some idea. Other log files are found in /var/log It's a complete stab in the dark, but maybe it's worth trying to update the driver to the latest one from the Realtek? (I wouldn't bother trying that until you confirm that it definately is the NIC that is dropping out).
Will check and get back
Right now the machine running TurnKey is connected headless to the network router.
Will try connecting it with display. So if it does respond normally with a dead network interface, i will run the command you mentioned and will post the output.
Thanks.
Got the hang of it, without a solution
Hello,
I have connected a display and keyboard directly to the previoulsy headless thin client running Turnkey, acting as a server for my network.
Tried connecting two harddisks mounted with NTFS-3G and SAMBA shares available on network. Did various big >4GB file movements of reading and writing on the shares.
The same loss of wired network interface happened again , just when it happens. the tail var/log/dmesg shows the following:
That's all very odd...
But I guess I'm not telling you anything! I guess at least we can rule out a kernel panic as your machine isn't completely locking up.
The dmesg log is telling us that the kernel is seeing the NIC and initialising it. So run the command again and then put it through it's paces again. Then run the command again after networking has dropped out and you've got it going again. Are the numbers (on the left) the same or do they change? The numbers are basically the time that the event happened (IIRC in seconds since boot) so if they are the same it's not anything new happening. If however they are different then the kernel has lost contact with the NIC and then reinitialised it. That might give us a clue as to what is going on.
Other than that, it might be worth checking memory usage and I/O. To check RAM and swap using the free -m -t command (-m reports MB and -t gives a totals row at the bottom). Also top is a useful commandline app which contains lots of info and updates so you may be able to see what is going on (press 'q' to quit).
Add new comment