View Single Post
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#456
Originally Posted by digitalvoid View Post
I'm currently trying to implement this, but I think it can only be manually done (edit your own IMSI numbers in smscon_code file).

Smscon can't do it automatically because it doesn't know if one of your cards is a valid card when swapped the first time.

Possible solution: at boot time press a specific key to learn smscon the new SIM card (save new IMSI code as valid in smscon_config file). Don't know if this can be done...
Hi Digitalvoid,

Some more possibilities for you to consider:

1) The daemon is modified to check more than one file. That is, to accept files like smscon_config, smscon_config1, smscon_config2,... etc. found in its directory.

I could add a button in the editor "Add new IMSI" which will basically move/rename the current config file up to the next available slot.
The user then needs to change the SIM and during booting a new config file will be created automatically.

2) The daemon is modified to check multiple lines in the config file. In that case the add button will append the new IMSI in the file.