Re: qemu file transfer.

2005-10-24 Thread Barry

This reply has been written serial fashion as I tested various things.

I want to t/f files from windows to linux. I can t/f from linux to
windows by creating temp iso files. Printing would be ok but I could 
print to disk the t/f the file.


Nick Rout wrote:

Barry: please do the following in the windows virtual machine running on
qemu:

Click Start|Run
in the run command box that appears type winipcfg then enter


I went online and started qemu with 'qemu c -hda /home/barry/win98.img'
Selected ethernet adapter

hostnameN9S4R9
DNS server  (blank)
Node Type   Broadcast
Adapter address 52-54-00-12-34-56
IP Address  10.0.2.20
Subnet mask 255.0.0.0
Gefault Gateway 0.0.0.0
All other options are blank

From the command prompt,
Both C:\ftp 10.0.2.2 and C:\ftp 10.0.2.20 gives 'ftp connect :10061'
Next command I gave was ls. The response in each case is 'not connected'

I can ping both IPs from windows

When offline I tried 'qemu -user-net c -hda ~/win98.img'
The response is 'Could not get DNS address'
To start qemu while offline I need the '-dummy-net' option.
I can only ping and ftp to 10.0.2.20, ls again shows 'not connected'

Went online and started with 'qemu -user-net c -hda ~/win98.img'.I can 
now ping both numbers from windows. From linux I get 100% packet loss


ftp 10.0.2.2 now starts and requests linux user/pswd. Help command 
provides a listing. dir  ls both lock up the terminal.




This will tell you what the ip address of the windows machine is. There
is a drop down box - make sure you choose the right adaptor. The address
should be something in the range of 10.0.2.x

10.0.2.20


The address of the linux machine should be 10.0.2.2

If you have your ftp server set up on the linux box try ftp'ing into it
from the windows VM. Start a msdos command line thingy and simply type

ftp 10.0.2.2

Feed back the results.


as above



On Fri, 21 Oct 2005 09:07:00 +1300
Nick Rout wrote:



Barry you seem majorly confused between ftp and smb networking.


 Any t/f method will do but I do not want to have to go online every time


What is it that you are trying to do?




qemu file transfer.

2005-10-20 Thread Barry
According to the documentation it should be possible to ftp files 
to/from qemu, but how do i set this up?


I have a need to t/f files each way.

ftp is working, I can bring up a prompt in a xterm, and ftp to localhost 
in gftp. I use gftp to access my website.


Samba is installed  running. I looked at the conf file using swat and 
laltered the workgrop name to 'WORKGROUP' same as windows. I also added 
a qemu section as follows


[qemu]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes
fstype = FAT

qemu starts windows 98 without any problem, but I need the -dummy-net 
option unless I am on line. File  print sharing is enabled. Tcp/IP is 
installed for dialup (automatic IP)  for ethernet(10.0.2.20 255.0.0.0). 
What gateway do I set?


Your ideas on what to try next are wanted

TIA

Barry



Re: qemu file transfer.

2005-10-20 Thread Robert Fisher
On Thu, 20 Oct 2005 19:26, Barry wrote:

 Your ideas on what to try next are wanted

Try WinXP. (Not joking!)

I had troubles with Win98 in Qemu but when it worked it was as simple as
Start  Run  \\192.168.10.11
(if you use the ipaddress of the host system you do not need to add it to the 
lmhosts file)

Trouble was that it was either slow or intermittently successful.

With Win XP it works quickly and reliably. I am really happy with it. I will 
probably invest in more RAM to get better performance with it.

-- 
Regards, Robert

--
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
FishNet Computer  Electrical Services
www.fisher.net.nz
Phone:  03 383 5807
Mobile: 027 477 3356



Re: qemu file transfer.

2005-10-20 Thread Nick Rout
I posted full instructions a week or so ago, it was a long thread so happy 
hunting!

On Thursday 20 October 2005 19:26, Barry wrote:
 According to the documentation it should be possible to ftp files
 to/from qemu, but how do i set this up?

 I have a need to t/f files each way.

 ftp is working, I can bring up a prompt in a xterm, and ftp to localhost
 in gftp. I use gftp to access my website.

 Samba is installed  running. I looked at the conf file using swat and
 laltered the workgrop name to 'WORKGROUP' same as windows. I also added
 a qemu section as follows

 [qemu]
   comment = Temporary file space
   path = /tmp
   read only = No
   guest ok = Yes
   fstype = FAT

 qemu starts windows 98 without any problem, but I need the -dummy-net
 option unless I am on line. File  print sharing is enabled. Tcp/IP is
 installed for dialup (automatic IP)  for ethernet(10.0.2.20 255.0.0.0).
 What gateway do I set?

 Your ideas on what to try next are wanted

 TIA

 Barry


Re: qemu file transfer.

2005-10-20 Thread Robert Fisher
On Thu, 20 Oct 2005 20:30, Nick Rout wrote:
 I posted full instructions a week or so ago, it was a long thread so happy
 hunting!

Barry, IMHO the simplest instructions were the ones on the website you posted 
about
http://wiki.archlinux.org/index.php/Qemu

Use these and the IP address as I mentioned in my last post and it just worked 
albeit with the less than satifactory reliabilty. (I kept thinking that it 
wasn't working but when I kept trying and retrying it would eventually work. 
Sometimes it would work first time without doing anything differently. WinXP 
has worked without fail)

-- 
Regards, Robert

--
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
FishNet Computer  Electrical Services
www.fisher.net.nz
Phone:  03 383 5807
Mobile: 027 477 3356



Re: qemu file transfer.

2005-10-20 Thread Barry

Thanks for the reply Rob.

