Networking :: Pseudodevice And Loopback Device ?

Nov 22, 2010

The concepts of pseudodevice and loopback device ?

View 1 Replies


ADVERTISEMENT

Networking :: Communication Without Loopback Device

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

Fedora :: WebCamStudio- No Loopback Device

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

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 View Related

Ubuntu :: Mount Loopback Device As Root

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

Server :: Loopback Device - Maximum Size

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

General :: Create A Growing Image For A Loopback Device

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

SUSE / Novell :: DNS And 127.0.0.2 Address / Loopback Device Lo Has Two Addresses?

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

Ubuntu :: Code To Access Hard Disk Sectors (LoopBack Device)

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

Fedora Networking :: Loopback Mtu 16436 ?

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

Networking :: Ipv6 Loopback Configuration

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

Ubuntu Networking :: Loopback Interface Not On Startup?

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

Ubuntu Networking :: How To Enable Loopback Connections

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

Ubuntu Networking :: Setting Up Work Loopback Server

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

Ubuntu Networking :: Loopback Won't Work When Not Connected To Any Network?

May 6, 2010

I'm using Wordpress on Apache localy to keep a diary (it's convenient because of the tags).
When I'm connected to any network (be it wired or wireless) my Apache (and Wordpress, of course) works just fine. But as soon as I go offline, I can't access the web server neither through browser nor by telneting to the 80th port. Pinging localhost works just fine.Here is my ifconfig when offline and when online:Online:

Code:
eth0 Link encap:Ethernet HWaddr 00:24:54:6f:07:aa
UP BROADCAST MULTICAST MTU:1500 Metric:1

[code]...

View 7 Replies View Related

Ubuntu Networking :: Nat Loopback - Get The Sever Viewable To Everyone Outside Of My Network ?

Sep 1, 2011

So I have an Ubuntu server setup but my modem from my ISP only has one ethernet port so I have to run my server behind a router. I have been able to get the sever viewable to everyone outside of my network but when someone is inside my network they have to view the server by the direct IP the web address doesnt work nor does the actual static IP. I believe this is something to do with my router not being able to loopback. It is a belkin N600 DB.

View 7 Replies View Related

Networking :: Pppd Nomagic To Stop Loopback Errors?

Oct 16, 2010

QUESTION: Where do I add "pppd nomagic" to stop analog modem loopback errors? (I am using Gnome PPP.)BACKGROUND INFO:I am using Ubuntu LTS 8.04 on a laptop and have an analog modem connected via USB serial cable. The 8.04 dialup and the analog modem work flawlessly.Modem disconnects when using Ubuntu LTS 10.04.1 Live USB:I am testing LTS 10.04.1 on a live USB drive that I purchased preinstalled from On-Disk.On the live USB drive, I am able to get a dialup connection with my ISP long enough to pull up a web page with the browser. However, the analog modem disconnects within minutes with exit codes 16 or 17.an pppd:16 The link was terminated by the modem hanging up.The PPP negotiation failed because serial loopback was detected.

View 1 Replies View Related

Networking :: Will Bringing Down Loopback Interface Make Whole Server To Go Down?

Dec 14, 2010

I have a client's linux server where someone added a script which sends spam mails from the server's local loopback address (127.0.0.1) all my seniors worked on it and couldn't trace the script on the server this issue was going for a week, now I have an idea to bring down the loopback interface of that particular server(ya, that was not a permanent solution but just had an idea), but my support manager told that it will bring the whole server down(so far as i have learn't loopback address is used only for testing the NIC card's functionality), is that really bring the server down.?. How ever i tried this using a test machine all the connections works fine even after i bring down the loopback interface. As my client's server is a production server i can't test it there without clear knowledge, can any one help me out whether will it bring down the server or will it cause any side effects on it(i know that you guys are experts so i am asking it here)?

View 5 Replies View Related

Fedora Networking :: Wired Connections - Shutting Down Loopback Interface

Jun 22, 2010

I have a problem with my F13 and wired connections on my Acer TravelMate 2410. When I connect the inet cable it doesn't show it as connected. When I type ifconfig, it shows everything as it should. When I tried to bring up eth0 with ifup eth0, it said that the device is not managed by NetworkManager. I tried to restart nm with service network restart, but it gave this error:

Shutting down loopback interface: Error org.freedesktop.NetworkManagerSettings.InvalidConn ection: ifcfg file ;/etc/sysconfig/network-scripts/ifcfg-lo' unknown

