Sunday, October 6, 2013

WiFi hotspot from laptop to Nexus, Android or Windows Phone

As I have seen, our pc's make hotspot as an ad-hoc network which is not detected by most of our devices, especially our smart phones. So, in this tutorial I will show you some softwares and their tutorials which will help you to connect internet from your laptop or desktop to your smartphone (Windows, Android, Nexus).

  • First, download and install Microsoft Virtual WiFi Adapter.(download), alternate link (download). The alternate link is from Marifi website(website), you can go to the website for more information.

Now, go to Control Panel>Network and Sharing Center>Change adapter settings(left side column - Windows 7), you will see Marify Connection. If you encounter any problem go to this link (http://www.maryfi.com/support.php#Setup_Maryfi).

  • Second, download and install MyPublicWiFi software(download). Now, your system will act as a WiFi access point and can be detected by your smartphone. Tutorial can be seen in this link(tutorial). Note: After installation, every time you start MyPublicWiFi software on your laptop, run it as an administrator.(right click on MyPublicWiFi software>Run as administrator)

Above steps are tested on Nexus 4 and Windows 7 and I am sure that it will also work for other devices and OS(only Windows).
You can post your queries in comment.

Wednesday, January 30, 2013

ns2 software in Fedora


Download the software ns-2.35Click here to download

Copy your downloaded file in /home/username.

Open terminal: become root(be careful now)

$su
Untar the file which you have downloaded by entering following commands:

$tar -xzvf ns-allinone-2.35.tar.gz
$cd ns-allinone-2.35
$./install
It will automatically compile, make and install.

After installation, PATH information will be shown on the screen.

Copy PATH, LD_LIBRARY_PATH, TCL_LIBRARY from the terminal to the .bash_proflie file.

Then run command:

$source .bash_profile
You will find .bash_profile in /root/.bash_profile
As you can see, it is a hidden file, so you can do ls -a to list hidden files.

The .bash_profile contents will look like
$cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/home/login-fedora/Downloads/ns-allinone-2.35/bin: ... 
 ... /home/login-fedora/Downloads/ns-allinone-2.35/tcl8.5.10/unix:/home/login-fedora/Downloads/ns-allinone-2.35/tk8.5.10/unix
export PATH
LD_LIBRARY_PATH=/home/login-fedora/Downloads/ns-allinone-2.35/otcl-1.14:/home/login-tesla/Downloads/ns-allinone-2.35/lib
TCL_LIBRARY=/home/login-fedora/Downloads/ns-allinone-2.35/tcl8.5.10/library
After you complete your installation process, to check whether you have installed correctly or not, run the following command and check for the following output:

CHECK 1:

$cd /home/ns-allinone-2.35/ns-2.35
$./ns
output: % (modulus sign)

CHECK 2:

$cd /home/ns-allinone-2.35/nam-1.15
$./nam
output: nam console window will open For any query comment below.

Thursday, January 24, 2013

sudo in Fedora 17

Configuring sudo in fedora

Open terminal: Become a root user
  $su
Write this command in terminal:
  $echo 'your_username ALL=(ALL) ALL' /etc/sudoers
your_username= add your user name(the name by which you login)

Its done! Now, you can use sudo.

Installing Dropbox in Fedora

Open a terminal
  $sudo or su
  $cd /etc/yum.repos.d
After opening yum.repos.d directory, download the repo file. In terminal:
  $wget http://dl.dropbox.com/u/30876345/repo/dropbox.repo
  $yum update
Now, simply install dropbox
  $yum install nautilus-dropbox