Programming :: Network Interface Is Down?

Oct 27, 2009

Is there any API or event notification scheme to tell when the network is down/up?

View 1 Replies


ADVERTISEMENT

Programming :: Event When Network Interface Goes Down?

Jul 13, 2010

I am trying to write an app that will perform some actions when a network interface is unplugged. Is there a way to get the OS to signal me when a network interface is unplugged. I have looked at DBus but can't figure it out.

View 1 Replies View Related

Programming :: Opening A Network Interface?

Apr 29, 2011

Is there a way to open a network interface (that is not configured, yet), to send and receive some packets? The program will be running with root permissions.

View 11 Replies View Related

Programming :: Library For Get Info About Network Interface

Jun 23, 2010

I want to get info about network interfaces in C , is there any library for this purpose ?

View 1 Replies View Related

Programming :: Detect Which Module/driver A Network Interface Use?

Dec 28, 2010

In C++ or C, is there anyway to detect the name of the module or driver currently used by a network interface card (either wired or wireless, INCLUDING USB DEVICES)?My application must have this feature. I just want to detect whether the module / driver is ndiswrapper or not.

View 4 Replies View Related

Networking :: Prevent Auto Up An Interface At /etc/network/interface File ?

Jul 18, 2011

I have a ppp0 entry with post-up options like this

mapping ppp0
map none photon-plus motorola
map timeout: 12

[code]...

View 8 Replies View Related

Red Hat :: Add IPs To A Network Interface As Virtual Interface Like Eth0:0?

Apr 14, 2011

I found multiple sites explaining how to add IPs to a network interface as virtual interface like eth0:0. However I can add IPs to an interface as well using the ip command: ip a a 192.168.2.2/24 dev eth0 What I want to know is how I can make this persistent on rhel/centos.

View 2 Replies View Related

Ubuntu Networking :: Configuring The Network Interface Via Dhcp - Network Messages - Code: 00 55 89 E5 0f 1f 44 00 00 Fa 5d C3 90 8d 74 26

Apr 7, 2011

I am totally new to Linux and have just installed ubuntu 10.10. After configuring the network interface via dhcp I started getting these messages that come in so frequently I can't configure anything else.

[87.186415] Stack:

Why I am getting this messages and more importantly how do I get rid of them.

The installation is on a VM on Hyper-V.

View 1 Replies View Related

Networking :: Configure A Network Route To A Host For Testing Network Interface?

Aug 30, 2010

today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:

Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15.
Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.

How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?

View 5 Replies View Related

Debian Installation :: Network Interface Up But Network Manager Not Working?

Aug 20, 2010

Config: Squeeze, 2.6.32-5-amd64I just installed squeeze and the network is up and nm-manager deamon if working but the Gnome applet doesn't seem to work as usual. It indicates no network although the network is available as indicated by ifconfig and route below. When I switch WiFi on, the nm works flawlessly. When I click on the applet icon it says "Wired Network: device not supported" (or similar, msg in french is

eth0      Link encap:Ethernet  HWaddr 00:1f:e2:12:ea:d8 
          inet adr:192.168.0.182  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::21f:e2ff:fe12:ead8/64 Scope:Lien

[code]...

View 3 Replies View Related

OpenSUSE Network :: Lost Wired Network Interface Eth0

Feb 14, 2010

Last night while setting up wired & wireless connection in openSuse 11.2 Gnome version via YAST's ifup, I got wireless but lost wired connection (interface eth0). Dmesg shows that eth0 became eth1. I cannot get eth0 back. Is there any way to remedy this situation, eg. get info from the Ubuntu partition in my triple-boot laptop, without having to re-install openSUSE?

View 3 Replies View Related

OpenSUSE Network :: Start Network Interface At Virtual Terminal

Mar 1, 2010

