Results 1 to 5 of 5

Thread: Setting up 3g card on each boot

  1. #1

    Smile Setting up 3g card on each boot

    Hello,

    I am a newbie (also a noob) here. I have a local 3G data card which i need to set up on each boot using terminal. I have searched a HELL LOT and found a way to do it. The following are the commands to be run :

    Code:
    sudo /sbin/depmod
    sudo /sbin/modprobe usbserial vendor=0x1c9e product=0x9e00
    sudo wvdialconf
    sudo wvdial
    My question is, is there any way to automate this process? and exit silently if any error occurs in this process?

    (sorry if i sound funny )

    Will be VERY THANKFUL if u help and also, in return, can help you in any graphical design kinda work ( nothing comes free )

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,726

    Default Re: Setting up 3g card on each boot

    You can try to put those statements into /etc/init.d/boot.local and see if it helps. It could be that this runs to early in the whole startup sequence (direct after boot and before the processes are started to go to the wanted runlevel).

    In that case move them to /etc/init.d/after.local which is run as last before reaching the wanted runlevel.

    I guess (but I am not sure) that the first two of your statements are OK in boot.local, but I a not sure if the last two aren't to early then. Better try it and when all works to satisfaction in boot.local then keep them there (as early as possible).

    Of course you should remove the sudo's from them. Those files are already done as root.
    Henk van Velden

  3. #3

    Default Re: Setting up 3g card on each boot

    Quote Originally Posted by hcvv View Post
    You can try to put those statements into /etc/init.d/boot.local and see if it helps. It could be that this runs to early in the whole startup sequence (direct after boot and before the processes are started to go to the wanted runlevel).

    In that case move them to /etc/init.d/after.local which is run as last before reaching the wanted runlevel.

    I guess (but I am not sure) that the first two of your statements are OK in boot.local, but I a not sure if the last two aren't to early then. Better try it and when all works to satisfaction in boot.local then keep them there (as early as possible).

    Of course you should remove the sudo's from them. Those files are already done as root.
    WORKS! thank you very much! just a pm if u need any design work i owe u

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,726

    Default Re: Setting up 3g card on each boot

    You are welcome. And I do not need any design work. That is also not the way it works here. Everybody here tries to help others. And the others, when gaining experience will pay back in the future by helping also. Or by doing other things for the community like spreading the word that Linux is wonderfull ad that openSUSE is a good distribution.
    Henk van Velden

  5. #5

    Default Re: Setting up 3g card on each boot

    Hey,

    One more question. How to make it run after i boot after hybernation ?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •