An Idea
Go OpenSource- An Intiative

Apr
09

Update : friends ,with ubuntu 9.10 upgrade it seems the network manager is broken. it seems even the same is for fedora 12. so have to revert back to WVDIAL AND GNOME-PPP . or wait till it gets rectified.

* Ubuntu9.04, Network Manager will detect Ur modem automatically. Just click in network manager , and set ur username and password and u r done.
Else follow the steps below . Thankyou.

NOTE:This post is only specific to India , but if you like to configure huwaei or zte data card then you can check it out.

So Reliance. has launched Wireless Broadband. finally a couple of weeks earlier. It claims a speed uplink speed of 1.8mbps.

Lets give a reality check. BUT wait wait, this post was mainly a HowTo. guide to Configure Reliance Wireless Broadband in Linux.

BUT Before you get started, Statutory Warning: This Guide with all my good intention is to help people although i don take any responsibility in-case your system screams out loud and breaks down. But yes i really like to help you stay connected with Linux.

So lets get started.

What are the things you need to Keep in hand before you can start:

1. The modem of course and linux installation.

2. Windows xp installed box. Sorry dude.Have to find one. You see Reliance has made things difficult for us .

3. UBUNTU  CD. ( You Might Need It).( Don worry ill not ask you to reformat).

4. The Reliance Modem software CD.(IT does’n have a thing for Linux but need it with XP to activate the connection).

Thats it now we can start.

1.First of course go buy the Connection and Datacard. DataCards are available across Reliance Communication all over the city.They’ll need 1 id prove and an local address prove. For outstation students an letter from college will do as address and id prove. But the most imp part is youll have to shell out 3500rs.

2. They’ll give you the card as soon as you submit the required documents and money. Then this is a postpaid connection so they’ll not activate you connection before verifying which address, ill take a couple of days max.(You need an windows preferably xp to activate the connection ,yes you have to activate your data card once they complete the process of activation, read the manual for the guide)

3. install the software in windows xp , Pluggin the datacard , it should install automatically (for huwaei) and then press activate in the software and follow the instruction what it speaks, you need a head phone here, but usually you have  to press 1 once or twice after 30 sec of pressing activate).

4. Now come back to Linux :

Open the Terminal (Application->Accessories->Terminal)

5. Type  SU (Super User, gives administrative privilege will need it little later). Key in the password .

then,

lsusb

Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 003: ID 12d1:1412 Huawei Technologies Co., Ltd.

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

This thing pops Out

Note down the no just before Huawei or quallcom depending on which card you use . To my experience all cards of the same vendor will have the same id. like for Huawei itll be 12d1:1412.

next,

modprobe usbserial vendor=0xAAAA product=0xBBBB  ,

Where AAAA is 12d1 and BBBB is 1412 in my case.

Then you have to edit wvdial.conf file, type,

gedit /etc/wvdial.conf

This will open wvdial.conf.

