Hello everybody, SliTaz works fine to me, all i want is a distro to boot and UP in seconds, everything works (wifi, eth0, audio, video) except my 3G dongle (ZTE MF-110).
I'm running SliTaz-4.0-RC3 from a iso file in my /boot directory of VectorLinux 6 distro, and grub2 to load the systems.
How can i add the packages linux-dialup-2.6.37, wvstreams-4.6.1, wvdial-1.61 and perhaps anothers in the SliTaz-4.0-RC3 iso file ? I tried to unpack the rootfs.gz packages with i create earlier with cat rootfs4.gz rootfs3.gz rootfs2.gz rootfs1.gz > rootfs.gz to run the ISO from grub2, but the command (xz -d rootfs.gz -S .gz) reports me a corrupt file. That's it, basically how to build a personal slitaz iso is what i want.
thanks and sorry the bad english.
[code]wtf brazilian invasion ? hehehe[/code]

Recreate a ISO with needed packages to 3g connect
(8 posts) (2 voices)-
Posted 13 years ago #
-
We're already working on adding all the packages SliTaz 4 will require to make 3G connection work. The list being: linux-dialup, ppp and usb_modeswitch - yep, you really only need those three. We just have to write a dialer program that works with 3G modems ;)
Posted 13 years ago # -
NICE, thanks for fast reply.
So, next release of SliTaz should have those packages !?
I suggest to include wvdial and his frontend pyWvdial, probably easy than build a dialer from scratch...
Thank you, should i change the status of the post ?Posted 13 years ago # -
Well, we don't really /need/ wvdial to make it work. Not that it's not light in itself, considering it only uses like 500kb of space on the iso image. Still that's 500kb we could save hey. I also don't want to use python scripts since that means having to add like 8MB to the iso size because python is huge. Would be better to write it in bash using yad to generate the dialog for the dialer.
Technically it would just be easier to write a dialer program that runs through ppp. It's actually not that hard to bolt on the settings needed for a device, but most values are dynamic, which means we can't use hard coded configuration files to do it and must do it via command line instead - that's where it gets a little tricky.
Posted 13 years ago # -
Now i see the point, it is incredible how slitaz works with only 35MB, and have to agree with you to keep the things smaller.
Thanks again and i'll wait for next release with 3g support.
see ya !Posted 13 years ago # -
Until the next release i solved using the 4.0-RC3 iso from grub2 and install the packages:
usb-modeswitch-1.2.3
usb-modeswitch-data-20120120
linux-dialup-2.6.37
wvdial-1.61
wvstreams-4.6.1
Copy the wvdial.conf used with my other linux distro to /etc
Then burn the 4.0-RC3 iso into a cdrw and leave it on the drive and use the command: tazlito writeiso lzma
For my surprise the iso generated is smaller than the original:
-rw-r--r-- 1 root root 38688768 Mar 30 12:05 slitaz-4.0-RC3.iso
-rw-r--r-- 1 root root 37748736 Apr 1 03:27 slitaz.iso
And now just open a terminal and send wvdial.Posted 13 years ago # -
That would do it - the pain just comes when usb-modeswitch does not switch the modem automatically :/
Posted 13 years ago # -
Yes, but it depends of hardware i think, i try nokia cs-11, zte mf110 and huawei e173s, the nokia (/dev/ttyACM0) and zte (/dev/ttyUSB2) became a modem if ejected (eg. eject /dev/sr1) but huawei not, only works with usb-modeswitch...
Posted 13 years ago #
Reply
You must log in to post.