Accessing the windows admin shares when not connected to a network - windows-xp

I'm finding that I can't access the admin shares on an XP64 box when there's no network connection. Trying to browse to \\localhost\c$ fails (although obviously browsing c: works).
Reason for the question is that the NANT build script for our application uses this format to copy files from one local directory to another, and it's failing when I'm trying to use my laptop on the train (the same problem occurs if I unplug the network cable from my desktop and build). The whole build only uses local resources so should be possible without network connection.

You could install a loopback adapter to fool the computer into thinking it's on a network. http://support.microsoft.com/kb/839013

Related

Accessing Raspbian Filesystem on SD-Card via USB-Connection from Windows

Is it possible to access the filesystem directly via USB when i connect it to my Windows PC ?
I don't want to ssh on the system, i want to mount it inside the Windows operating system, so that i can directly write to it without establishing a ssh connection for example.
Any Ideas how to do this ? Or isn't this possible ?
When it comes to simply accessing the file system you can always use some piece of software that will allow you to access linuxish file systems, so you can just plug in the SD card to your Windows machine (A quick google search: http://www.howtogeek.com/112888/3-ways-to-access-your-linux-partitions-from-windows/).
However, if you want your Raspberry running during those actions, you could use some sort of usb to serial cable (like this one: http://www.adafruit.com/products/954), but you will still need to use Putty or some similar software for the serial connection. On the bright side, connecting your pi that way means it will no longer need an external power supply. Just on a side note, what are your concerns about the ssh connection?

Controlling GPIB device on remote computer

I am trying to connect to two devices connected via GPIB on a remote computer connected directly via a Ethernet cable. I am using a JPIB library I found, but I am having difficulty determining how to connect to the remote computer.
My goal is to control and read the devices by connecting to the remote computer. I am also unsure as to what program or software I need to install on the remote server.
Thank you in advance,
If you can use the VISA API instead of the GPIB API, install NI-VISA on both computers. On the remote computer, enable the VISA server. You can then use the VISA API to connect to the GPIB device attached to the remote computer.
For example, if the remote computer is at 192.168.0.111, and the instrument address is:
GPIB0::16::INSTR
it can be accessed remotely as:
visa://192.168.0.111/GPIB0::16::INSTR
You can also use a hostname in place of an IP address.
To call VISA from Java, you can use JNA to invoke VISA API functions. A JNA library can be created from a stripped down copy of visa.h (just the functions you need) and even generated with a tool like JNAerator.
This works on Windows. I'm not familiar with the Linux version of NI-VISA>

How to connect and read/write file to a local computer on iphone?

i have a problem with local network connection. i'm writing an iphone application and i need to read/write files to a computer. Both devices connected on the same network.
if it's possible, i want to get connected computers ip list, select one of them and read/write files like pdf, doc, txt etc.. if it's not possible to do, i will write the computer ip which i want to connect. There is no problem, both of solution is OK.
But i dont know what do i do after get the computer's ip ?
i found this chat client/server on local, but i got it very complicated.
Anyone have any idea about this ?
You'll need to have a server running on the computer, which can show files and allow for files to be read and created.
Easiest is to run a webdav service on the computer, Apache provides the mod_dav module for this purpose.
The iPhone app then becomes the client. I'd suggest using neon for this purpose. It's a C library that provides listing, reading and writing files on a remote webdav server.
That's how I would do it.
1) Find the network address of the computer you want to connect to. For this you can make use of Bonjour. It's very easy to setup because Bonjour handles the resolving of address for you.
You just have to publish a service (e.g. _myprotocol._tcp) via the ´NSNetService` class which is available on iOS and OS X (Windows too)- in your case you would publish the service on your computer.
Then you search for the service with the NSNetServiceBrowser class.
When you found a service you can then resolve it. This actually gives you the network name of the other device.
2) Connect to the other device via a tcp socket. The CocoaAsyncSocket library is very good at this. This project also includes some examples. One example already provides a bonjour server and client implementation.
i found exactly what i want. The solution is here

Viewing a local web site on the LAN under a different hostname

In short I'm trying to browse a Mac's web site on the local wifi network under a .local hostname that is not the same as the machine's 'computer name' and think I'm missing a setup step.
I have a local install of nginx on my Macbook, with the proper /etc/hosts and nginx.conf entries to serve multiple sites, each with their own distinct local hostname. Assume the Macbook's network name is computername.local, and I have 2 sites running, one at http://computername.local and another at http://servicename.local. I can access each of these sites just fine from the local machine, but also want to be able to access http://servicename.local from an iPhone on the same WiFi network. I'm getting a timeout for that URL, but the other one works just fine.
I'm guessing something has to be done to allow servicename.local to be used on the local network, which I've left out. What is required to do that? Do I need to use Bonjour for that? Where would I add this new local hostname?
Another Mac on the same network can access this one under servicename.local just fine if I define the IP in its /etc/hosts file too, but I can't modify that file on the iPhone obviously. It's not jailbroken, and I'm not really interested in doing that just to get this working.
Not sure if it will help the OP, but another way of doing this - besides running a DNS server or jailbreaking the phone - is to run an HTTP proxy on the Mac, and configure the iPhone to use the proxy. Then the iPhone will pick up the Mac's local hosts file entries because it resolves DNS queries through the proxy. I've blogged about how to do this using the free Mac proxy "SquidMan" here: http://egalo.com/99j

Connect to wireless network

I have created a couple of PowerShell scripts which configure computers used in a training class. Some classes need to connect to a different wireless network (SSID). I can just instruct users how to use the windows XP facilitites to change the network they are connected to but I would like to be able to roll the network selection in to my PowerShell script
Any idea on how to change wireless network in PowerShell?
You might find this project interesting. It is just a .NET wrapper on the native API. You should be able to call this from PowerShell without too much trouble:
http://managedwifi.codeplex.com/