Networking between host and qemu imag for telnet

Hello.
I want to start doing test and learning a bit about networking.
But I only have a computer, and it doesn't have even hardware emulation, making the use of any modern distro as a virtual machine painfuly slow.
So I downloaded a floppy distro.. and I manage to get a virtual network card working. But there is no ping between host and guest. I  can't Telnet neither, of course.
Qemu man page and google are confusing me a lot. It speack of redirecting ports.. no solution to that
I don t have firewall, as I don't have Internet at home.
What can i do now? :S
Thanks in advance

I think I must stop drinking so much cofee on the afternoon, lol
Thank you very much for adding my reply!
bernarcher wrote:
vladimir_1922, the moderators receiveived this report message from you:
Yes, I checked that too... No result.
Maybe it is an issue with /etc/rc.conf. Some months ago it changed on the format who manages the network. May it be outdated?
Obviously, you did inadvertently use the "Report" button to submit this.
But don't worry, this happens quite often.
I tough a bit about the problem, and followed the steps on the Gentoo Wiki for sharing a conection between two guests, and I found the same problem, but with the vbe module being unabaible. After a bit of rage, I realized two possible workarounds:
First thing, is that I compile my kernel. As I don't have KVM or Hardware emulation, I just don't compile any virtual machine module, to save memory. BUT, I do have the /dev/net/tun device who qemu can't recognice (yes, I tried to run qemu as root), so It seems that it is compiled after all
The second thing, is that I also stripped the daemons and services at bootup, as I don't have Internet, or othercomputers, I don't need most of them. Between the services I don't start at bootup is the netwprk daemon... but if i try to start it, all it does is delay the bootup for almost 2 minutes looking for a network :S
So, I'll just copy my /etc/rc.conf, where I just did the changes of the wiki. Maybe I did something wrong, maybe I lack something.
Any help will be must appreciated
# /etc/rc.conf - Main Configuration for Arch Linux
# See 'man 5 rc.conf' for more details
# LOCALIZATION
HARDWARECLOCK=
TIMEZONE="Europe/London"
KEYMAP="es"
#CONSOLEFONT="Lat2-Terminus16"
CONSOLEMAP=
LOCALE=
DAEMON_LOCALE="yes"
USECOLOR="yes"
# HARDWARE
MODULES=(snd_pcm_oss snd_mixer_oss snd_seq_oss bridge tun)
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"
# NETWORKING
HOSTNAME="arch.laptop"
interface=eth0
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
eth0="eth0 0.0.0.0"
br0="br0 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0 br0)
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
# DAEMONS
DAEMONS=(syslog-ng !network crond)

