[Q] File sharing between Ubuntu & ZTE Blade - Android Q&A, Help & Troubleshooting

On my PC I run Ubuntu Lucid 64 bit Desktop with Sambas installed OK so that I share folders & printers with Windows & Linux PCs. I've installed Samba Filesharing app on my ZTE Blade to file share as USB file sharing is awkward on ZTE Blade as it seems to disable wifi connection. I've done Enable on the Menu options. I'm now getting on Samba Filesharing 'Title' screen: Enabled - Running,\192.168.1.4 (i.e. correct fixed ip address assigned by router using phone's MAC address), \ANDROID, Wakelock Active. But when trying (in Nautilus on Ubuntu PC) to 'Connect to Server' (with parameters of SSH & 192.168.1.4), I get popup displaying 'Could not display "sftp://192.168.1.4/", because the host could not be found.'. Phone connects to router OK as I can check email etc without phone SIM card in phone. I can ping phone from PC. but not vice versa: tried using Terminal Emulator to ping PC from phone: tested first by phone ping itself but don't know how to stop Terminal Emulator as no Ctrl key on soft keyboard when unsuccessful. BTW Advanced Task Killer does not kill Samba Filesharing! Any ideas please?

Related

SSHFS for Android Help setting up

Hi,
So I am trying to setup the below SSHFS app for Android on my phone:
https://play.google.com/store/apps/details?id=com.chaos9k.sshfsandroid
The dev has not responded to my emails and provides next to no instructions...
Here is what I have done on my own:
On my Pc:
1. Setup Cygwin SSH modules
2. Am able to connect via putty to my home PC through both my internal and external IPs (basically yes SSH server is working as a service on my PC and I can connect from my own network and off of it on another windows PC)
3. Port 22 is forwarded in my router
So prereq one to one this app of needing SSH server setup on home computer is met
Next up on my phone:
1. I am rooted on a Samsung Galaxy S4
2. Have Busy Box
3. Phone is 4.2 which the app experimentally supports
4. I have FUSE module support on my phone
So I believe from the above my phone meets the prereqs to mount SSHFS shares.
On to the app itself:
To setup a share I have specified the following:
1.Name : has no bearing just for user ease
2.Host: using my external IP
3.Remote Path: Have tried all sorts of paths to files on my PC (including just basic /\ and blanks)
4.Mount Point:\mnt\SSH (have confirmed this works as previously it would not accept my mount point. This folder is mounted and the app can see it)
5. Automount (checked)
7. User name and Passwords...used the same ones I used in putty to connect to my server
So with all of the above I keep getting the below error:
/SH:<stdin>[1]:readlink:not found:No such file or directory.
I believe the above error is because I am not properly inputting my remote path I would like to mount....I ideally would like to mount my entire D drive....but for the sake of getting this started I would like to be able to mount anything just to prove it works.
Like I mentioned I can use a laptop on a different WIFI network to connect to my SSH server and browse files...so in theory this should work...If anyone can help me sort out the proper remote path syntax I would really appreciate the help.

[Q] Problem connecting my PC on ES File Explorer

Hello,
I'm using Windows 8.1 Professional on my PC. I don't have any password, I just turn on my PC and it goes on desktop. I shared a folder on my PC with "Everyone" and "ANONYMOUS LOGON" profiles having full control on the share. When I go on ES File Explorer, go on LAN section and select "scan" my PC shows up. (192.168.2.2) But when I try to connect with anonymous login, it says:
Login Failure
This may be caused by:
-WiFi is off, (No, my WiFi is on.)
-SMB server is out of network scope, (?)
-The IP is invalid, (IP is not invalid, that's my PC's LAN IP)
-Blocked by the firewall, (I have no firewall on the PC)
-SMB service is off. (SMB service is not off)
I also have a Raspberry Pi, and I'm able to mount this shared folder on my RPi, without any problem. (by using sudo mount -t cifs -o guest //192.168.2.2 /mnt/192.168.2.2/folder) If my RPi can mount this folder without any problem, my Xperia Z2 should mount this without a problem aswell, is that right?
So what might be the problem?
Thanks in advance.
V4LKyR said:
Hello,
I'm using Windows 8.1 Professional on my PC. I don't have any password, I just turn on my PC and it goes on desktop. I shared a folder on my PC with "Everyone" and "ANONYMOUS LOGON" profiles having full control on the share. When I go on ES File Explorer, go on LAN section and select "scan" my PC shows up. (192.168.2.2) But when I try to connect with anonymous login, it says:
Login Failure
This may be caused by:
-WiFi is off, (No, my WiFi is on.)
-SMB server is out of network scope, (?)
-The IP is invalid, (IP is not invalid, that's my PC's LAN IP)
-Blocked by the firewall, (I have no firewall on the PC)
-SMB service is off. (SMB service is not off)
I also have a Raspberry Pi, and I'm able to mount this shared folder on my RPi, without any problem. (by using sudo mount -t cifs -o guest //192.168.2.2 /mnt/192.168.2.2/folder) If my RPi can mount this folder without any problem, my Xperia Z2 should mount this without a problem aswell, is that right?
So what might be the problem?
Thanks in advance.
Click to expand...
Click to collapse
You need to have a password for you account on your PC otherwise Windows does not let you share anything at all even if you set up a share as part of a security measure, this is default Windows behaviour.
If you want to have your computer login automatically when you turn your PC on and have a password setup, go to run and ype in "control userpasswords2" uncheck "Users must enter a username and password to use this cumputer" apply and ok, it'll ask you for your password when you click apply.
TheOnlyIntruder said:
You need to have a password for you account on your PC otherwise Windows does not let you share anything at all even if you set up a share as part of a security measure, this is default Windows behaviour.
If you want to have your computer login automatically when you turn your PC on and have a password setup, go to run and ype in "control userpasswords2" uncheck "Users must enter a username and password to use this cumputer" apply and ok, it'll ask you for your password when you click apply.
Click to expand...
Click to collapse
That's interesting. So how am I accessing the share via my RPi then? I don't think I must have a password installed on my PC.
V4LKyR said:
That's interesting. So how am I accessing the share via my RPi then? I don't think I must have a password installed on my PC.
Click to expand...
Click to collapse
It shouldn't be accessing it but Windows is known to have really dumb shares anyway. Try it with a password and see what happens.
TheOnlyIntruder said:
It shouldn't be accessing it but Windows is known to have really dumb shares anyway. Try it with a password and see what happens.
Click to expand...
Click to collapse
But that's the problem, I don't wanna install a password on my Windows account on my PC.
Any advices?
Bump! I need help please.
TRY THIS JUST INPUT USERNAME AND CLICK OK
Sent from my C2105 using XDA Free mobile app
have you change your active network to Home Network?
and try go to Advanced Sharing Setting to turn off the Password Protected Sharing.
because it works for me.
Here is the solution
Hello ...
If you still need help. What you have to do is the following:
"ON WINDOWS"
1) You have to activate the smb1 protocol, which windows 10 by default has disabled (also works for windows 7 or windows 8). To activate the smb1 protocol, download this regedit file; which you will execute as administrator: [h t t p : / / v i w r i g h t . c o m / 1 8 2 7 6 8 9 9 / a c t i v a t e s m b 1 m e g a]
2) Make sure you have shared resources correctly, so you can navigate from your android device.
3) Restart the computer so that the changes are effective.
"ANDROID DEVICE"
1) Download the apk es file explorer pro Dark Version totally free for you: [ h t t p : / / v i w r i g h t . c o m / 7 0 D x ]
2) Go to the configuration section lan, then press scan. Then choose your equipment when it is presented in the scan ... it will ask for username and password. In user place the username with which you login in windows and in the password, you put the key of your username to log in windows. And ready!! That's it, you'll have access to all the resources shared on that computer. You can copy, paste, move, create, etc ... within any resource.
The key to unzip the zips is: contraseña

