PDA

View Full Version : GPRS/3G/HSDPA/UMTS USB modem Huawei E220 on Asus router - HowTo


newbiefan
14-03-2008, 16:58
The Huawei E220 modem is more and more used as a mobile internet access.
Well, wouldn't it be nice to have a cheap wireless-router, capable to be installed fast and elsewhere?
A mobile USB modem and a Linux-Router allows you to achieve it!
Whether at the alpine-cabin, at the car park, campground or Grandma's, everywhere internet for all!
The Huawei E220 modem is increasingly used from an unbelieveable amount of isp's throughout the world.
An adaption of Olegs grandiose firmware called Koppel FW gives you the unique opportunity to turn your low price asus router
to a full fledged gprs/umts wireless router in an easy way.
Please read the entire howto before any installation.
FIRMWARE FOR WL500GPV2 IS AVAILABLE NOW!!
The firmware is available for Asus Wl500gP, g, gx
-Download http://koppel.cz/cdmawifi/download/169 (newest adapted, stable Oleg FW)
-Set at routers web interface, system setup to factory default. (of course apply & finish)
-Wait for reboot and click at menu system setup 'firmware upgrade' to upload your new firmware (1.69).
-Please wait several minutes and do not touch/unplug anything.....
THE LATEST FIRMWARE-RELEASE (1.69) SUPPORTS ALREADY THE HUAWEI E220 MODEM (SINCE 1.68).
Click on GSM / GPRS and input your data of your isp - done.
FOR ALL OLDER VERSIONS (<1.68) YOU NEED THE ATTACHED FILE 'dial.huawei.tar.gz' (or if your connection speed is too slow).
-After reboot choose USB Connection and select User defined.
-Upload attached user dial-up file 'dial.huawei.tar.gz'
-Then USB connection, dial-up Config, your username / password / APN / dialin number. (some isp don't need usernames/passwords)
Then apply and finish.

After each reboot the router connects automatically to inet. Use the webif to toggle between connect and disconnect.
Please note, that the modem must be switched with "windows mobile connect" to 3g preferred enabled and pin code disabled.
If you don't have your dial-in number and/or APN, just google for it or call support line of your isp.

With newer asus-routers (wl-500gp), perhaps you get a weak or no wireless signal. If this is the case, please log on (telnet) to your router (192.168.1.1) and add
to your post-boot (stored at /tmp/local/sbin/post-boot) with 'vi /tmp/local/sbin/post-boot' (if you are not firm with vi, google for vi manual, it's easy):

'wl antdiv 3'

This allows the router to select the best antenna.
As usual, store your post-boot with 'flashfs save && flashfs commit && flashfs enable && reboot'.

This HowTo is an excerpt from english Wl500g forum http://wl500g.info/showthread.php?t=7318
and (a german) UMTS Forum http://www.umtslink.at/3g-forum/showthread.php?p=528907
And last, but not least, many thanks to Oleg and Engy for such a grandiose firmware.
Have fun.........

newbiefan
26-03-2008, 21:37
If somebody want to have the "dial huawei" files with pin code, download from here:
http://wl500g.info/attachment.php?attachmentid=2738&d=1206016319

newbiefan
31-03-2008, 11:21
If your usb modem does not connect or your connection is lost,
just do a
killall pppd
and wait a minute, the modem starts immediatly with a new dial in.

Later I'll post a script which checks inet-connection and reconnects when connection is lost.

Att.: there is no need to reboot the router!!!

newbiefan
01-04-2008, 11:06
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...

againmoon
07-04-2008, 21:10
Dear all, thank you very much for your work.
I am starting using WL-500GPV2 with my modem in Italy with a contract.
I have a limit of 5Giga of traffic per month. Is it possible to control the traffic from the router?
Is it also possible to check if the connection is with my mobile operator and not with other operators in roaming?
thanks very much

newbiefan
07-04-2008, 22:16
Well, this is hard to answer.....
but let me tell you the following:
with a bit scripting, it should be possible to control amount of traffic.
But what do you want to do when limit is reached? Switch off everything?

Further, a control of roaming or change to an other provider should be possible. For instance - check out the DNS-server addresses of your provider, when dns-addresses are changed, your are in a roaming area. Then you can switch off any connection or allow a connection at a certain time aso. - but everything with scripting.

Best would be to learn a bit linux and scripting.....

Hope it helps

againmoon
08-04-2008, 14:12
Dear newbies,
I think I will try to learn some linux.
On this forum http://ubuntuforums.org/showthread.php?t=90959,
I found the following solutions for ubuntu, concerning traffic control in linux

Add to Panel > Network Monitor and System Monitor
Run netmeter in wine under Ubuntu.
iptables work fine
vnstat seems
darkstat,bandwidthd

do you think those solutions can work for WL500GPV2?
thanks

newbiefan
08-04-2008, 20:37
No, it will not work that way.....the systems are totally different.
An Asus router is an embedded linux device. Of course you can install a lot of different linux software like webserver, fileserver, ftpserver, printserver, torrent, videoserver and so on, but everything must be compiled (crosscompiled) for a so called mipsel-cpu. But there is an unbelieveable amount of precompiled packages - just have a look at this list:
http://www.nslu2-linux.org/wiki/Optware/Packages

or a complete list: http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/

Isn't it amazing?

againmoon
09-04-2008, 09:09
I really would like to thank you for your support. I will have a look to those package. I think it will take a while...

againmoon
19-04-2008, 07:39
Usb interfaces problems WL-500GP v2
When I connect usb modems to my router, it does not recognize nothing, no vendor id , product id.
I tried with modem onda HS600, nothing,
SAMSUNG U700(HSDPA) , nothing
Siemens P990 (UMTS), nothing

WHen I connect hard disc no problem. I connected HDD IOMEGA 120 Giga no powered, ok.
I connected 500 G LANCE HDD, external supply, ok
I also connected an Iphone (it is not a modem) and it was recognized, even without external supply.
I tried with powered usb hub, but nothing changed.

Initially I tested with Koppel wl500GP v2 software (see http://koppel.cz/conferences/viewtop...r=asc&start=30). Afterwards I upgraded directly to oleg firmware 10 for WL500GPv2 and I have the same problem.
Did you ever tested file log with an usb modem in v2?
Is it a problem of firmware 10?
I used killall but nothing...

thanks

newbiefan
20-04-2008, 21:38
I'm sorry, but I do not own a V2, therefore I can not test it....:(

againmoon
21-04-2008, 10:37
I'm sorry, but I do not own a V2, therefore I can not test it....:(


I am very newbie
Maybe the problem is the the same you discuss in http://wl500g.info/showthread.php?t=13362&highlight=e220
Where you suggest "In any case keep a sleep 30 in your post-boot".
If I correctly understood maybe the modem needs more time to send its information to the system. I will test next days...

againmoon
26-04-2008, 17:28
For any person interested here http://forum.openwrt.org/viewtopic.php?id=15468 I posted and howto about hsdpa with kamikaze.
It worked for me. Probably koppel and oleg firmware are better for stability and simplicity, but I think it is interesting the possibility to have a backup solution

rhai
05-09-2008, 12:06
Hi guys,

Does this support load balancing between 3G HSDPA and Internet thru WAN port?

darius
05-09-2008, 20:26
Hi,

I really appreciate your efforts but please write your HOWTO
step by step with scripting/ scripts
editing, directories and naming working usb modems/ operators and more.

Can I use USB hub to have usb harddisk, usb bluetooth or usb gps, usb cell modem in one.
Do I ned to use extra power supply source ?

Darius

newbiefan
05-09-2008, 21:41
Can I use USB hub to have usb harddisk, usb bluetooth or usb gps, usb cell modem in one.
Do I ned to use extra power supply source ?

Darius

Why should I know all possible applications and their dependance on each other including their behavior when using any usb device?
As this firmware is for asus devices (from Oleg) you can use many usb-devices and the related howto.
Sorry, I'm not god!

Well, as scripting is always done for a particular solution of a problem, it's very hard to guess your problems. So it means, you have to specify a particular problem and then maybe I or somebody else can help you.

Further, I'm not able to teach you scripting, it would simply take too long.
All what I can do is to try to answer for a posted, particular question.

Therefore I'm awaiting your question or a description of your problem.

have fun....

darius
06-09-2008, 16:32
Why should I know all possible applications and their dependance on each other including their behavior when using any usb device?
As this firmware is for asus devices (from Oleg) you can use many usb-devices and the related howto.
Sorry, I'm not god!

Well, as scripting is always done for a particular solution of a problem, it's very hard to guess your problems. So it means, you have to specify a particular problem and then maybe I or somebody else can help you.

Further, I'm not able to teach you scripting, it would simply take too long.
All what I can do is to try to answer for a posted, particular question.

Therefore I'm awaiting your question or a description of your problem.

have fun....

Thanks.
I don't have any specific problem.
I would love to read HOWTO one way ( see HOWTO by wengi)
telling me step by step instructions
how to set up webcam working ( what cam - link to eBay not to chip code name)
how to set up standard usb bluetooth working (discovery mode)
how to get bt gps unit connected to bt dongle
how to get usb cell modem working
just step by step HOWTO
(look at wengis as an excellent example).

This is one time job, a number of options is limited, number of hardware is limited, so for a knowing man it takes one day to have all such hardware
connected and working.
Otherwise, the same work, job is done by hundreds and hundreds do the same job in hundreds days in total.

Just write one HOWTO for your modem.
Step by step to let me follow
and buy such modem on my own and have it working onwe day.
Linux is not Vista's selfconfiguration PnP .

thanks
Darius

newbiefan
06-09-2008, 16:43
Sorry, I don't write anything, just when I want.
Further, after 146 posts you should know a bit, how it works with that FW (Olegs/Koppel).
Almost everything is already done - hence you have to use all the other howto. This Howto is a guideline to install this FW from Koppel, nothing else. You can use wengis howto or any other, they all will work fine with this fw as it is Olegs with some addons.
So what do you expect?
All what you have to do is to search and read, thats all!
And if something is not clear, just ask.

darius
08-09-2008, 18:32
Sorry, I don't write anything, just when I want.
Further, after 146 posts you should know a bit, how it works with that FW (Olegs/Koppel).
Almost everything is already done - hence you have to use all the other howto. This Howto is a guideline to install this FW from Koppel, nothing else. You can use wengis howto or any other, they all will work fine with this fw as it is Olegs with some addons.
So what do you expect?
All what you have to do is to search and read, thats all!
And if something is not clear, just ask.

Thanks.
It works how it works
hard job.

Once again.
I don't have problem, don't expect anything.
Just asked what is a chance to have such HOWTO one day.
Olegs + usb cell modem/ bluetooth dongle / or gps/ or ..
Linux is very very comlicated with hundreds, thousands of options to set for any new piece of hardware.
You are fully aware that selfconfiguration doesn't work with Olegs , so
only a knowing man can say how to make it working.

For the same reason I am looking for wireless tools to be ported by someone's else ( wifi discovery mode and the like).
If you are aware how to start , just tell me one day ;)

Darius

rhai
09-09-2008, 09:06
Hi guys,

Does this support load balancing between 3G HSDPA and Internet thru WAN port?

Any update about this guys? :)

darius
21-10-2008, 21:11
Tried hard for a month
and a small success with Motorola V3 as GPRS usb modem.

Darius

newbiefan
26-10-2008, 18:18
Any update about this guys? :)

