Programming :: Finding A Code For Network Adapter Information?

Nov 13, 2009

I want to get the hardware information in linux. As in windows we can have API to get the network adapter information and all. But in linux why dont we have? i try to read network adapter info in /proc/bus/devices file.. but that file is very hard to parse.and i looked at the lspci source c ode. but unfortunately I dint undersatnd that code to get the network adapter information.

View 1 Replies


ADVERTISEMENT

Programming :: Finding The Tcl Code For Cognitive Wireless Network Scene

May 24, 2011

finding a tcl code for cognitive wireless network scene

View 4 Replies View Related

Ubuntu Networking :: Finding Drivers For Network Adapter?

Jun 30, 2010

I've installed it and it looks great. my problem is that I cant connect to the net since I could not find the driver for my onboard network adapter. it is a Gigabyte GA 945 GCM S2L board. of coarse I searched their site but it says that Linux driver I have to achieve from 3rd party. the adapter's chipset is a Realtek RTL 8111C but I could not find the driver for it. the only one that I've found - doesn't work. I must point out that when I've searched driver for my Nvidia display adapter- I've found it on Nvidia's site and it works great.

View 2 Replies View Related

Networking :: Finding A Network Simulator Code In C++ And Perl Not Using Tcl Or Otcl?

Apr 19, 2011

I need to refer a sample code to develop a network simulator using c++/system c as back end and perl scripting asd front end.CAn anyone please refer to me any websites were this kind code is given.I do not want to use this otcl script language so wothout this is any code available just for sample so i wii know were to start and develop my own code.

View 3 Replies View Related

Programming :: Bash Script For Finding And Replacement In Any Webpage Code?

Feb 19, 2011

I want to write Bourne-shell script that will be to do finding and replacement in any web page code (.htm file) name of the tied folder in which have been saved pictures, .css, .js and other files. This folder create a web browser when we save web page completely and has so name as web page and has ending '_files'. I have many web pages where name of their folder are incorrect. Of course, my web browser shows these web pages without pictures. I can count amount of web pages in a folder (/path) needed for me.

1) find /path -type f -name "*.htm*" -print | grep -c .htm or find /path -type f -name *.htm | wc -l I can get list of web pages.

2) ls /path *.htm > out-list But I don't know how to assign the value from out-list (2) or result commands from pipeline (1) to a variable. Then I want to do next:

3)

var="1"
# where variable 'list' is an amount of web pages
while [ $var -le $list ]

[code]....

4)assign the 1st (then 2nd , etc. ) value from out-list (2) to variable 'webfile'
sed -n $var,+0p out-spisok

5)find the 1st string value '_files' in the 'webfile' grep -m1 _files $webfile

6)For example, 'abracadabra_files' is an incorrect folder in the 'webfile' I must to know start and end position 'abracadabra' without ending '_files', "cut" name of the incorrect folder and assign it to the variable 'finder' finder = 'abracadabra' BTW, name of a folder before '_files' is between '="' and '_files' in any web page code.

7)foldernew = $webfile (without '.htm')' foldernew' is equal with name of the tied folder without ending '_files' in the folder '/path'

8)find and replace in the 'webfile' and save result in the 'webfile-out'sed s/$finder/$foldernew/g $webfile > $webfile-out

View 5 Replies View Related

Programming :: Finding A Partition Type Reader Script / Code?

Aug 6, 2010

I was wondering if there is anyone who has some kind of a small script/code (preferably in C/C++) which reads a partition and just displays the type. For example, the script/code would be called partype and should be something like this: partype /dev/sda1, will read sda1 and display for example ext4, because sda1 was formated as ext4.

Note: I'm not a developer so I have no idea how this should be done, plus I would like the script/code to do it by itself the checking, without using fdisk/sfdisk/cfdisk/parted/gparted, because none of this apps work quite well when it comes to the partition type or file system type.

View 13 Replies View Related

Programming :: Create Script That Gives Network Computer Information?

Oct 28, 2009

I am new to scripting and I have planned to create script which gives me network computer inforamtion. therefore, I want to know how to write script that sends me computer information to my email add.

View 4 Replies View Related

Programming :: Apache Configuration To Connect To Network Adapter Via Web Application

