Sakis3g


About Sakis3g

Sakis3g is a script which creates an Internet connection using 3G modems. The software works with most USB and Bluetooth modems. Sakis3g is frequently used in devices such as Raspberry Pi and BeagleBone Black.

The script can be used via a graphical user interface or through command lines.


How to use Sakis3g

The instructions presented here should work on most Linux distributions. Feel free to post a comment at the bottom of the page if there are any issues.

The first step is to make sure you have the ppp package installed. Then the Sakis3g package can be downloaded, unzipped, made executable and then run.

First check that you have ppp installed
sudo apt-get install ppp

Now download the Sakis3g package
sudo wget "http://www.sakis3g.com/downloads/sakis3g.tar.gz" -O sakis3g.tar.gz

Then unzip the file
sudo tar -xzvf sakis3g.tar.gz

Make the file executable
sudo chmod +x sakis3g

And finally launch it
./sakis3g --interactive

Sakis3g will start in an interactive mode. Select the right options for your modem and either choose a predefined APN or enter a custom APN. If one of the custom APN fields is empty (no user and/or no password required), then enter 0.

If the connection is successful, you will get a confirmation message. If the modem is identified, but it fails to connect, the APN settings might be wrong.

If the modem can't be configured, it may be possible that the modem requires additional configuration. Please enter your problem and modem details in the comments if the configuration fails.


Download Sakis3g

To directly download the latest version Sakis3g script, please click here: Download

The script is suitable for all architectures with USB ports (i386, amd64, armv4t & armv5t). The package includes usb-modeswitch, required to switch some 3G modems from CDROM mode to the modem mode. The software requires the ppp package to be installed and also possibly wvdial.


Keep alive

Sakis3g will not ensure the connection is kept alive. In poor signal areas it is very likely that the connection will drop after some time. In critical situations where the connection needs to be restored automatically, you can use UMTSkeeper, a script which ensures the connection is restored automatically. For more information about UMTSkeeper please click here. Note that UMTSkeeper already includes sakis3g.

Make sure that the resetusb program included in UMTSkeeper executes properly on your Linux machine! It will not run by default on Raspberry Pi or Beaglebone Black!

To check that resetusb works fine on your machine, run the following command in terminal from within the umtskeeper directory:
sudo resetusb /dev/bus/usb/-port-/-dev-You can get the port and device number of the modem by typing lsusb in terminal.

If an error occurs when running the command mentioned above, resetusb needs to be recompiled by using the following command:
sudo gcc resetusb.c -o resetusb


Donate

If you've found this website useful and my comments helpful, you can donate any sum using the button below.

Sponsors

Analizoare de gaze | Kronstadt Energii Regenerabile

Comments

If you require assistance, please leave a comment below.