Software :: Add To Qemu Command - Line To Give VM Access To The Internet?

Sep 5, 2010

just learning qemu. Been able to figure out everything fine, except one thing: what do I need to add to my qemu command-line to give my VM access to the Internet?

I read online docs, but to be honest, the VLAN/TAP stuff they describe doesn't make much sense to me.

View 2 Replies


ADVERTISEMENT

General :: Windows - How To Access Internet From QEMU

Jun 14, 2011

I am running qemu version 0.13 on windows XP. My Host OS is Windows XP and my guest OS is Debian 4(Etch). How do I connect to internet from Debian OS? My windows OS can connect to Internet. The following is the launching command which I am using now to launch qemu in windows XP.

qemuqemu.exe -L "qemu" -boot c -hda "debian4.img" -m 512 -localtime -ctrl-grab -usb -net nic,model=ne2k_pci,macaddr=52:54:00:12:34:56 -net user -redir udp:161::161 -redir tcp:4440::22

View 1 Replies View Related

Ubuntu :: Give A User Sudo Privilege From Command Line?

Mar 14, 2011

I adjusted some settings in the desktop settings folder in KDE. I had only one user account on the machine. Next time I rebooted I could not log into KDE (it kept bombing out). I had to log into the console. Finally I managed to create a new account with useradd but this user cannot sudo

My problem is that my home directory is encrypted, so I need a new user with sudo privileges to delete all the kde files and folders in my original users home directory so that I can start with a new KDE setup (which won�t be a bad thing since I tinkered a lot).

How can I add sudo privileges to the new account (I presume I can do it by logging in with my sudo account in a terminal login?

View 9 Replies View Related

Debian Multimedia :: Command Line Utility To Give Info On Video Files

Nov 17, 2010

Is there a command line utility to tell me about what's inside a video file? Say I have a .mpg file. I want to know about the video stream and the various audio streams, the codec used for the video stream, the bitrate of the video stream, and so on.

View 5 Replies View Related

Ubuntu Servers :: Networking - Machine Refuses To Give Access To The Internet Via Firefox

Sep 21, 2010

I have a machine (lets called it machine 1) with two networks card, eth0 and eth1. Both have static IPs. Once in a while the machine refuses to give access to the Internet via Firefox (eth0 is the route to router). Other machines on the network have no problems accessing the Internet. Eventually the machine would just magically start working again, but this time it just seems to have stayed broken. I've done some simple diagnostics and found:

a) I have another machine running Apache with a Wiki on our network - [URL]. Machine 1 is unable to connect to this Wiki. I get 'the connection has timed out'. I can ping 192.168.1.73 and it responds in the usual fashion.

b) If I try to ping www.google.com it times out with: ping: unknown host www.google.com. I can ping google using its IP address.

c) On machine 1 I have tried traceroute on both www.google.com and its IP and I just get:

1 * * *
2 * * *

And so on until hop 30. Doing this on any other machine on the network works. So while it seems I can ping internally in our network and outside, but when it attempts anything traceroute or URL related it does not work.

View 7 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

Ubuntu :: Configuring Internet From Command Line

Feb 23, 2010