(NOTE: wvdial might not be installed , to install it                                                                                                                                                                  .

Insert original UBUNTU CD

Go to System->Administration->software sources. add cd as a source and close . itll update itself, Then on terminal type,

sudo apt-get install wvdial .

And key in Ur password , that shall do.

NOW coming back to wvdial .conf. Copy and paste this overriding the previous setting in .

[Dialer Defaults]

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Stupid Mode = 1

Modem Type = USB Modem

ISDN = 0

Phone = #777

New PPPD = yes

Modem = /dev/ttyUSB0

Username = 9310590985 (This is the no written in the back side and changes in every card).

Password = 9310590985 (This is the no written in the back side and changes in every card and is same as user name).

CBaud = 460800

Save it and exist .

Next,

Just enter terminal and sudo Wvdial

And your password to getconnected.

Best of Luck .

Ok, Now a quick review about its performance .

From the first few days of experience all i say is it works grt , Take my suggestion even though a bit costly for some , its worth it for mobility. its real good , i get a download speed of 120KBPS average that’s 120 * 8 , 960kbps , not bad and no disconnection as such. have taken it to noida also , works grt even there.

Tcare and i suggest you buy the bet , but don’t kick me if its not as smooth a ride for you, its Ur bad luck.

Ill be ready for help , please post in the reply.

BTW, To my knowledge i am the First in Delhi to use reliance NetConnect Broadband+ under Linux and post about it.  Even The guys at reliance outlet said you cant, and were not ready to sell saying ill waste money. But i did it. U c at least a distinction in something.

PROBLEM AND SOLUTION:

1.Firefox or ping doesn’t respond . FF doesnt  load any page, says offline. Actually many application like evolution , pidgin also don work.

Sol: TEMP solution for Firefox only : SET toolkit.NetworkManager.disable to TRUE in about:config. It should run fine .

Type about:config in awesome bar accept the Warning search for toolkit.networkmanager.disable to TRUE.

PERMANENT SOLUTION:

WARNING: This step will diable Network Managers process of notifing offline/online status to any other application(when it ask for).Though it wont affect Your normal work in anyway.

1. type

gksudo gedit /etc/dbus-1/system.d/NetworkManager.conf

(note: path might differ for your Linux distribution – try locate NetworkManager.conf).

2.Then replace all lines of

allow send_interface=”org.freedesktop.NetworkManager”

with

deny send_interface=”org.freedesktop.NetworkManager”

NOTE: There are 3 of them in the file , search throughly.

Save the changes and either reboot or just stop/kill/restart the running instance of NetworkManager. This change will stop NetworkManager from notifying FireFox/Pidgin/Evolution and other desktop applications about the presence/absence of internet connection – and FireFox will no longer start in Offline mode.

Sep
27

Initially when firefox was launched, its website rendering speed was amazing when compared to IE6/7.But over the last few months Apple Safari Browser and Google Chrome did it better.But people still prefer FF cause of its extensions, so ill try to renew and renovate ur FF experience.Although I won dare to dig into Firefox’s rendering engine, here are a few tricks which will increase browsing speed.

Before you get started, Statutory warning: This was intended for Power Users(who noes whats under the hood).But its easy for an average user to fiddle around with proper guidance.And caution caution if you F… UR workstation with this tweak than don send in ur hate mails, and don’t go shouting around. It happens dude sometimes ,its part of learning.

Donno worry and leave now . Its ok to try this settings out it will not blow ur system.Enjoy the new FF experience.

First you need to know that all your setting are saved in FF configuration menu. Now Config menu doesn have any GUI. Its in a form of table containing several parameters. Its like registry in windows(wait FF3 doesn blot) and config.*** in linux.

Here’s what you do:
In the URL bar, type “about:config” and press Enter.
This will bring up the configuration “menu” where you can change the parameters of Firefox.

Note that the following parameter tweaks are what I have found speed up Firefox on my computer, and these settings should work fine for other broadband internet users.

Double Click on the following settings and put in the numbers below – for the true / false booleans – they’ll change when you double click. If you cannot find a particular entry in the list, there is a search bar at the topic of the screen to narrow the list down.

Code:
browser.tabs.showSingleWindowModePrefs = true
network.http.max-connections = 48
network.http.max-connections-per-server = 16
network.http.max-persistent-connections-per-proxy = 208
network.http.max-persistent-connections-per-server = 52
network.http.pipelining = true
network.http.pipelining.maxrequests = 100
network.http.proxy.pipelining = true
network.http.request.timeout = 300
network.image.ImageBehavior = 0

Now the follwing is the most imp of all and only for broadband users, itll surely increase your rendering speed.

Now right-click somewhere on that screen and click
NEW -> Integer.
Name it “nglayout.initialpaint.delay” and set its value to “0”. This value is the amount of time the browser waits before it acts on information it receives. Since you’re broadband – it shouldn’t have to wait.

Now you should notice you’re loading pages MUCH faster now!

Ill post more tweasks later, till then all your comments will be much anticipated and appreciated.Wait wait its not over 1 final word, remember remember no hate mails please, you screwed your system i just guided you. Tada.

Follow

Get every new post delivered to your Inbox.