General :: Broken Loopback Device ?
May 26, 2010
I have the following scenario: I have a file that I want to edit from certain point a certain amount of bytes.
I tried using losetup but failed:
Code:
If I loop the file entirely it works, but that's not helping me. (I'm actually keeping the C option for last since shell programming is less restrictive.
View 5 Replies
ADVERTISEMENT
Aug 10, 2010
I was wondering if it is possible to create a growing image for a loopback device. Like a file that you create that will grow with the data that is placed on it instead of a file that has to be the size of the entire file system?
View 4 Replies
View Related
Jul 21, 2010
I have extracted the WebCamStudio java application into a folder in my Fedora 13 x86_64 installation. I can run WebCamStudio with the command java -jar "WebcamStudio.jar".
I can successfully select sources and view preview etc. However, the bottom status line permanently states "no output". There is no vloopback device to select in Cheese, camstream, Skype, AMsn etc. Does anyone know how I can get the loopback device to work?
I have added my username to the group "video"
I only have /dev/video0 - should there be another module for the loopback device?
Linux 2.6.33.6-147.fc13.x86_64
WebcamStudio 0.55a
View 3 Replies
View Related
Nov 22, 2010
The concepts of pseudodevice and loopback device ?
View 1 Replies
View Related
Jan 13, 2010
I have two ethernet card on my computer, I want to make a TCP or UDP communication between these two cards, so I disable loopback: #ifconfig lo down. but with out loopback I can't even ping an eth from another one. how should I do? I want traffic to really pass eth cards.
View 2 Replies
View Related
Jun 23, 2011
I am trying to expand my Ubuntu partition into my Windows 7 C: drive, but the win7 partioner will not let me shrink it because of immovable files. Is there anyway for me to but an loopback device in the windows partion, and have Ubuntu boot with that as the root device?
View 1 Replies
View Related
Sep 24, 2010
This seems like a relatively simple question, but the answer seems to elude everyone: What is the MAXIMUM SIZE of a Linux loopback device (not counting any specific filesystem limitations)? Is it the maximum size of a linux block device?
View 4 Replies
View Related
Apr 19, 2010
We�re experimenting with deploying SUSE 10 SP3 systems and adding them to a Windows domain and DNS. Oddly, when we register in DNS, it gets registered under two address: the real IP address, and the address 127.0.0.2. Also, an ip addr command shows that the loopback device lo has two addresses: 127.0.0.1 and 127.0.0.2.
The above behavior is just on SP3. On SUSE 10 SP2, the lo device has only the 127.0.0.1 address, and the system is able to register correctly in DNS.
Do you know what the 127.0.0.2 address signifies, or how to get rid of it?
View 3 Replies
View Related
Jan 26, 2011
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it has the following configuration.
Code: $> sudo fdisk -l /dev/loop0
Disk /dev/loop0: 10 MB, 10977280 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/loop0 doesn't contain a valid partition table Now what I want to do is develop a c++ program to read & write files to this loop back device,which I'm using to simulate an actual hard disk,at the blocks & sectors level. So far I've come up with the following code. But I'm still unable to read files from the hard disk one block at a time.
Code: #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
char block[512]; int length=0;
cout<<"Implementation of the File Handler Read Method..."<<endl;
FILE *f = fopen("/dev/loop0", "r");
if(f == NULL) {
cout<<"Error In Opening the HardDisk File Retuning Error..."<<endl; return -1; }
//Read One Block of Data to Buffer length = fread(block, 1, sizeof(block), f);
/* Do something with the data */ cout<<"Length : "<<length<<endl;
return 0; }
When I run this Program All what I get is the message for NULL. "Error In Opening the HardDisk File Retuning Error...". So I could open the loopback device as a file an access it at the sectors & block level.
View 1 Replies
View Related
Dec 24, 2010
I m facing a problem regarding with postfix, when the user try to send a mail to anyone on the system it loopback to itself i
This is my main.cf file:
View 115 Replies
View Related
Jun 4, 2011
I have a Lubuntu installed Netbook (Toshiba NB200). When I try to watch a video and listen to music smoothly. So I started the program Audacious on the terminal and I get the following Warning Message:
Code:
** WARNING **
Audacious has detected that your ALSA device has a broken timer. A workaround
is being used to prevent CPU overload. report this problem to your
Linux distributor or to the ALSA developers.
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
[code]....
View 2 Replies
View Related
Jul 26, 2011
I'm trying to run a persistent Debian distro on a USB thumbdrive, with the persistency data written in a mounted live-rw loopback file. However, the drive has to be formatted FAT32, and that poses a 2GB maximum limit on files, so I can't use the full 3GB space that is left on the drive after the Linux install. Can I make two loopback files and format/mount them as a single filesystem? If I can't I guess I'll have to repartition the drive, which I'd rather avoid.
View 6 Replies
View Related
Feb 1, 2010
Besides Puppy or DSL, is there a full "regular" Linux distro that is friendly to be installed on a USB flash drive that won't wear it out? I want to be able to upgrade it, not just keep minor persistent changes like the methods outlined in pendrivelinux.com. The loopback file would fill out too much if I actually did a apt-get update, so I want something that installs natively on a USB flash drive with EXT3/EXT4, etc.
However, is there a distro that sends the log to a tmp ram drive, for instance? Something made *not* to wear out a USB drive too fast? I want a truly portable Linux on a UFD, not a semi-attempt that uses casper.
View 5 Replies
View Related
Dec 3, 2010
I have configured loopback IP address on my server as (10.10.10.10). My LAN card physical IP address is 10.10.10.20. I dont want my loopback IP address to broadcast the IP & arp. How can i achieve it? Right now i see the problem that both 10.10.10.10 & 10.10.10.20 ip address is broadcasted by same MAC & I have 10.10.10.10 is already with some other host too.
View 2 Replies
View Related
Aug 23, 2011
I've bought an X10 Home Automation USB interface: the CM15.
This is the information lsusb gives:
skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
But this tells me nothing about where the device file is! How can I find that, or create one myself?
View 1 Replies
View Related
Apr 13, 2011
I am trying to mount a raw/dd image of solaris hdd in Linux with the following command:
Code:
Does Linux have tool for checking ufs filesystem integrity?
View 14 Replies
View Related
Oct 12, 2010
Why does the loopback interface has such a high mtu? I get it that it needs to work out even large packets, which is logical but why this specific number? I can set the MTU even higher with the ip link command, so it's not a limitation of the variable used.
View 4 Replies
View Related
Feb 15, 2011
I have a server application that uses loopback addresses to open servers on linux machine.
For IPv4 with one line of configuration I can open many servers according to the mask I use for example with 10.10.10.0/24 I can open 254 servers.
How can I do the same for IPv6 ? I am able to add loopback interfaces but only for one host. Is it possible to add for a subnet ?
If not what is the max number of addresses that I can add ?
I also saw that it add the address only to loopback lo and I can add it to lo:3 for example.
View 1 Replies
View Related
May 21, 2010
i'm running debian lenny - latest stable i have recently installed smartcam (mobile phone as webcam over bluetooth) from .deb package , get errors of unmet dependency , but application works like a charm, unfortunately broken dependences block my aptitude , i cant fix them either as latest stable use older versions of dependences even in backports... how do i mark smartcam package as not broken and release my apt?
View 8 Replies
View Related
Apr 24, 2010
I am new to fedora. In fact I have not even installed it yet. I have been using a different distribution for some time now. But it has just had an update, and with that I lost the ability to have analog loopback. I need it because I need to record sound from my speakers, and my mic at the same time, and my soundcard does not seem to allow them to be mixed (or at least I could never figure out how). I have been using the analog loopback to add the mic to the speaker sound, then splitting the speaker sound to also feed back into the line in. I then recorded from the line in to get both the speaker sounds, and the mic. But now I guess alsa has taken the analog loopback out, so I need to find another way.
So I am trying out distributions, and I decided to try fedora. I am just running the live cd right now, and I found that if I installed paprefs (pulse audio preferences) there was an option to loop the audio to the speakers. However it does not loopback the sound. I tried the same think in linux mint, and it worked, but but after about a min of this, the sound got distorted to the point where I could not even understatnd what I said in the mic. This happened all of a sudden, not a gradual thing, but one second it was fine, the next it was very bad.
View 10 Replies
View Related
Aug 5, 2010
I've got some old drives using pre-LUKS loopback encryption, and I'm having problems mounting them on OpenSUSE 11.3. What I expected to work, based on past experiences with other distributions, is something along the lines of:
mount -t ext3 /dev/sdc11 tmp -o loop=/dev/loop1,encryption=AES256. When I try this I'm asked for the password, but then get the message "ioctl: LOOP_SET_STATUS: Invalid argument". Anyone have a clue what could be going wrong, or how I can best access these drives from OpenSUSE?
View 5 Replies
View Related
Apr 20, 2010
I own an Ubuntu Server 9.04 on a remote dedicated server. Since a few days (?) the loopback interface is not 'up' on reboot : I only have eth0 (which works fine).Here is my /etc/networking/interfaces (did not change since server initialization):
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
[code]....
View 3 Replies
View Related
Aug 22, 2010
I run a webserver Apache2, php5, and MySQL. They are all set up correctly and I can access my website at [URL] I have, also installed, noip2 to update my IP address to no-ip.com for my domain name. Here's the problem: I can access my website through that domain name on other computers, both on internet and on the same network. But I cannot access it from my own computer (using the domain name instead of localhost). I need to be able to access the domain name on my computer because some pages on my website have been defined as the address to my domain name and not localhost. I cannot change this to localhost because if I do then people outside cannot work the webpages correctly. I had the same troubles on Windows before and I simply enabled loopback connections by typing in my private IP address along with the domain name into the Windows hosts file. I use version 10.04.
View 3 Replies
View Related
Sep 4, 2010
I have the same problem in Windows 7 and Ubuntu 10.04 where I can't record "what I hear" or "Stereo Mix" or "loopback", etc...I did not have this problem in previous versions of Windows (XP) and Ubuntu (9.04)...I hope this isn't because of MPAA/RIAA/DMCA/ACTA crapAudio Card as reported by alsamixer: SigmaTel STAC9200
View 5 Replies
View Related
Apr 9, 2009
I have configured LVS under RHEL5. I need to configure static route to my VIP. Now, I used the following command to add route but reboot OS will flush the route.
# route add -host 192.168.11.55 dev lo:0
how to add static route for certain network via /etc/sysconfig/network-scripts/route-<device-name>. But I did not found that for host.
View 4 Replies
View Related
Dec 26, 2010
Installed latest version of sipXecs (PBX system) which is based on CentOS. The install went fine. During the first boot up all the messages come back with OK until it reachs a message about loopback. It hanges on this message and will go no further.
View 1 Replies
View Related
Mar 17, 2011
I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:
[Code]....
I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:
[Code]....
View 10 Replies
View Related
Aug 18, 2010
I tried to install OpenSuse 11.3 on my brand new pc, which already had Windows 7 proffessional in it, and I went step by step through the installation without changing anything. It didn't work. I tried for a second time and this error message kept popping up: "Creating device modes with udev 2.0436224] [drm: i915_diver_load]*ERROR*Detected broken BIOS with 262140/2644kb of video memory stolen. 2.0436224] [drm: i915_diver_load]*ERROR*Disabling GEM(try reducing stolen memory or updating the BIOS to fix)"
And then a lot of letters and numbers wich make no sense to me. Now the only way I can initiate OpenSuse is with the OSuse boot dvd and on failsafe mode.
View 5 Replies
View Related
Oct 25, 2014
I am trying to get my soundcard, Creative X-Fi Titanium HD, on my new Debian Jessie Beta 2 installation working. I can hear sound from the speakers and sound is getting recorded from my mic, but the output is somewhat connected to the input. I had the issue on my Windows installation and had to turn it down in my soundcard settings. But after playing around in alsamixer and trying to switch inputs and turning down/up the volume on different channels, I had no success fixing the issue.
Link to my alsa-info: [URL] ....
View 3 Replies
View Related
Mar 24, 2010
I'm setting up a loopback server for work related testing. I have a small program that needs to be executed through telnet from about 200 IP's on the same network. On the server, I have to set a static ip, enable telnet login, and place my 2 program files in the appropriate folders so it will run. I have been on this for 2-3 days and haven't got far.
My /etc/Network/interfaces file is this...
Auto lo
iface lo inet loopback
The rest of terminal is filled up with these, and it states that the file only has 32 characters. I don't know if this is a privilege issue or not. I've read several threads on telnet, and lots of arguments about ssh, but I can't run ssh, so I need to enable telnet. There is not a security issue. I run a private network where the only valuable resource would probably be the text file with my IP address on it. Its also accessed by people that have very limited networking knowledge and no linux knowledge...
So,
Set static IP
Setup telnet server...
Any takers?
View 3 Replies
View Related