I would like to use zypper to update openSUSE 11.2 through the Virtual Terminals (tty1 thro' tty6).

Network Interface is wlan0 (Wireless LAN, home network through a Router) that requires a password using WPA2.

My question is how to start wlan0 through the command-line ?

View 9 Replies View Related

Fedora Security :: Switch Off The Network Interface But Light Of Network Card Plugged In The Router Stays On (green)

Dec 26, 2010

I have a laptop connected to the the net thru an adsl modem, when I switch off the laptop network interface,(thru system-config-network) the light of the laptop network card plugged in the router stays on ( green) where as in my pc, when i do the same thing , the light of my pc network card goes off in the modem

View 5 Replies View Related

Programming :: Socket Programming Select Interface

Jan 15, 2010

I have currently had the need to go back to basic socket programming, and implemented a simple udp packet sender. But I realized I needed to be able to select which network interface to send the packets from.

The reason is so that one of the interfaces has vlan tagging, and I need my UDP packets to be accordingly vlan tagged. For example, one of the interfaces is eth1.200.

View 2 Replies View Related

Programming :: Interface "eth0" Which Is Down - Wasn't Displayed But Loopback Interface Has Been Displayed

Jan 6, 2011

The following are the output of command "ifconfig -a":

[Code]....

The interface "eth0", which is down, was not displayed, but loopback interface has been displayed. So, how can I make my application display all interfaces, including the interfaces which are down, but excluding the loopback interface?

View 4 Replies View Related

Red Hat / Fedora :: Network Interface Is Down After Restart?

Jan 25, 2010

after restarting my Fedora 10 the eth0 interface is not up

after i manually restart the network service everything is OK but after restarting it is the same problem.

this is the interface config file:

/etc/sysconfig/networking/devices/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth0
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
HWADDR=00:0c:29:8b:82:6b
ONBOOT=yes
SEARCH="mydomainname"

[Code]....

i know i can put the restart service command in the rc.local file but it not suppose to work this way.

View 4 Replies View Related

Debian :: Assign MTU Value For Network Interface?

May 18, 2011

I have dsl broadband shared through a Modem Bridge Mode forwarded to wireless router which is configured for dhcp lease to the clients(1 Desktop, 1 Laptop).

So, in My Debian Testing Desktop, I have following lines in /etc/network/interfaces :

Code:
# 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
auto lo
iface lo inet loopback

[Code]....

View 1 Replies View Related

Networking :: Can't Access Second Network Interface?

Mar 29, 2011

I'm having all sorts of problems connecting an access point to my computer, but here is one piece that I hope will get me going, if I can get it solved.My computer has two network interfaces, eth0 and eth1. eth1 connects to the cable modem and thence the world, and works fine. eth0 is supposed to connect to the access point over a private network. Here is the output from route with my IP address blotted out:

Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

[code]...

View 2 Replies View Related

Networking :: Multicast With More Than One Network Interface?

Jul 30, 2010

If I have set up 2 network interfaces on a box, if I started sending multicast traffic, it will go out through both interfaces? Or is there a way to control through which interface it will go out?

View 1 Replies View Related

Programming :: Best Graphic Design Interface?

Apr 3, 2011

what the best free linux graphic design interface was? Possibly one from the ubuntu one software center. I tried boa constructor and it was glitchy and kept crashing. I want something very easy to use and as simple as possible as i am new to programming. I want something that also supports the major programming languages like python C++, etc and was also wondering where i could go to learn codes for python.

View 4 Replies View Related

Programming :: Interface Glade 3.6.7 And 'C' In Ubuntu 10.10?

Apr 18, 2011

this is my first time here: I've been programming GUI software in C# in MonoDev for some time now. I just noticed that I can use my favorite language, C, with Glade to do the same thing. I've been going through some tutorials with a little frustration with them. Some seem to be written for older Glade versions.

The latest example had me save my Glade project to a "tutorial.glade" file. Then run it through a 'gtk-builder-convert' utility. Problem: the utility program returns errors indicating the the tutorial.glade file was written badly, that there is supposed to be a <glade-interface> tag that is missing.

[Code]...

View 1 Replies View Related

Programming :: Ways Of Handling The ADT Interface?

Nov 30, 2010

During my read, "Code Complete",the author described the different ways of handling the ADT interface.He has wrote this passage:

Quote:

Option 2: Explicitly provide the data used by the ADT services. In this approach, you declare the data that the ADT uses within each routine that uses an ADT service. In other words, you create a Font data type that you pass to each of the ADT service routines. You must design the ADT service routines so that they use the Font data that's passed to them each time they're called. The client code doesn't need a font ID if you use this approach because it keeps track of the font data itself. (Even though the data is available directly from the Font data type, you should access it only with the ADT service routines.This is called keeping the structure "closed.") The advantage of this approach is that the ADT service routines don't have to look up font information based on a font ID. The disadvantage is that it exposes font data to the rest of the program, which increases the likelihood that client code will make use of the
ADT's implementation details that should have remained hidden within the ADT.

The problem is that it is a bit subtle in terms of coding for me. Can anybody give more concrete example, in working codes, especially in Java?

View 2 Replies View Related

Fedora Installation :: Enabling Network Interface ?

Jun 30, 2009

I'm facing some problems with FC11 in my PPC G4. I tried installing and everything went well until it reaches a stage where I'm being prompted to select my network interface.

The options are: wlan and eth0

But no matter which one I choose I still get this error "An error occurred trying to bring up the wlan0 (or eth0) network interface". And if I click cancel, the installation aborts. how can I can FC installed??

View 3 Replies View Related

Fedora :: Inactive Network Interface Card?

Aug 29, 2009

tell me how to activate my wired NIC permanently?Also, how do I disable the 'work offline' check box in Firefox.At present I am required to action both before accessing internet.

View 2 Replies View Related

Fedora :: Cannot Create The Hamachi Network Interface

May 9, 2010

I simply cannot get this to work, has anybody managed it?

My problem is related to tuncfg I believe. I make the modification to the source of tuncfg to change ifconfig to /sbin/ifconfig. If I run hamachi start debug I get the following output:

It appears it cannot create the hamachi network interface because it doesn't appear under ifconfig.

Code:
09 23:14:39.810 [ 117] [ 3338] ipc: login
09 23:14:39.810 [ 117] [ 3338] ses: set_reconn(no)
09 23:14:39.810 [ 117] [ 3338] ses: go_online
09 23:14:39.810 [ 117] [ 3338] ses: state 1.1 -> 2.0

[Code].....

View 4 Replies View Related

OpenSUSE Network :: Interface Configuration With Bridges?

Apr 20, 2010

I have a little problem with my Linux Suse 11.2 Server. I have unused network card with one port, and one with 4 ports and two used ports.

so->
eth1 is connected to a dsl-modem
eth2 is connected to a switch

i want my suse server to route between modem and switch.

Somehow, I can't go in the internet via eth1. I have to create a bridge br0 to go in the internet. very strange, when i delete the bridge and set eth1 as primary device, i have no internet.

How can i route from eth2 (10.x.x.x) to (eth1 or br0 (80.109.145.x) to Modem (80.109.145.1)?

View 1 Replies View Related

OpenSUSE Network :: Adding An Addition Lo Interface?

Sep 3, 2010

how can I go about adding an additional lo interface, like lo:0? I need to create this interface, give it an IP and set it to not arp, so this box can be behind a load balancer. Just copying ifcfg-lo and changing the requisite attributes did not work, got an error saying "Interface lo:0 is not available".

View 2 Replies View Related

OpenSUSE Network :: Setup A Dummy0 Interface On 11.3?

Nov 26, 2010

In previous releases 11.2 and lower it was possible to load the dummy network module using modprobe dummy0. But this module is not available for 11.3. So how to setup a dummy network interface?

View 1 Replies View Related

Ubuntu :: Program To Specific Network Interface?

Mar 23, 2010

Is there a way to make a program use a specific network interface ? When using my laptop at work i may be physicaly connected to multiple networks. i was wondering if i can make sure that certain applications use a specific network interface. I would google around for the answer but i cant figure out how to phrase it correctly for a search.

View 2 Replies View Related

Ubuntu Servers :: Network Interface Not Found?

May 9, 2011

Alright, here's the problem: I have a server going that was running 10.10, then upgraded to 11.04 with no problems, but when I reinstalled 9.04 (so i could muck around with GNUPanel), the install couldn't find the ethernet on the motherboard (which I had no problems with on 10.10 or 11.04). I'm a bit of a newb, but it seems to me that something is very wrong here because I can't get online. All of the other computers in my house are unaffected, so I think I can narrow it down to the device not being recognized, but beyond that, I'm lost.

View 3 Replies View Related







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