I just installed a command line version of karmic to an old desktop. During installation, DHCP failed, so I attempted to configure manually (without really knowing what I'm doing) and wound up without a connection. I've been searching for solutions, but really don't understand what I need to do. A million thanks to anyone who can help me get up and running (or at least give me a push in the right direction).I can either connect the computer directly to the cable modem via USB, or directly to my wireless router via ethernet cable. I know what the ip address for my laptop (which is connected wirelessly to the router) but don't know if that would be the same for the desktop or not, and don't really know anything else.

View 3 Replies View Related

General :: Set Internet Time From Command Line?

Sep 2, 2009

how do I set the internet time from the command line?how to make a linux machine the time server within the domain?

View 1 Replies View Related

Fedora :: How To Access The Grub Or Command Line

Dec 18, 2009

with that said i burned fedora 8, 10, and 11 checked the sha1 verified everything was fine i had originally installed fedora 8 on an old pc i had from windows XP without any problems messed with it some, upgraded to 10 again no problems. tired to update 11 got a message about ext3 not found ext4 not found, re installed 10 the loader loads up now i have a blank screen with a cursor it the left hand corner

again i had 10 installed fine prior to all this can any one point me in the right direction to solve this issue or am i way over my head trying to figure this stuff out. i have spent 3 days searching these forums.

i'm just not quite sure what i need to do. oh, i tried to install 8 again and it wouldn't take either. i think the 10 problem has something to do with the graphic driver it's a geforce 7400 nvidia and something to do with the grub, but like i said i get a blinking cursor and not quite sure how to access the grub or command line.

View 3 Replies View Related

Ubuntu :: Cannot Access Network On The Command Line

Aug 18, 2010

I cannot connect to the internet on the command line. Things like firefox or chrome browser work fine. But on the command line programs like 'links' fail to work. This is on a machine behind a proxy, I have the http_proxy and https_proxy environment variables set properly.

View 5 Replies View Related

Programming :: Access Command Line Variables From Awk?

Feb 11, 2010

I am taking an argument from the command prompt for my shell script ie $1 and i need to use $1 in my awk part of the script.But it actually doesn't get any value when used in awk. accessing this command line argument in awk?

View 5 Replies View Related

Fedora :: Enable The Internet Connection In The Command Line?

Mar 17, 2010

I tried:

Quote:

ifconfig dsl up
ifconfig up dsl
ip link set dsl up

But I think I should have typed:

Quote:

ifconfig ppp0 up

Yesterday I was lost, I updated the drivers for the nvidia card and that broke X, since my internet is not up and running when booted I was wandering how to call it from the command line since that was the only thing I could see.

View 10 Replies View Related

General :: Unable To Log In Credential For Internet Through Command Line?

Jun 30, 2011

My GUI for backtrack is not working. I want to connect to internet. I gave the required static ip to my machine. but the problem is I have to give username and pasword through the browser before accessing the internet. Now here , i dont have any browserHow to give the log in credentials through command line in backtrack machine?

View 1 Replies View Related

Ubuntu Networking :: Connect To Internet Using Command Line

Jun 6, 2011

I want to connect to the internet using the command line. I'm 95% I have my wireless card installed correctly, since I'm using it right now.dhclient takes a minute or two, then finishes. It gives no output, success or failure. Then I open up Firefox and I'm not connected to the internet. What can I do to figure out what the problem is?

View 9 Replies View Related

Fedora :: Access Machine In Command Line Mode

Apr 16, 2011

my fedora 14 did an automatic update tonight and on reboot it hangs displaying the "f" before the login in menu. The "f" is how I now feel.I do "fn+f2" as it is booting and it displays the sequence of loading items which report all is "ok" until it gets to "jexec services" and then it hangs.I do not know how to access the machine in command line mode and I am not sure what to do from here. I beleive the "jexec service" is a Sun Java item but I am not sure.

View 2 Replies View Related

General :: Access Files With Spaces From Command Line?

Mar 17, 2011

How do I access files with spaces from the command line?
for example I want to go to a file called "New File" and let's say is in Downloads/Books/(and here is the file)
how do I input the space since the command line doesn't recognize it?

View 2 Replies View Related

General :: Access Command-line Tty1 With Ctrl-Alt-F1?

Jun 14, 2011

I have Red Hat 5.4, and I'm trying to log in using tty1 by pressing Ctrl-Shift-F1. I get to the text login screen, my banner displays, but when I try to log in as root, the banner just displays again and it asks me to log in.

It does not say that my password is incorrect, just asks me log in as if the previous exchange never happened. I have added tty1 to /etc/securetty, and all the other tty's and vc/1, vc/2, etc...in an attempt to get something to work. I recently started using PAM for password authentication, and the pam_securetty.so line is set correctly in /etc/pam.d/login. Any idea why I can't log in? Did I miss something I have to add?

View 1 Replies View Related

Ubuntu Installation :: 11.04 Alternate Command Line Install Without Internet Connection?

Aug 5, 2011

is there any way to do a 11.04 Alternate Command Line Install without Internet Connection? I try to install Ubuntu on a Internet-Tablet, wich has no Ethernet-Port and I don't know how to get Wifi to work during Alternate-Install. At previous Ubuntu versions it was possible to let network be unconfigured and install completely from CD or USB-Stick. Isn't this possible in current versions?

View 1 Replies View Related

Software :: QEMU Guest Having No Internet?

Jul 15, 2011

For some reason my QEMU guest no longer can connect to the internet. I have no idea what changed but it was working just a few days ago. I have an Ubuntu host and a debian guest. what I might be missing ?

View 1 Replies View Related

Programming :: MHC Modula-2 - Cannot Access The Command Line Options And The Environment Variables

Jul 2, 2010

Anyone else using the Mill Hill & Canterbury (MHC) Modula-2 to Java compiler?

[URL]

I cannot access the command line options and the environment variables.

View 2 Replies View Related

CentOS 5 Server :: Error: File /usr/share/man/man1/qemu-img.1.gz From Install Of Qemu-img-0.10.5-1.el5.2.x86_64

Feb 6, 2011

When I try this yum install kvm qemu libvirt python-virtinst qemu-kvm I become this error

Transaction Check Error: file /usr/share/man/man1/qemu-img.1.gz from install of qemu-img-0.10.5-1.el5.2.x86_64 conflicts with file from package kvm-qemu-img-83-164.el5_5.25.x86_64

how can I resolve this error

View 1 Replies View Related

Servers :: Install - Access It Remotely Via Ubuntu Desktop Environment Instead Of SSH Command Line?

Aug 5, 2011

Is there any way to install a Ubuntu server and access the server remotely via a Ubuntu desktop environment instead of a SSH command line?

I will be installing a Ubuntu server in an office where the office manager will need to be able to do simple things like add/remove users, access filesystems, etc. She can handle these tasks in Ubuntu desktop/GUI, but it is impractical for her to have to learn how to use the CLI terminal to do this stuff.

Will I have to install desktop Ubuntu on the server to do this, or can I install Ubuntu server version and setup another computer Ubuntu desktop to remotely login graphically?

View 1 Replies View Related

General :: After Qemu-img, Qemu Is Not Capable To Detect The C Drive (empty)?

Oct 16, 2009

qemu-img , create any imagerun qemu -fda bootdiskwin98se.img -hda image.imgand No drive C what's going wrong with qemu-img/qemu?

View 3 Replies View Related

Ubuntu :: Command For Internet Access Times?

Jul 29, 2011

The last command shows successful log-ins by user, but is there a command that can be used to know when the internet was accessed last time? Is there a log of Internet connections made by the user?

View 4 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Programming :: Access A File Line By Line, And Check The Length Of Each Line.

Feb 13, 2011

I want to access a file, and check the length of every line.After, i want to check and replace all lines with length over 10 characters, with a message.Does anyone have a clue on that?

View 1 Replies View Related

Slackware :: KVM Command Not Found Though QEMU Works Fine Slackware64 13.1 Multilib

Aug 17, 2010

I've been trying to get some kind of virtualisation solution for my Slackware64, and I'd been having an absolute nightmare trying to get virtualbox to work on my Slackware64 install, so I decided to ditch it and move to KVM instead, as a type 1 hypervisor, having had success with QEMU in the past. I installed qemu-kvm along with all the dependencies using sbopkg, and I didn't have any problems building it, nor creating a user for kvm, or anything of that sort. However, now if I try to open a .iso on a disk image I created using qemu:

Code:

qemu-img create -f qcow2 ubuntu.qcow 4G

Which I am then easily able to access with qemu using the following command:

Code:

qemu ubuntu.qcow -cdrom /ISO/ubuntu-8.10-dvd-i386.iso -m 256 &

(I have an old ubuntu 8.10.iso on my PC that I used just to see if the thing would work) This works just as expected. However, if I try to launch the same .iso using kvm

Code:

kvm -hda ubuntu.qcow -cdrom /ISO/ubuntu-8.10-dvd-i386.iso -m 256 -boot -d &

all I get is "bash: command not found: kvm" I have already loaded the following modules: kvm, kvm-intel, tun. Could I be missing something?

[edit] Also just noticed that though I have created a group for kvm and added myself to libvirt, but when I issue the command "groups" neither of them are there, though I did use:

Code:

groupadd -g 221 kvm

And I was under the impression that I just needed to add my user to libvirt, without needing to manually create the group itself.I may have misunderstood the procedure for installing this properly, but I'm not sure what I've done wrong.

View 3 Replies View Related

Networking :: QEMU: Tap Host: Windows 2003 Server - Guest: Ubuntu 9.04 - No Ip Address And Can't Access Public

Oct 28, 2010

host is windows 2003 server 64-bit
guest is ubuntu 9.04 server 64bit
Qemu : 0.11.1
Qemu manager: 7.0

from Qemu manager, if network card is using User Networking, it's a NAT and I can see that Guest Ubuntu has an ip address 10.0.2.15 and is able to access the internet. However, as Guest ubuntu is running server so I want to do use Tap networking and I assue with Tap, the Guest ubuntu will get an ip address which is in the same subnet as host machine by dhcp. so from Qemu Manager 7.0, I changed Network card to be:

NE2000PCI
Vlan Number =0
VLAN Type: Tap Networking
Mac address: tap0's mac address from host
TAP Network Adpator: Tap0

Note that tap0 was created by openvpn. and then fired Ubuntu guest, ifconfig shows no ip address on eth0 (which has the same mac address as Tap0) so the guest Ubuntu has no ip address and can't access public.

View 1 Replies View Related

Fedora :: Unable To Access Fedora From Grub Command Line?

Feb 9, 2011

i recently did some changes to my hard disk partitonand now linux is in hd0,6when i booted my pc,i got the grub commmand line interfaceso,I think that i need to edit grub.conf in fedora 14then at cmd i did this:

grub> root (hd0,6)
grub> kernel (hd0,6)/vmlinuz
file not found

[code]....

View 4 Replies View Related

General :: PPPOE Server Access Internet Clients Fail To Access Internet

Aug 26, 2010

I have a linux box (fedora) with two ethernet cards eth1 and eth2. On eth1 I successfully configured a PPPOE internet connection. Such that from the server I can browse the internet. On eth2 I wired it to a wireless router essentially to provide the wireless cloud. On eth2 I also configured dhcp, such that the Linux box is both PPPOE and DHCP server.However my clients on the LAN cannot access the Internet.

On passing the routing command I get
Destination Gateway Iface
196.44.x.y 0.0.0.0 ppp0
192.168.1.0 0.0.0.0 eth2 (my subnet)
0.0.0.0 0.0.0.0 ppp0.

The router (functioning as a wireless access point mainly) has a fixed IP address of 192.168.1.2 and eth2 has IP address 192.168.1.1. The dhcp file running on Linux has been set with option router (Gateway) 192.168.1.1. I cannot figure out how to correctly set the routing table such that my clients on wireless can access the internet cloud. I googled and googled but no solid solution. Any suggestions?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved