Changes

Jump to navigation Jump to search
Line 178: Line 178:     
<li>[[#top|Back to Top]]
 
<li>[[#top|Back to Top]]
  −
==How do I connect to the Internet via a Wireless Data Card (Mobile Broadband)?==
  −
<ul>
  −
'''''Mobile Broadband''''' means any kind of high speed Internet connection which is provided by an external device such as a 3G USB stick or mobile phone with built-in HSPA/UMTS/GPRS data connection.
  −
Most mobile broadband devices should be recognized automatically when you connect them to your computer. Ubuntu will prompt you to configure the device:
  −
<li>The '''''New Mobile Broadband Connection''''' wizard will open automatically when you connect the device.</li>
  −
<li>Click ''Forward'' and insert your details, including the country where your Mobile Broadband device was issued, the network provider and type of connection.</li>
  −
<li>Give your connection a name (it is up to you what name you choose) and click ''Apply''.</li>
  −
<li>Your connection is now ready to use. To connect, click the '''''Network Manager''''' icon in the top right of the panel and select your new connection.</li>
  −
<li>To disconnect, left click the Network Manager icon in the top right of the panel and click '''Disconnect'''.</li>
  −
</ul>
  −
<ul>
  −
If you are not prompted to configure the device when you connect it, it may still be recognized by Ubuntu. In such cases you can add the connection manually:
  −
<li>Right-click the '''''Network Manager''''' icon in the system notification area and click ''Edit Connections''.</li>
  −
<li>Select the ''Mobile Broadband'' tab. </li>
  −
<li>Click '''Add'''. </li>
  −
<li>This should open the '''New Mobile Broadband Connection''' wizard. Enter your details as described above. </li>
  −
</ul>
  −
  −
OR
  −
  −
Most of the data cards available in the market are designed to work on windows and mac computers. Few have drivers (software) to work on GNU/Linux too! However for the data cards that do not have GNU/Linux drivers, here is the most generic and simple solution..
  −
  −
1. Connect the data card to the USB port.
  −
  −
2. Open the 'Terminal' (Application → Accessories → Terminal)
  −
  −
3. Two additional software are required for this activity. So use internet (may be wifi or cable) to download these software packages. In the terminal window, at the $ sign, type sudo apt-get install wvdial and when prompted for a password, type in your login password (you will not see a thing on the screen, don't worry just key in your password)
  −
  −
4. The next software package that we have to install is call usb-modeswitch. This package is very important because most of the datacards when plugged in acts like storage devices and not datacards and this package switches the devices' mode from storage device to a datacard. You can download this package from http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.2.0.tar.bz2 and you'll need another file which can be downloaded from here http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-20111023.tar.bz2. A supporting package called libusb is required too. This can be downloaded by typing sudo apt-get install libusb at the $ symbol in the terminal.
  −
  −
5. The two files downloaded needs to be unzipped (uncompressed). If you are not sure of where the files are, check your Downloads folder under the home folder. Right-click on the downloaded files and select extract here. Once this is done, go back to the terminal and type the following commands
  −
  −
cd ~/Downloads/usb-modeswitch-1.2.0
  −
  −
sudo make install (you'll have to enter your login password after this)
  −
  −
cd ~/Downloads/usb-modeswitch-data-20111023
  −
  −
sudo make install
  −
  −
sudo apt-get install libusb-dev
  −
  −
  −
6. Now we need to configure wvdial. In the terminal at the $ symbol type sudo gedit /etc/wvdial.conf. This will open a text editor which might have some text in it. Replace the text with the following
  −
  −
[Dialer Defaults]
  −
  −
Init1 == ATZ
  −
  −
Init2 == ATQ0 V1 E1 S0==0 &C1 &D2 +FCLASS==0
  −
  −
Modem Type == Analog Modem
  −
  −
Baud == 9600
  −
  −
New PPPD == yes
  −
  −
Modem == /dev/ttyUSB0
  −
  −
ISDN == 0
  −
  −
Username == <type your reliance number here> or internet (if it is a tata photon datacard)
  −
  −
Password == <type your reliance number here> or internet (if it is a tata photon datacard)
  −
  −
Phone == #777
  −
  −
Stupid Mode == 1
  −
  −
7.  Once this is done, at the $ type sudo wvdial to connect to the internet
  −
  −
–> WvDial: Internet dialer version 1.60
  −
  −
–> Cannot get information for serial port.
  −
  −
–> Initializing modem.
  −
  −
–> Sending: ATZ
  −
  −
ATZ
  −
  −
OK
  −
  −
–> Sending: ATQ0 V1 E1 S0==0 &C1 &D2 +FCLASS==0
  −
  −
ATQ0 V1 E1 S0==0 &C1 &D2 +FCLASS==0
  −
  −
OK
  −
  −
–> Modem initialized.
  −
  −
–> Sending: ATDT#777
  −
  −
–> Waiting for carrier.
  −
  −
ATDT#777
  −
  −
CONNECT
  −
  −
–> Carrier detected.  Starting PPP immediately.
  −
  −
–> Starting pppd at Thu Nov  5 15:45:26 2009
  −
  −
–> Pid of pppd: 3205
  −
  −
–> Using interface ppp0
  −
  −
–> pppd: 0$P
  −
  −
–> pppd: 0$P
  −
  −
–> pppd: 0$P
  −
  −
–> pppd: 0$P
  −
  −
–> pppd: 0$P
  −
  −
–> local  IP address 115.184.194.33
  −
  −
–> pppd: 0$P
  −
  −
–> remote IP address 220.224.141.145
  −
  −
–> pppd: 0$P
  −
  −
–> primary  DNS address 202.138.103.100
  −
  −
–> pppd: 0$P
  −
  −
–> secondary DNS address 202.138.96.2
  −
  −
–> pppd: 0$P
  −
  −
You are now connected to the internet
  −
  −
8. You can start browsing now and remember not to close the terminal window. To disconnect you'll have to press Ctrl C.
  −
[[#top|Back to Top]]
  −
      
==Turn off Bluetooth by default in Ubuntu 14.04==
 
==Turn off Bluetooth by default in Ubuntu 14.04==

Navigation menu