Problem setting up Samba Filesharing - Android Q&A, Help & Troubleshooting

Apologies, I would like to have posted in this thread (http://forum.xda-developers.com/showthread.php?t=653336) but I don't have enough posts. I have also searched to no avail.
Anyway, I've got Samba set up on my Galaxy S2. It's enabled and running. I can ping the ip address using cmd.
What I can't do is see my phone on my network/through Windows explorer and I'm wondering why not. Imust admit to being confused about the troubleshooting advice (https://sites.google.com/site/funkyfreshapps/) telling me to manually enter the devicename or ip address into Windows file explorer - I assume this means right clicking in the explorer and going through the 'Add a network location' wizard, but this also does not connect my PC to my phone.
Any help greatly appreciated.

Related

[Q] Accessing home network

Hi guys,
I would like to access some shared files with my SGS2 in my home network through wifi. So i first looked up for some information. I installed the ES File Explorer and configured a folder on my harddisk to be shared.
Once i opened ES File Explorer, i thried to add a new server. So i filled in my ip-address and my username and password from the computer. But ESFE wasn't able to connect to it.
So i went looking on the internet for some information, and what i learned from it was that it worked through a smb connection, but i don't have any clue how to let it work.
Could anyone explain me how to set up such an smb connection and what are the different steps so that i can access the shared files on my computer with my SGS2.
Thx for the help.
Hi, depends on what operating system you use on the computer.
If your running windows make sure you have file and print sharing enabled in networking, and a shared folder. Appart from that smb is running.
Make sure when you connect your connecting to the shared folder as some file managers wont connect to just the pc.
If your runnin mac os or linux itl take some config so youl have to look that up.
Hope that helps!
Sent from my GT-I9100 using XDA App
beany1 said:
Hi, depends on what operating system you use on the computer.
If your running windows make sure you have file and print sharing enabled in networking, and a shared folder. Appart from that smb is running.
Make sure when you connect your connecting to the shared folder as some file managers wont connect to just the pc.
If your runnin mac os or linux itl take some config so youl have to look that up.
Hope that helps!
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
I'm running on Windows 7 Enterprise edition 64 bit. File and print sharing is enabled.
I turned Windows Firewall off and instead i'm using the AVG firewall. Do I have to configure something in the firewall options?
I installed Astro File Manager and the SMB file module.
I had no problem accessing the windows shares on my local network - just entered IP address, share name, user name and password and it connected straight away.
Ok i found the (provisional) solution for my problem.
It worked to connect when i turned of the AVG firewall, so probably i have to configure something into AVG.
Yeah firewalls tend to like blocking smb. Somewhere you should be able to allow either port 445 or smb or file sharing in AVG not used it so i dont know where but it will be there! Glad you found a solution.
Sent from my GT-I9100 using XDA App
I have also been facing same problem.could not solve as above,my pc is running win 7 and i'm on checkrom3.1.1 with siyah kernal.How to share files on LAN apart from Kies Air( i have not installed it in my ROM.Pls help

[Q] How to connect to VPN?

I'm not sure whether this post belongs here, but I have googled high and low and I have not found anything that directly pertains to my Samsung Galaxy S2 issue. And here at XDA, the VPN questions seem to be about private VPNs (not commercial).
I am currently running Android 2.3.4 Gingerbread.XXKG6
I follow these steps for connecting to a LT2P
www_dot_hopthewall_dot_com/wiki/wiki/Android_L2TP_Over_IPSec
And these for PPTP
www_dot_hopthewall_dot_com/wiki/wiki/Installing_personalVPN-PPTP_on_Android_Mobile_Phone
I have tried the PPTP and L2TP
Both fail to connect
L2TP yields:
"Unable to connect to network. Try again?"
But no additional error message.
PPTP however, seems to allow the connection.
I connected a few times.
I used pptp.sfo.witopia.net. as the VPN server
That seemed to let me connect a few times;
and according to hide-my-ip.com I had an L.A. IP
But now, when I try to connect, I'm getting an error message that reads:
"Server hung up. User name or password incorrect. Try again?"
But I didn’t do or change anything. I just tried to connect as usual.
I've tried
restarting the phone.
waiting a while.
Connecting with the computer (connects without a problem)
I tried connecting to the different VPN servers.
I also tried connecting changing the VPN server from URL to an IP address,
but that just tells me "Unable to connect to network. Try again?"
I am at a loss...
I have tried at home, on my wifi account...
The same one that my computer is on, but no dice.
The VPN service provider is also at a loss.
They said "...iPhones connect all day..." (talk about a kick in the teeth)
They asked me if I wanted to cancel my account and request a refund.
Nice.
Thanks for the replies.
This forums are always so helpful.
No, that's okay, don't get up. I'll get that.
A two part work around I found was:
PART I
Sharing the VPN Connection Over WiFi by Converting my Laptop into WiFi VPN Router. An article by BESTVPNSERVICE.COM
Using a Windows 7 machine with a Wi-Fi NIC
1) Click on your computers start button and in the search box type “cmd” and wait for it to appear on the menu.
2) After it appears, right click on it and select “Run As Administrator”.
3) When the Black Command Prompt Opens up, type the following command and press enter
4) netsh wlan show drivers
5) You will see something like the following image. If the ‘Hosted Network Supported’ (in the red square) say ‘Yes’, it means the driver is installed and if it says ‘No’, download the drivers.
6) Once it is made sure that you have the required driver, it’s time to set it up.
7) Type netsh wlan set hostednetwork mode=allow ssid=test key=password. Following Screen would appear. (Devices will detect network SSID as “test” change it to anything you want. Moreover, ‘key’ is your password which in this case is ‘password’, change it to whatever you want, I would suggest you to not to use numbers in password)
8 ) Then type, netsh wlan start hostednetwork. You will see the messages illustrated in the snap shot.
9) If you see the message that the ‘hosted network couldn’t be started’, then your WiFi driver is outdated, the best way to update the WiFi driver is Run you Windows Update or download the latest version from its official website.
10) Now that we have setup hosted network, we will make sure that it is shared on public Wi-Fi.
11) To do this, click on your Wi-Fi signal buttons on the bottom right hand corner of your screen.
12) Click on ‘Open Network and Sharing Center’.
13) Then click on Change adapter settings.
14) Click on the Connection that has description of ‘Your Created VPN Connection’ and right click on the Icon to go to its properties.
15) In Properties, go to ‘Sharing’ tab and check on ‘Allow Other Network User to connect through this computer…’
16) From the drop down menu of ‘Home Networking Connection’, Select the connection which had a description of ‘Microsoft Virtual WiFi Miniport Adapter’/’Virtula AP’ or it can be ‘Wireless Network Connection 2’ as in my case.
17) Check on the ‘Allow other network users to control or disable….’ Option as well.
18) Click ok and you are all set to go now.
19) Connect your VPN and ask your Friends or Colleague to discover your VPN enabled WiFi Connection.
20) Now, whenever you will restart your computer, your Shared WiFi connection will be disabled. You will have to reenter only the following command in the command prompt to enable it again.
netsh wlan start hostednetwork (or create a custom batch file for this, if you want to avoid reentering the command every time).
PART II
If the wi-fi direct on your phone isn't discovering your freshly created network,
you may need enable Ad Hoc connections for it.
For that I looked at an article here; but instead of Root Explorer is simply used ES Explorer:
Download this version of wpa_supplicant
Like I said, I used "ES Explorer"
• use "ES Explorer" to mount /system/bin/ and make a backup of wpa_supplicant
• rename the current one to wpa_supplicant.bak and copy the new wpa_supplicant to /system/bin
• then we need to adjust the permissions on the file to:
ticked - All options in the read and execute columns; and write column owner row
unticked - write column & group row; write column & others row.
• change /system/bin back to read only
• disable and re-enable wireless
• now your adhoc wireless network should be listed with the other wireless networks and you can connect.
After this two maneuvers, I was able to connect my phone to my laptop using my laptop's internet access and thus connecting to the VPN.
I find that the order of network activation matters.
What I mean is:
First connect to the internet (router, modem, or however that may be)
Then connect to the VPN
And then activate and connect to the hostednetwork.
I hope this helps someone, despite the fact that you have to be within wifi range of your windows machine. It's not quite the same as being on the streets and connecting to your VPN -but Android can't [consistently and reliably] connect to VPNs. And since no one replied to me here it stands to reason that no one knows how to get Android to connect to commercial VPN services (not even WiTopia's tech support).

[Q] Android file sharing/NAS/mavericks

I downloaded NAS for filesharing between android and MAc running Mavericks. I read the related thread regarding the workaround, namely hitting Command K and putting the smb address in manually. However I get a password prompt, and the home router password does not work. Any help?

ES File Explorer and Z2 Tablet.

Hi everyone! I know this will not be a Z2 Tablet issue but any advice is appreciated!
I used ES File Explorer with my Xperia Z2 Tablet and Windows 10 desktop PC and all worked well. My PC failed so I purchased a new laptop and now I cannot get ES File Explorer to see the new laptop. I checked the server's IP address using Windows 10 settings > Network and Internet and can see the IPv4 address and also another quad number for IPv4 Servers and have tried both.
I also checked the username and I am very sure it is the email address that I use to log on to Windows 10. I also tried the Anonymous setting but nothing works. I get the screen stating login failed, WLAN is off, SMB server is out of network scope etc.
I also checked with Kaspersky because it manages the firewall but there are no conflicts there.
I will keep searching but any advice is much appreciated!
Edit :- I found the solution here.
https://techjourney.net/cannot-conn...-network-shares-shared-folders-in-windows-10/
Ofiaich
Edit :- I found the solution here.
https://techjourney.net/cannot-conn...-network-shares-shared-folders-in-windows-10/
ofiaich
ofiaich said:
Edit :- I found the solution here.
https://techjourney.net/cannot-conn...-network-shares-shared-folders-in-windows-10/
ofiaich
Click to expand...
Click to collapse
See the full post above...
This solution worked a few times on both my Xperia Z3 mobile and Xperia Z2 Tablet, but now doesn't!
emailed the developer of ES File Explorer and awaiting a response..
ofiaich

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

Categories

Resources