[Q] Secure ADB connection over network

I am using Geniatech ATV Android Set Top Boxes running android 4.2.2 for a current project. I might put some of those devices in public places like shopping centers. These boxes are connected to the local network there by cable or wireless.
I have a VPN connection to ssh remotely into the boxes (using debian kit) and on the boxes USB debugging is enabled, so that i have ADB access, which I use for chrome browser observation as well as for updating or installing new applications.
The problem is that everyone on the same local network as the box can also use adb to connect to the boxes and then have full access to everything, which is a big security problem.
What I want to do is restrict the interface of adb to only work over the vpn connection.
Alternatively I need a way to stop and start the adb daemon using my ssh connection to the box. The problem here is that I only connect to a debian kit instance running on the same box, which uses the same filesystem but doesn't have access to the start or stop adb commands.
Does anyone have an idea how to achieve this? I can't find a lot of information on this special requirements.

access apple files from android

I'm trying to access a share on a Mac from Android. The share is on a FAT32 external drive, and I can browse/access it from another Mac and from a PC. But when I try to connect from Android, I get an error on the username/password (same user/pass as I'm using from other Mac and from PC). This happens with both ES File Explorer and AndSMB. I've tried both checking and unchecking the "Windows File Sharing" checkbox on the Mac, using anonymous, and two different userids (one a login user, the other a "sharing-only" user). The Android tablet (Galaxy Note 12.2 running CyanogenMod 12.1/Android 5.1.1) can access Windows shares but I need to get to some stuff on the Mac. My phone (stock GS6) is the same--can access Windows and my router's USB share but not the Mac.
I'd like to use SMB instead of something like file transfer because I want to stream video from my Mac to my kids' android tablets on a long airplane flight.
Searching didn't turn up anything useful so I'd appreciate pointers to threads where this has been discussed.
TIA.
Bill

No Wifi Conncetion to PC Via SMB

HI
I have a new Galaxy S5e tablet.
I have successfully made a connection via wifi to my PC using the microsoft shared app using my pc fixed ip address 192.168.1.100.
I have two other apps that both give the following error message when attempting to access my pc shared folders:
‘Connection failed with ‘Failed to connect: 0.0.0.0<00>/192.168.1.100’.Trying again.’
I have followed the instructions at:
"https://appuals"com/how-to-fix-the-windows-10-file-sharing-not-working-problem//how-to-fix-the-windows-10-file-sharing-not-working-problem/"
(remove the quotes change "com)
regarding my pc access, but I still get the error.
Does anyone know how what I need to do to connect to my pc shared folders via SMB?
Regards and thanks
I think that smb is off by default in win 10. Ensure it is on. You can check it via windows features in Progtams. Google smb windows 10 hot switch on and you will find plenty guides.
Both devices needs to be connected to the same wifi network.
Sent from my SM-G965F using Tapatalk
SMB is definitely on.
Both devices are on the same wifi.
My pc does not have wifi but uses the router to connect.
I don't believe this is a problem with my wifi or pc or else Windows remote on my tablet wouldn't connect and work with my pc.
As it would appear no one has a clue where this code error comes from nor how to rectify it I have to assume Oreo is not fit for purpose.

Categories

Resources