No, still the same. Sorry

newbiefan
26-10-2008, 18:20
Tried hard for a month
and a small success with Motorola V3 as GPRS usb modem.

Darius

Funny, what means small success?
Why you'll not try just a supported modem?

nfk
13-11-2008, 18:23
First of all, thank you very much for this how-to, it worked with my E220 Huawei modem and Asus WL-500gP v2 (I'm in Portugal and my ISP is Kanguru).

The only problem I had was when I tried to upgrade the firmware I got an "Invalid firmware" message (original firmware was version 2.0.15, or similar). I upgraded to the latest Asus firmware (3.0.xx) and then it allowed me to do the upgrade with the firmware from koppel.cz.

Just a heads up for anyone having the same problem.

m.klinge
16-11-2008, 18:57
Well i can now confirm that this guide works extremly well with a wl-500gP and a huawei E180 3g modem :)

So thx alot for this :)

//M

m.klinge
19-11-2008, 23:58
So every few hours i seem to loose connection due to lost usb connection - ive seen the other post about the router being able to reconnect, but it dosnt seem to do it by itself :(

And tbh i dont really understand anything about making the router reconnect by using a script - are there anybody who could guide med a little more on that so that if the connection are lost it would automatically reconnect (My girlfriend are often home alone and she wont know what to do if the connection are lost ^^)

//M

Malks
20-11-2008, 07:05
Hi,

I am using an E160 and finding that it is trying to reconnect but is failing because even though the router might die, the actual modem keeps its connection going. So have a look at /tmp/chat.log and see if ppp is actually trying to reconnect and failing as opposed to not connecting at all.

Anthony.

m.klinge
20-11-2008, 16:49
Hi,

I am using an E160 and finding that it is trying to reconnect but is failing because even though the router might die, the actual modem keeps its connection going. So have a look at /tmp/chat.log and see if ppp is actually trying to reconnect and failing as opposed to not connecting at all.

Anthony.

Oh oki - ill do that when i get back home - but i think it might be the case as the modem light keeps being lit as if the connection hasnt been terminated...

Do you by any change have a solution that works if that is the case for me aswell?

//M

Malks
21-11-2008, 04:42
The only way I can get it all to reconnect at the moment is to pull the E160 out of the USB slot and replug it... everything picks up automatically then. I asked on the koppel.cz forum about it and the reply was to write my own USB serial driver :( Do you know of any other command to disconnect the modem? An AT command or anything like that? Disabling the usb serial support?

Anthony.

m.klinge
21-11-2008, 09:34
The only way I can get it all to reconnect at the moment is to pull the E160 out of the USB slot and replug it... everything picks up automatically then. I asked on the koppel.cz forum about it and the reply was to write my own USB serial driver :( Do you know of any other command to disconnect the modem? An AT command or anything like that? Disabling the usb serial support?

Anthony.

Nop im totally new to scripting - however i would assume that there would be a command that kills the power to the usb plug(s)... So if thats true it should be able (With the right amount of scripting skills) to call a "kill usb power and repowers it" if the connection is lost for more than five seconds - however i lack the linux and scripting skill sto do so :(

//M

Malks
23-11-2008, 02:38
Nop im totally new to scripting - however i would assume that there would be a command that kills the power to the usb plug(s)... So if thats true it should be able (With the right amount of scripting skills) to call a "kill usb power and repowers it" if the connection is lost for more than five seconds - however i lack the linux and scripting skill sto do so :(

//M

Hmm. I don't think the script would be too hard but I don't know what the commands are that kill power to USB or I'd try it from the command line. Any ideas?

newbiefan
23-11-2008, 10:14
Well, let's solve it......
What exactly is the modem doing after
-startup
-when online
-which koppel FW
-is there any other device connected to usb?
-after connection is lost: wait at least 5 minutes - do you get the connection again?
-when connection is lost: can you post the output of 'top'
-is any other sw installed?

how do you recognize, that "connection is lost"?
When connection is lost, can you post the result of a 'cat /etc/resolv.conf'?

m.klinge
23-11-2008, 16:01
Well, let's solve it......
What exactly is the modem doing after
-startup
-when online
-which koppel FW
-is there any other device connected to usb?
-after connection is lost: wait at least 5 minutes - do you get the connection again?
-when connection is lost: can you post the output of 'top'
-is any other sw installed?

how do you recognize, that "connection is lost"?
When connection is lost, can you post the result of a 'cat /etc/resolv.conf'?

I will be very happy if you have the time to help me out :)

However im quite short on time for the next few days - but here what i know right now:

What exactly is the modem doing after
-startup - Light blinks a few times and then catches umts net and are up and running within a minut, both if the router and all has been turned off or if i just plug it in. Everything works.
-when online Light say on (Blue if umts and green if edge)
-which koppel FW The one from your first post, i havnt used your Huawei file (Didnt think i need it)
-is there any other device connected to usb? Nop.
-after connection is lost: wait at least 5 minutes - do you get the connection again? Not a change ive had my computer turned on to download a few files all night however when it looses connection it dont reconnect. The light of the 3g modem stays on as if everything is ok, however im unable to connect to the internet. A reboot of the computer dosnt help, but unplug/plug the modem and everything works like a charm again.
-when connection is lost: can you post the output of 'top' Hmm what do you mean by that?
-is any other sw installed? Nop only flashed the one linked in your first post :)

Hopefully this helps - i will try to keep my connection up untill if disconnect again to see if i can get a log file or something for you :)

//M

newbiefan
23-11-2008, 16:54
-when connection is lost: can you post the output of 'top' Hmm what do you mean by that?


Telnet to your router and do a 'ps -axf >> /tmp/mnt/output_of_ps.txt'
Or you can do a prtsc (printscreen) on your computer, then use just
'ps -axf' on your router-console.
maybe that the command 'top' is available, if so - do a printscreen and copy your screen to any editor.
On windows xp: start, run, cmd
then telnet ipofyourasus
then user: admin, enter
passwd.: admin
then you are on the console of your router - all linux commands should work.
If interested you can install something according wengis howto......

m.klinge
23-11-2008, 21:08
Telnet to your router and do a 'ps -axf >> /tmp/mnt/output_of_ps.txt'
Or you can do a prtsc (printscreen) on your computer, then use just
'ps -axf' on your router-console.
maybe that the command 'top' is available, if so - do a printscreen and copy your screen to any editor.
On windows xp: start, run, cmd
then telnet ipofyourasus
then user: admin, enter
passwd.: admin
then you are on the console of your router - all linux commands should work.
If interested you can install something according wengis howto......

Ok ill try that out next time it happens - but as i said earlier i dont know sh*t about linux :)

//M

newbiefan
23-11-2008, 21:23
no prob at all - we can do it step by step -just let me know.
I'll guide you and you'll see, linux is nothing special.
And after a couple days, you'll become a regular linux user.
It's just the starting.........

Malks
25-11-2008, 00:10
Hi,

Thought I might also jump on this response too :) The first time I notice there is a problem is from what ever PC I'm using. Skype seems to be the most affected by any network outages. I'm pretty sure what is happening is the router is rebooting but there mustn't be an actual power drop on the USB as the modem stays connected. The only way I can get it to reconnect is to unplug/replug the modem or to do a cold startup (i.e. full power down) of router. A normal reboot does not work.

