Skip to Content.
Sympa Menu

baslinux - Re: [BL] Internet access using QEMU version of BL

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Internet access using QEMU version of BL
  • Date: Sun, 29 Apr 2007 18:13:11 +0000

I got past this problem. Something I was doing (or not doing) caused the
TCP/IP disconnect. Thanks.

-------------- Original message from baslinux AT lists.ibiblio.org:
--------------


> The list used to identify who was posting, I liked it better that way.
> Anyway,
> I am running Windows XP sp 1, the version of QEMU is 0.9.0, supposed to be
> the
> latest. I downloaded the QEMU BL 3.4 yesterday from the official BL site.
> When
> using ifconfig I get no mention of eth0 but I did get the following info:
> Link
> encap:Local loopback, inet addr:127.0.0.1, Mask 255.0.0.0 UP, LOOPBACK
> RUNNING,
> MTU: 3924, Metric:1. This version of QEMU seems to be faster than the one I
> was
> working with a year ago. Hope this info helps...
>
> -------------- Original message from baslinux AT lists.ibiblio.org:
> --------------
>
>
> > On Thu, Apr 26, 2007 at 03:48:30PM +0000, someone from
> > baslinux AT lists.ibiblio.org wrote:
> > > Should this line have the "#" (comment marker) in it? --> "#ifconfig
> > > eth0 192.168.1.1"
> >
> > Yes, that line should be commented out. That is for situations when there
> > is
> no
> > dhcp server on the network the NIC is
> > attached to. As I noted, qemu has a virtual router that runs a dhcp
> > server.
> You
> > did not tell us what is the output
> > when, having freshly booted your BL qemu image, you issue the command
> ifconfig.
> > Is eth0 listed there? Does it have an
> > IP associated with it? This is crucial information we need to help you
> > with
> this
> > issue. Also, please tell us what OS
> > is running on the host system uses and also which release of qemu you
> installed
> > on the host system.
> >
> > James
> >
> > > I looked at the /etc/rc and it did look like what you say. However,
> > everything
> > > I try to do with LINKS comes back with the message "Error Host Not
> > > Found". I
> > > have not tried Telnet or FTP.
> > >
> > > -------------- Original message from baslinux AT lists.ibiblio.org: ----
> > > ----------
> > >
> > >
> > > > On Wed, Apr 25, 2007 at 09:10:18PM +0000, someone from
> > > > baslinux AT lists.ibiblio.org wrote:
> > > > > Some time ago I was working on getting internet access to work
> > > with the QEMU
> > > > version of BL 3.4. As I recall, there
> > > > > was some kind of patch that had to be entered for Links to be
> > > able to reach
> > > > outside the virtual partition to the
> > > > > TCP/IP connection on the host PC. I can't remember what that
> > > patch was. I
> > > > think it was entered right before you
> > > > > typed "startx" at the shell prompt. Does anyone recall what I am
> > > talking
> > > > about? Can you give me that patch or put
> > > > > it on the BL website? Will there be a QEMU version of BL 3.5?
> > > Thanks in
> > > > advance for all your help.
> > > >
> > > > I set up the qemu ver sion o f BL to be networked with the host
> > > "out of the box."
> > > > I've never had to take any additional
> > > > steps to get it to network with the host operating system and to
> > > use the host's
> > > > internet connection. If you take a look
> > > > at the file /etc/rc you should see a section that reads
> > > >
> > > > -----------------------------------------------
> > > > ###ACTIVATE_ETHERNET###
> > > > #ifconfig eth0 192.168.1.1
> > > > insmod 8390
> > > > insmod ne
> > > > udhcpc
> > > > ----------------------------------------------
> > > >
> > > > That section is what loads the NIC modules that work with qemu's
> > > virtual NIC,
> > > > then issues a dhcp request, which is
> > > > answered by qemu's virtual router. If those lines got somehow
> > > commented out, you
> > > > need to uncomment them. But as I
> > > > recall I added them to the qemu image and left them uncommented.
> > > Anyway, the way
> > > > to tell if all this is working in BL
> > > > is to, before trying to run any other commands such as you list in
> > > your second
> > > > post, just issue the command ifconfig
> > > > right after booting. Does it show any IP assigned to eth0? If so,
> > > you should be
> > > > online. And if your host machine has an
> > > > internet connection, BL should share it with no further fussing. As
> > > I recall the
> > > > qemu virtual router assigns and
> > > > address of 10.0.0.X to the virtual NIC in BL.
> > > >
> > > > James
> > > >
> > > > -----------------------
> > > > BasicLinux mailing list
> > > > -----------------------
> > > > http://www.basiclinux.com.ru
> > > > http://www.ibiblio.org/pub/linux/distributions/baslinux/
> > > > ------------------------------------
> > > > To exit, send subject=unsubscribe to
> > > > baslinux-request AT lists.ibiblio.org
> >
> > >
> > > -----------------------
> > > BasicLinux mailing list
> > > -----------------------
> > > http://www.basiclinux.com.ru
> > > http://www.ibiblio.org/pub/linux/distributions/baslinux/
> > > ------------------------------------
> > > To exit, send subject=unsubscribe to
> > > baslinux-request AT lists.ibiblio.org
> >
> > -----------------------
> > BasicLinux mailing list
> > -----------------------
> > http://www.basiclinux.com.ru
> > http://www.ibiblio.org/pub/linux/distributions/baslinux/
> > ------------------------------------
> > To exit, send subject=unsubscribe to
> > baslinux-request AT lists.ibiblio.org
>
> -----------------------
> BasicLinux mailing list
> -----------------------
> http://www.basiclinux.com.ru
> http://www.ibiblio.org/pub/linux/distributions/baslinux/
> ------------------------------------
> To exit, send subject=unsubscribe to
> baslinux-request AT lists.ibiblio.org




Archive powered by MHonArc 2.6.24.

Top of Page