SliTaz SliTaz Forum

You are not logged in.

#1 2011-04-17 08:29:51

black dog
Member
Registered: 2011-04-09
Posts: 331

Slitaz and 3G modem

I put Slitaz on USB-stick. I want to connect to the internet via 3g modem Huawei E1550.

I read an article http://doc.slitaz.org/en:guides:dialup. But in this article describes setting up 3g modem is used to access the internet. But I have not yet set up a modem and Internet access I have.

I can download the required packages through the windows.

But what packages are needed? How do I get 3g modem?

Offline

#2 2011-04-17 14:41:16

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Slitaz and 3G modem

I use 3G myself and I made it a little easier by using Sakis3G. It requires a little work to make it work properly.

First download the following package based on which version of SliTaz you have:

For Stable (SliTaz 3):

http://mirror.slitaz.org/packages/stable/bash-4.0.tazpkg

http://mirror.slitaz.org/packages/stable/linux-dialup-2.6.30.6.tazpkg

http://mirror.slitaz.org/packages/stable/usbutils-0.84.tazpkg

http://mirror.slitaz.org/packages/stable/tar-1.20.tazpkg

http://mirror.slitaz.org/packages/stable/bzip2-1.0.4.tazpkg

http://mirror.slitaz.org/packages/stable/nscd-2.10.1.tazpkg

http://mirror.slitaz.org/packages/stable/gmp-4.2.2.tazpkg

http://mirror.slitaz.org/packages/stable/make-3.81.tazpkg

http://mirror.slitaz.org/packages/stable/coreutils-conditions-7.6.tazpkg

http://www.trixarian.za.net/downloads/sakis3g-stable.tazpkg

For the Latest SliTaz Cooking:

http://mirror.slitaz.org/packages/cooking/bash-4.2.tazpkg

http://mirror.slitaz.org/packages/cooking/linux-dialup-2.6.37.tazpkg

http://trixarian.za.net/downloads/nscd-2.11.2.tazpkg

http://mirror.slitaz.org/packages/cooking/grep-2.7.tazpkg

http://mirror.slitaz.org/packages/cooking/gmp-5.0.1.tazpkg

http://mirror.slitaz.org/packages/cooking/make-3.82.tazpkg

http://mirror.slitaz.org/packages/cooking/coreutils-conditions-8.10.tazpkg

http://trixarian.za.net/downloads/sakis3g-cooking.tazpkg

Download them and then just boot up SliTaz and copy them to your home folder.

