Have you been tearing your hair out because you can
never get WinSCP to connect no matter what you try with all the suggestions people have given you? I was in the same boat and now I get WinSCP connecting
all the time!
I had some techy-guys at the university here give me some help and now I am a happy-chappy!
My setup:
Win XP SP2
iPhone 1.1.4 (1st Gen)
USB Hawking Wireless dongle
---
R-click on your wireless network icon in your systray.
View Available Wireless Networks
Change advanced settings.
Choose Wireless Networks (2nd tab)
Add...
Network name (SSID): "
hoorayitworks" (or
whatever you would like to call it - no quotes)
Network Authentication:
Open
Data encryption:
Disabled
Check the box: This is a computer-to-computer (ad hoc) network); wirless access points are not used.
Choose General (1st tab)
Scroll down "This connection uses the following items:" list and highlight Internet Protocol (TCP/IP). Click on
Properties.
Enable "Use the following IP address" and type in something
generic e.g.:
IP address:
192.168.25.32 (the techy guys said use 192.168 and then add two sets of numbers to 192.168.nnn.nnn (where
nnn is between
1 and
254).
Subnet mask:
255.255.255.0
Click
OK then
OK.
On your iPhone, choose
Settings |
WiFi.
Choose "
hoorayitworks" and you will see the check mark added to it.
Then touch the little blue/white arrow to the right of it.
Choose
Static.
IP address: 192.168.25.
33 (Make it
one greater than the one you did on the PC).
Subnet mask:
255.255.255.0
Touch WiFi Networks | Settings then Home button.
Open WinSCP
Click on New.
Host name:
192.168.25.33 (this is the iPhone IP).
Username:
root
Password:
alpine (or
dottie if older firmware).
Protocol: SFTP (Check allow SCP fallback)
Save session (with or without password remembered - your choice)
Login (and you should see
Search for host... Connecting to host... etc. It may take a good few seconds to get that initial login.)
I even used the WinSCP settings in Filezilla and can connect to my iPhone.
If I want to go on the internet, I just change my iPhone WiFi settings back to the wireless (non ad-hoc) point once I am done with SFTPing into the phone.
Hope this helps and others can (finally) connect to their phones.
