Programming :: Finding The Tcl Code For Cognitive Wireless Network Scene
May 24, 2011finding a tcl code for cognitive wireless network scene
View 4 Repliesfinding a tcl code for cognitive wireless network scene
View 4 RepliesI 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 View RelatedI've a question regarding two camera images. Suppose I've detected 2d window coordinate of 8 markers of an object in a scene in one camera and detected window coordinates of 10 markers of the same object on another camera.
I've detected the marker. It was easy. Now how do i know which window coordinates on two cameras are the coordinates of same marker? I mean there are markers captured on both cameras and some of them are representing the same marker in both cameras. I just like to know which ones are same on both cameras. Is it possible to find that out using opencv?
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 RelatedI 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
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.
desktop has been running Ubuntu 10.10 just fine since December. Today, the connections menu shows nothing but "Wireless Networks: disconnected." My laptop is inches away and has a full connection.I'm not sure what diagnostic tools I have at my disposal. The one thing I've been able to do is lspci. The relevant output of sudo lspci -v | less is:
03:05.0 Network controller: RaLink RT2561/RT61 802.11g PCI
Subsystem: RaLink EW-7108PCg
Flags: bus master, slow devsel, latency 64, IRQ 20
[code]...
Found about this website in vector linux site,you can check before you buy if the wireless adapter works with linux or not, so I think is a good tool to check wireless adapters by manufacturer, interface or chipset, it even have links to the drivers websites,
[URL]
ive got a Ubuntu v9 and i wanna get my internet to work on it, ive looked all over the place but i cant find a driver for:
linksys wireless-G USB network adaptor
model number:WUSB54G version: 4
I'm using a hp dualprocessor athlon 11 g42-415dx notebook pc and my wireless wont work i put the passcode in wicd program and it says bad password. So i tried the pin code on the wireless router and that didnt work so am i doing something wrong or is there something wrong with the hardware? i got the wired connection to work but cant get wireless its a little more complex.
View 1 Replies View RelatedI need a simple traffic monitor for Linux, that counts the traffic in a specific wireless network because I have volume restrictions on that one.I tried it using the following iptables rule:
[code]...
iptables -m mac -A INPUT -p all --mac-source <mac-address> ! -s 10.0.0.0/8
where <mac-address> is the router's one. 10.0.0.0/8 is the local subnet. What I actually want is something like --routed-through <mac-address>. Also, is there some way to gather iptables's statistics? Or is there maybe another tool that does what I want (reliable)?
I installled Ubuntu 10.4.1 on a brand new computer with a Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller on a Foxconn G41MXE motherboard. and I have been unable to connect to wireless network. I have gone through the wireless trouble shooting guide to no avail. When i "check for device recognition" i get the following (note the is no CLAIMED UNCLAIMED ENABLED OR DISABLED)
udo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
[code]...
I need to rewrite the selenium java code into its equivalent php code.
View 5 Replies View Relatedwhere can i find linux kernel source code?
View 4 Replies View RelatedFirst 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 RelatedHow to configure cognitive radio using Linux?
View 1 Replies View RelatedCognitive Radio patch worked with ns-2.31 but when I tried it for ns-2.34 it did not work. Is there a separate patch available for ns-2.34 to support cognitive radio ? Or does it not work with ns-2.34 at all ?
View 2 Replies View RelatedMy C++ program must be able to detect EVERY Wireless Network Interfaces under Linux operating system and display the interface names on the screen.How can my application achieve this?Is there any sample codes?Is there any third party libraries can do this?Notes: The detected wireless network interfaces should also include the virtual interfaces, like the one created by Aircrack-NG's Airmon-NG script.
View 1 Replies View RelatedI 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.
When i click the button to connect to a wireless network this message apears:Network management disabled
View 1 Replies View RelatedI am working on a project with a lot of vector math and I'd like to find a way to speed it up.eading about SSE, but I've found no explanation on how to actually use it in code (was looking for some kind of hello-world example, complete with compilation instructions).Does the gcc compiler automatically make use of SSE, if you add the -sse(2,3) option on the command line? Or are their specific functions/libraries you need to call?
View 12 Replies View Relatedi 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 Related04:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)i can't find the driver for linux, i tried to mask install of a windows version but was unable to get the drive to function correctly. the os is backtrack4 rc2 running 32bit
View 1 Replies View RelatedI have two laptops and a desktop. At any given moment I would like the desktop to be able to download a file over WAN at maximum speed while one laptop does the same over wireless and the other laptop shares files either wired through a gigabit switch or wireless over wireless G or N. Is this too much to ask from a router/switch/wireless AP combo unit with a single processor? I'm thinking it's at least a lot. What if I ran the modem into the WAN connection of a good router. Then connected a separate wireless G/N access point and gigabit switch to the LAN connections of the router? That seems to me like it would relieve some of the bottle necks I would encounter with the scenario described above AND allow me to upgrade each unit as needed.
View 2 Replies View RelatedIs there, by chance, a fancy name to describe code that must be in a program but will never be executed? In one of my (Haskell) programs, I have some error-handling code that must be in the program to keep the compiler happy (due to the type checking). However I know that, due to the logical structure of the program, it is impossible for the code to be evaluated. I am curious if there is a technical name given to code that must exist but cannot be executed.
View 6 Replies View RelatedI went to compile some "oldish" glx code. The code compiles great but when I go to run it I get a crash. With X Error of failed request: BadMatch (in .....running ddd causes my whole system to lock up when I call the glx function XOpenDisplay. After a few attempts I thought I'd download a demo from the net, I choose nehe opengl tutorial 2, I compiled and ran but even on a net tutorial I get the same error
./lesson02
XF86VidModeExtension-Version 2.2
Got Doublebuffered Visual!
[code]....
I have the following code:
Code:
#!/bin/bash
function dx {
[Code].....
So essentially, it finds dx files, sorts them by numbers at the beginning, then performs the dx function I made (loops over all of the #-protein.dx and #-water.dx files).
It works fine when I'm running it on Ubuntu 11.04. However, when I try to run it on OSX, I get the following error:
Code:
mh320m01:DA_R02 janickij$ ./MOD_Loop_Tuber_Script.sh
find: illegal option -- t
find: illegal option -- y
[Code]....
I work as a linux sysadmin, and are now and then developing scripts that might be of use for others. I'd like to be able to share these, and for less trivial projects maybe create a central repository or something that others may upload updates/patches to etc.
View 10 Replies View RelatedI have a little test program consisting of a NASM source file and a C source file.How do I turn them into a single program?
Code:
section .data
msg db 'Hello, World!', 10
[code]....
whichever source code I go through I find these three lines of code written what do they actually mean and what is their function?
[code]...