Feb 15, 2009

I want to run snort through a web application with exec("snort -v -i eth0 ") php function.for example when start button was pressed snort should be run,but the execution failed with this error:but when I run snort command via command line as root it will execute successfully.I think this problem is for that apache user haven't access to network adapter, is my guess correct? I have no experience with apache, should I change apache configuration? what is the configuration for this problem.I think I should find a way to allow apache to access but I don't know how?

View 2 Replies View Related

Fedora Installation :: Finding Information About Installed Package?

Mar 26, 2009

I just installed a package using the System -> Administration -> Add/Remove s/w tool.

How can I find information about what files it has installed and where? I was expecting to get some header files from this package but cannot find them in the normal places like /usr/include etc.

View 5 Replies View Related

Debian Configuration :: SSL - Can't Input Information Such Country Code?

Aug 28, 2011

i followed a Tutorial about configuring apache to have HTTPS Protocole , but since i ask for a certificate , i can't input information such country code etc , i'm runing this configuration on Webmin , i'm using Debian of course so how can i input the code ?

View 1 Replies View Related

Ubuntu :: Finding Information Supplied To Verify A Downloaded .iso For Security?

May 28, 2011

I searched Using my User Name and did not find the post post made for this problem.Still the search using the User name does not return the first post or this.

View 4 Replies View Related

Fedora :: Finding Drivers For Wireless Adapter?

Mar 2, 2009

i have just installed Fedora 10 and now my wireless adapter doesn't work and i think it's because i need to install drivers for it.. I have been using Ubuntu for the last few weeks and it worked fine in ubuntu probably because ubuntu comes with drivers for my adapter already installed.. Now, i'm kind of newbie so i don't know where to look and what to do.I did lspci and here is my adapter.. Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

View 1 Replies View Related

Programming :: Selenium Java Code Into Equivalent Php Code?

Mar 30, 2011

I need to rewrite the selenium java code into its equivalent php code.

View 5 Replies View Related

General :: Finding The Kernel Source Code?

Apr 14, 2011

where can i find linux kernel source code?

View 4 Replies View Related

Ubuntu :: USB Over Ethernet - Finding Source Code In Package?

Jun 23, 2010

First of all, I am pretty new to linux and I have 2 install a USB OVer IP software. I downloaded the software for UBUNTU n I really do not know where to find the installer. I want to find the source code in the package too.. its an open source project. So I believe the source codes are included in that .

View 5 Replies View Related

CentOS 5 Hardware :: Finding And Installing A Driver For The Linksys WUSB300N Wireless Adapter?

Mar 23, 2010

finding and installing a driver for the Linksys WUSB300N wireless adapter.

View 1 Replies View Related

Red Hat :: Install Ethernet Adapter Driver - Not Finding Kernel-devel Or Kernel-headers

Aug 30, 2010

I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).

I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."

After this, I tried: 'sudo yum install kernel-devel kernel-headers'

To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?

View 5 Replies View Related

Ubuntu Networking :: Broadcom On 2.6.34 - Reinstall Error Code: Reading Package Lists ... Done Building Dependency Tree Reading State Information

May 20, 2010

i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...

[Code].....

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

Programming :: Displaying The Information Using Awk?

Jan 14, 2010

i am using awk to display my information in a certain order.

Database :

Code:

Persia:42:John
France:50:Mabel
Persia:50:Rach
Germany:60:John

My expected output is :

Code:

Title Price Author
Persia 42 John
France 50 Mabel

[code]....

I tried using cut command but it also gives me the same problem. If i do not assign it to a variable, how am i able to format it to display it in the correct format?

View 4 Replies View Related

Programming :: C++ Search And Handle Information

Sep 26, 2010

I would like to make program that reads a *.TXT file and searches for last line and constatly refreshing the search. So last line would look something like this:Mike Had A 100.0 Pound Shark.So there are multplie category of "fish"(Shark, Dolphin, etc.) and each of them have allowed weight (ie. minimum 70.0 Pound Shark, 50.0 Pound Dolphin). If in the found sentence Shark or Dolphin doesn't meet requierments than program named False.exe should be started. I dont know how to make it my self so any help is much appreciated. My knowledge on programming is very low but I'm opend for learning.

