Page 3 of 3 FirstFirst 123
Results 27 to 30 of 30

Thread: Parker: Casino Verite on Linux

  1. #27
    Trapper
    Guest

    Trapper: Re: CVBJ with VPC

    I will try to adjust my settings. I have tried Windows 2k in the past with VPC 6 and it was slow. It might be the slower upgraded processor that I have.

  2. #28
    Parker
    Guest

    Parker: More on networking (Linux/qemu stuff)

    Sorry for the delay in responding, but I was out of town and limited to a dial-up connection, and I wanted to actually try it and do some experimenting.

    I have tried it, and, surprise! I experienced problems such as you described.

    One bug: In order to configure tun you need a utility called tunctl. This comes in a package called uml-utilities. So, you need to:

    apt-get install uml-utilities

    (Or use Synaptec.)

    Then (as root):

    ~# tunctl -u username -t tun0

    (where "username" is your normal non-root login user name.)

    Then, running ifconfig tun0 10.0.0.1 up should work.

    In addition, somewhere along the line all this creates a shell script in /etc called qemu-ifup. This script uses sudo to run ifconfig. Unfortunately, Mepis Linux doesn't provide for the user to use sudo so you will need to use visudo to edit /etc/sudoers to add your username under root. Hopefully you're more comfortable with vi than I am. :-)

    Then qemu should load and boot Windows with no error messages.

    Now the bad news: I did all this and still don't have a working network connection with Windows. Maybe you will have better luck and be able to figure out what I have overlooked. When I run ifconfig I see tun0, and when I run it with qemu/Windows running, I see tun0 and tun1. However, I am still unable to ping the host from the guest or vice-versa.

    Here is the sort of thing that shows why Linux geeks tend to be a little crazy: I had been doing all this testing on my experimental system, which is running Mepis Linux. After getting CV to successfully run, I decided to install qemu/W98/CV on my main system, which is running SuSE 9.2. This distro includes qemu 6.0, a slightly older version. I installed it off the SuSE DVD w/no problem, and the W98 install also was uneventful. When I booted Windows I discovered that I have network connectivity without having to tweak anything. Go figure.

    BTW, I'm still having speed issues with the laptop. I tried installing Windows natively on it (instead of simply copying hd.img). The install took 2 hours and CV doesn't run any faster. I may give Windows 95 a shot. I also have discovered that there is a program available from the qemu website called qemu accelerator that is supposed to speed things up. However, it must be compiled from source. I don't really like to install apps this way because then apt-get/synaptic doesn't "know" about them. Still, I may give it a shot.

  3. #29
    Cacarulo
    Guest

    Cacarulo: Re: More on networking (Linux/qemu stuff)

    > Sorry for the delay in responding, but I was
    > out of town and limited to a dial-up
    > connection, and I wanted to actually try it
    > and do some experimenting.

    > I have tried it, and, surprise! I
    > experienced problems such as you described.

    > One bug: In order to configure tun you need
    > a utility called tunctl. This comes in a
    > package called uml-utilities. So, you need
    > to:

    > apt-get install uml-utilities

    > (Or use Synaptec.)

    > Then (as root):

    > ~# tunctl -u username -t tun0

    > (where "username" is your normal
    > non-root login user name.)

    > Then, running ifconfig tun0 10.0.0.1 up
    > should work.

    Yes it works now.

    > In addition, somewhere along the line all
    > this creates a shell script in /etc called
    > qemu-ifup. This script uses sudo to run
    > ifconfig. Unfortunately, Mepis Linux doesn't
    > provide for the user to use sudo so you will
    > need to use visudo to edit /etc/sudoers to
    > add your username under root. Hopefully
    > you're more comfortable with vi than I am.
    > :-)

    There's no better editor once you get used to it

    > Then qemu should load and boot Windows with
    > no error messages.

    Excellent! I'll try it later.

    > Now the bad news: I did all this and still
    > don't have a working network connection with
    > Windows. Maybe you will have better luck and
    > be able to figure out what I have
    > overlooked. When I run ifconfig I see tun0,
    > and when I run it with qemu/Windows running,
    > I see tun0 and tun1. However, I am still
    > unable to ping the host from the guest or
    > vice-versa.

    You can try something like this:

    First, download the bridge-utils and then run the following commands as root:

    # ifconfig eth0 down
    # brctl addbr br0
    # ifconfig eth0 0.0.0.0 promisc up
    # ifconfig tun0 0.0.0.0 promisc up
    # ifconfig br0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255 up
    # brctl stp br0 off
    # brctl setfd br0 1
    # brctl sethello br0 1
    # brctl addif br0 eth0
    # brctl addif br0 tun0
    # route add default gw 192.168.1.1

    Of course, use the appropriated IPs.

    > Here is the sort of thing that shows why
    > Linux geeks tend to be a little crazy: I had
    > been doing all this testing on my
    > experimental system, which is running Mepis
    > Linux. After getting CV to successfully run,
    > I decided to install qemu/W98/CV on my main
    > system, which is running SuSE 9.2. This
    > distro includes qemu 6.0, a slightly older
    > version. I installed it off the SuSE DVD
    > w/no problem, and the W98 install also was
    > uneventful. When I booted Windows I
    > discovered that I have network connectivity
    > without having to tweak anything. Go figure.

    > BTW, I'm still having speed issues with the
    > laptop. I tried installing Windows natively
    > on it (instead of simply copying hd.img).
    > The install took 2 hours and CV doesn't run
    > any faster. I may give Windows 95 a shot. I
    > also have discovered that there is a program
    > available from the qemu website called qemu
    > accelerator that is supposed to speed things
    > up. However, it must be compiled from
    > source. I don't really like to install apps
    > this way because then apt-get/synaptic
    > doesn't "know" about them. Still,
    > I may give it a shot.

    Let me know how much better it is.

    Sincerely,
    Cac

  4. #30
    Cacarulo
    Guest

    Cacarulo: More problems

    The bridge br0 does work as a network device under Linux but I can't make qemu (qemu-ifup) to replace tun0 (or tun1) with br0. Any idea? This is getting me crazy

    Sincerely,
    Cac

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About Blackjack: The Forum

BJTF is an advantage player site based on the principles of comity. That is, civil and considerate behavior for the mutual benefit of all involved. The goal of advantage play is the legal extraction of funds from gaming establishments by gaining a mathematic advantage and developing the skills required to use that advantage. To maximize our success, it is important to understand that we are all on the same side. Personal conflicts simply get in the way of our goals.