Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Sunday, July 3, 2011

Firefox not connecting to Internet - Ubuntu Linux

Open your Firefox and type about:config in the URL address bar and hit enter. In the Filter box type the following text (eg "network.http.pipelining") and change the value from "False" to "True".. Follow the same step for all the lines given below..

- network.http.pipelining > Make it True

- network.http.pipelining.maxrequests > Make it 8 or 10

- network.http.proxy.pipelining > Make it True

- network.dns.disableIPv6 > Make it True

Your FF will connect to the Internet for sure :)

Nexus device not listed (Android Development) - Linux Ubuntu

I got the following message when I run "adb devices"

List of devices attached
???????????? no permissions

To fix this problem I followed the below steps,

1. Logged in as root User

2. vim /etc/udev/rules.d/51-android.rules and added the following lines

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"

3. /etc/init.d/udev restart

You may also need to restart the adb daemon: [as a *ROOT* user]

./adb kill-server
./adb start-server
./adb devices


This should fix the problem :)

Thursday, June 30, 2011

How to install Java JDK in Ubuntu - Linux

You can install java JDK with JRE using apt-get command

sudo apt-get install openjdk-6-jdk openjdk-6-jre

Use the following command to set JAVA_HOME

export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.06"

Also use the following line in your .bashrc file

export PATH=$PATH:$JAVA_HOME/bin