Friday, November 16, 2012

Setting up 3g mobile broadband in linux/backtrack (The Easy Way)

Setting up 3g mobile broadband in linux/backtrack (The Easy Way)


Now recently I just bought 3g mobile broadband dongle to access the internet on the weekends when we go out to our ranch. Now it works perfect for windows but I still rather run it under linux and I've tried so many different options tutorials ETC. Everybody make it sound 300x harder than it actually is. This doesn't take much computer know how to do. BTW this is all done with one program called Sakis3g awsome little tool with lots of great features like an interactive GUI. Now there are some key notes you have to know before we start.

REMOVE THE SIM CARD FROM THE USB DONGLE AND INSERT IT INTO YOUR PHONE JUST TO MAKE SURE IT DOES NOT A PIN LOCK IF IT DOES REMOVE IT THE PIN LOCK SHOULD BE SOMETING LIKE 0000 OR 1234 PUT MOST OF THEM THESE DAYS COME UNLOCKED.


Let's get started

About Sakis3g

Sakis3G is a tweaked shell script which is supposed to work out-of-the-box for establishing a 3G connection with any combination of modem or operator. It automagically setups your USB or Bluetooth™ modem, and may even detect operator settings. You should try it when anything else fails!
Now let's browse to Sakis3G and scroll down until you see the download section if you don't know witch version to download. Just download the the first one
i386 - Fullversion
 
 
Now before we run it lets go back to windows and check the 3G dongle setting. First, most important thing is everything you see and take note of is case sensitive. Now what do we need.
 
1. Name of your APN incase sakis3g does not acquire it automatically.
2. Your user name and password
Now the password might be a bit tricky as you can see in mine my user name is Zain and my password is a four letter or digit password. Most if not all companies would have something like 0000 1111 1234 or it can be exactly the same as your user name.
***NOTE***
Notice my APN is all lower case and my username has a capital Z at the beginning and if my password where to be the same as my username it will also have a capital Z at the beginning.
 
 
Now after we got all the information we needed let's reboot into linux. Make sure you are not connected to any to anything before you start. Browse to where you have downloaded Sakis3g and run these commands.

gunzip sakis3g.gz
chmod +x sakis3g
./sakis3g --interactive
 
 
 
 Once you run the interactive GUI it will give you four options pick option one and press enter.
 
 
 It will the ask you what interface pick the first one like I have and press enter.
 
 
Good if you get this screen that means it has automatically found your APN so what is left to do is put in our username and password. Remember case sensitive information.
 
 
 
 
 Now you just get this message when I first saw this I thought it was an error massage but what it was actually saying I was connected.
***NOTE***
The only way you'll know your connected is with this message and will not show up in your connection list in Wicid manager. 
 
 
 That's it for this tutorial if you have any questions feel free to ask.