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


ADVERTISEMENT

Programming :: Opening A Text File From Glade Interface?

Jan 26, 2011

opening a text file from glade interface.how?using c code

View 1 Replies View Related

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

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 :: 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

Programming :: Opening Ports With Perl?

May 12, 2011

im working on a perl script to automate the setup on a few machines. Does any one know how to open ports using perl?

ps: The systems are redhat so id be editing the iptables file..

View 6 Replies View Related

Programming :: Xdg-open: No Method Available For Opening?

Jun 30, 2011

I am not a programmer. But I feel safe enough to edit a file (afteracking it up of course.)I am using Arch with Enlightenment (E17.) I installed fwbuilder. Now when I click on the tutorial button it would not start my browser at all. The terminal gave this error;

Code:
/usr/bin/xdg-open: line 478: firefox: command not found
/usr/bin/xdg-open: line 478: mozilla: command not found

[code]....

View 2 Replies View Related

Programming :: Detect Opening Of A File Using A C Program?

Jul 19, 2011

how to detect if a file is being opened by any application so that i can block it just before opening it... Actually i am working on android and using iNotify in JNI to detect the OPENING of a file...but the file is getting opened before the iNotify detects it..and therefore its displaying the contents of the file unmodified .. The actual requirement is that if anyone is trying to open the file it should be modified by my program and then the modified file should be opened.

View 10 Replies View Related

Programming :: Opening A Serial Port From Interrupt?

Aug 17, 2010

I'm trying to open ttySx from an interrupt.the kernel crashes. is it possible to open/write to serial port from interrupts ? I think it crushes because when I try to open the device there is a mutex lock which cause the kernel to crash , am I right

View 2 Replies View Related

Programming :: C Code Fails On Repeatedly Opening /proc?

Jan 16, 2010

I am trying to run my code repeatedly in a loop about 50 times for timing measurement. I have C code running on ubuntu 8 on a single processor, Intel x86. My code is something like this

Code:
for (loop =0;loop<=50;loop++)
{
// other operations
pDir = opendir("/proc");
while (pDir == NULL)

[Code]...

After about 28-29 times the loop stops executing. I initially had a return -1 if I got pDir == NULL. That caused my program to exit, and I dont want that. Any clues on why this happens, and how I can circumvent this?

View 1 Replies View Related

Programming :: Opening A Text File With C++ Or Visual Basic?

Apr 29, 2010

I am a beginner at programming and have been given an assignment by my professor. Its a text file with lines of varying lengths. All I have to do is write a code to open the file and see the output in an excel sheet. Have been asked to use C/C++ or visual basic

View 5 Replies View Related

Ubuntu Servers :: Will Opening Port 80 Affect All Computers On A Network

Oct 11, 2010

I'm thinking about making a web server but, I have an issue:will opening Port 80 affect all computers on a network?

View 1 Replies View Related

Ubuntu Networking :: Able To Connect Wifi Network But Sites Are Not Opening

Apr 9, 2011

I have just installed ubuntu 10.10 but my problem is i am able to coonect wifi network but sites are not opening so where is problem

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

Fedora :: System Monitor Not Opening / Thunder Bird Opening But Not Showing Any Folder Including Inbox?

Nov 20, 2010

i am using Fedora 14. Once system get hanged during opening a video file so I had to restart the system by pressing restart button. But after restarting there are few problems appearing like system monitor not opening and Thunder bird opening but not showing any folder including inbox.

---------- Post added at 04:54 AM GMT ---------- Previous post was at 04:42 AM GMT ----------

Looks like SElinux has stopped working

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







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