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
ADVERTISEMENT
Mar 22, 2011
How do I find out which package (rpm) contains the ipg (network driver) module?
View 1 Replies
View Related
Oct 27, 2009
Is there any API or event notification scheme to tell when the network is down/up?
View 1 Replies
View Related
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
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
Jun 1, 2009
When I try to load the Realtek 8187 modules to kernel using the ./wlan1up command, I get the following error:
[root@localhost rtl8187_linux_26.1025.0328.2007]# ./wlan1up
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 File exists
[code]...
Can someone tell me how to correct the "Invalid module format"? I hope that correcting the "Invalid module format" error, I will not have the "Unknown symbol in module" error.
Note: I am using wlan1 for this module as I previously am online with the wlan0 network.The same error occurs if I use ./wlan0up.
View 3 Replies
View Related
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
Apr 22, 2010
I want to add some code in existing linux2.6.33.2 to enhance kernelI want to know how to start and where to add code.
View 2 Replies
View Related
Feb 4, 2011
My gentoo laptop doesn't have a serial port, so I got a usb-serial (RS-232) adapter from ebay. However when I plug it in, the only thing dmesg mentiones is: Code:usb 5-1: new full speed USB device using uhci_hcd and address 2I've tried to look for a kernel driver in "make menuconfig" by pressing "/" and typing 232. Nothing about RS-232. Device Drivers -> Character drivers -> Serial drivers has 8250 and UART as a module. Device Drivers -> USB support -> USB serial converter support has in-kernel: USB generic serial driver, and FTDI Single port driver as a module, but it still isn't getting recognized.Is there some module i forgot to enable, or do i have to download a separate module from somewhere?
View 5 Replies
View Related
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
Feb 20, 2010
I have Centos5.4 loaded on a late 2008 MACBOOK Pro and would like to get wireless working. I've attempted to download the broadcom driver and create a driver module with no luck.
Using these instructions....
[url]
When I make the WLAN driver, I get this:
View 2 Replies
View Related
Aug 3, 2010
I am using fedora 13 and have installed ettercap from Add/Remove Software in Fedora. But when it is starting(Application->Internet->ettercap), it is not able to detect any interfaces ( i am using eth0 interface, wired lan ).
View 4 Replies
View Related
Apr 6, 2011
I got OpenSUSE 11.4 and VLC is not working also here is the output:
VLC media player 1.1.8 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x81de8b4] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
[0x81de8b4] main interface error: no suitable interface module
[0x81dfb04] main interface error: no suitable interface module
[0x804e12c] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x804e12c] main libvlc: Running vlc with the default interface.
Use 'cvlc' to use vlc without interface.
[0x81deebc] qt4 interface error: Could not connect to X server
[0x81deebc] skins2 interface error: Cannot open display
[0x81deebc] skins2 interface error: cannot initialize OSFactory
View 6 Replies
View Related
Jun 11, 2011
I'm trying to write a small script and there's one part of it that makes me sick:
Code:
ifconfig eth$num down
sleep 6
ifconfig eth$num hw ether $mac
ifconfig eth$num up
The problem is that the ethX interface doesn't go down immediately after the first line is executed. So sometimes the change of MAC is called while ethX is up, no matter how big is the sleep time, which results in an error. Is there a way to make this work right?
View 1 Replies
View Related
Sep 6, 2011
I have a FireWire camera LifeSize connected to my PC in the FireWire interface. My PC has miniPCI slot and with external converter its having a FireWire interface. Now its Ubuntu who is not showing me anything at all when i try:
$ uname -a
Linux desktop 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux
[code]....
View 1 Replies
View Related
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
Dec 23, 2008
I had return a driver for receiving and transmitting packets for the ethernet controller named rtl8139.I want to test it by writing an application program (socket programming).But I am unable to link it with the interface. Can anyone help in this regard?
View 1 Replies
View Related
May 18, 2010
Is there a tool for Ubuntu that will detect whether I have a SATA or a PATA hard drive interface, even if there's no hard drive inserted?
View 3 Replies
View Related
Jun 27, 2010
I am interested in using fortran and an external library called matio used to save arrays to matlab .mat files. I have installed the matio and matio-dev packages from synaptics but i cannot compile a code receiving an error Code: christos@christos-laptop:~/Desktop$ gfortran -o test test.f90 -lmatio -lz test.f90:2.13: USE MATIO 1
Fatal Error: Can't open module file 'matio.mod' for reading at (1): No such file or directory How can i load a module in order to use it in fortran through the GCC compiler?
View 1 Replies
View Related
Jan 16, 2011
I have installed WICD on Debian . I can now access a new a Network Manager screen, which did not exist before, but it does not display/detect any wireless networks. It is like dead. Before installing WICD I did at least have a wireless WPE encrypted network, which was detected, although it often disconnected for no known reasons. Now even that Network has gone and I can't go on line. Can anybody help here? How can I configure the WICDNetwork Manager to detect an existing network or create a new one? In the latter case, would I have to reconfigure the Router settings to setup/connect to a network in Debian? May be I have to do this, because Tor/Vidalia changes my IP address and so my Network Adapter ( Linksys) can no longer connect to the router.
Also, when trying to follow troubleshooting leads in this connection, the Terminal screen on Debian ( CMD) would often return a PERMISSIONS DENIED message.
View 4 Replies
View Related
Jun 8, 2011
I am having a situation where I couldn't connect to Internet through wireless and LAN cable. I have done ifconfig, it only shows me "lo" info. May I know how can I bring up the LAN and wireless?
View 2 Replies
View Related
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
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
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
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
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
Jan 22, 2011
i'm trying to compile a driver module on ubuntu 10.10 . initially i was getting a lot of include file errors. but then when i added the include path. but after doing that i was getting a series of errors which i have no idea how to solve and it wont fit in one page. i've followed the same way how it is given in the tutorials online but still i'm not able to get it done. Is there any simple method to do this? is there something that i shouldn't do.
View 9 Replies
View Related
Dec 18, 2010
The nouvea drivers work with some xrandr magic, but the closed-source drivers won't. They fail to detect a possible resolution over 640x480. My monitor has a native resolution of 1440x900 @ 60hz. I've tried to modify my xorg.conf, but to no avail. I installed the latest nvidia drivers from the site instead of the repo drivers, version: 260.19.29, this is my xorg.conf, basically a standard xorg file:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 260.19.29 (buildmeister@swio-display-x86-rhel47-04.nvidia.com) Wed Dec 8 12:27:39 PST 2010
Section "ServerLayout"
[code]....
View 4 Replies
View Related
Jan 8, 2010
how to detect and install a mic device driver? i only plug and play the mic in xp.
View 1 Replies
View Related
Dec 18, 2010
I have to install a linux destribution (Ubuntu 2.6.21) on an embedded PC which contains a FlashCard instead of the HDD.On the bootup, the installation cannot start since it cannot detect the FlashCard on which it will make the installation; therefor, i have to add the driver of this FlashCard to ISO CD
View 2 Replies
View Related