I went back to that page I found. It seems to presume that a network and 
file server are already set up which is not so. I have installed proftpd 
but am not sure about it being setup correctly. It is running


Robert Fisher wrote:

On Thu, 20 Oct 2005 19:26, Barry wrote:


Your ideas on what to try next are wanted



Try WinXP. (Not joking!)


Unfortunately I do not have it available


 it was as simple as
Start  Run  \\192.168.10.11


Windows replies 'the network name can not be found'. ping says'Network 
is unreachable' when offline, no reply when online
(if you use the ipaddress of the host system you do not need to add it to the 
lmhosts file)




This is a stand-alone box without any network setup at present.

Barry



Re: qemu file transfer.

2005-10-20 Thread Christopher Sawtell
On Thursday 20 October 2005 22:58, Barry wrote:
 Thanks for the reply Rob.

 I went back to that page I found. It seems to presume that a network and
 file server are already set up which is not so. I have installed proftpd
 but am not sure about it being setup correctly. It is running

 Robert Fisher wrote:
  On Thu, 20 Oct 2005 19:26, Barry wrote:
 Your ideas on what to try next are wanted
 
  Try WinXP. (Not joking!)

 Unfortunately I do not have it available

   it was as simple as
  Start  Run  \\192.168.10.11

 Windows replies 'the network name can not be found'. ping says'Network
 is unreachable' when offline, no reply when online

  (if you use the ipaddress of the host system you do not need to add it to
  the lmhosts file)

 This is a stand-alone box without any network setup at present.
There you go then.

Are you running a kernel + modules built by your Linux distributor or one you 
built yourself?

In order to do networking things you _have_ to have networking enabled in the 
kernel, You need to either load the networking modules or compile them in. 
However if the only 'networking' you are trying to do is between the qemu 
environment and the Linux host machine fairly obviously you will not need to 
build any drivers for Network Interface Cards.

-- 
CS


Re: qemu file transfer.

2005-10-20 Thread Robert Fisher
On Thu, 20 Oct 2005 22:58, Barry wrote:

 Windows replies 'the network name can not be found'. ping says'Network
 is unreachable' when offline, no reply when online

  (if you use the ipaddress of the host system you do not need to add it to
  the lmhosts file)

 This is a stand-alone box without any network setup at present.

Just use, as I said above, the IP address of your host system (the Linux box)

-- 
Regards, Robert

--
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
FishNet Computer  Electrical Services
www.fisher.net.nz
Phone:  03 383 5807
Mobile: 027 477 3356



Re: qemu file transfer.

2005-10-20 Thread Nick Rout
Barry you seem majorly confused between ftp and smb networking.

What is it that you are trying to do?
On Thu, 20 Oct 2005 19:26:06 +1300
Barry wrote:

 According to the documentation it should be possible to ftp files 
 to/from qemu, but how do i set this up?
 
 I have a need to t/f files each way.
 
 ftp is working, I can bring up a prompt in a xterm, and ftp to localhost 
 in gftp. I use gftp to access my website.
 
 Samba is installed  running. I looked at the conf file using swat and 
 laltered the workgrop name to 'WORKGROUP' same as windows. I also added 
 a qemu section as follows
 
 [qemu]
   comment = Temporary file space
   path = /tmp
   read only = No
   guest ok = Yes
   fstype = FAT
 
 qemu starts windows 98 without any problem, but I need the -dummy-net 
 option unless I am on line. File  print sharing is enabled. Tcp/IP is 
 installed for dialup (automatic IP)  for ethernet(10.0.2.20 255.0.0.0). 
 What gateway do I set?
 
 Your ideas on what to try next are wanted
 
 TIA
 
 Barry

-- 
Nick Rout [EMAIL PROTECTED]



Re: qemu file transfer.

2005-10-20 Thread Nick Rout
Barry: please do the following in the windows virtual machine running on
qemu:

Click Start|Run
in the run command box that appears type winipcfg then enter

This will tell you what the ip address of the windows machine is. There
is a drop down box - make sure you choose the right adaptor. The address
should be something in the range of 10.0.2.x

The address of the linux machine should be 10.0.2.2

If you have your ftp server set up on the linux box try ftp'ing into it
from the windows VM. Start a msdos command line thingy and simply type

ftp 10.0.2.2

Feed back the results.


On Fri, 21 Oct 2005 09:07:00 +1300
Nick Rout wrote:

 Barry you seem majorly confused between ftp and smb networking.
 
 What is it that you are trying to do?
 On Thu, 20 Oct 2005 19:26:06 +1300
 Barry wrote:
 
  According to the documentation it should be possible to ftp files 
  to/from qemu, but how do i set this up?
  


-- 
Nick Rout [EMAIL PROTECTED]



Re: qemu file transfer.

2005-10-20 Thread Ross Drummond
On Fri, 21 Oct 2005 10:25, Nick Rout wrote:
 Barry: please do the following in the windows virtual machine running on
 qemu:

The default proftp instalation on Mandrake allows users on the server to log 
in as themselves and opens by default in their home directory.

Useful to know if the sever demands a login  password.

Cheers Ross Drummond


Re: qemu file transfer.

2005-10-20 Thread Nick Rout

On Fri, 21 Oct 2005 12:21:30 +1300
Ross Drummond wrote:

 On Fri, 21 Oct 2005 10:25, Nick Rout wrote:
  Barry: please do the following in the windows virtual machine running on
  qemu:
 
 The default proftp instalation on Mandrake allows users on the server to log 
 in as themselves and opens by default in their home directory.
 
 Useful to know if the sever demands a login  password.
 
 Cheers Ross Drummond

I had assumed barry knew what to do to log in to an ftp server.

however, assumption is the mother of screwups.

-- 
Nick Rout [EMAIL PROTECTED]