About admin

My name is Vidyadhar Sarmalkar & I work as a consultant and have done RHCE & CCNA.
Website:
admin has written 265 articles so far, you can find them below.


How to use Reliance Broadband Netconnect+ on Ubuntu

This is the simply tutorial which will help new user’s of Ubuntu to connect Reliance Broadband Netconnect+ on Ubuntu.

Step 1 Check the USB Modem to see if there is any memory card already inserted

Step 2 Remove any onboard memory card

Step 3 Connect the modem and wait for “Network Manager” to detect the modem (time can range from a second to 5 minutes top)

Step 4 Once “Network Manager” detects the device as a modem as a mobile broadband device, click on the “Network” indicator and choose the your device as detected and you should see network “Icon” rotating(indicating that the system is trying to make a connection)

Step 5 A “Connection Established” notification will spring up if the connection is successful

Step 6 If network manager fails to recognize the device as a mobile broadband device, remove the device and click on the network indicator, select “Edit Connections”

Step 7 A “Network Connections” dialog box will show up. Click on “Mobile Broadband” and choose “Add”.

Step 8 Choose continue and also choose the country from which you are making the connection (INDIA in my case) and select the provider from the list of providers (RELIANCE NET CONNECT) and click continue.

Step 9 Finally choose apply and connect the USB Modem and wait for about 5 minutes to allow network manager to recognize the device as a mobile broadband device. Once recognized, click on the device name under the network indicator to activate the connection.

How to triple-boot Ubuntu, Fedora and Windows 7

This is the simple tutorial which will help you to install three different os on the single machine. We will be installing Windows 7, Fedora 17 and Ubuntu 12.04.

First we will install Windows 7, then Fedora, then install Ubuntu in last. Ubuntu’s GRUB is better than Fedora’s, since it detects all other operating systems on your computer.

Step 1 Install Windows!(Skip this step if you have it already)

Step 2 Shrink your Windows Partition using windows inbuilt utility called Disk Management.
Click on the Start Menu, then right-click Computer, then select Manage. Then Select Disk Management from the sidebar.

Step 3 Right-Click the Windows Partition and Choose Shrink Volume. Decide How many MB’s you will want to give to Ubuntu and Fedora. I suggest shrinking about 20-50 GBs for both Fedora and Ubuntu, since as per my requirements there should be at least 6.5 GB of disk space for both.

Step 4 Shut down Windows.

Step 5 Boot into a Fedora Installation or Live CD and choose Install Fedora.

Step 6 Keep going and then stop at this step.

Step 7 Choose Create Custom Layout.

Step 8 Select the Free thing and then click the Create button.

Step 9 Click Create again. Choose the Mount Point as / and give some space to Fedora in MBs. Remember to leave some space for Ubuntu!

Step 10 Go through the rest of the Process

Step 11 Restart your machine and setup through all those Fedora Stuff.

Step 12 Then reboot into a Ubuntu Live CD.

Step 13 Again, stop at this step.

Step 14 Choose Something Else.

Step 15 Click the Free space and then click Add. Again choose / for the mount point and use a Logical Partition. Choose any Disk size you want.

Step 16 Click OK and go through the rest of the process

Step 17 A GRUB menu should appear to let you choose Windows, Ubuntu, and Fedora!

Note: If Fedora didn’t show up in the GRUB menu, you might have to type sudo update-grub in the Terminal.

How to Restrict NTFS Partition Access to Non-Admin user in Ubuntu

At home I am having NTFS partition on which Windows is installed. Some time I used to mount my NTFS partition on Ubuntu box for some work. Due to some reason I want to restrict the access of other Ubuntu users to this partition.

To solve this problem we can use fstab file. Suppose if a particular partition contains a VFAT or NTFS filesystem, and you only wish to be able to access it yourself, it’s pretty simple:

include the options “noauto”, “uid=XXX”, and “umask=7″ in fstab line, and remove the “user” and/or “users” options if they appear there now.

This means that at boot time the system will come up with that partition unmounted, and only you (operating as root, using sudo presumably) can mount it

once mounted, it will be owned by your unprivileged user (assuming that that user’s uid is XXX, which is given to the first user created at install time in MDV installs – check with the “id” command run as that user, and adjust fstab accordingly) and will be inaccessible to all other local users.

Now we will try to do this process in 4 easy steps.

Step 1 Open fstab file as,

gksudo gedit /etc/fstab

Step 2 You should add line in /etc/fstab file as follows,

/dev/sdb5   /media/techinote    ntfs-3g noauto,uid=XXX,unmask=7 0   0

Here XXX is my user id. You can find yours with id command and /dev/sdb5 is partition I want to restrict access to.

Step 3 Create a folder named techienote in /media/ as follows,

sudo mkdir /media/techienote

Step 4 Now whenever you login you need to mount it as,

sudo mount /dev/sdb5 /media/techienote

Done

How to Reset Lost Administrator or Root Password Ubuntu

By default the first user’s account is an administrative account, so if the UI is prompting you for a password it’s probably that person’s user password. If the user doesn’t remember their password you need to reset it. To do this you need to boot into recovery mode.

Boot up the machine, and after the BIOS screen, hold down the left Shift key. You will then be prompted by a menu that looks something like this:

I’ve noticed on some systems that timing when to hit the left Shift key can be tricky, sometimes I miss it and need to try it again.

Hit the down arrow until you select the 2nd entry from the top (the one with the recovery mode in the description) and then hit Enter.

Now you should see this menu:

Using the arrow keys scroll down to either root or netroot (doesn’t matter in this case) and then hit Enter.

You should now see a root prompt, something like this:

root@techienote:~#

At this stage you possible have a read-only filesystem. You have to remount it with write permissions:

mount -rw -o remount /

Now we can set the user’s password with the passwd command. (In this example I will use jorge as the example, you need to substitute whatever the user’s username is):

passwd vidyadhar
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@techienote:~#

Type in what you want the new password to be at the prompt. After it’s successful reboot the machine and the user will be able to log in with their new password.

Page 6 of 53« First...«456789»102030...Last »
rss twitter facbook

Categories

Archives