Results 1 to 15 of 68

Thread: [HowTo] GPRS/3G/HSDPA/UMTS USB modem Huawei E220 on Asus router

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336

    HowTo - lost connection - solutions

    There are several ways to go.......
    1.) You reboot your router, but I strongly suggest don't use such a solution.
    When you reboot your router by script, it can end in a continuous
    rebooting device.
    Sometimes it is hard to get a connection to your router.....
    2.) You do just nothing - the regular fw recognise a lost connection within 5
    minutes
    then a new connection is established again.
    3.) You can open a console on your router and enter 'killall pppd'. Wait a
    minute, your router starts a new connection immediatly.
    4.) You write a script to ping a website from time to time and when at least
    dns connection is lost, your script kills pppd and a new connection is
    established soon.
    Below you find all needed files, store file address to '/tmp/etc/' and do
    the appropriate entry in '/tmp/local/.files', then store script 'watch_wan'
    to '/tmp/local/sbin/' and store everything with the well known commands:
    'flashfs save && flashfs commit && flashfs enable && reboot'
    If you want, you can change time between pings, your loglocation aso.,
    just have a closer look at the file 'watch_wan', don't forget to store it
    forever with flashfs....
    5.) You change your gprs file. As written above, there is an automatic
    detection in your koppel firmware, hence you can adjust the time where a
    lost connection is recognized.
    Open vi /tmp/ppp/gprs/gprs (or open gprs with any editor) and change in
    the line lcp-echo-failure 5 the value '5' to '2'.
    Then add to your '/tmp/local/.files' the full path of gprs
    file '/tmp/ppp/gprs/gprs'.
    To store your changed file, do a
    'flashfs save && flashfs commit && flashfs enable && reboot'

    ahhh... don't forget to remove the extensions of the files and rights!
    A chmod 777 /tmp/local/sbin/watch_wan should do the trick.
    Call your watch_wan just with: (post-boot or console)
    '/tmp/local/sbin/watch_wan &' in order to run in background

    Hope it helps...
    Attached Files Attached Files
    Last edited by newbiefan; 01-04-2008 at 18:13.

Similar Threads

  1. Asus RT-N16 & LTE 4G/3G/CDMA modem
    By ua1onp in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 111
    Last Post: 18-08-2017, 16:49
  2. Asus WL-330N3G Travel Router - 3G Router из коробки
    By Romtron in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 24
    Last Post: 09-09-2013, 14:38
  3. [HowTo] Use Dropbox to download torrents on router
    By ryzhov_al in forum WL-500gP Tutorials
    Replies: 1
    Last Post: 13-01-2013, 09:54
  4. 3G USB Modem + Asus
    By dziadek in forum Polish Discussion - Polski (PL)
    Replies: 22
    Last Post: 20-10-2012, 07:21
  5. HOWTO use your WL-500g as IPv6 router
    By phedny in forum WL-500g/WL-500gx Tutorials
    Replies: 8
    Last Post: 17-02-2008, 07:19

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
  •