The same error came up for eth0 and Wired_connection_1 (the connection I configured from NM )
When I typed nmcli dev list it gave me:

GENERAL.DEVICE: wlan0
GENERAL.TYPE: 802-11-wireless
GENERAL.DRIVER: ath5k
GENERAL.HWADDR: 00:14:A4:4D:B8:FC
GENERAL.STATE: disconnected
CAPABILITIES.CARRIER-DETECT: no
CAPABILITIES.SPEED: unknown
WIFI-PROPERTIES.WEP: yes
WIFI-PROPERTIES.WPA: yes
WIFI-PROPERTIES.WPA2: yes
WIFI-PROPERTIES.TKIP: yes
WIFI-PROPERTIES.CCMP: yes

GENERAL.DEVICE: eth0
GENERAL.TYPE: 802-3-ethernet
GENERAL.DRIVER: 8139too
GENERAL.HWADDR: 00:0a:E4:EB:32:E2
GENERAL.STATE: unavailable
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 10 Mb/s
WIRED-PROPERTIES.CARRIER: off

View 2 Replies View Related

Ubuntu Networking :: Added Some Loopback Ip's And Strange Behaviour Ensues?

Feb 7, 2010

I added the following lines to my /etc/rc.local file:

Code:
ifconfig lo:0 10.10.10.1 netmask 255.255.255.0
ifconfig lo:1 10.10.10.2 netmask 255.255.255.0

[code]....

View 5 Replies View Related

Ubuntu Networking :: Network Tools Defaults To Loopback Interface

Jul 22, 2011

I'm running Ubuntu 11.04 and I've been unable to access any type of Internet service besides web browsing. When I check on Network Tools, it's always set on Loopback Interface, regardless of whether I've just switched it to Ethernet Interface. I haven't been able to download system updates through Update Manager. I'm not very experienced with Ubuntu.

View 9 Replies View Related

CentOS 5 Networking :: Slow System Due To Hostname Loopback Address?

Jan 12, 2010

New CentOS 5.4 system working fine. Sys admins came in and copied the hosts file from one of the servers down to my desktop and ever sincethen machine has been slow (progs take 10-20seconds to load). RunningGnome. Luckily I saved the old hosts file and copied it back and all is now well. But I'd like to understand why, particularly as I will need to change myhostname in the future.

As configured:
/etc/hosts (yes my hostname is "dummyName" that I will need to change later)
127.0.0.1 dummyName localhost.localdomain localhost

[code]....

View 5 Replies View Related

Ubuntu Networking :: All Wireless Stops Working If Loopback Is Enabled In Router?

Jun 8, 2010

I'm running a Source Dedicated Server on my Ubuntu laptop, and to connect to it via external IP from other computers in the network I need to enable loopback in my router.This was working fine, but then I disconnected my laptop for a few days, and when I came back the wireless stopped working on my Xbox. I reset the router to factory defaults, and then setup everything again. It was all working fine until I enabled loopback again and power cycled my router. Now every time I do that, the internet on Ubuntu stops working and the wireless on the Xbox stops working.

Edit: You can ignore this I guess. It seems I was actually DISABLING loopback by enabling that router option, which I guess caused this. Strange, because the first time enabling this option was the only way to get my external ip to work. Oh well, everything is fine now.

View 1 Replies View Related

CentOS 5 Networking :: Add Extra Loopback Adapters Like Windows - For GNS3 Router Emulation

Mar 26, 2009

I have been searching the forums for quite a while, to add extra Loopback adapter in Centos 5.1, but no success! Could you please suggest me the steps? in Windows, it is quite easy to add as many adapters as you want. wondering, if this is even possible in Linux? I have to run GNS3/Dynamips for router emulation and bind those Loopback adapters to virtual routers!

View 5 Replies View Related

Fedora Networking :: 3G USB Modem Has Wrong Device Port In NM - Change Device Port In Network Manager?

Aug 14, 2009

I installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?

View 1 Replies View Related

General :: Postfix Loopback To Myself

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

Software :: Mount UFS Loopback ?

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

Fedora :: Loopback Audio To Local Speakers

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

OpenSUSE Install :: Using Non-LUKS Loopback Encryption In 11.3?

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

Ubuntu Multimedia :: Audio Loopback Not Present?

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







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