View 1 Replies View Related

Programming :: Add Version Information To An Executable?

Mar 2, 2010

when compiling a c++ program in g++ on Linux, how can I add version information to that executable and if possible is there a Linux utility to read the version information?

View 2 Replies View Related

Programming :: Prompt For Some Information From PAM Module?

Jan 8, 2011

I'm writing a Plug-gable authentication module for ssh. I am looking for prompting for some extra information after user name and password verification but before giving access to user.Actually after SSH I want to extend the same for some other services. So I am looking at some PAM module level suggestion.

I tried using conversation method with message style=PAM_PROMPT_ECO_ON but it results in PAM_CONV_ERR and conversation fails. Is it right way to interact or please suggest me If I'm doing wrong somewhere. When I use message style=PAM_PROMPT_ECO_OFF communication succeeds but message is not shown and interaction doesn't happen.

I've pased the sample code I've written at url.

Code:
#include <sys/types.h>
#include <string.h>
#include <pwd.h>
#include <grp.h>
#include <syslog.h>
code....

View 3 Replies View Related

OpenSUSE Network :: NetworkManager Information Tab For VPN Connection

Mar 15, 2010

I have a successfully connected VPN connection. When hovering on the networkmanager applet it show beside the wireless connection also the connected VPN. The icon also changed from staircase-bar to staircase-bar with forelock. Oh yeah I'm using GNOME desktop.However when right-clicking on it and choose Connection Information I can only found tab for the wireless connection. How can I have the information tab also for the VPN connection, showing like IP address and gateway used?

View 1 Replies View Related

OpenSUSE Network :: Snmp On 11.4 Gives No Disk Information

Jun 28, 2011

Since OS 11.4 I don't get information about my disks any more.

I only get
hrStorageDescr.1 = STRING: Physical memory
hrStorageDescr.3 = STRING: Virtual memory
hrStorageDescr.6 = STRING: Memory buffers
hrStorageDescr.7 = STRING: Cached memory
hrStorageDescr.10 = STRING: Swap space
hrStorageDescr.33 = STRING: /dev/shm
...

But I cannot find the disk (disk / 5%)
hrStorageDescr.31 = STRING: /
...

View 3 Replies View Related

Ubuntu :: Clearing Information About A Wireless Network?

Sep 18, 2010

How do I get rid of the information that Ubuntu stores for connecting to wireless networks?

I'm asking because I have two wireless networks nearby: my personal network and my school's network. I tried one time to connect to the school's network using the standard prompts but none of them worked - however I could connect to my personal network just fine. The problem is that Ubuntu remembered the incorrect information I entered for my school's network and keeps trying to connect to it.

It's annoying because whenever I'm in range of both networks I keep having to manually tell it to stop connecting to my school's network and to connect to my personal one instead.

View 2 Replies View Related

Server :: Network Information Service Configuration?

May 17, 2010

How do you setup Secondary or Slave Servers in NIS? Will the domain of the slave server be the same as the Master Server?

View 1 Replies View Related

Programming :: Get Information About Description Number Usb Device

May 10, 2011

How can I know what number descriptor is used by my usb device indicate via libusb_device_handle structure ? I can't find declaration of libusb_device_handle structure. I need this information to use poll() function where I need decripttion number of device.

View 1 Replies View Related

Programming :: Get Information About Description Number Usb Device?

May 10, 2011

How can I know what number descriptor is used by my usb device indicate via libusb_device_handle structure ? I can't find declaration of libusb_device_handle structure. I need this information to use poll() function where I need decripttion number of device.

View 4 Replies View Related

Programming :: Perl Extract Information For A Particular Column?

Oct 24, 2010

I have a file which has the output as shown below:

Code:

Teams | matches |Goals | YC | RC
------------------------------------------------------------------------------
Liverpool: | | | |
Gerrard | 97 | 100 | 41665 | 1342

[code]....

I need to extract the Info from the RC column for the first 4 players of liverpool. The test code i have does the same,but can anyone show me a better way of doing it.I could do it easily with gawk -F"|" and print the respective column,but i need to do this in perl.

Code:

#!/usr/bin/perl
use strict;
use warnings;

[code]....

View 7 Replies View Related







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