Similar Messages

  • [vmware] Best way to share files between host and client

    Good afternoon!
    I have successfully installed VMware server on my machine and set up a virtual machine, powering Windows XP for study issues (emulation via wine does not do the trick for me). The virtual machine runs fast and stable but does not meet my requirements unless I have two issues faced:
    First:
    How to access a USB pendrive monunted by the host system properly within the client?
    Second:
    What is the best way to share file system space between host and client? Should I set up a Samba share which is accessible for both host and client or is it save to grant my VM access to my physical hard disc as a whole (using it as a partition)?
    Thanks for answers in advance, I have still quite a lot to learn, when it comes to VMs.
    Regards,
    ~cg

    Do not setup your VMware to be able to access your physical disk as a whole. This would have you mounting the filesystem twice, corrupting it in the process.
    You /can/ setup VMware with Sharing Folders that lets you share your filesystem (either / or just /home or something else) and that is what I would recommend.
    As for accessing the pen drive from both operating systems at once, I'd say use the same Sharing Folders method. I always share /mnt so that I can access my cdrom/USB/etc from the vmware OS.
    The sharing folders is basically the same as a samba share, but uses vmware's own method (HGFS). Samba is more secure (if you are worried about your VMware OS breaking from it's shell and attacking your real filesystem, which is unlikely). You need the vmware tools installed to make use of it.

  • I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guess

    I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guessing it's Illustrator's formatting but I don't know. How can I find out if Illustrator will open the file and allow alterations? The image opens only in Apple's Pages software?

    rons,
    It seems that all you have is a raster image, presumable PNG24 or JPEG, in RGB.
    It may have been created as raster artwork in Photoshop, or it may have been created as vector artwork with the help of Illy, or as a mixture of vector and raster artwork in either application, or both combined.
    If you just need to have a raster representation in black and white based on the current colour image, you may try this, in a new RGB document (View>Smart Guides are your friends):
    1) File>Place the image (you may tick Link or untick and have it embedded);
    2) Create a rectangle with black fill (R = G = B = 0), at least as large as the image, and place it behind the image (you may ClickDrag with the Rectangle Tool between opposite corners, then Ctrl/Cmd+X+B);
    3) Select all and in the Transparnecy palette flyout click Make Opacity Mask with both Clip and Invert Mask ticked.

  • When I set black point on windows, the image switches between blank and full image, why?

    when I set black point using windows, the image switches between blank and full image, why?

    I set black point with alt button down while I move sllider. When black
    dots show, I stop and back off a bit.  That's the normal result. Normally a
    white screen appears until I release the alt key. In my case, sometimes the
    screen goes from white to full image. It's not all the time. I view my
    power and ram use as I work and it doesn't spike when this happens.  It's
    as if the alt key command is not holding.  I've used both alt keys with
    same results.
    Thanks for responding.  I hope you have some ideas.

  • Encrypting network between computer and printer

    I would like to encrypt a network between computer and printer but I see references to ASCII and hexadecimal which I don't understand. Please can anyone explain in simple terms how to go about this?

    The picture you showed is the settings for a WiFi network. There are four main types of encryption 40bit WEP, 128bit WEP, and WPA or WPA2. (I am ignoring WPA2 Enterprise as it is unlikely the printer is capable of this.)
    WEP and WPA and WPA2 have all been cracked although it is still the case that WPA2 is better than WPA which in turn is better than WEP. On that basis while using eny of these encryption schemes is better than nothing if you are really concerned with security you would be better using an Ethernet cable.
    WPA2 Enterprise is still somewhat secure but as its name suggests is not general suitable for home or small office setups.
    With regards to ASCII and Hex, WEP passwords can be entered in either style, they would in fact be the same just entered differently. It is possible to convert an ASCII value to Hex and vice-versa.

  • Relation between BKPF and EKBE table for reversing document?

    Is there any relation between BKPF and EKBE table for reversing document when STBLG is blank in BKPF.
    AND
    How to differentiate Old Accounting document / Reverse document / New document when in BKPF-STBLG is blank for all three document and BKPF-XBLNR are same for all.

    Hi Varun,
    Table Document no (BKPF-BELNR) is link between Material document no (EKBE-BELNR). If you are looking for validating Material reversal document then please use following logic for your requirement.
    Material Document (MBLNR) & Material Document Year (MJAHR). Pass material document (MBLNR) to MSEG-SMBLN to read MSEG-MBLNR with MSEG-MJAHR to MSEG-SJAHR, if record found delete both the documents i.e. MSEG-SMBLN & MSEG-MBLNR (donu2019t consider these documents in the logic) and display Material Document No. (MSEG-MBLNR)
    Regards,
    Santosh

  • [QEMU/KVM] Use KVM switch to switch mouse/kayboard between host and VM

    I finally have my QEMU/KVM setup running and working as I want it, except for one thing. I have a KVM switch (a piece of hardware not the hypervisor ) to switch audio and video. It also offers the feature to switch mouse/keyboard between to Computers. Here is the relevant excerpt from my lsusb:
    Bus 002 Device 048: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 002 Device 047: ID 0557:8021 ATEN International Co., Ltd CS1764A [CubiQ DVI KVMP Switch]
    Bus 002 Device 046: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 002 Device 045: ID 0557:8021 ATEN International Co., Ltd CS1764A [CubiQ DVI KVMP Switch]
    The device named "Logitech, Inc. Unifying Receiver" is the dongle for my mouse and keyboard. The first problem is that both devices (in both states of the switch they both appear) have the same device id 046d:c52b. This can be solved by telling qemu to identify the device by #bus.#device instead of the id. The problem is that after each switching the device number increases. This makes sense as for the system the switching process is as if the device was unplugged and plugged in in a different usb port. Therefore the device would probably be disconnected from the VM when it was assigned on the VM's startup (is there a way to add usb devices on the fly to a vm without typing an add_usb command in the qemu shell). Do you have any ideas what I could do?
    EDIT: Just found about QMP. Would it be possible to save an initial condition (mouse/keyboard is on host) and fetch new devices busses after switching (udev?) and switch the saved sate? If the state is now "m/k should be on the vm" one could send qemu an adequate add command.
    EDIT2: I found out that my mainboard's usb is organized using 3 usb controllers (2x2.0, 1x3.0 each with 4 ports). I want to pass one of those PCI controllers to the VM but all I get is a black screen.
    EDIT3: I tried the other usb controller and it worked. Well, kind of. I moved the mouse in a circle and made a right click. Than I was not able to use the mouse or the keyboard anymore. Should I consider buying a PCI USB2.0 controller as that might be easier to forward?
    Last edited by fkoehler (2015-04-29 23:50:07)

    This article has someinteresting information in the comments. You don't have to use a kvm switch neccessarily. I for one prefer a software solution.
    Okay, so to make things clear: I do not switch keyboard/mouse. I keep them shared between both OS, using Synergy. The host OS runs a web server, and the guest OS runs a client – they exchange mouse position information, so that at any time only one of them receives ‘clicks’. This is great for both multi- and single-monitor setups.
    Another story is that I have two video outputs connected to a single monitor, and I would like to switch between them without using the buttons on the monitor itself. For this, I use the I2C that is embedded within HDMI or DP.
    Almost all monitors support DDC, but there are scarce apps that can make us of it. There is DDCcontrol for linux, but it is completely outdated, and failed to work with my particular monitor. So I ended up getting to know the VESA DDC standard, reading the source of that tool and several similar ones, and created a simple C program (source) that works in case of my setup. Most likely it will not work elsewhere, but it should give you a nice starting point for communicating with the monitor. The fragile spots are line 41 – you may need to change the i2c bus number the the one correct for your system, and you may need to prepare other data to send to the monitor (68 and 71) if you want to switch between other outputs than I do. Refer to the standard in order to prepare them.
    As for how to change his source code to help you, I am not of much help right now as I do not know the DDC protocol. Hope that helps.
    Last edited by noctlos (2015-04-30 16:01:45)

  • Wish to create network between PC and Mac

    Hi, I wish to make a network between my iMac G5 and my PC running XP Pro. As soon as I plugged in the pc into my router I instantly got internet on my pc. So how do I make a network to exchange files, and share printers, and dvd drives. One of the things I want to do is use Popcorn 2 to burn a DVD but since I don't have a burner on my mac I want it to burn on my Windows PC (with the mac software).

    Welcome to the discussions!
    "I want it to burn on my Windows PC (with the mac software)."
    You can't use the Mac's software to burn a DVD on your PC. You can create a disk image, then bring that over to your PC on the network and burn it on the PC, but that will require the software to be on the PC for that. I think that is what you meant anyway, but I wanted to make sure.
    Networking your Mac and PC is really not that hard to do. The Apple guides are not as clear as they could be, so start with Joel Shoemaker and Felix. They have some excellent step by step instructions and are very easy to follow.
    For printer sharing, you might also need third party, open source drivers. Depending on the connection - on the PC or the Mac - and the printer brand they can be found in any number of places.
    Give those pages a look and if you have anything specific that comes up, be sure to post back here and we can walk you through it.

  • Problem trying to build an ad-hoc wifi network between Leopard and Win XP

    Hello,
    I hope this question was not previously posted despite my attempts to find one related.
    I am trying to do something that sounded very basic to me until I tried to do it : connect a Windows XP equiped PC and a Leopard equiped Power G4, through an ad-hoc wifi network (in order to later develop a crossed platforms client/server app ).
    What I did :
    - Create a network from Leopard using both default (11) and specified (6 <-> default one under Win XP) channels
    - Connect to this (detected) network on Windows.
    - Try to ping (in a terminal with the suiting IPs) between each other...
    But this looked like they are not connected, or that they cannot discuss together, though they are obviously connected together.
    I also tried to create the network from Windows (although it is not as friendly as it is through Leopard Interface), the same way, but without the possibility to specify the channel (that should be 6 according to some forum read on the net ). I then connect to it through the PC and the Mac. The result is the same... indeed! No Ping, no telnet, nothing...
    Then, I am wondering if there is something that is so specific to each platform that they cannot connect together or if there is something I did wrong. Since I am not used to networking and, furthermore, the Mac World (ie newcommer to it), I may have missed some basic thing. So, I any of you have an idea, it'd be welcome .
    Thanks for reading, and in advance for trying to figure it out.

    I managed to connect them finally. But I still can't understand what was the exact problem, though I know now where it was :
    My Win PC was also connected to a company network. When I disconnected it and connected it with the Mac instead, everything suddenly went fine! It also works of course if no computer is connected to the company network.
    Now, this solves my problem but does not answer my question. There are obviously skills I missed about networking.. do any of you know why the connection of this company network ruined my ad-hoc network when connected on the PC and not when connected on the Mac?

  • KVM conflict between VBox and qemu?

    After I run a VDI with kernel extensions enabled, qemu-kvm won't work anymore until I reboot.  I figured that you wouldn't be able to run 2 kernel-based VMs at the same time, but why won't qemu-kvm work even after I've shut off the VBox VM?
    Just wondering if anyone else has noticed this.. anything I could try on my end to fix this aside from rebooting each time or is that just how it's supposed to work?  I'm running virtualbox_bin 2.0.2-1 and qemu 0.9.1-9 on Arch64.

    nielsb wrote:Try to unload the VB's module before you run kvm: sudo modprobe -r vboxdrv.
    That didn't fix it, but I also tried unloading the kvm module before running qemu-kvm and it said FATAL: Module kvm is in use.  Apparently VB doesn't release kvm even after it shuts down, so that's why qemu-kvm won't work.  The qemu-kvm process just sits there eating 100% cpu at that point.. I can't seem to kill it unless I reboot.
    How do you like kvm otherwise, do you use it straight from the console or do you have any UI for it? I'm curious as I've just switched from VB to KVM.
    So far I've only used qemu from the terminal.  I prefer qemu except for a couple images where I take/revert a lot of snapshots.  qemu can do snapshots, but VB's snapshot UI makes managing them a lot easier with its tree display and comment boxes.  Maybe qemu guis can do the same thing, but I just haven't tried any yet.
    Otherwise I find it easier and faster to customize qemu than going through all the VB dialog boxes.  Plus I don't know how to do some things with VBox like forwarding guest connections to host ports.  Things like that can probably be accomplished from the cli with VBoxManage, but it's easier for me to use qemu since there's a man page.

  • Command to see host and static nat for the same object together

    I have researched this but cannot find an answer.  ASA running version 8.5.
    When you create the config using object NAT you enter the commands as follows
    object network <object name>
       host x.x.x.x
       nat (inside,outside) static y.y.y.y
    When the config is displayed it separates the host and nat commands in two different sections of the config as follows
    object network <object name>
       host x.x.x.x
    object network <object name>
       nat (inside,outside) static y.y.y.y
    Is there a command that will display it all together (like it was typed in)?  Show NAT is something like what I am after but without all of the extra info such as translate_hits, untranslate_hits etc. I need this information but cleaning up the output of a show nat is going to be tough.
    Any suggestions?  
    Thanks.

    Sorry, show nat detail is what I meant in the original post in place of show nat.   Show nat detail still has all of the extra info I was trying to avoid.  Guess I will be editing a text file.
    Thanks for the reply.

  • Im trying a home network between Mac and Win 7, but its very slow

    Hi guys,
    ive searched for this for the last couple of days, but i havent found my sollution yet.
    I have been trying to setup a network between my macbook and win7, and it works...i can move data.
    The problem is that it is VERY slow. (2MB/sec max in the monitor app, it takes 6 minutes to transfer 1GB)
    This is my setup:
    Macbook 2011 ML 10.8 (I use WiFi to the router)
    Zyxel P-2601HN-F1
    Dell PC (connected thru ethernet cable to the router)
    The ethernet adapter of the Dell is 192.168.1.37 and its a new cabel.
    So i type in CMD-K, then smb://192.168.1.37 and connect with user and pass
    I tried all the stuff i read here, like changing channels, but it stays really slow.
    The crazy part is when i do both in Wifi, its almost as fast as with cable...and i DO use different ips in the smb connection
    Maybe im going wired all over the studio and my house, but i would be awesome if this would work at least at 10/20MB/s, thats almost usb stick speed.
    please help,
    wendel

    So i bought the Airport Extreme and hooked up all my hd's on the usb port...
    the wireles upload speed from macbook to hd's is 5-6MB/s which is a lot better (40-48Mbit/s)
    in the end i think its a protocol & adapter settings issue, with Windows using smb2, and apple using some old protocol from the 90's in ML 10.8.x
    Also, there are a lot of (for me) complicated network adapter settings one has to know, before getting great transfer speeds between Win and OSX...so its easy to mess it up in Windows 7.
    I read that Mavericks switched to smb2 too...so let's wait for all my software to be mavericks compatible and see how fast that will be with my Airport Extreme!
    cheerio

  • Creating network between Mac and Linux

    Hello guys! I need to set up network between my iMac and Ubuntu linux. iMac is connected in internet by Airport and Fon Wifi Router witch is connected in router which is connected to adsl -modem. My pc is connected directly to router. Both computers have access to internet. Is there any easy solutions to share files with mac and linux? I don't need any webservers etc, I just want to share files.
    Other question related to this, why is my mac's ip address like 192.168... and linux ip addrress is 84.250...?
    Thanks allready!

    Though I'm not newbie with computers, I'm really confused becouse I haven't set up network like this never before.
    Not a problem, no worry... we all know something somebody else doesn't and vice versa.
    My linux says that my DHCP -IP is 193.210.18.18, is that related to this in any way?
    Yes, if the Mac had an IP of 193.210.18.x, (but not 18 for x), then connection would be simple, but I think we must have two devices passing out IPs. What is the Mac's IP again?
    http://www.helpdesk.umd.edu/topics/communication/ethernet/office/winxp/2882/
    Do you have any advice where I could start looking from the right IP of my linux?
    http://www.webmasterforums.com/networks-clusters/1804-find-ip-address-my-linux-b ox.html
    I'm not sure if its even configurable.
    http://tinyurl.com/2gug9s

  • Network between Vista and Mac

    i'm trying to create a network between a Vista desktop and my Macbook Pro for files and printer sharing.
    after lots work with setting on Vista, I now can enter in MacbookPro folders from Vista. the problem is by Mac side: i can't find the printer connect on Vista (and shared), and the icon of PC don't appear on Finder, so i can't enter on Vista's folders. the problem with file sharing is strange, cause only one time, today, icon of PC was appeared on Finder (come back to Stop of Mac)..... i've traied with the same method another times, without success...
    I don't now what to do. I hope someone help me
    Message was edited by: -Slevin-

    I have limited knowledge but will try to help you as I have battled through this myself recently...You will lose nothing if you give it a try!
    In System Preferences open the Sharing folder. Check the boxes to enable 'File' & 'Printer' Sharing. In the same open window select 'Options'.. Here I have Share files and folders using AFB and (importantly) also Share files and folders using SMB. - 'on' should be checked and 'Account' should i believe be the name assigned to your Macbook. - select 'Done' and then also close the 'sharing' window in sys preferences to take you back to the desktop.
    In 'Finder' select the 'Go' option in the toolbar. Select connect to server from the drop down menu. You now need to enter the server address which will be the name of your Vista Pc - enter as follows: smb://(your vista name).. you may have to also enter the password for the Vista machine if it is configured in this way. ( It has been a while since I completed this so a little rusty here!)
    If you have entered the correct information when you hit 'Connect', your Macbook should find your Vista desktop that has previously not been appearing in your Macbook 'Sharing' section - this was the issue that I was originally experiencing. You should now see the Vista machine in the Sharing section of your Macbook.
    If this has been successful to here... This will enable access to try to solve the printer sharing problem? I think this one is beyond me as there are so many different configurations/installation options dependent upon the type of printer and network configurations.
    It is possible to configure your Macbook to automatically find your Vista machine at startup if it is not found as a matter of course, which I perceive to be the case here... Try this to automate connection at startup..
    Go to Sys Preferences and sect 'Accounts' you may have to enter your password to initiate changes. Making the assumption that you are connected now to your Vista machine and it is showing in the 'Shared' section of 'Finder'- select the 'Login Items' option and then select the '+' under where it states 'To hide an application when you log in etc etc.
    From the window that opens you will now select your Vista machine from the left hand folders menu. when done click 'Add' and close windows to return to your desktop. Re-start the Macbook to check whether the Vista machine will now load to the Mac automatically at startup.
    I hope this works for you as it has for me - The non discovery of the vista machine by the Mac was driving me round the bend

  • How do I correct version conflicts between host and RT engine?

    I was running LabVIEW RT7.0 on a host PC (WinXP) and PXI-8145 system. I installed LV7.1 and LVRT7.1 on the host. However, the software versions in MAX still report as 7.0
    I would like to upgrade to 7.1 on my 8145-RT. I cannot run 7.1 on the host and target the 7.0 RT engine (results in version conflict). Version 7.0 is installed on C:, but 7.1 is installed on D: due to space.
    How can I get MAX to recognize my latest version (which should allow my to download it to the PXI)?
    Thanks.
    Laine

    Thank you for the response.
    C:\RT Images contains only a single folder for NI-PAL
    However, I backed it up and copied the RT Images folder from D:, but still the same effect (MAX thinks 7.0 is the latest LabVIEW version).
    D:\RT Images\LabVIEW\7.0 contains subfolders and install scripts (e.g., 7002.rts)
    D:\RT Images\LabVIEW\7.1 contains subfolders but no install scripts. Also, there are many fewer files in these subfolders than in the 7.0 folder. I'm worried about trying to manually install from the 7.1 folder.
    Any other suggestions? Thanks.
    Laine