What exactly is the modem doing after

-startup

It does the flashing green thing (three quick flashes, searching for n/w I think), then goes to a slower blue flash and a blue solid light.

-when online

When the link is required it goes from a solid blue to a solid aqua.

-which koppel FW

I'm currenlty using 1.9.2.7-10-USB-1.69a but have had similar issues with 1.70a and 1.71.

-is there any other device connected to usb?

No it is the only USB device

-after connection is lost: wait at least 5 minutes - do you get the connection again?

I can see pppd stopping and starting again with a new PID and trying to connect. But I get "Connect script failed" in /tmp/chat.log. If the modem was actually doing something at the time I get it's output as well. For example if I am doing a email send/receive as it dies I can see my actual emails in /tmp/chat.log

Contents of chat.log

[admin@WL-001FC660CF29 root]$ more /tmp/chat.log
~!E^@^@(M-FA^@^@+^FZ^CBM-#M-5M-<sM-^B^CM-*^SM-:^L]M-!M-G}^M-^v#M-AM-^[P^PM-^@RGz
^@^@M-^Sa~Failed
Connect script failed

/tmp/resolv.conf is empty.

-when connection is lost: can you post the output of 'top'

See below, I've included a comparison with top when the connection is up.

-is any other sw installed?

Nothing except for base firmware.

Top from when disconnected.


Mem: 14760K used, 15564K free, 0K shrd, 1748K buff, 6452K cached
Load average: 0.53, 0.52, 0.45 (State: S=sleeping R=running, W=waiting)

PID USER STATUS RSS PPID %CPU %MEM COMMAND
1090 admin R 432 1076 2.8 1.4 top
1 admin S 612 0 0.0 2.0 init
715 admin S 576 107 0.0 1.8 pppd
1076 admin S 560 63 0.0 1.8 sh
78 admin S 552 1 0.0 1.8 nas
107 admin S 508 1 0.0 1.6 dial
80 admin S 496 1 0.0 1.6 upnp
76 nobody S 488 1 0.0 1.6 dnsmasq
110 admin S 480 1 0.0 1.5 watchdog
68 admin S 408 1 0.0 1.3 httpd
73 admin S 400 1 0.0 1.3 syslogd
72 admin S 360 1 0.0 1.1 klogd
111 admin S 348 110 0.0 1.1 ntp
99 admin S 348 1 0.0 1.1 rcamdmain
97 admin S 340 1 0.0 1.1 waveservermain
63 admin S 332 1 0.0 1.0 telnetd
109 admin S 312 1 0.0 1.0 infosvr
92 admin S 276 1 0.0 0.9 lpd
94 admin S 260 1 0.0 0.8 p910nd
3 admin SWN 0 1 0.0 0.0 ksoftirqd_CPU0
81 admin SW 0 1 0.0 0.0 khubd
7 admin SW 0 1 0.0 0.0 mtdblockd
2 admin SW 0 1 0.0 0.0 keventd
5 admin SW 0 1 0.0 0.0 bdflush
6 admin SW 0 1 0.0 0.0 kupdated
105 admin SW 0 1 0.0 0.0 usb-storage-1
106 admin SW 0 1 0.0 0.0 scsi_eh_1
103 admin SW 0 1 0.0 0.0 usb-storage-0
104 admin SW 0 1 0.0 0.0 scsi_eh_0
4 admin SW 0 1 0.0 0.0 kswapd


Top from when connected successfully.

Mem: 15572K used, 14752K free, 0K shrd, 1824K buff, 6652K cached
Load average: 0.00, 0.03, 0.02 (State: S=sleeping R=running, W=waiting)

PID USER STATUS RSS PPID %CPU %MEM COMMAND
201 admin R 432 196 4.7 1.4 top
161 admin S 656 107 0.0 2.1 pppd
1 admin S 612 0 0.0 2.0 init
183 admin S 560 63 0.0 1.8 sh
196 admin S 560 63 0.0 1.8 sh
78 admin S 552 1 0.0 1.8 nas
107 admin S 508 1 0.0 1.6 dial
193 admin S 496 1 0.0 1.6 upnp
74 nobody S 492 1 0.0 1.6 dnsmasq
110 admin S 480 1 0.0 1.5 watchdog
68 admin S 432 1 0.0 1.4 httpd
75 admin S 400 1 0.0 1.3 syslogd
73 admin S 360 1 0.0 1.1 klogd
63 admin S 348 1 0.0 1.1 telnetd
111 admin S 348 110 0.0 1.1 ntp
99 admin S 348 1 0.0 1.1 rcamdmain
97 admin S 340 1 0.0 1.1 waveservermain
195 admin S 332 183 0.0 1.0 tail
109 admin S 312 1 0.0 1.0 infosvr
92 admin S 276 1 0.0 0.9 lpd
94 admin S 260 1 0.0 0.8 p910nd
81 admin SW 0 1 0.0 0.0 khubd
3 admin SWN 0 1 0.0 0.0 ksoftirqd_CPU0
7 admin SW 0 1 0.0 0.0 mtdblockd
2 admin SW 0 1 0.0 0.0 keventd
106 admin SW 0 1 0.0 0.0 scsi_eh_1
6 admin SW 0 1 0.0 0.0 kupdated
104 admin SW 0 1 0.0 0.0 scsi_eh_0
105 admin SW 0 1 0.0 0.0 usb-storage-1
4 admin SW 0 1 0.0 0.0 kswapd
5 admin SW 0 1 0.0 0.0 bdflush
103 admin SW 0 1 0.0 0.0 usb-storage-0

newbiefan
25-11-2008, 21:45
@Malks

Well, when your /etc/resolv.conf is emty it means, there is no connection.
Hence we are able to detect a lost connection. First of all, we should find a way to reconnect without rebooting.
Can you try the following when connection is lost:

'killall pppd'

It can take some seconds to reconnect....

If it doesn't work, try:
'reboot'

further, when you have a working connection do a:
'cat /etc/resolv.conf'
and write down ip of nameservers. Then enter webif, ipsetting, wan&lan and enter under item wan dns servers your nameservers - apply & finish.

keep me posted....

Malks
25-11-2008, 23:53
Hi Newbiefan,

And that's the core of the problem. The pppd actually determines there is no connection and detects that correctly. The problem is it tries to send it's AT commands to the modem as part of its connect script and instead of getting a response like 'OK' it gets the actual stream of data and so the connection fails. Doing a 'killall pppd' doesn't help as the modem stays connected. Even doing a reboot doesn't help as the USB port doesn't seem to get powered down as the modem stays connected after a reboot. A cold shutdown/restart does work though.

Thanks for your input.

Regards,
Anthony.

newbiefan
26-11-2008, 21:20
Funny, when I kill 'dial' , I get the pretty same behavior.

So I would suggest to try:
killall dial
killall pppd
reboot