5

I have a USB 3G modem, which connects to the Greek GSM provider CosmOTE.

Its software runs under Windows; thankfully my kernel seems to understand it is a modem, since it creates a couple /dev/ttyUSB? devices, so it is not a “ZeroCD” modem needing the usb-modeswitch command or it is but the kernel switches it on connection.

How do I connect to the Internet with it?


(Note: I've solved this problem; however I couldn't find any reference in SU, and I feel so grateful I've found an answer I had to add this question :)

Gnoupi
  • 8,188
tzot
  • 746

3 Answers3

3

Thanks to a fellow Linux user, there is the sakis3g script that seems to be a magic wand automating everything for the connection.

It can run as an interactive console command, or even provide a text or graphical interface. In my case, if run without any options (and no configuration file), it needs some help: it asks through an X dialog which of the connected USB devices is the modem (the 1bbb:0000 device I have has the obvious product name “USBModem Configuration”, so it's a no-brainer), then it asks about the modem PIN number, and it connects. That's it.

I understand the script includes a version of the usb_modeswitch (or usb-modeswitch, depending on your distribution) tool, so it works even in the cases where the kernel does not automagically switch the device to modem operation. It also has presets for many providers around the world, obviously because lots of other people have found the sakis3g tool useful too, and have contributed to its ever increasing database.

tzot
  • 746
1

I don't get the question. You say you solved it, yet you ask something so it isn't solved at all. Well.. whatever. You have to check what kind of modem is it. Usually ZeroCD stuff is Opticon. Opticon needs an external 3rd party connection utility. HSOconnect.

Check this page for more information. You can find all the utility you'll ever need for this 3G mazochist stuff under Linux.

Apache
  • 16,299
0

NetworkManager does a pretty good job of handling 3g modems, though it's not perfect.

Daenyth
  • 6,460