Setting up Samba Server - Shield Android TV Q&A, Help & Troubleshooting

With the latest update, I'm having problems setting up my SMB Server on my Nvidia Shield TV Rooted (Standard 16 GB Model), with Busybox and SeLinux set to Permissive Mode.
Is it something that happens only to me?
I tried Servers Ultimate Pro, with Pack B installed, which had been worked just fine until I updated my Shield; With it, now I am having problems selecting my External USB Drive as Samba Share.
I tried also SambaDroid, which works fine, but it gives me a very poor speed limit (my Lan has 1 gbps speed) and capacity limit (it doesn't let me transfer a file large approximately 3 GB)
Any help would be very appreciated.
Have a nice weekend from Italy .

Related

wireless router with usb storage to share files

i am thinking of getting a wireless router with usb storage support
all i want to do is that if i plug usb flash drive in router and then share files over wifi to access them on kindle fire
if i do this am i able to access files through wifi on kindle.....
which router will be best for me.
i use this one:
http://homesupport.cisco.com/en-us/wireless/lbc/WRT160NL
it's working perfect for me ...
I use the Netgear WNDR4500. It lets you share the usb devices via web interface, windows shared folder (some file manager apps let you access these), and DLNA streaming. Probably most of them are similar.
Most consumer routers are Linux-based, and you can pretty much count on them using Samba for this sort of thing. You may access Samba shares using a file manager (e.g. Ghost Commander), or you can mount them on your device so any application can use the files directly without moving them (e.g. CIFS Manager, though you'll also need to be rooted and get a couple kernel modules from this board).
As for which router to get, I'd suggest something listed as "supported" on this list. OpenWRT is a "ROM" for routers, and it's generally the base for the other custom router firmwares (so if OpenWRT works, others should as well). That way, you have options. Pick a router with a beefy CPU, because that's the limiting factor for Samba, although an old 200 MHz router will still stream things at 1-2 MB/sec, which is fast enough for most uses (my router is 680 MHz and easily exceeds 14 MB/sec, which is much faster than the Kindle Fire can download).
Edit: I forgot to mention, if you use that list, make use the router has at least one USB port, obviously.

[Q] NSTouch v1.1.2 (Rooted) Wifi-N issues (and partial solution)

I've been reading through the forums trying to find a solution to my WiFi-N issues.
Here is what I've done and what is happening
1. Got a Nook Simple Touch (stock unrooted) and updated from 1.0 to 1.1.2 via the directions found at Barnes and Noble
2. Rooted using TouchNooter 2.1.31
3. The screen never turned black/off. The instructions remained on the whole time. So I left it over night to be sure it would work. Took out TouchNooter SD card and rebooted, and the NST was rooted and worked.
4. WiFi connection issues start.
I can connect to my home WiFi, but do not get any internet access.
NST says connected but No internet, router shows the NST as a connected device.
My router is a NetGear WNR2000v1 with the latest North American firmware (1.2.3.7).
I've got the security set to WPA2 PSK (but since I can connect I guess it is a moot point).
Attempted but failed solutions
1. Reboot NST (multiple times)
2. Forget my wifi network and then enter credentials again
3. Reboot router and cable modem (and repeat 1 and 2)
4. Change my wifi SSID to something more simple (and repeat 1 and 2)
5. Use an open network temporarily (and repeat 1 and 2)
6. Used MAC address filtering on the router to force a specific LAN IP address instead of leaving it up to DHCP
7. Ensured the NST (and my laptop) was only device on the network
Non-NST Based Solution (hopefully temporary)
My router was set to the 300Mbs setting, but that was not working, so I tried the 145Mbs setting without any luck, then switched it to 54Mbs setting and it works!
Per the manual for the router:
– Up To 54 Mbps. Legacy mode, for compatibility with the slower 802.11b and 802.11g
wireless devices.
– Up To 145 Mbps. Neighbor Friendly mode, for reduced interference with neighboring
wireless networks. Provides two transmission streams with different data on the same
channel at the same time, but also allows 802.11b and 802.11g wireless devices. This is
the default mode.
– Up To 300 Mbps. Performance mode, using channel expansion to achieve the 300 Mbps
data rate. The WNR2000 router will use the channel you selected as the primary channel
and expand to the secondary channel (primary channel +4 or –4) to achieve a 40 MHz
frame-by-frame bandwidth. The WNR2000 router will detect channel usage and will
disable frame-by-frame expansion if the expansion would result in interference with the
data transmission of other access points or clients.
Click to expand...
Click to collapse
I would assume the 145Mbs option should work with the NST since the NST is a 802.11b/g/n device.
I will probably try this solution when I get home [N2E][1.1][solved] wifi/dhcp lease issues
I did not try the WiFi Static app yet, because I have not gotten the market to work yet (i'm working under the assumption that it is the wait-a-day-or-so-for-the-market-to-work issue).
Do you have any other possible solutions or advice?
I'd really prefer to be able to use the 802.11n speeds on my router so that other devices play and stream nicely (Apple TV & PS3)
weird compatibility issues with specific router/firmware combos are, unfortunately, relatively common in nook devices and by no means unheard of for android devices as a group.
you may find that only the b/g mode works with your router - but once your device is connected to your router when it's running at 145, its worth looking to see if you can ping the mac address of the NST from your router, if your router supports a diagnostic ping that will take a MAC as an input.
Some folks over on the BN forums found that once they could ping the MAC, the connectivity issue was resolved. (I don't know how long-lasting the fix was.)
My guess is that some android devices are doing something odd in reply to ARP requests.
Another option would be to pick up the cheapest b/g or b-only access point you can find and just use that for the NST, leave the real access point set up for the things that can really use it. Fry's sells workable low-end access points from Trendnet for 25 bucks or so, or used to.
Here it is:
http://www.amazon.com/TRENDnet-Wireless-Broadband-Router-TEW-432BRP/dp/B000BI1XNE/ref=pd_sim_e_1
I used this for a year or so at one point; for me it worked fine. Many people do hate it (20% of the reviews are one-star.)
For a little more,
http://www.amazon.com/TRENDnet-54Mb...430APB/dp/B000799LPE/ref=cm_cr_pr_product_top
you get two antennas and only 10% 1-star reviews
Out of curiosity, before you got it rooted – were you able to connecet @ 300 Mbps. Performance mode?
You need internet connection to register nook, unless you bypass registeration…
I honestly am not sure if it was the performance mode, but it did connect automatically and my router was set to performance mode. I'm working under the assumption it did connect with the 1.0.1 software that came with it... I registered and updated the software then rooted, but didn't pay attention to whether the 1.0.1 vs 1.1.2 connected before rooting.
The second router is a pretty good idea, I probably have one sitting around somewhere too.
_Boondock_ said:
The second router is a pretty good idea, I probably have one sitting around somewhere too.
Click to expand...
Click to collapse
Pocket/travel size router coming up regularly on slickdeals.net for $10-20 shipped. Some even support DD-WRT.
I got a "refurbished" D-Link DIR-615 (that takes DD-WRT) for $20 locally.
"Refurbished" in this case means that somebody bought it once, it was too complicated for them,
they threw it back in the box and D-Link repackaged it in a plain box.
The Nook has a spare connector inside for a second antenna.
It's one of those teeny-tiny connectors.
Renate NST said:
The Nook has a spare connector inside for a second antenna.
It's one of those teeny-tiny connectors.
Click to expand...
Click to collapse
Interesting!
Did you take a picture?
Have you connected it already? :good:

WiFi speeds

Is it just me or are WiFi speeds on these tablets very slow? If anyone know Of a fix it would be appreciated.
Sent from my Nexus 7 using xda premium
I've seen other posts where people have found a small gap in the shell resulting in poor contact inside for the wifi leads. Some were able to squeeze the shell tighter to help and some opened the back and tried to carefully adjust the pins to make better contact. At least one person broke a contact pin, so be careful if you try that. My wi-fi connection and speeds are very good.
I can download a 100 Mb file in less than a minute, and web pages take less that 3 second to load.
Though, I have a 30 Mb/s connection from Charter that I can constantly get up to 45 for some reason.
Last night I transferred GBytes of data via ADB (i did a full tablet wipe and a bunch of restores) and couldn't help but notice that sustained data transfer via (wired) ADB is only about 1.4 Mbytes/sec. Sort of pathetic waiting around for a half-hour to transfer a 2.5 GB file.
Anyway, not to jack the OP (which is about WiFi), but I wanted to try and figure out what my best options are for high-speed backup (I have a 32 GB N7!) - including WiFi as an option.
Ran a couple of file transfer trials this morning using a ROM file that was 150,137,068 bytes.
Results first, more detail on each setup follows. (The results are compared in terms of data payload per second; in the cases where protocol overhead is high, the wire-speeds would be higher than calculated)
[1] SMB/CIFS write via WiFi : 518sec => 2.32 Mbits/sec. UGH (best of three trials)
[2] FTP put via WiFi : 109sec => 11.06 Mbits/sec
[3] FTP get via WiFi : 121sec => 9.9 Mbits/sec
[4] adb pull via USB : 78sec => 15.4 Mbits/sec
[5] adb push via USB : 117sec => 10.3 Mbits/sec
[6]* OTG VFAT write via USB: 33sec => 36.4 Mbits/sec
[7]* MTP copy via USB 13sec => 92.4 Mbits/sec
In the WiFi cases:
- Linksys WRT54G (802.11g) router circa 2006 [ 802.11g theoretical bw 54 Mbps ] 6' away -35 dBm signal
- SMB/CIFS "server" Windows Xp SP3 laptop on 100 Mbps Ethernet segment attached to router
- N7 SMB client app ES File Manager
- FTP Server app (Andreas Liebig) on N7
- FTP client app Windows Xp default ftp app for both push and pull
- Windows box on Ethernet, N7 only on WiFi.
In the OTG case:
- 8 GB Sandisk Class 2 microSD card on a card reader attached to OTG cable; single partition, empty card, VFAT formatting.
In the ADB case:
- adb v 1.0.31, Win 7 Pro x64, Quad-Core i5, USB 2.0
Observing the WinXp task manager performance tab during CIFS or FTP transfers, the wired (Ethernet) link would show a high degree of variability, oscillating between 5 Mbps to 15 Mbps instantaneous rates. Hard to say whether this is a router performance issue or something else (11 Mbits/sec approaches 1000 pkts/sec at a MTU of 1500 bytes).
* The numbers for the OTG and MTP transfer tests are possibly questionable as the role of file caching is unknown - the times given here are only the times that the file transfer dialog(s) remain on-screen. (The writes could be completing in the background out of cache with nothing showing on the screen) In particular, note that the OTG copy involved a "Class 2" microSD card - and yet the write speed seemed closer to 4.5 Mbytes/sec, rather than 2 Mbytes/sec
The SMB/CIFS transfer times are quite pathetic; but as with all performance measurements, any participant in the test could be the long pole in the tent. For instance, the issue might be the ES File Manager app. I did not test with a N7 CIFS-capable kernel.
Also, it would also appear that performance of ADB for file transfers are quite poor - well, in comparison to MTP anyway. Too bad MTP doesn't preserve file timestamps (as well as all sorts of other oddities).
Apologies in advance for using file transfer as a network benchmarking method - my connection to the outside world (DSL) peaks at only 3.8 Mbits/second, so I would need to set up some kind of LAN server to benchmark network performance in absence of flash-memory or hard-drive writes.
Anybody have any performance numbers to share for:
- OTG mounts of hard drives or SSD devices with NTFS or ext4 file systems
- CIFS/SMB network mounts with CIFS-capable kernels
- WiFi speed tests when remote server is via FiOS or U-Verse fiber connection?
========================================================================
[Edit] -- Added some network-only test results.
FWIW, I ran a couple of tests using the "netcat" tool to evaluate the same setup without writing files to mass storage devices. It turned out that a terminal emulator app that I have has a busybox with netcat built in, so I booted the WinXp laptop into a Ubuntu Live CD (10.04LTS), and ran netcat TCP write tests in both directions. I also used "iptraf" to look at peak bit rates.
Result? Peak observed speeds were about 16.6 Mbits/second, and sustained-average results were in the 11-12 Mbit/second range. From that I conclude that that the FTP transfer tests were probably network-limited, as testing involving file writes were really no slower than this. Whether that means the "N7 is WiFi limited" or something else is not deducible from the data I collected. In this case, it takes three to tango (N7 - router - laptop).
I do note however that blahman179 said above "100 MB in less than a minute" - 100 MB in 60 seconds is about 14 Mbits/second. Only a little faster than what I observed - right in the same neighborhood.
Note that I had my WiFi router set to G-only. I suppose that the basic bit rate with huge signals in the -30 dBm range means that the radios are indeed transferring packets at a 54 Mbit/sec bit rate - but with a duty factor of less than 30%.
@OP:
fwiw, I did a little searching. Some XDA N7 users with high speed ISP connections report peak download rates of 20-30 Mbps when connected to networks that can do much better than this using PCs.
That "speedtest.net" app reports peak values recorded over short intervals - I suppose that sustained (average) transfer rates are somewhat worse than this.
bftb0 said:
@OP:
fwiw, I did a little searching. Some XDA N7 users with high speed ISP connections report peak download rates of 20-30 Mbps when connected to networks that can do much better than this using PCs.
That "speedtest.net" app reports peak values recorded over short intervals - I suppose that sustained (average) transfer rates are somewhat worse than this.
Click to expand...
Click to collapse
Also Comcast and probably others boost your speed for the first part of your download making burst speeds optimistic.
Sent from my SCH-I605 using xda premium
I have 60 megabit, ive not sat and worked it out, but I often get speeds of 5500kb/s on torrents over wifi. Maybe not making use of all my bandwidth, but the downloads come in quick enough for me.
Sent from my Nexus 7 using Tapatalk HD
Having trouble with all wifi connections on my nexus 7... When i am on my home wifi I get 5mbps where all other g connected devices pull 25mbps. That's not so much of a problem. When I am tethered to my cellphone via wifi I get 600kbps with the nexus 7, but my cellphone tethered via wifi to my pc is 4mbps. I'm concluding something is wrong with the link speed on my nexus 7 but don't know what to do about it. Any help would be appreciated cause I really need more then 600kbps when not at home, especially when my phone regularly pulls 10mbps in my area.
I agree with the WiFi connection being slow with the n7.IMho I've seen better download speeds with my galaxy tab 2. I've also noticed with certain kernels the WiFi is faster.stock to me is the best and now I'm running the faux kernel and it ain't too bad.
I just tried the speedtest.net app and averaged about 9.4Mbs down and .68 up. Stock rom, rooted JB.

Wi-fi download speed not exceding 2.5MB/s

Hello, I've been using Windows 8/8.1 for 2 years now and W8.1 since it appeared. Before I've installed W8.1, my download speed on wifi (measured downloading torrents) was not exceding 2.5MB/s. After W8.1 installation and after I did something ( unfortunatelly I cannot fkin remember what i did) my download speed had reached 5MB/s. After I installed W10 Tech Preview, my download speed is again 2.5MB/s and it would be nice to know how to increase it back to 5MB/s.
I've tried to reset the router, reinstall my wifi adapter driver. I'm trying to figure out what type of speed my wifi adapter accept (b,g or n). From what i've understood, the fastest from these 3 protocols is 802.11n and my router accept it. How do i know if i can change something in my laptop to make it compatible with n protocol. It currently doesn't work with it because if i select from router 802.11n ONLY, my laptop does not see the connection anymore.
My laptop is an old Lenovo B560 with Intel i3 processor ( aproximately february 2010 ).
I would be extremely grateful if someone happens to know how to help me!
I will test any idea you guys provide, so even if you're not sure it works, write it down and i'll test it.
Sorry for my english!
Thanks in advice,
Andrei.
http://www.registryrecycler.com/blog/2013/06/how-to-speed-up-your-internet-in-windows-8/

Losing SMB shares for Shield/Plex Server

Every night the Shield will lose its connection to the SMB shares that my home server is feeding media content to my Shield/Plex Server. I've used these same SMB shares on Kodi(XBMC) for years. They work, I verify that they are still working after Shield/Plex loses connectivity to them with other devices; all access the shares without issue.
A reboot will instantly reconnect the shield to the SMB shares without any configuration changes, only to be lost again the next day.
Any/all help greatly appreciated.
Create an account on geforce forums, send feedback from the shield's seetings, including your geforce forum nickname on it, and create a thread there to report this problem. This is probably a bug with the nvidia's smb client application specifically.
I've been working with an Nvidia rep via their nvidia.custhelp.com So far the rep has been pretty useless:
"This could be an issue related to the network configuration." Umm yeah, 13 other devices wired and wifi working flawlessly
"Unplug all the cables and keep the SHIELD ATV off for good 2-3 minutes. Plug the Power cable, Ethernet cable and the HDMI cable. See if the issue persists." I realize rep has a SOP checklist to go through... But it just exacerbates my frustration!
I'm considering just finding a way to auto-reboot nightly until a real fix has been released. That or just transfer my media to a large USB HDD, keep a mirror on server which will be an extra backup I guess.
I finally got another response from them. They re-asked me the same exact questions... So glad I asked for their assistance.
Did you ever figure this out? I am having the same problem.
No, I did not. Since the last update it happens less frequently, but it does still happen.
I'm building a new home server that I will be transferring my Plex server to once completed.
Hi there, I had the same problem with my Nvidia Shield TV, SMB didn't work propperly.
The solution that worked for me was:
In Windows I created a new local account. Then I shared the folders I wanted to share withe the new account. After that SMB (Samba) was working fine on the Shield (I had to enter the accountname and password of the new account in Kodi).
I have this problem as well with Synology NAS. Anyone else using Synology?
I have the same probleme but i find the answer. disconnect your server on remote access and never push claim server. My plex on my shield reconnect automatic.
I had similar issues and what helped for the last week (fingers crossed still) was (on my router):
- Wifi "Group Key Rotation Interval" set to 28800 (8 hours). Not sure if this is the main solution.
- "Force as Master Browser": Yes, this makes my router the netbios master browser (maintains list of network names), this might be the actual solution.
I have an asus router with merlin firmware
belledesire said:
I had similar issues and what helped for the last week (fingers crossed still) was (on my router):
- Wifi "Group Key Rotation Interval" set to 28800 (8 hours). Not sure if this is the main solution.
- "Force as Master Browser": Yes, this makes my router the netbios master browser (maintains list of network names), this might be the actual solution.
I have an asus router with merlin firmware
Click to expand...
Click to collapse
Sorry to bump this thread, but I have the exact same issue.
Plex on my Shield 2017 Pro will lose the connection it seems to my Synology NAS after 12-16 hours it seems.
Since I also have an ASUS with Merlin firmware, I was curious if your fix helped?
Hi everybody, I have a similar problem with my new nvidia shield tv pro (2017).
I successfully connect to my Synology NAS (DS214play) media share and get all my movies in PMS library. But after reboot the Shield, the SMB share is gone!
I can't play any movie, before I manually reconnect to NAS.
Furthermore while plex can't play any movie (it says that the files are not available) other applications like KODI or Network Browser work perfectly, ie they are able to see the folder in to the NAS.
Any news!!!!
g
Recently I requested assistance to NVIDIA Customer Care, and I show you their reply below:
-----------------
Hello Harish,
thank you too!
My NAS is connected by ethernet gigabit to the shield, and I have 2 HDD of 3Tb each connected as JBOD volume.
Best regards
Gianfranco
PS: if of interest I can act as betatester for larger disks, since I have ordered 2 HDD of 6Tb each for the Plex server on the new shield. After what you said, I’ll connect them has BASIC volume, do you agree?
Response By Email (Harish) (02/19/2017 10:41 AM)
Hello Gianfranco,
Thank you for the reply
This NAS is 8TB in size and it works on wireless technology, we recommend only maximum 4 TB HDD for this SHIELD TV and we have not tested wireless NAS device for the SHIELD and we cannot assure you that it will work, Please get in touch with us, if you need further assistance and I would be happy to help you
Best Regards,
Harish,
NVIDIA Customer Care
Customer By CSS Email (Gianfranco Camuncoli) (02/19/2017 10:16 AM)
Hello Harish,
the model is DS 214 play, you can see details below:
Synology DS 214 play
I can’t send a screen shot because today after a full reset the shield was definitively bricked.
I forget to tell you before that the shield it often freezed and that forced me to do a reset.
Best regards
Gianfranco
--------------------------------------------
Two things.
1. This is not happening to me since the 5.0 upgrade. Not sure if it is coincidence or not
2. Maybe more important, it is not happening since I reinstalled DDWRT on my router which performs a type of local dns, similar to WINS, but for all devices, windows computers, macs, androids, HDHomeRun, . So, when my Synology comes online as "SPACE", I can always "ping space" from any device and it "just works". It's kind of magic to me, as I used to build DNS forward and reverse services, DHCP servers, RAS gateways, RADIUS, and so on, etc. No idea how this works so well.
So, my R8000 router, (and my prior R7000) have these DDWRT settings
Use DNSMasq for DHCP
Use DNSMasq for DNS
Click to expand...
Click to collapse
Click to expand...
Click to collapse
I think these are what makes everything work amazingly.
So, for everyone with a NAS, can you just ping by the machine name?
If not, I think you will have to set you DHCP to fix the IP for certain devices, at least the NAS.

Categories

Resources