General :: Wireless Implementation In Ns2?
Feb 5, 2011
not able to solve an error when i try to do a wireless scenario in ns2.
num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
View 2 Replies
ADVERTISEMENT
Oct 20, 2010
I am trying to understand the implementation of iptables and netfilters. Any good links or docs.
View 1 Replies
View Related
Feb 25, 2010
I need to optimize the implementation of DSR algo using NS-2. Now i need to identify the first of all "the parameters which i can change and which are effective in optimization point of view." I want to get into the c++ code as well as header files which are used to implement DSR algo.
View 4 Replies
View Related
Aug 11, 2011
I am trying to find a leach protocol implementation for ns2.34 but all links available are dealing with ns2.27 Are the instructions valid for ns2.34?
View 4 Replies
View Related
Dec 7, 2010
I'm looking for linear hashing implementation in C language. PS: I have to implement this on Ubuntu 10.04 Linux on 64 bit machine.
View 2 Replies
View Related
Mar 19, 2010
Subject of my school work:"Web interface for managing firewall and band on the access server (Linux)"I have a big problem because I do not know how to safely implement the change in the system and show the logs on the Web page.Unfortunately, the number of solutions for today is enormous and it is increasingly difficult to me to decide on the right.They are:
1. Launching a web server with root privileges (the default mode of miniserv'a Webmin)
2. CGI scripts on apache SUID (mode webmin on "foreign" server)
3. suPHP or suexec
4. Cron implements changes to the root
5. Daemon in C "periodically" implement changes in the configuration files created by PHP
6. Daemon in C to implement the changes requested in the configuration files created by PHP
7.Use SSH in PHP and after logging into the root of execution of commands in the configuration files created by PHP (the root password in the DB)
8.Use SSH in PHP and after logging into the root of execution of commands in the configuration files created by PHP (the root password, enter manually)
9. Like the above so that the use of sudo and user rights only to the necessary shell commands
10. Add the user apache in the /etc/sudoers can perform all the necessary applications shell commands
11. Seize the opportunity to command: shell_exec ( `sudo php-f / home /example/script.php`), and /etc/sudoers
View 1 Replies
View Related
Sep 15, 2010
I am new to this forum and to Networking as well. I have chosen to implement:
1) SIP Client using C' language
2) Platform: Windows
3)Its going to be on command line
my problem is that I need some reference like books, material or website where I can learn how to write the code from scratch or port the code according to my requirements. My implementation should serve the purpose like two SIP clients should communicate with each other for exchange of Audio data.
View 4 Replies
View Related
Aug 1, 2011
My network diagram is internet<---->dansguardian proxy(centos5)<--->my network i have blocked facebook for my network but now i want to give only 2 ips to get its access & i do not want to enter these ip in exceptioniplist as if i doo so then they will be able to access all the sites that i have blocked. and if i am giving this entry [URL] in bannedsite list it is also not working.....
View 1 Replies
View Related
Aug 2, 2010
Can I know the implemention of RSA(Encryption and decryption) algorithm in C / C++.
View 1 Replies
View Related
Apr 27, 2011
I have a copy of the MD5 algorithm and I'm taking a look at the source. It's pretty interesting but there are a few things that I'm curious about and I was wondering if anyone a bit more intuitive than I could help me out.The function declarations in the MD5 files are a bit unfamiliar to me. There is a macro used called PROTO_LIST, which I'm still not sure as to what this thing is doing exactly, but it's littered everywhere throughout the source.The signature here isn't too unfamiliar to me with the exception of the position of the PROTO_LIST macro. So here is a function with an unnamed argument of type MD5_CTX*.To me, this resembles an initializer list found in C++ with constructors but I certainly don't think that is the case here. So my questions about this are (1) how is this legal code in C and (2) what functionality has the PROTO_LIST macro provided for the function?
View 3 Replies
View Related
May 11, 2010
i have done everything that all the documentations have said and i still cant get this bloody thing working. some one give me the exact commands that removes all traces of all wine packages. and then can someone give me the exact commands to install.
which user i must be doing this under and exactly what i must configure in the config files. all that i want too accomplish by this is to successfully play games on my pc.
View 5 Replies
View Related
May 6, 2010
IPtables, implementing each type of NAT
-Full Cone NAT
-Restricted Cone NAT
-Port Restricted Cone NAT
-Symmetric NAT
using IPTables.
Explanation:
Full Cone: A full cone NAT is one where all requests from the same internal IP address and port are mapped to the same external IP address and port. Furthermore, any external host can send a packet to the internal host, by sending a packet to the mapped external address.
Restricted Cone: A restricted cone NAT is one where all requests from the same internal IP address and port are mapped to the same external IP address and port. Unlike a full cone NAT, an external host (with IP address X) can send a packet to the internal host only if the internal host had previously sent a packet to IP address X.
Port Restricted Cone: A port restricted cone NAT is like a restricted cone NAT, but the restriction includes port numbers. Specifically, an external host can send a packet, with source IP address X and source port P, to the internal host only if the internal host had previously sent a packet to IP address X and port P.
Symmetric: A symmetric NAT is one where all requests from the same internal IP address and port, to a specific destination IP address and port, are mapped to the same external IP address and port. If the same host sends a packet with the same source address and port, but to a different destination, a different mapping is used. Furthermore, only the external host that receives a packet can send a UDP packet back to the internal host.
On the netfilter mailinglist, Pedro Goncalves suggested the following:
192.168.2.170 is "public" address and 10.0.0.1 is "private" address
/-"Full Cone NAT", with the following rules:/
HTML Code:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.2.170
iptables -t nat -A PREROUTING -i eth0 -j DNAT --to-destination 10.0.0.1
/-"Port Restricted Cone NAT", with just a single rule:/
HTML Code:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.2.170
View 1 Replies
View Related
Apr 10, 2009
How to implement Network Protocols.
View 1 Replies
View Related
Dec 9, 2010
Have any of the below TCP based applications are implemented over SCTP in Linux ?
1. ftp
2. telnet
3. HTTP
Or any other applications ?
View 1 Replies
View Related
Jan 20, 2011
I'm in need of some advise from you guys. I'm currently running a live production serverA, and last week it went down for a couple of hours which was really bad to say the least.
I've been thinking about building a mirror serverB that will rsync my data nightly. Now I don't want to load balance here, I just need to be able to switch to serverB when serverA goes down for any reason.
Would the best solution for this is to change my main nameserver entry when I want to switch ? I'm just curious if it will be a few hours or an instant change.
I thought I'd ask before attempting this live.
View 3 Replies
View Related
Apr 6, 2011
I've implemented a program URL... which reads digital IF data from a radio receiver through a named pipe, measures power levels, and sends the result to stdout. The program is interactive; there is a thread that reads from stdin to watch for commands, a thread that constantly either reads data from the named pipe or throws data away, and an array of processing threads. The program uses GTK+extra to plot the signals. The IF data stream bandwidth exists at the limits of today's technology (is very very fast).
Problem Statement:The program works fine with a few bugs. I've learned since I've made it that using global state variables to coordinate threads isn't a good way of doing it. I also only had knowledge of mutexes and polled the state variable instead of using other methods.My reimplementation will use the following:
- One "Stdin Command Monitoring" thread
- One "Get data from named pipe" thread
- One post-processor thread
- N Processing threads
All threads are alive during the life of main()There are N buffers. Data will come in from the named pipe, and the "Get data" thread will write the data to an "available" buffer. When the buffer is full it will be marked as "full". There will be N processing threads, one for each buffer. When a processing threads' buffer is full, it will process the buffer and save the result to a final buffer. At the end of a number of averages, the post-processor thread will perform a final process on the final buffer and send the results to stdout.
View 2 Replies
View Related
Jun 9, 2011
I'm Redhat 5 user, and I want to implement Kernel-based Virtual Machine. I tried too much search in google but I cant find the perfect instruction regarding it.
View 3 Replies
View Related
Apr 6, 2011
I want to know the details about the implementation of distributed firewall in a local area network
View 5 Replies
View Related
Feb 3, 2010
From this thread I've decided to try add a feature of removing local port forwardings in ssh.Here are some very ugly and not-yet working hacks what I made so far:
* Patch for channels.c
* Patch for channels.h
* Patch for clientloop.c
I was clearly expecting this to work without any troubles-everything seem to be logically correct, but I made a programming mistake somewhere: don't know where, maybe you will point me to this?Many sites say there is a WAY AROUND with -D param(starting socks proxy as a tunnel-generator), added since 5.2, but I don't need that way around. I need a way through. I use exact ports for exact services and if I want to change it runtime I'd like to have ability to do so.If you have other ideas or points instead of coding this, please share them here & here(original question).
View 2 Replies
View Related
Mar 17, 2010
My problem is to get postfix working with a smarthost, to send mails from home with dynamic IP, and which needs authentication. I did exactly the same with Slackware 12.2 (postfix 2.6.2) and it worked. Now I tried to do with 2.6.2 (actual running version is 2.7.0 with the same problem) on Slackware 13 64bit. Following error message occurs around every minute in the maillog:
[code]...
View 2 Replies
View Related
Jul 18, 2010
My PC is connected directly to the cable modem. I would like to use my PC's WiFi card to share my internet connection with my Android phone and laptop so I can avoid buying a wireless router.
View 4 Replies
View Related
Jul 16, 2011
However I am having some issues with drivers. I need to install a Patriot Wireless N USB wireless adapter in Crunchbang but when I follow the directions for installing the drivers and am using the command "make" I get an error that says '*** /lib/modules/2.6.32-5-amd64/build: No such file or directory. Stop . *** [modules] Error 2"
View 1 Replies
View Related
Oct 13, 2010
For about a week now I've been trying to get Ubuntu working with my netwrk connector(BCM4312) and Just last night I did. At first everything was fine, it was working in Ubuntu and Windows...Now Windows is not sensing ANY networks...I'm hoping this isn't permenent, but 5 restarts later, it's not working.Plus the connection in Ubuntu is VERY shaky. at first it says 85%, then it goes to 25% and then disconnects.I haven't been able to use the internet on it yet.
View 1 Replies
View Related
Mar 28, 2010
A friend who switched ISP's gave me his old Linksys WRT54-G wireless router. I went through the installation procedure and had a wireless connection up and running - smiley face. I had security set up for WPA, and decided to upgrade it to WPA2. Another smiley face. When I went to connect (had already done so successfully), I noticed it referred to my wireless as Linksys - I was expecting to see the SSID. So I started playing around in Network Manager and now I have things all effed up.
Don't know exactly what I did, but now I have no wireless. So I ran a few commands (lshw -C network, iwconfig, ifconfig, and iwlist scan), and looking at the results I see what appear to be inconsistencies in the output. I've posted them below, and make the following observations:
1. Under the lshw it refers to my wireless connection logical name as wmaster0, and has the correct MAC address, etc.
2. Under the iwconfig it says, 'wmaster0 no wireless extensions', but then refers to wlan0 as the wireless connection (although it does not seem to be running).
3. Under ifconfig I see both a wlan0 and a wlan0:avahi. The wlan0 has no IP, the wlan0:avahi does, but it is incorrect.
[Code]...
View 7 Replies
View Related
Apr 1, 2010
My first problem is that when I open KNetworkManager the wireless tab is desibled,I don't know why! My laptop is HP pavilion dv6-1245DX. How to get connected to my wireless router?
View 9 Replies
View Related
Jul 17, 2010
Want to eventually make the switch over but figure taking it slow and learning on an old laptop would be best.
I went through the installer and everything looks great so far except I can't for the life of me seem to be able to get the wireless working. I tried everything a windows newb like me could think of ... it looks like to me the wireless card is not being used since it can't detect anything? I read some threads and here are the results of common terminal stuff that most people say to do:
/sbin/lspci
Code:
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 02)
02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
code....
View 9 Replies
View Related
Jan 17, 2011
I am using a Dell Studio XPS 1645 laptop & must be able to communicate wirelessly with my network. Is there any OS that is easier to configure wirelessly?Using Ubuntu 10.10.It works like a charm.
View 2 Replies
View Related
May 26, 2011
how to use my alpha awus036nh wireless adapter in bt3 that i am running from cd, whenever i try to scan for aps the built in adapter kicks in.
View 1 Replies
View Related
Feb 17, 2010
I cant detect or use wireless networks on my newly installed fedora 12.Can someone tell me how to get the driver for wireless?
View 4 Replies
View Related
Sep 20, 2010
i use ubuntu 10.04 desktop edition 32 bit. i have a problem with my wireless connection. i get an ip address (DHCP) of 0.0.0.0 and the odd thing is that the netmask (255.0.0.0) and gateway (10.0.0.138) in fine. i have a simple siemens router. if i set a manual ip everything works OK.
View 5 Replies
View Related