Showing posts with label terminal. Show all posts
Showing posts with label terminal. Show all posts

Saturday, 23 July 2011

Ethernet not working on ubuntu

No matter which pc or laptop you are running. If you are having problem of ehternet, bluetooth or wireless connection with your pc. Than you are in right place for 100% sure solution.

Just download the latest package from link below and save it to the desktop :

http://linuxwireless.org/download/compat-wireless-2.6/

Now, to compile and install the driver Run these commands in Terminal.


sudo apt-get update
sudo apt-get install build-essential
cd ~/Desktop
tar -xjvf compat-wireless-2.6.tar.bz2
cd compat-wireless*
scripts/driver-select atl1c
make
sudo make install

Now reboot you pc or laptop, Hopefully your ethernet will work automatically when you get in connect with wired network. If not, than run this command from terminal.

sudo modprobe atl1c

Sunday, 17 July 2011

How to disable ubuntu splash screen

I like to see the boot logs of ubuntu like the old style rather a slick splash screen at the boot time.

It is done with just two steps mentioned below

#sudo gedit /etc/default/grub


Find the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” and make it look like
GRUB_CMDLINE_LINUX_DEFAULT=”", then save the file

Now, run

run #sudo update-grub

Thanks for visiting

Wednesday, 29 June 2011

Create a MySQL User Account via the Terminal

First, Login to MySQL as an administrator account with:

mysql -u root -p

You will be prompted for your root password before being granted access to the MySQL

Now to check available user accounts on the system. type this command:

SELECT USER,host FROM mysql.USER;

If the user account that you wish to create doesn’t appear in that list
To create a new user account type this command:

CREATE USER 'new-username'@'localhost' IDENTIFIED BY 'password-for-new-account';

this user isn’t linked to any databases yet, but this is simple to rectify with a:

GRANT ALL ON mydatabase.* TO useraccount@localhost

that will grant all rights for the user account to everything held in the mydatabase database.