Maybe you are looking for

  • IPod Nano Issues, Please Help

    I purchased my nano on November 18 and havn't had problems until two days ago. Two days ago, it stopped responding to the clikc wheel, I could only turn it on with menu and when I had to hold and unhold it to turn it off. Yesterday it started working

  • Fade in an overlay by a button in master slide

    Hello, I'm using custom made buttons for slide navigation in the master slides. Is it possible to let fade in an overlay object when a button is clicked? E.g. I got a "Close" button in my master slide. If pressed, an overlay object should appear aski

  • My iphone wont switch bk on

    can anyone help me, my ihpone wont switch bk on, my battery died i put it on charge an nothing has happened since, i've tried holding down power/home button nothing, when i plug it to charger i get apple sign for about 5-10 secs then nothing same whe

  • Article Master--Sales view--Problem

    Hi I have 2 Purchasing orgs say 1000 and 2000 I am creating a vendor for purchase org 1000 say Vendor 1 I am creating an article with all views and with  purchase org 1000 and Vendor 1 in purchasing view with condition PB00 maintained In my sales vie

  • IPhone 5 errors EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at

    Need help with my iCloud email and spam. Also how can I remove the + in front of the phone calls I receive ?? My iphone is 5s and it has the exact same problems as my iPhone 4S. ( I know longer have the iPhone 4S) I thought it might be my Apple ID is