Wednesday, May 25, 2011

Adding a new GSM Network to Ubuntu

Connecting a GSM network in ubuntu, no problem! Follow the following steps :

1. Open Network Connections, either from network applet or System->Configuration [in ubuntu].
2. Select tab 'Mobile Broadband'.



3. Click on add, a wizard opens for New Mobile Broadband Connection.


 
4. You would be prompt to select Country, Service Provider and plan.


5. On completion of the wizard, a new window would open, leave it as it is.


6. You may change the settings ( also known as dial-up settings ) in window above.
7. And yes, don't forget to check Available to all users. Enter password when prompted.


 8. Select network applet, select your newly created connection.


9. Enjoy Networking :)



Comment on this thread if not connected

Configuring network manually on Linux

Sometimes, it may happen that our Linux OS does not detect the Internet connection despite connectivity [ It generally happens in Proxy servers ]

Open terminal and type

decapsulatingabstraction@ubuntu:~$ sudo -s 
[sudo] password for decapsulatingabstraction:
root@ubuntu:~# ifconfig eth0 your IP netmask your subnet mask
root@ubuntu:~# route add default gateway IP v4/v6 Gateway
root@ubuntu:~# sh -c "echo nameserver IP v4 DNS > /etc/resolv.conf"

 You can view your network configuration using ifconfig


If you hate terminal then also there's a way out, here it is:

1. Click on the network applet, select edit connections




2.  Select a pre-existing connection or simply add a new, then click on edit,


3. Give a connection name, add Auto in front of it, if you want that connection to be connected automatically.

4. In IPv4 tab, make the method manual.


5. After making the method Manual, click on add, and edit the present addresses to desired ones



5. Save it !


For NIT Durgapur students, 


IPv4 Gateway 172.16.40.1
IPv4 DNS        172.16.1.90
Subnet Mask   255.255.254.0


for Manual DHCP,  DHCP = 172.16.1.90

Enjoy Networking !!!