Unable to TFTP from Linux (Ubuntu) Guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Jdubbs23
Posts: 3
Joined: 1. Jul 2008, 17:04

Unable to TFTP from Linux (Ubuntu) Guest

Post by Jdubbs23 »

Is it possible to TFTP files from the guest to another network device? I have been able to set up a TFTP server on my Host machine (XP) and successfully TFTP files from host to my network device, but cannot get TFTP working with my guest machine (Ubuntu).

Any ideas?
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

Where do you want to setup your FTP server at your host (as you already did or at your guest? Your host is accessible through 10.0.2.2 from your guest if your are using NAT. If you want to setup an FTP server at your guest you should either use host networking plus bridging (preferred, see user manual) or NAT with port forwarding (see user manual as well).
Jdubbs23
Posts: 3
Joined: 1. Jul 2008, 17:04

Post by Jdubbs23 »

Thanks for the reply. Unfortunatly the error was my own fault. Ideally I wanted to TFTP from both my host and my guest, and I had originially set up my network device as a NAT device and had difficulty there because I couldn't ping anywhere. I later read the manual and used the Host network with a bridge to my physical ethernet connection and was able to ping everywhere, but still TFTP was not working.

It turned out that I was missing a crucial line of code from my TFTP configuration file (I am using xinetd instead of inetd). I was missing this top line:

service tftp
{
....
}

Thanks for the advice though.
Post Reply