Anonymous

Changes

From Karnataka Open Educational Resources
no edit summary
Line 1: Line 1:  +
='''NETWORK AND INTERNET'''=
 
=How to find out Your connection IP adress?=
 
=How to find out Your connection IP adress?=
 
Your IP address is something you probably rarely think about, but it's vitally important to your online lifestyle. Without an IP address, you wouldn't be able to get today's weather, check the latest news or look at videos online. Why? Because without your IP address, websites like whatismyipaddress.com, CNN or ESPN wouldn't know where to send the information you asked for. They wouldn't be able to get it to YOUR computer.<br>
 
Your IP address is something you probably rarely think about, but it's vitally important to your online lifestyle. Without an IP address, you wouldn't be able to get today's weather, check the latest news or look at videos online. Why? Because without your IP address, websites like whatismyipaddress.com, CNN or ESPN wouldn't know where to send the information you asked for. They wouldn't be able to get it to YOUR computer.<br>
 
Your web browser announces your IP address to any web site, so our website can find your IP address simply by listening for this announcement... So one very quick way how to find your IP address [http://www.howtofindmyipaddress.com Click here] or go to google search engine and just type "What is my IP".<br>
 
Your web browser announces your IP address to any web site, so our website can find your IP address simply by listening for this announcement... So one very quick way how to find your IP address [http://www.howtofindmyipaddress.com Click here] or go to google search engine and just type "What is my IP".<br>
 +
 
[[#top|Back to Top]]<br>
 
[[#top|Back to Top]]<br>
  −
=Turn off Bluetooth by default in Ubuntu 14.04=
  −
Bluetooth is always on at each boot in Ubuntu laptops. This is not good, from both power saving and security purpose. Moreover, we hardly use Bluetooth, so why should have Bluetooth enabled by default? While one can turn off Bluetooth in one click in Ubuntu, doing it in each session is a repetitive and frustrating task. Simpler solution is to deactivate Bluetooth at start up in Ubuntu.
  −
<br>
  −
* Open a terminal (Ctrl+Alt+T) and and use the following command
  −
'''sudo gedit /etc/rc.local'''<br>
  −
* enter password and press '''Enter'''.
  −
* It will open the rc.local file. Just add the following line just before exit 0.
  −
'''rfkill block bluetooth'''. <br>
  −
* Altogether, your rc.local file look like this:
  −
[[file:rfkill_Bluetooth.png | 500px]] <br>
  −
* '''Save''' the file by clicking on save icon on top.
  −
''Note:Restart the computer and you should see that Bluetooth has been disabled. Of course you can turn it on when required by the Bluetooth indicator on the top panel.
  −
''
      
=How to Turn Your Ubuntu Laptop into a Wireless Access Point=
 
=How to Turn Your Ubuntu Laptop into a Wireless Access Point=
Line 32: Line 20:  
* After you click Create Hotspot, you’ll see an notification pop up that indicates your laptop’s wireless radio is now being used as an ad-hoc access point. You should be able to connect from other devices using the default network name – “ubuntu” – and the security key displayed in the Network window.
 
* After you click Create Hotspot, you’ll see an notification pop up that indicates your laptop’s wireless radio is now being used as an ad-hoc access point. You should be able to connect from other devices using the default network name – “ubuntu” – and the security key displayed in the Network window.
 
[[file:hotspot_6.png|500px]]
 
[[file:hotspot_6.png|500px]]
 +
 +
[[#top|Back to Top]]
    
=Block Access to Unwanted Websites in Ubuntu=
 
=Block Access to Unwanted Websites in Ubuntu=
Line 50: Line 40:  
*Save the file and re-launch your web browser. Done.<br/>
 
*Save the file and re-launch your web browser. Done.<br/>
    +
[[#top|Back to Top]]
 +
 +
=How to fix your Internet connection in Ubuntu Linux=
 +
'''Check the basics first'''<br>
 +
Before you blame Ubuntu, try connecting to the Internet on other devices. If they're experiencing the same problem, it isn’t with Ubuntu—it’s with something else. For example, you may need to reboot your router, modem, or both. It’s always worth checking these fundamentals before delving into further troubleshooting.<br/>
 +
Some laptops have hardware switches that can be toggled to quickly enable or disable Wi-Fi. If your Wi-Fi doesn’t seem to be working at all, check your laptop's hardware Wi-Fi switch.<br/>
 +
If you’re using a wired connection, ensure the ethernet cable is plugged firmly into both the computer’s ethernet port and the router’s ethernet port. Sure, this may seem a bit obvious, but it’s easy to miss a bumped switch or loose cable.<br/>
 +
 +
[[#top|Back to Top]]
 +
 +
=Configure your connection settings in NetworkManager=
 +
NetworkManager connects to Wi-Fi networks and automatically configures wired network connections when you plug in an ethernet cable. Before NetworkManager, you’d have to do this with terminal commands.<br/>
 +
 +
[[file:ubuntu-networkmanager-menu-1.png |400px]]
 +
 +
If something isn’t working properly, you may still have to configure NetworkManager. Click the network connection or Wi-Fi icon on the panel at the top-right corner of your screen to access the NetworkManager menu, then choose a network. If you need to view information about your connection for troubleshooting purposes—your computer’s IP address, for example—click Connection Information.
 +
 +
[[Image:Ubuntu-networkmanager-connection-information-2.png |400px]]
 +
 +
If your local network connection isn’t working, ensure the Enable Networking and Enable Wi-Fi options are selected here in the menu. These options let you quickly disable and enable your connections, which is useful for putting your laptop into airplane mode. If you accidentally disabled either, you won’t have an Internet connection until you re-enable them.<br/>
 +
 +
[[image:ubuntu-networkmanager-network-connections-3.png|400px]]
 +
 +
Configure your connections by clicking Edit Connections. You’ll see a window with one or more connections, depending on how many network adapters you have in your computer. Select a connection and click Edit to modify its settings.<br/>
 +
 +
[[image:ubuntu-networkmanager-edit-connection-4.png |400px]]
 +
 +
Ensure the ‘Automatically connect to this network when it is available’ option is enabled on the General tab. If it’s disabled, NetworkManager won’t automatically connect to a wired or wireless network when you boot your computer.<br>
 +
NetworkManager uses Dynamic Host Configuration Protocol (DHCP) by default, so your computer will attempt to get connection settings—IP address, DNS servers, and default gateway—automatically from your router or Internet service provider.<br>
 +
For networks that require a static IP configuration, you’ll need to visit either the IPv4 Settings or the IPv6 Settings pane and select the “Manual” method. (If you’re not sure which you’re using, you’re probably still using IPv4.) Enter the details your connection requires here—your ISP or network administrator can tell you what to enter if you don't know.<br>
 +
 +
[[Image:ubuntu-networkmanager-manual-ip-and-dns-5.png |400px]].
 +
 +
For more information about this [http://www.pcworld.com/article/2455972/how-to-fix-your-internet-connection-in-ubuntu-linux.html Click here]
 +
 +
[[#top|Back to Top]]
 +
 +
=Turn off Bluetooth by default in Ubuntu 14.04=
 +
Bluetooth is always on at each boot in Ubuntu laptops. This is not good, from both power saving and security purpose. Moreover, we hardly use Bluetooth, so why should have Bluetooth enabled by default? While one can turn off Bluetooth in one click in Ubuntu, doing it in each session is a repetitive and frustrating task. Simpler solution is to deactivate Bluetooth at start up in Ubuntu.
 +
<br>
 +
* Open a terminal (Ctrl+Alt+T) and and use the following command
 +
'''sudo gedit /etc/rc.local'''<br>
 +
* enter password and press '''Enter'''.
 +
* It will open the rc.local file. Just add the following line just before exit 0.
 +
'''rfkill block bluetooth'''. <br>
 +
* Altogether, your rc.local file look like this:
 +
[[file:rfkill_Bluetooth.png | 500px]] <br>
 +
* '''Save''' the file by clicking on save icon on top.
 +
''Note:Restart the computer and you should see that Bluetooth has been disabled. Of course you can turn it on when required by the Bluetooth indicator on the top panel.
 +
''
 
[[#top|Back to Top]]
 
[[#top|Back to Top]]
   Line 115: Line 155:  
[[#top|Back to Top]]
 
[[#top|Back to Top]]
   −
=How to fix your Internet connection in Ubuntu Linux=
  −
'''Check the basics first'''<br>
  −
Before you blame Ubuntu, try connecting to the Internet on other devices. If they're experiencing the same problem, it isn’t with Ubuntu—it’s with something else. For example, you may need to reboot your router, modem, or both. It’s always worth checking these fundamentals before delving into further troubleshooting.<br/>
  −
Some laptops have hardware switches that can be toggled to quickly enable or disable Wi-Fi. If your Wi-Fi doesn’t seem to be working at all, check your laptop's hardware Wi-Fi switch.<br/>
  −
If you’re using a wired connection, ensure the ethernet cable is plugged firmly into both the computer’s ethernet port and the router’s ethernet port. Sure, this may seem a bit obvious, but it’s easy to miss a bumped switch or loose cable.<br/>
  −
  −
[[#top|Back to Top]]
  −
  −
=Configure your connection settings in NetworkManager=
  −
NetworkManager connects to Wi-Fi networks and automatically configures wired network connections when you plug in an ethernet cable. Before NetworkManager, you’d have to do this with terminal commands.<br/>
  −
  −
[[file:ubuntu-networkmanager-menu-1.png |400px]]
  −
  −
If something isn’t working properly, you may still have to configure NetworkManager. Click the network connection or Wi-Fi icon on the panel at the top-right corner of your screen to access the NetworkManager menu, then choose a network. If you need to view information about your connection for troubleshooting purposes—your computer’s IP address, for example—click Connection Information.
  −
  −
[[Image:Ubuntu-networkmanager-connection-information-2.png |400px]]
  −
  −
If your local network connection isn’t working, ensure the Enable Networking and Enable Wi-Fi options are selected here in the menu. These options let you quickly disable and enable your connections, which is useful for putting your laptop into airplane mode. If you accidentally disabled either, you won’t have an Internet connection until you re-enable them.<br/>
  −
  −
[[image:ubuntu-networkmanager-network-connections-3.png|400px]]
  −
  −
Configure your connections by clicking Edit Connections. You’ll see a window with one or more connections, depending on how many network adapters you have in your computer. Select a connection and click Edit to modify its settings.<br/>
  −
  −
[[image:ubuntu-networkmanager-edit-connection-4.png |400px]]
  −
  −
Ensure the ‘Automatically connect to this network when it is available’ option is enabled on the General tab. If it’s disabled, NetworkManager won’t automatically connect to a wired or wireless network when you boot your computer.<br>
  −
NetworkManager uses Dynamic Host Configuration Protocol (DHCP) by default, so your computer will attempt to get connection settings—IP address, DNS servers, and default gateway—automatically from your router or Internet service provider.<br>
  −
For networks that require a static IP configuration, you’ll need to visit either the IPv4 Settings or the IPv6 Settings pane and select the “Manual” method. (If you’re not sure which you’re using, you’re probably still using IPv4.) Enter the details your connection requires here—your ISP or network administrator can tell you what to enter if you don't know.<br>
  −
  −
[[Image:ubuntu-networkmanager-manual-ip-and-dns-5.png |400px]].
  −
  −
For more information about this [http://www.pcworld.com/article/2455972/how-to-fix-your-internet-connection-in-ubuntu-linux.html Click here]
      
=Still If Internet is not working=
 
=Still If Internet is not working=