Now open a terminal (xterm - it has an icon that's a box, with >_ in it) and do the following:

1. Type su and press enter/return

2. Type your root password (default password is root)

3. Type tazpkg install bash-4.0.tazpkg (or tazpkg install bash-4.2.tazpkg for cooking) and install the program. You can use tab to help select the full package name.

4. Do the same for ALL the above packages you downloaded preferably in the order I have above and only installing sakis3g last.

5. Plug in your 3G Modem and go to "Red Spider Button"---> Internet ---> Sakis3G and pick Connect on the menu. Select all the defaults and first options if asked a question. If everything goes well, you should be online in about 1-2 minutes. If not, try different combinations of answers to the questions Sakis3G asks you.

I'm working on a newer version of this package. It will have a better conf file and have less package requirements. Currently it's requirements is only bash and linux-dialup for cooking, so watch this space wink

Offline

#3 2011-04-17 15:03:25

black dog
Member
Registered: 2011-04-09
Posts: 331

Re: Slitaz and 3G modem

Thank you.

Now download the packages and try to configure your modem.

I read his text with an interpreter and saw that the translation is very bad. smile

I'm surprised you could understand my question.

Offline

#4 2011-04-18 06:00:49

black dog
Member
Registered: 2011-04-09
Posts: 331

Re: Slitaz and 3G modem

Yesterday downloaded packages to setup 3g modem.

But before installing decided to test whether the changes are saved on the usb-flash drive? Using the boot parameters:

slitaz home=usb

are not saved!

Use the command:

# tazusb writefs gzip

does not work!

To create a usb-stick I've used Universal-USB-Creator. USB flash drive formatted as fat32. Decided that this was a problem. So today is formatted as ext3, and created a flash means slitaz:

# tazusb gen-liveusb /dev/sdb1

But after that the stick is not visible under the windows. Okay, decided to test retention. Load parameter:

slitaz home=usb

There is a user name - tux, I type the password - tux, but again there is a user name! The system is loaded only as root.

How do to change the saved user tux? Can I make the flash drive when it read under windows?

Offline

#5 2011-08-04 13:17:42

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Slitaz and 3G modem

For whomever was looking for the nscd package earlier: It's now included with my sakis3g cooking package. You just need linux-dialup and bash to use it now. Everything else is included!

Offline

#6 2011-11-29 03:16:06

Guest
Guest

Re: Slitaz and 3G modem

Hello, thanks for your guide to installing sakis3g.  I tried your instructions, even downloading and installing the packages according to the sequence you specified.  However I get error messages when installing the gmp, make and sakis3g packages I think it was.  Seems like some of these packages try to wget more packages from the slitaz mirror?  but as I'm not connected to the internet, I'm can't do that. 

Have you come up with a newer version of this package yet? - which is easier to install?

#7 2011-11-29 03:24:10

Guest
Guest

Re: Slitaz and 3G modem

I should probably mention, I have the same 3g modem as Black Dog ie. Huawei E1550

#8 2011-11-29 04:13:52

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Slitaz and 3G modem

Which version of SliTaz are you using?

Also note my domain has changed. You can find the sakis3g package at http://www.trixarian.net/SliTaz

You only need the usbutils, linux-dialup and bash packages for SliTaz 3 while you only linux-dialup and bash to use it with SliTaz Cooking. Everything else should be included with my sakis3g package.

Offline

#9 2012-03-31 09:55:00

gs26
Member
Registered: 2012-03-17
Posts: 13

Re: Slitaz and 3G modem

Hi!

I completed the first steps installing each package.

But I cannot do this:

"Red Spider Button"---> Internet ---> Sakis3G and pick Connect on the menu.

I tried with "run" too and nothing happened.

I tried in terminal and I get this error:

tux@slitaz:~$ sakis3g

/tmp/sakis3gz.4865.sakis3g: line 59: syntax error: Bad substitution

Thanks!

Offline

#10 2012-04-01 05:07:13

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Slitaz and 3G modem

That error tells me you clearly didn't install the bash package. That probably means you didn't install linux-dialup either hmm

Offline

#11 2012-04-02 08:52:58

gs26
Member
Registered: 2012-03-17
Posts: 13

Re: Slitaz and 3G modem

Hi.

I followed the steps.

Could you confirm me which are the links?

So I'll try to download again.

Slitaz 3.0.

Thanks!

Offline

#12 2012-04-02 16:34:56

gs26
Member
Registered: 2012-03-17
Posts: 13

Re: Slitaz and 3G modem

Hello.

This was the process in terminal.

Thanks!

_________________________________________________________________________________________

tux@slitaz:~$ su

Password:

root@slitaz:/home/tux# tazpkg install bash-4.0.tazpkg

Installation of : bash-4.0

================================================================================

Copying bash-4.0...                                                  [ OK ]

Extracting bash-4.0... 649 blocks

Extracting the pseudo fs... (lzma) 1609 blocks

Installing bash...                                                   [ OK ]

Removing all tmp files...                                            [ OK ]

Processing post-install commands...

**** Actual SH link : busybox

Do you want Bash for /bin/sh (yes/No) ? : y

Leaving /bin/sh to : busybox

================================================================================

bash (4.0) is installed.

root@slitaz:/home/tux# tazpkg install linux-dialup-2.6.30.6.tazpkg

Installation of : linux-dialup-2.6.30.6

================================================================================

Copying linux-dialup-2.6.30.6...                                     [ OK ]

Extracting linux-dialup-2.6.30.6... 87 blocks

Extracting the pseudo fs... (lzma) 86 blocks

Installing linux-dialup...                                           [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

linux-dialup (2.6.30.6) is installed.

root@slitaz:/home/tux# tazpkg install usbutils-0.84.tazpkg

Installation of : usbutils-0.84

================================================================================

Copying usbutils-0.84...                                             [ OK ]

Extracting usbutils-0.84... 311 blocks

Extracting the pseudo fs... (lzma) 415 blocks

Installing usbutils...                                               [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

usbutils (0.84) is installed.

root@slitaz:/home/tux# tazpkg install tar-1.20.tazpkg

Installation of : tar-1.20

================================================================================

Copying tar-1.20...                                                  [ OK ]

Extracting tar-1.20... 260 blocks

Extracting the pseudo fs... (lzma) 656 blocks

Installing tar...                                                    [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

tar (1.20) is installed.

root@slitaz:/home/tux# tazpkg install bzip2-1.0.4.tazpkg

Installation of : bzip2-1.0.4

================================================================================

Copying bzip2-1.0.4...                                               [ OK ]

Extracting bzip2-1.0.4... 29 blocks

Extracting the pseudo fs... (lzma) 62 blocks

Processing post-install commands...

Installing bzip2...                                                  [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

bzip2 (1.0.4) is installed.

root@slitaz:/home/tux# tazpkg install nscd-2.10.1.tazpkg

Installation of : nscd-2.10.1

================================================================================

Copying nscd-2.10.1...                                               [ OK ]

Extracting nscd-2.10.1... 113 blocks

Extracting the pseudo fs... (lzma) 309 blocks

Installing nscd...                                                   [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

nscd (2.10.1) is installed.

root@slitaz:/home/tux# tazpkg install gmp-4.2.2.tazpkg

gmp-4.2.2 is already installed. You can use the --forced option to force

installation or remove it and reinstall.

root@slitaz:/home/tux# tazpkg install make-3.81.tazpkg

Installation of : make-3.81

================================================================================

Copying make-3.81...                                                 [ OK ]

Extracting make-3.81... 160 blocks

Extracting the pseudo fs... (lzma) 378 blocks

Installing make...                                                   [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

make (3.81) is installed.

root@slitaz:/home/tux# tazpkg install coreutils-conditions-7.6.tazpkg

Installation of : coreutils-conditions-7.6

================================================================================

Copying coreutils-conditions-7.6...                                  [ OK ]

Extracting coreutils-conditions-7.6... 51 blocks

Extracting the pseudo fs... (lzma) 244 blocks

Processing pre-install commands...

Removing all Busybox replaced utils...                               [ OK ]

Installing coreutils-conditions...                                   [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

coreutils-conditions (7.6) is installed.

root@slitaz:/home/tux# tazpkg install sakis3g-stable.tazpkg

Installation of : sakis3g-stable

================================================================================

Copying sakis3g-stable...                                            [ OK ]

Extracting sakis3g-stable... 1111 blocks

Extracting the pseudo fs... (lzma) 2293 blocks

Removing all Busybox replaced utils...

Installing sakis3g...                                                [ OK ]

Removing all tmp files...                                            [ OK ]

Preparing enviroment for Sakis3G...

ln: /usr/lib/libgmp.so: File exists

ln: /usr/lib/libgmp.so.3: File exists

                                                                     [ OK ]

================================================================================

sakis3g (0.2.0e) is installed.

Offline

#13 2012-04-02 16:35:31

gs26
Member
Registered: 2012-03-17
Posts: 13

Re: Slitaz and 3G modem

Hello.

This was the process in terminal.

Thanks!

_________________________________________________________________________________________

tux@slitaz:~$ su

Password:

root@slitaz:/home/tux# tazpkg install bash-4.0.tazpkg

Installation of : bash-4.0

================================================================================

Copying bash-4.0...                                                  [ OK ]

Extracting bash-4.0... 649 blocks

Extracting the pseudo fs... (lzma) 1609 blocks

Installing bash...                                                   [ OK ]

Removing all tmp files...                                            [ OK ]

Processing post-install commands...

**** Actual SH link : busybox

Do you want Bash for /bin/sh (yes/No) ? : y

Leaving /bin/sh to : busybox

================================================================================

bash (4.0) is installed.

root@slitaz:/home/tux# tazpkg install linux-dialup-2.6.30.6.tazpkg

Installation of : linux-dialup-2.6.30.6

================================================================================

Copying linux-dialup-2.6.30.6...                                     [ OK ]

Extracting linux-dialup-2.6.30.6... 87 blocks

Extracting the pseudo fs... (lzma) 86 blocks

Installing linux-dialup...                                           [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

linux-dialup (2.6.30.6) is installed.

root@slitaz:/home/tux# tazpkg install usbutils-0.84.tazpkg

Installation of : usbutils-0.84

================================================================================

Copying usbutils-0.84...                                             [ OK ]

Extracting usbutils-0.84... 311 blocks

Extracting the pseudo fs... (lzma) 415 blocks

Installing usbutils...                                               [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

usbutils (0.84) is installed.

root@slitaz:/home/tux# tazpkg install tar-1.20.tazpkg

Installation of : tar-1.20

================================================================================

Copying tar-1.20...                                                  [ OK ]

Extracting tar-1.20... 260 blocks

Extracting the pseudo fs... (lzma) 656 blocks

Installing tar...                                                    [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

tar (1.20) is installed.

root@slitaz:/home/tux# tazpkg install bzip2-1.0.4.tazpkg

Installation of : bzip2-1.0.4

================================================================================

Copying bzip2-1.0.4...                                               [ OK ]

Extracting bzip2-1.0.4... 29 blocks

Extracting the pseudo fs... (lzma) 62 blocks

Processing post-install commands...

Installing bzip2...                                                  [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

bzip2 (1.0.4) is installed.

root@slitaz:/home/tux# tazpkg install nscd-2.10.1.tazpkg

Installation of : nscd-2.10.1

================================================================================

Copying nscd-2.10.1...                                               [ OK ]

Extracting nscd-2.10.1... 113 blocks

Extracting the pseudo fs... (lzma) 309 blocks

Installing nscd...                                                   [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

nscd (2.10.1) is installed.

root@slitaz:/home/tux# tazpkg install gmp-4.2.2.tazpkg

gmp-4.2.2 is already installed. You can use the --forced option to force

installation or remove it and reinstall.

root@slitaz:/home/tux# tazpkg install make-3.81.tazpkg

Installation of : make-3.81

================================================================================

Copying make-3.81...                                                 [ OK ]

Extracting make-3.81... 160 blocks

Extracting the pseudo fs... (lzma) 378 blocks

Installing make...                                                   [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

make (3.81) is installed.

root@slitaz:/home/tux# tazpkg install coreutils-conditions-7.6.tazpkg

Installation of : coreutils-conditions-7.6

================================================================================

Copying coreutils-conditions-7.6...                                  [ OK ]

Extracting coreutils-conditions-7.6... 51 blocks

Extracting the pseudo fs... (lzma) 244 blocks

Processing pre-install commands...

Removing all Busybox replaced utils...                               [ OK ]

Installing coreutils-conditions...                                   [ OK ]

Removing all tmp files...                                            [ OK ]

================================================================================

coreutils-conditions (7.6) is installed.

root@slitaz:/home/tux# tazpkg install sakis3g-stable.tazpkg

Installation of : sakis3g-stable

================================================================================

Copying sakis3g-stable...                                            [ OK ]

Extracting sakis3g-stable... 1111 blocks

Extracting the pseudo fs... (lzma) 2293 blocks

Removing all Busybox replaced utils...

Installing sakis3g...                                                [ OK ]

Removing all tmp files...                                            [ OK ]

Preparing enviroment for Sakis3G...

ln: /usr/lib/libgmp.so: File exists

ln: /usr/lib/libgmp.so.3: File exists

                                                                     [ OK ]

================================================================================

sakis3g (0.2.0e) is installed.

Offline

#14 2012-04-02 17:33:17

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Slitaz and 3G modem

You should have typed Yes and not y when installing bash, because the proper checks for y and n only got added after SliTaz 3. Also as noted on my site, you only need to install linux-dialup, tar, bz2, bash and usbutils for Sakis3g to work - the rest is include with the package.

Offline

#15 2012-04-04 01:02:30

gs26
Member
Registered: 2012-03-17
Posts: 13

Re: Slitaz and 3G modem

Hi!

Thanks for your response!

You're ok! And now I'm here posting with Slitaz and 3G modem.

Is there any way of make this connection "automatic"?

I want to avoid who's gonna use the system to enter by console every parameter connection everytime he uses internet (apn, user, pass).

I'm using sakis3g via Xterm, is there a graphic alternative? That would simplify what I asked before.

Thanks again!

Offline

#16 2012-04-04 01:33:34

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Slitaz and 3G modem

As root, run leafpad /etc/sakis3g.conf and change everything as you need it. Then just create a shortcut on desktop that runs the command sakis3g connect - it's as automatic as you can make it without installing sudo and setting it to work without passwords.

Please note that sakis3g doesn't work with cooking or SliTaz 4 just yet.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 1.6 MiB (Peak: 1.77 MiB) ]