General :: How To Implement HMIPv6 In NS2
Apr 15, 2011How can we implement HMIPv6 in ns2? Can we adapt it directly by implementing MIPv6 or we need any ,for example HMIPv6.cc?
View 7 RepliesHow can we implement HMIPv6 in ns2? Can we adapt it directly by implementing MIPv6 or we need any ,for example HMIPv6.cc?
View 7 RepliesI have followed following steps to implement, ftp upload by test1 user.
Code:
1. Add group ftp-users
# /usr/sbin/groupadd ftp-users
2. User test1 has been added to the group of ftp-users with /home/ftp-docs as home directory
# /usr/sbin/usermod -g ftp-users -d /home/ftp-docs test1
3. Ownership and permission of /home/ftp-docs has been changed to provide read/write access to user test1 and group ftp-users
# chown test1.ftp-users /home/ftp-docs
# chmod 770 /home/ftp-docs
But My intention is for the user who login with test1 user privileges, he should not be able to browse any other directories say /, /var /etc etc. Also he should not be able to change to any other directory. How can I accomplish this ?
Is there any function like mkdir() or link() for command ls? If not, how is ls implemented?
View 4 Replies View RelatedHow would I ensure that whenever any user changes the password it should meet following.
1)It should be more than 7 Characters.
2)Atleast one Upper case character,digit and special character present.
3)Password is not same as username or dictionary word .
4)User should get email after changing his password(I have already setup mail account and tested the setup).
Code:
Distribution Detail
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: Carthage
# uname -a
Linux OFSMUW-VMGR-51 2.6.18-92.el5PAE #1 SMP Fri May 23 22:26:05 EDT 2008 i686 i686 i386 GNU/Linux
Does anybody know how to implement packet reordering in NS2? I would be very glad if someone provide me with appropriate tcl script or give a link.
View 3 Replies View Relatedi want to implement different mobility models in ns2, but i can not it
View 2 Replies View RelatedThe only reason why I don't use Linux (even though I prefer Linux over Windows, and can do everything faster and more efficiently) is because each time I try to learn about dm-crypt I give up.
Can someone point me in the right direction for full OTFE on Linux (like TrueCrypt)?
I would like to create the shell which would support the LS command in C++. And the way the command prompt can be changed.
View 7 Replies View RelatedAm configured SVN on Ubuntu 10.04 ,It's Working fine ;svn access method is svn://ipaddress .In this method am not encrypting the password ,Currently my passwd (/homesvnMyProject/conf )file like that [users]test = testNow i want to Implement the password Encryption for any users, without implementing svn+ssh:// method
View 1 Replies View RelatedHow can implement pfexec in Linux? Can i use sudo in Linux?
View 1 Replies View Relatedhow to implement proxy server with firewall and the client users should be authinticated by asking username & password while opening their web browsers and finally i want to see the websites visted list of all the client computers On cent os 5.3
View 1 Replies View Relatedi am new to ns2, i want to implement leach algorithm(MIT uAMPS) but i am unable to know how to install ns-2.1b5 version for it.but i successfully installed ns2.29 in fedora14.
otherwise please intimate what linux flavour will be suitable for ns-2.1b5
I want to implement squid with quota restriction based on username.
View 4 Replies View RelatedI study about file systems using on Linux and I try to implement file system format:ext2I'll implement virtual disk, And format as file system - that is implemented. So here is a problem. I want to know that How I mount this virtual drive that I implement ?I'm not asking detail codes, but I want to know about fundamental principle of "mount" disk. What is the fundamental principle of "mount" disk?
View 7 Replies View RelatedI have a partially completed interpreter that has first-calss functions and can store scopes in variables. That way it is possible to implement a simple class like this:
Code:
MyClass = func () {
value = 0;
setValue = func (x) value = x;;
[code]....
But what about inheritance, and what if I want to know the type of the object?
I want to implement CBQ in my RHEL5 server so that i can manage my BW.
View 4 Replies View RelatedI am doing real time programming in C++, under Linux. I have two processes, let me say A and B. A process is being started periodically, every 5ms. B process is being started every 10ms. The process A is doing data processing. The process B is reading that data and displays it. I am confused about how to run periodically processes. The problem is that the period of process A should be as much as it is possible accurate (5ms). For the process B it isn't so important. I have created independent processes, each in one .cpp file, and I am starting them from bash file. Is that OK? I don't have to make child processes in order to have parallel processes?
View 1 Replies View RelatedDoes anyone have a acl patch for cvs-1.11.22-5.el5.I need to implement rw acl on branch and tag names.
View 2 Replies View RelatedI configured mysql in RHEL5.1 and I tested it , it workks well, but I wish to exploit it in graphical mode. Can you assist me to implement the phpMyAdmin for me to use it in graphical mode?
View 4 Replies View RelatedHow I can implement quota for my webproxy users in squid?
View 5 Replies View RelatedI want to implement kgdb on 2.6.27 kernel.but I am not able to get the patch ffile for this version.. where I can get patch file gor kgdb over Ethernet.
View 5 Replies View RelatedSo basically, there is a really cool writing system I have been working on. It could be viewed (for simplification purposes) like an encryption method for the Latin script.
Facts about the writing system:
It has a little over 300 symbols.
It is syllable-driven.
It is highly compositional (eg. "c", "ca", "cae", "ca " and "ci." all map to different symbols - and NOT by overlaying elements)
Symbols have medium graphical complexity (comparable to Korean Hangul, or Japanese Hiragana)
Has a rather complex set of diacritics (~10, some of which can go on any symbol)
Has no ligatures
How transliteration occurs:
Sequences of Latin symbols map to certain symbols. Example below:[G][rou][p ][hu][g.]Characters sequences between "[" and "]" map to a single symbol (so it would take only 5 symbols to write "Group hug.").
How I want it to work:
I would like to have a daemon that: Intercepts all text displayed on the screen.
Converts it to my writing system (changes letter sequences with individual Unicode codes)
Leaves unsupported symbols unchanged.
Displays all the text on the screen using my font and characters intertwined with the fonts and characters left unchanged.
For example, if you take the following line of C++ code:for (i = 1; i <= n; i++)
I would like it displayed like this:[fo][r ]([i ]= [1]; [i ]<= [n]; [i]++)
Bold-symbols should be in my Unicode font with special symbols defined for this writing system, and the rest should be in its original font and encoding. Also, I would like this encoding to hold for display-purposes only. The data in the memory should remain unaffected. This also means real-time adjustments: if I open a text editor (say, from the OpenOffice Suite) and I start typing, I would like to see what I type encoded with my writing system, even though the document actually contains Latin letters. This also means that the symbol immediately before the cursor may change as you type.
I have these but not working.
size_t count_words(const std::string& s)
{
std::istringstream is(s);
return distance( std::istream_iterator<std::string>(is),
std::istream_iterator<std::string>());
}
and
std::string s; // word count
unsigned int wordno = 0;
while(getline(myfile, s))
{ ++wordno;
if(s.empty())++ wordno;
else wordno += count_words(s);
std::cout << s << '
';
}
myoutput1<< "Number of words : " << wordno << '
';
myoutput1 << "
Word" <<" " <<" Occurrence" <<endl;
myoutput2<< "Number of words : " << wordno << '
';
myoutput2 << "
Word" <<" " <<" Occurrence" <<endl;
I developed a protocol "it's a modification of OLSR" for wireless networks, it was with JAVA and I try to simulate it on NS2, I used AgentJ, so in the TCL I did any thing like usual;
set val(chan) Channel/WirelessChannel ;# channel type
set val(prop)Propagation/TwoRayGround ;# radio-propagation model
set val(netif) Phy/WirelessPhy ;# network interface type
[code]....
and I didn't specified the protocol because I attached my nodes to the JAVA class responsible for the protocol, but when I run it generates errors, it claims the protocol to use, so I don't know how proceeding.
I implemented a SSL client using openssl on Linux and it's working fine i am getting response from server...
But my problem is I have a separate thread for each request comes form front end and i have to do SSL communication in each thread, for this i have to create a separate SSL Context for each thread and this is taking too much time hence my transaction is getting delayed
My question is can we implement Persistent SSL connection where i will do SSL Handshake only at the time of application startup and use that connection in all the threads....
i need to implement a Set class(like in stl) using a vector.Here is my code that doesnt work corectly:
Code:
#include <iostream>
#include <vector>
template<class T>
class Set
{
[Code]....
I just installed LXDE on my PC to try it out. I can't figure out how to implement file sharing. I used the Synaptic Package manager to install LXDE.
View 1 Replies View RelatedI am trying to set up an automatic backup using rsync and a publickey SSH, which requires using an empty password on the private key. I would like to lock down the key on the server so that it can only run rsync, but my attempts to use a forced command (or any other option such as no-port-forwarding) do not appear to have any effect when I run ssh -v.
I am currently debugging using the following line in ~/.ssh/authorized_keys
Code:
But when I connect, it opens up an interactive command prompt and does not display the "goodbye world" that I expect.
I am running an OpenSSH server on Ubuntu 10.04
There are several boot parameters shown when pressing the F6 key on the Ubuntu Maverick Alternate install CD. For example: ACPI=OFF
NOAPIC
NOLAPIC
NOMODESET
EXPERT MODE
Where do I find a "complete" explanation of what these parameters do, when it is appropriate to select them and HOW to select them?
I'd like to allocate a certain quota to my local user for their internet navigation.
View 8 Replies View Related