Solved: Howto connect PPC to network share on Samba server - JASJAR, XDA Exec, MDA Pro General

I - like a few others, from searches I've done - have been pulling my hair out trying to figure out how to connect my Exec to a share on a Samba server. I could connect to an XP share without too much difficulty, with a bit of help from PocketLAN which is excellent.
However I just couldn't connect to Samba at all. Much googling later, the solution is to add the line:
use spnego = No
to my smb.conf. This has some security implications if your context involves untrusted users with lan access whom you don't want to be able to access the samba server (I think) but that's not a problem for me, or for the typical user with adsl and a wireless router using a private address range like 192.168.x.x (well, I'm not saying that's perfectly safe, but safe enough). And the flexibility of being able to listen to music on my exec that's on my samba server, is worth a small risk.
here's the article which finally showed me the answer:
http://cri.ch/linux/docs/sk0014.html
Hope this helps someone,
Matt S.
--- To aid searchers: smb cifs samba network share spnego map drive wifi --

Thank you, thank you, thank you.
I looked all over for this, and I have royally screwed my smb.conf file, but I restored my backup (I backed up halfway through) and now I am back in business. I'm running WM5 on the hTC Wizard (cingular 8125 incarnation) and this works like a charm!

i have always just typed
\\linuxts\**sharenamehere**
in file explorer and its worked fine
running fedora core 4

alex2cool67 said:
i have always just typed
\\linuxts\**sharenamehere**
in file explorer and its worked fine
running fedora core 4
Click to expand...
Click to collapse
Yea, this always has worked for me also. Didn't have to add anything to the conf file

A fix for Windows 2K3 servers file shares, can't map to them
Well based on that if you are having a problem with Windows 2K3 Domain controllers and shares try this;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"requiresecuritysignature"=dword:00000000
Hopefully this will allow you to map to them now.

Related

Accessing computer through Wifi

I wanted to find out if anyone knew of any programs that could be installed on an AT&T 8525 (HTC Hermes) that would allow me to move my cursor, access files, delete files, etc. from my computer over wifi.
Thanks!
https://secure.logmein.com/welcome/get_logmein_free/signup.asp
Mike
I didn't know logmein could be installed on a mobile device. If it can, could you please explain how, please.
Logmein free and pro have a very good win mobile version. (Pro or Pocket pc version only)
just got to the log me in site as per normal try to connect to your pc and itll ask if you want to download and install the cab
works well
Jeremy
i just use plain ol' VNC
google pocketpc vnc viewer, it works well.
run VNC host on your computer, forward the ports you need with your router and learn your IP, or get a dynamic IP routing service and set it up to work with your router..
+its free, and understood by everyone.
I use RealVNC on the desktop (free version, no file transfer) and MochaVNC on my 8525. Worked great!
Stop by DYNDNS.org to get a named dns, works even if your modem shuts down for a while and the old IP goes back into the pool. (It's free too)
Configure the router for RealVNC (port 5900) and also configure the router to use dynDNS (it's easy to do with linksys routers)
Maybe not exactly what you're looking for but I manage those tasks with RESCO EXPLORER - you will see your desktop under NETWORK just like you would use your desktop for MY NETWORK PLACES. It is easy to move, copy or delete (shared) files ...

HTC WM6 as member of Windows LAN workgroup via WIFI

I have a new AT&T Tilt and I've just installed a WIFI access point on my home/office LAN. My WIFI laptop was simple to configure as member of the Windows WORKGROUP. I've been struggling with my TILT. Some questions:
1) Is this supposed to work?
2) How do you assign the TILT to a workgroup?
3) I can see other workgroup PCs from the TILT, but I cannot see the TILT from other PCs. I am able to ping the TILT from a PC both by ip address and by device name (which happens to be "tilt").
Thanks for any help,
From what I understand you want to be able to browse phone files over wifi?
Yes. On any LAN PC, I would like to click on "My Network Places" and see the WM6-Phone listed with the other WORKGROUP computers. Then I would like to be to click on it to browse its directorys. And also drag & drop files to/from the phone. Thanks.
comet270 said:
Yes. On any LAN PC, I would like to click on "My Network Places" and see the WM6-Phone listed with the other WORKGROUP computers. Then I would like to be to click on it to browse its directorys. And also drag & drop files to/from the phone. Thanks.
Click to expand...
Click to collapse
Not sure that's going to work unless you can find some other way of connecting other than by using Activesync
I understand the "Not sure that's going to work..." part. I don't follow the "unless you can find some other way...". I'm not using Activesync (at the moment) I wish to use a WIFI Access Point to join a LAN WorkGroup. I call that "some other way". It would seem that this desire would be widely shared by the wider community of users. It's a logical thing to want to do. There are enough parameters to tweek that given the proper expertise, I would guess that you could connect anything to anything else. I just don't have the expertise so I thought I would pose the question...
As far as i know, windows mobile doesn't include a smb (file) server. You have only a client. This means that you can browse your desktops' shares from the phone but not the contrary.
Windows CE 5.0 and 6.0 actually have a smb server but i think this is not shipped with the Mobile variant.
Unless you find some 3rd party software of course (i don't know of any but i've never really looked for it).
Bye
EDIT: if you want to be able to share files in the PPC with the desktops in the network, you can install a FTP server in your PPC. Then you can use a ftp client on the desktop to browse the PPC.
Try this one: http://www.mochasoft.dk/freeware/ftpd.htm
Nice solution. Thank you.
Seeing LAN shares with Tilt
I have the same goal (to share both ways between Tilt and LAN), but some additional issues.Have had the Tilt for only one day, so forgive me for any dumb questions!.
Can't even see the LAN shares from the tilt (nor the other way around). The phone indicates it is connected to our WiFI, and other LAN PCs can see another's share \\Titan for eg., but when I type //Titan into the Tilt browser it says it can't connect to that. Any suggestions why?
I wondered if its a syntax problem. Seems the Tilt does not have a reverse slash (\), but I would think forward slash (/) should work equally well.
In some circumstances, the phone invites logging into a VPN, but we dont have one established on our LAN. Would this facilitate sharing files? Does setting one up require running a server or is a simple Peer to Peer network sufficient? If so, how do you set one up?
Once I am sure I hve a Wifi connection I will try the ftp client solution.
Any suggestions welcomed.
Thanks
Trekker451

i've looked everywhere, seriously. -remote desktop

any detailed how to guide?, i can do it, i'm fairly tech savvy, so i just need to kneed out a few things. maybe if you caould start from the beginning and i can see where i went wrong.
logmein.com works, but i want something more personal, just bewtween the computer and my phone. somerthing that looks good and scales full screen preferably.
please guys?, point me in the right direction.. all the posts just keep saying to search and there's lots of info, but there's no step by step guide.
thanks guys!
ok i got it going.
first go to the computer you want to connect to and go to control panel / system
click on remote, enable remote users
go to start menu, run. type cmd
in command write "ipconfig /all"
take note of your ip address
on your phone go to remote desktop,
computer = your ip address
username = (go to startmenu, control panel, user accounts) use one of those names.
password = blank unless you have a password.
domain = i left blank.
connect full color unless it doesnt work for you
if you can connect and you get a password error
type the error you get inot google and you should get a fix as your first link.
try that.
blam, remote desktop, it's awesome.
Nice how-to...
this is the most succinct tutorial on how to do this that I've seen. I'm still having trouble, though. I get the "Cannot connect. Likely reason are: 1 the remote comupter is not set up for this. 2. Reached the maximum number of connections. 3. A network error occurred while connecting."
I have set up the XP PC, & taken down all firewalls. I only have one user account and it has a password. I've even tried using Hamachi with one of their VPN ip addresses (awesome and free for pc2pc). I 've combed trhough my router settings too, and tried to clear everything there, too. I can RD from an XP laptop, so ti seems to be something on the unit, to me. I've also setup file sharing w/ Total Commander (it's served my purposes amply).
I really have googled & googled & googled. If anyone has any idea what is going on, I'd be grateful for some ideas.
Have you enabled the RDP on the host computer?
Right click my computer
Properties
Remote
Then enable allow user to connect remotely.
Will only work on XP Pro, or Vista if you choose to allow older clients which they scaremonger you against by saying it's less secure.
Danke!
I've been scared away from Vista for the usual "new" OS reasons, but perhaps it's getting to be time for me to haul my old conservative back-end into the modern world.
Thanks so much for taking the time!
(and to Biohead: yes, I followed the instructions I lauded so vehemently.... ???)
you're running vista?
and you haven't been able to connect still, right?
sorry i could walk you through xp, but man vista sucks, i wouldn't touch it with a 10 foot pole.
i'm setting up remote desktop on my iphone
hahaha totally referred to this guide
and it sucks, so i'm sticking with vnc
man, i miss my exec/universal
dutchschultz said:
any detailed how to guide?, i can do it, i'm fairly tech savvy, so i just need to kneed out a few things. maybe if you caould start from the beginning and i can see where i went wrong.
logmein.com works, but i want something more personal, just bewtween the computer and my phone. somerthing that looks good and scales full screen preferably.
please guys?, point me in the right direction.. all the posts just keep saying to search and there's lots of info, but there's no step by step guide.
thanks guys!
Click to expand...
Click to collapse
Hope this helps
http://forum.xda-developers.com/showthread.php?t=366312
http://forum.xda-developers.com/showthread.php?t=294524
orb3000 said:
Hope this helps
http://forum.xda-developers.com/showthread.php?t=366312
http://forum.xda-developers.com/showthread.php?t=294524
Click to expand...
Click to collapse
you, my friend, are awesome
A possible solution for those of us on T-Mobile's standard web n walk
Sorry to resurrect this thread, but I thought I'd post my experiences here in case anyone else (like me) searches for a solution to enabling RDP on T-Mobile (UK at least).
I was having the same problem with remote desktop, it saying that the server was not available. I phoned up T-Mobile's helpdesk as recommended here and after getting past first line support (who didn't know what remote desktop was, and tried sending new connection settings to my phone to resolve the issue) I got through to someone who knew what they were talking about. Turns out that I'm on T-Mobile's "basic" or "handset-only" web-n-walk package, and it's not possible to use RDP on this. I assume they block the relevant ports. They told me that I could pay an extra fiver a month to upgrade to a version of web-n-walk which can handle RDP.
Well I told them I would think about it, but instead tried to find a way around it as the one or two times I need to use RDP are certainly not worth a fiver a month. My solution is probably only suitable for the more techy of us, but without much work and with no prior experience I managed to set up a SSH tunnel using FreeSSHd as a server running on my windows server (although a normal windows box should work fine - http://www.freesshd.com/) and zaTunnel as a client on my phone (http://www.zatelnet.com/zatunnel/main.php). Both programs are free.
Basically my phone takes all RDP connections and tunnels them over SSH to my windows server, which then turns them back into RDP connections. T-Mobile have no idea I'm using RDP, and if they block the SSH port in the future I can always change FreeSSHd to run on port 80 (for web). This will also work for other protocols T-Mobile might be blocking (FTP springs to mind).
Just thought I'd post this in case anyone was in my situation of needing RDP on their standard web'n'walk.
Edit Sorry posted this in the wrong thread! Will leave this post up however just in case someone finds it useful
echolock
Many thanks for the above have been searching everywhere for a fix to this. I am the same as you T Mobile (UK) and can't connect.
Could you give some additional advice as how you got the RDP to work.
For the record I can connect by Wi-Fi and by using a PAYG sim from a different carrier. However, I am on a contract with T Mobile and don't want to carry a different sim just to use the RDP.
I have installed both apps. I can make a connection from zaTunnel on Port SSH:24 to the freeSSHD server (SSH - listening on port 24). Other than adding a User and changing the default port to 24 there are no other changes I have made in freeSSHD.
Under the connections tab in zaTunnel I have left Network: Automatic with the other settings relevant to make a connection.
Under the ports tab of zaTunnel I have
LP> 3389,
IP/URL . IP of the desktop I want to connect to of 192.168.1.10
>RP 3389
When I the start the Remote Desktop app under my Windows Mobile 6.1 it indicates connecting the fails as before.
Also forgot to mention freeSSHD is running on the desktop I want to connect to.
Sure thing.
When you run Remote Desktop under Windows Mobile, make sure you connect to "localhost" NOT to the IP of the desktop you want to connect to.
Your other settings seem correct to me.
To attempt to explain a little, basically what happens is as follows. For simplicity's sake I will have three machines, your phone, your SSH server and your RDP server (although the latter two can be the same).
On your phone:
1) Remote Desktop connects to localhost on port 3389.
2) zaTunnel is listening on localhost on port 3389. It echos all commands sent to this port out on port 22 over your cellular connection to your SSH server, also providing details of your RDP server and port.
On your SSH server:
3) FreeSSHd receives the commands sent over port 22 and is told by zaTunnel to convert them to commands sent to your RDP server using port 3389.
On your RDP server:
4) Remote Desktop receives a normal RDP request over the normal port from your SSH server.
5) Responses are sent to your SSH server.
On your SSH server:
6) FreeSSHd receives the RDP responses, and sends them back to your phone over port 22.
On your phone:
7) zaTunnel converts the commands sent over port 22 back into RDP commands sent over port 3389.
8) Remote desktop receives a response from zaTunnel and thinks it's connected directly to an RDP server on localhost. In actuality it's connected to your RDP server using an SSH tunnel provided by zaTunnel and FreeSSHd.
Hope this makes sense, I'm not very good at explaining this!
Ah found another problem. The IP of your desktop you say is 192.168.1.10 - this is a local IP address so will only work on your local network.
Go to a website like http://whatismyipaddress.com/ from the machine you run SSHd on to find out what your current "external" IP address is. Bear in mind that most home broadband connections have a "dynamic" address which is allocated to you and might change from time to time - you can always use something like http://www.dyndns.com/services/dns/dyndns/ to set yourself up with a static hostname, and run a program on your machine which updates your hostname with the correct IP address every time it changes. Some routers have this functionality built in.
Thanks for the quick response and explanation.
Between posting and reading your reply I had worked out the RDP app needs the localhost or the IP 127.0.0.1.
I had come back here to post, so others would know in future.
Your other point you raised about the desktop IP. I have used this only in the ports tab on zaTunnel. The connection tab has a proper mydomainname.com address. (Provides email and a webmail interface).
Anyway, can connect now and thank you again in solving this for me. (If your in Leeds I will buy you a beer).
Ah yeah the 192.* address would work on the ports tab, fair enough. Might be worth pointing out if others read this that this is only the case if the machine you're trying to RDP to is on the same local network (or the same machine) as the machine you have FreeSSHd running on.
But good to hear you got it working Now hopefully T-Mobile won't cotton-on and decide to block port 22 too...

File Sharing over a Network

Does anybody how i could access my Pocket PC from my PC over the network. I could do it vice versa through Resco but i can't do Pocket PC from PC nor Pocket PC to Pocket PC. Any ideas? I would like it to happen just how the PC does it, with no major add-ons. I don't want to have to deal with VNC, FTP, etc. So if you know, i'd really like to know the answer. Thanks
I was looking for the same thing and haven't been able to find anything.
(I know you said u didn't want to use FTP)
So far the only thing I have been able to find for this is an FTP solution.
http://forum.xda-developers.com/showthread.php?t=351882
I can access the local network from the phone, but apparently there is no SMB server available for Wm6
Why can't you just use the explorer function of ActiveSync?
Jadel said:
Why can't you just use the explorer function of ActiveSync?
Click to expand...
Click to collapse
There are multiple reasons for wanting to access your device from the network. I myself am using multiple machines and would like to drag and drop files from my phone without having to get a bluetooth dongle and install active sync on every one of those machines.
If anyone has setup a smb server for wm6 i'd love to know, also if anyone has any other recommendations for a good ftp server that mocha one doesn't run in the background properly and the bottom toolbar for it stays on my today screen.
Not exactly what you're after, but I've seen a web server for WinMo around somewhere...
Or maybe something along the lines of a VNC client?
Yea, there are reasons for the networking thing. I have several devices on the network and i would life to get a NAS device. I don't want to go to the trouble of setting up ftp/vnc. Mapping the device using Resco works GREAT. For some reason, my laptop can't find my Tilt when i search for devices on the network and i was thinking maybe it was because it didn't have the same workgroup name?
useful for sure
Assuming you're on the LAN with WiFi, what happens when you port-scan your device's IP?
Not sure what you mean by port-scan but when i go to file explorer on my laptop and type \\ip of tilt, it gives me some error. I'm really trying to look into this and most advice is using vnc and another program which i don't want.
kareem9nba said:
Not sure what you mean by port-scan but when i go to file explorer on my laptop and type \\ip of tilt, it gives me some error. I'm really trying to look into this and most advice is using vnc and another program which i don't want.
Click to expand...
Click to collapse
I don't think you're understanding when i said wm6 doesn't have a SMB server running.
Basically, it isn't running the microsoft networking services to access the file shares. You wont get it to work unless you get some sort of SMB daemon(server) for the phone, which to my knowledge doesn't exist.
look up SMB in wikipedia and u will understand what im talking about.
If using Resco to map shares, will you be able to play media (music, movies) over the wlan then, or will it not be fast enough?
I'm assuming that mediaplayer in wm6 won't have a problem playing from shares...or am I wrong?
/Pilot1
I kind of got this resolved. Not the way i really wanted it, but now i use Pocket Controller Enterprise and it does this. Really nice features, i could connect to anybody in the world, just need their host name.
Doesn't the desktop version of total commander do this? The only problem is the desktop version isn't free...

[Q] File sharing outside network

OK, so right now I've got a folder on a windows xp machine shared across my home network via smb. I want to take this to the next level and be able to access it everywhere. I need to be able to get to it on Android and write access would be nice but not necessary. I've been googling around and all I've been able to gather is that smb is a bad idea. What would be the best way to go about making this happen?
Tyfighter said:
OK, so right now I've got a folder on a windows xp machine shared across my home network via smb. I want to take this to the next level and be able to access it everywhere. I need to be able to get to it on Android and write access would be nice but not necessary. I've been googling around and all I've been able to gather is that smb is a bad idea. What would be the best way to go about making this happen?
Click to expand...
Click to collapse
Use the filezilla ftp server, setup the port you want to use and the password and configure everything accordingly. (I can help)
And then setup port forwarding on your router.
Then install "Turbo Ftp Client" from the google play store.
Set it up with the external ip address of your network and the port that you forwarded on your router.
And bam, you could access anywhere.
Google is your friend, but if you've searched and read about the stuff listed above, I will be glad to help guide you.

Categories

Resources