Windows multiple network problem [solved]

14 Jan

I have seen many people facing this problem. There can be different reasons behind this. but most of the time the below solution worked for me.[OS: Window 7]

  1. go to control panel.
  2. click on hardware and sound .
  3. click on device manager (if your view type is not set as category you will directly find this option under control panel ) Refer Img 1
  4. search for network adapter and click on it to expand. (Refer Img 2)
  5. right click on WLAN option (your wireless vendor name will be prefixed to it e.g Broadcom 802.11b/g wlan)
  6. click on uninstall.
  7. Now WLAN will disappeared from option.
  8. Right click on Network adapter and click on scan for hardware change. It will reinstall adapter drivers from your system automatically within few seconds.
  9. Now connect to your wireless network again.

I hope this will solve your problem . 🙂

Image

Img 1

Image

Img 2

configure mozila thunderbird for gmail

7 Feb

Mozilla Thunderbird  is a free  open source, cross-platform e-mail and news client developed by the Mozilla Foundation. Thunderbird is a free email application that’s easy to set up and customize – and it’s loaded with great features!

configure Gmail:

  • Login to your Gmail account.Then go to mail setting option.
  • go to Forwarding and POP/IMAP tab and then IMAP Access option.
  • click on Enable IMAP button and then save setting.

configure ThunderBird:

  • Select Tools | Account Settings… from the menu in Mozilla Thunderbird.
  • Click Add Account.
  • Make sure Email account is selected.
  • Click Continue.
  • Type your name under Your Name:.
  • Enter your Gmail address under Email Address:.
  • Make sure IMAP is selected under Select the type of incoming server you are using.
  • Type “imap.gmail.com” under Incoming Server:.
  • Click Continue.
  • Leave your Gmail account name as automatically inserted by Mozilla Thunderbird in the Incoming User Name: field.
  • Click Continue.
  • Give the account a descriptive name (“Gmail” or what Mozilla Thunderbird suggests, your email address) under Account Name:.
  • Click Continue.
  • Now click Done.
  • Highlight Outgoing Server (SMTP) in the account list.
  • Click Add… on the right.
  • Type “Gmail” under Description:.
  • Type “smtp.gmail.com” under Server Name:.
  • Enter your Gmail account name under User Name:.
  • Make sure SSL is selected under Use secure connection:.
  • Verify “465” appears under Settings | Port:.
  • Click OK.

Now you have successfully configured your email client.

Enjoy it !!

Aqua-Sim installation guide

9 Jun

1. Aquasim is NS-2 based network simulator designed specially for aqueous medium network.

2. Download aquasim : http://ubinet.engr.uconn.edu/mediawiki/images/7/72/Aqua-sim.tgz

3. Before installing Aqua-Sim, you should make sure that your linux system contains the
essential libs for the installation of ns-allinone-2.30. Usually, it requires gcc/g++
complier, automake, X11 lib. To make Aqua3D works, some other packages, such as
freeglut, GTK+ 2.0 and wxGTK-2.8.11, are also required .

4. All these packages can be installed from synaptic package manager.

5. installing the dependencies:
sudo apt-get install xorg-dev g++ xgraph

6. Copy and paste aqua-sim file wherever you want. Suppose you have pasted it in your home
directory.

7. Double click on tar file to extract or use command:
tar -xvf aqua-sim.tgz

8. move into extracted folder:
cd ns-allinone-2.30

9. sudo ./install (if you are using terminal as root then ./install)
10. if there is problem in otcl then:
change ns-allinone-2.30/otcl-1.12/Makefile.in. Find the line that says:
CC= @CC@
and change it to:
CC= gcc-4.3 or your gcc-version

11. if problem presist:
change otcl-1.12/configure.in
find:
Linux*)
SHLIB_CFLAGS=”-fpic”
SHLIB_LD=”ld -shared”
SHLIB_LD=”gcc -shared” //add this line
SHLIB_SUFFIX=”.so”
DL_LIBS=”-ldl”
SHLD_FLAGS=””

12. run this command in otcl folder:
autoconf -f

13. if error in tclcl occur (warning: deprecated conversion from string constant to ‘char*’
• cast the “const char*” to “char*” in line 566 in Tcl.cc (in tclcl folder) like this: char *p =
(char*)strchr(localName, ‘(‘)
• Do the same with all other lines that fail in queue/red.cc 876-879: (char*)strstr(v-
>name(), “ave”) etc. for the next lines
• and in queue/rio.cc line 565 to 571: (char *)strstr(v->name(), “ave”)…
• and in queue/pi.cc line 316 and 317: (char *)strstr(v->name(), “prob”)…
• and in queue/vq.cc line 333: (char *)strstr(v->name(), “curq”)
• and in queue/rem.cc line 335-337: (char *)strstr(v->name(), “ave”)…
▪ and in queue/gk.cc line 207: (char *)strstr(v->name(), “curq”)

14. install ns2.30 by typing ./install in terminal
(first change the current directory to ns-allinone-2.30)

15. Edit some paths
$ gedit ~/.bashrc
Put these lines on that file in the last.

# LD_LIBRARY_PATH
OTCL_LIB=/home /ns-allinone-2.30/otcl-1.12
NS2_LIB=/home /ns-allinone-2.30/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:
$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/home /ns-allinone-2.30/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB

# PATH
XGRAPH=/home /ns-allinone-2.30/bin:/home /ns-allinone-2.30/tcl8.4.18/unix:/home /ns-allinone-
2.30/tk8.4.18/unix:/home /ns-allinone-2.30/xgraph-12.1/
NS=/home /ns-allinone-2.30/ns-2.30/
NAM=/home /ns-allinone-2.30/nam-1.13/
export PATH=$PATH:$XGRAPH:$NS:$NAM

16. close terminal and reopen it. If any thing error occurs, check your .bashrc file and correct paths.

17. go to ns-2.30 folder inside ns-allinone2.30.
Sudo ./validate

18. it may take around 1 hour. If every thing will happen right at last you will get message “all test
correct”.

19. restart terminal type ns. If % sign appears congratulation ! You have successfully installed
Aqua-sim.

20. link for other possible errors:
http://www.isi.edu/nsnam/ns/ns-problems.html
http://nsnam.isi.edu/nsnam/index.php/Troubleshooting