General :: Having A Virtual Ethernet Appear As A Real One?
Jan 7, 2011
know of a way in Linux to have a virtual ethernet (e.g., eth0:1) appear as a "real" ethernet (eth1)? I ask because I have an old Shuttle box that only has one mobo ethernet and no way to add more. I'd like to use it in my Oracle RAC lab, but RAC requires two physical ethernets. You can't fool it with eth0 and eth0:1. RAC won't setup correctly if there's only one eth adapter, so I'm wondering if there is a way to fake two ethernets. I do not care about performance or reliability - it's my home lab. I fully realize that this violates every principle of HA, but I'm just using it to study. Worst case, I can get a USB dongle ethernet adapter, but I'd prefer to avoid the cost if possible.
I need to ask about Virtual Interface, as I need to use my ethernet interface to act as two ethernet ports. As I need to give eth0 an IP address and give eth0.5 another ip address, and make some natting and other issues. Can I do that with the same interface?
I have installed linux on a virtual machine in Oracle VM VirtualBox because I want to run linux while running windows at the same time. I was wondering if there is any difference between a real linux system and a virtual one for learning purposes.
I am running Ubuntu Studio 9.10 on Microsoft Virtual PC. After using it a lot, I have decided to move to a real machine. The thing is, I don't have the time to reinstall ubuntu and all the programs and move my docs.So i wanted to copy/move the content of my virtual HDD to put it on a real one. But when I try copying th e OS, it says that i don't have permission to do that. What can I do?
I am trying to setup a VPN using OpenVPN to allow a secure connection between my smartphone and my LAN. I have been reading an OpenVPN book and some tutorials on how to setup the server side, but I'm stuck at how to create a virtual device. The OpenVPN book says when installing OpenVPN the installer (or aptitude to be more precise) should ask me if it should create a TAP/TUN device. The thing is, it doesn't ask me anything at all. It just installs, that's it.
Most tutorials simply tell me to create a new device in the network/interfaces file. Where is the difference? What should I do now? I like having options, that is one reason I like Linux, but this does confuse me. My second question is about the IP range of the virtual adapter. Should it be in the same range as my LAN, or should I use something entirely different?
I basically want to transfer my wubi ubuntu 10.04 installation from a virtual partition to a real partition, i have seen some guides but they are years old. I was wandering if someone could give me a tutorial or guide to follow, or at least link me to one that will work for lucid
I would like to configure and SAN disk. But I do not have a physical SAN disk. Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines?I have around 400GB of space in my Laptop.
I'm thinking of designing a software that may need to change the current user to a normal user if run as root. But from what i've read, you can still switch back to root if you were root in the first place (meaning, the real UID is 0). I'd like to make this impossible. I think the solution is forking but i'd like you to confirm this.
My question is, does the real UID of the children is the effective UID of the parent at the time the fork is done? My manual lists what's inherited from the parent but doesn't states this. I'd like an answer about Linux kernel and about Unices in general (i'd like to make it at least POSIX-portable)
I am using the standalone k10temp temperature sensor but it doesn't give the actual temperature of the cpu, just some "bogus" temp value that isn't very useful.Does anyone know how you can calculate the real temperature from this reading?
This script puts a natural number 5 times a second.
3. Then in the second bash window I type (as root):
Code:
The script test2 looks as follows:
Code:
While true; do true; done
During the following 15 seconds test2 is the process with the highest real-time priority. As far as I know the script doesn't perform any system calls so it shouldn't be suspended even for a minimal timeslice. My question is: why the process test1 manages to put a few numbers on the screen before test2 stops. I thought that test2 would exclusivly own the processor for 15 seconds.
i am using ubuntu 9.10 on a x386 machine, have libasound 2 installed & updated, cannot install realplayer 11 because is says Error: Dependency is not satisfiable: libasound2 (>> 1.0.22). likei said, libasound is installed & updated according to synaptics.
I have to write one Shell script where i have to find one word in current generated log.Log name has specific format like 'NAME_DDMMYY_HHMMSS'.log.Each time i have to go and check the word in newly generated log.How can i pass the newly generated log name in my Script?
what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.
Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It however lacks plugin support, most of my favorites don't work.So what is best way to install the "real" Firefox on Debian?
I have a log file that I would like to examine during some changes under process that writes to this log. Is there some way to open this file and read in real time changes written to it ?
What is the best way to install a plugin capable of playing real videos for Debian Linux? In particular I want this web page to run correctly under Iceweasel and Chrome:
The situation is; I am running a web server (Ubuntu 10.10 server) on virtualbox v.4 inside Ubuntu 10.10 Desktop and now I want to clone entire web server on my brand new PC.
I have an old hp that i installed ubuntu on and I was wondering how I can turn it into a real router. By real router I don't just mean broadcast the internet but use security software, configurations, and all the stuff normally found on a real router. What are the steps i need to take? I dont have 2 NIC's in it just one but I do have a wireless usb that I can just stick into it.
I am looking for web base real time iftop like tool for linux.I mean it shows current active connection on a NIC of any Client that connected to it .I do not want offline data I want realtime data for current connections on web.
I am running programs remotely but they are terribly slow. I'm on a windows machine which may be my first problem. I have killer ping and download speed so they should run fine. What can I do to resolve this.
I know this command exists I just can't seem to find it. I want to see the last few lines of a file as more are added in real time. Can someone point me in the right direction?
I was wondering if there is a command to show a real-time creation of files. I basically executed a command that will created thousands of files and takes a long time. I want to check if it is still creating additional files or if ti got frozen.