HOSTS file setting on XDA for TCP/IP address resolution - Networking

More of a PocketPC question but perhaps someone has already resolved this. On a PC there is a hosts file system32/drivers/etc where you can map an IP address to a hosts name so the address can be resolved. Is there a similar file on the XDA? How can I edit it?
TIA
David

Related

Networking and Shared Files

From PC to PC, you can network a shared folder. How can I share a folder on my PPC and network it so either my mac or pc can grab files without having to use ActiveSync or the ridiculous The Missing Sync for mac.
use resco explorer
you can use resco explorer to set up a network share. then copy any files from your PPC to your network share location. Hope this works.
connorxda said:
you can use resco explorer to set up a network share. then copy any files from your PPC to your network share location. Hope this works.
Click to expand...
Click to collapse
I'll give this a try, thanks.
And, without that, for instance, with File Explorer not possible? I can 'open path' ?
I made it work
I made it kinda work. I am sure there is something wrong, but what I did actually worked. There may be enough correct info here to help:
#1 - I installed a cmd shell
#2 - using the 'net use' command:
net use \\<machine name>\<export name> <password> /user:<domain>\<user name>
#3 now authentication window comes up, and I type in my password.
#4 now I have remote access:
copy \\<machine name>\<export name>\<file name>
When I installed the "total commander" application, I noticed there is a directory now called //network, with a sub directory called <password> ( my actual password ). Inside the password directory are all the remote files. I guess "net use" works a bit differently on this platform than I expect. So I do not know what is going on, but I do have file sharing across SMB..... ;-)

[Q] WP7 Hosts File?

Hi, just wondering if there is any way to redirect URLs to an alternate IP address, the way you can with a hosts file in Windows?
I need to change the address WP7 resolves an activesync URL to.
I realized one registry key "HKLM\COMM\Tcpip\Hosts\" same as windows WM6.5 and windows ce, but i really don't know how to create a binary vaule for "ipaddr", i tried to use a provxml to creat or modify but the binary value is so terrible.

Accessing files remotely via SMB over SSH

Hi all. I dont know if this is the right place to post but please bear with me.
I am using ES File Explorer and want to access my files remotely. From what Ive read SMB (Server Message Block) port would need to be forwarded on a router's firewall. Also SMB is not encrypted and so I wanted to access my files using ES File Explorer over SSH, using an app like SSHTunnel on my phone.
Is it possible to use SMB over SSH without opening SMB port? Thanks
same question here, would love to have ssh file explorer
ssh into ur ssh server and forward from any port above 1024 since thats the android restriction to 445 (samba port).Then connect to 127.0.0.1:4450 (port that i have specified as source) via ES file explorer
Tried this but can't get it to work in present day
I have done just that but I cannot get the phone to connect to the SMB share after I establish the SSH connection and forward the respective port.
I tried entering localhost:[port] in the LAN server field and I get an error message from ES file Explorer upon connecting.

How to configure android application before or during instalaltion?

How to configure android application before or during instalaltion?
Is there any standard approach how to configure android application with custom settings before or during instalaltion?
Our users will not use Android market to install our application. They will download apk file from some local site in local network.
Our android application should communicate with server side application.
Different clients(corporate clients) will use different URLs for server side applications.
We need to setup correct URL for server side application before or during installation of apk file on user's phone/tablet.
It should be done automatically without interaction with user.
User should install apk file and after installation application should work with correct server side application.
How to do it?
One approach - create different apk files for different clients and set somewhere in application resources correct URL for server side application.
I do not like it. Actually client could change location of server side. In this case we will need to create new apk files.
Second approach:
- Create apk file.
- Install/store apk file as part of web application deployed on client's server.
- During installation of web application unpack apk file and put correct URL into some resource file.
- Pack apk again.
- Sign apk file.
- Call zipalign for this file. Is this step optional or required?
- Now user can open this web application in browser, download configured apk file and install it on phone/tablet
As result we will have custom apk file with correct URL for server side application inside.
User will install such apk on phone/tablet and application will connect to correct server side without any interaction with user.
Is the second approach correct?
Is it allowed to re-pack apk files at all?
Repackaging APK is WAY too fragile IMO.
Best to find another way.
EG, app starts, and sends request to public Internet server.
Public Internet server checks originating IP address and responds with special URL.
Or,... something on phone, like IP, MAC address, phone number, country etc. is used to calculate a URL or retrieve a URL from a list.
All that said, APK is a ZIP file and I think you could put some files in that won't require a resign.
mikereidis said:
Repackaging APK is WAY too fragile IMO.
Best to find another way.
EG, app starts, and sends request to public Internet server.
Public Internet server checks originating IP address and responds with special URL.
Click to expand...
Click to collapse
We can't use public internet server.
Our users work in corporate local network. Access to internet could be disabled.

How to change MAC address to random value

(Note: Mods, please feel free to move this if its in the wrong section.)
So I figured out how to change the MAC address to a random value, its so easy you literally only have to delete a file called ".macaddr" from the directory "/persist/wifi", then reboot and it will automatically generate a new MAC address.
You can also edit the file to a specific value, but it could cause you to not be able to connect to WiFi if you enter an invalid MAC.
It seems that not many people know this so I just wanted to share this, as it might be useful to some people.

Categories

Resources