AsusForum.NET -- WL500g

Go Back   AsusForum.NET -- WL500g > Asus WL-500g > WL-500g/WL-500gx Tutorials
User Name
Password
Register FAQ Members List Search Recent posts Mark Forums Read
Firmware Wizard Donate

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 15-06-2004, 19:00
jimmy jimmy is offline
Junior Member
 
Join Date: Mar 2004
Location: portugal
Posts: 17
usb modem on wl500g?!!

one silly question: anyone knows if is possible to connect an usb modem to wl500g and work via analog dialup throu the router?
i know it doenst make much sense, but it´s the only internet service i can get?
Reply With Quote
  #1  
Old 15-06-2004, 19:00
AsusForum jimmy is offline
Member
 
Join Date: Nov 2003
Location: Netherlands
Posts: 17
  #2  
Old 16-06-2004, 15:40
Dex Dex is offline
Junior Member
 
Join Date: Jun 2004
Posts: 12
Hello Jimmy,

Linux supports usb modems that are conform to the USB Communication Device Class Abstract Control Model by the ACM module. Anywhere in the internet there should be a compatibility list with supported modems. I have compiled the ACM module for the WL500g and it works successfully with the ELSA Microlink 56K USB Modem. Currently I' am working on the dial on process (pppd with chat). But to use an USB modem comfortable with the WL500g some scripts (eg rc.wan) and the web page for the WAN configuration must be enlarged with the feature PPP over USB Modem. Because I' am not an Linux expert I have to read many manuals for this work and therefore it goes very slow. Any help is welcome.
Reply With Quote
  #3  
Old 17-06-2004, 17:36
jimmy jimmy is offline
Junior Member
 
Join Date: Mar 2004
Location: portugal
Posts: 17
hi Dex

can you give me a hinton where can i find some imformation about this???
Reply With Quote
  #4  
Old 23-06-2004, 01:00
wirelesswan wirelesswan is offline
Financial forum supporters :)
 
Join Date: Jun 2004
Posts: 6
Cool Router and USB Modems

I'm also trying to make my USB 1xRTT cell phone work as a modem with the WL500g. It would be great to share the 256K with a LAN and WLAN. It would also make a a great emergency or short term hotspot.

My Sanyo 8100 cell phone does conform to the Linux usb modem standard, but it seems like I need a missing module called acm.o to make it work.
I've been able to get it working under linux on my laptop using the instructions at http://lukewarm.homelinux.net/scp8100/. There is also some more generic Linux usb modem information at http://www.linux-usb.org/USB-guide/x332.html.

Here's a syslog of my failed attempt on the WL500g:
Jun 22 16:43:39 user.info klogd: hub.c: new USB device 00:04.0-1.3, assigned address 7
Jun 22 16:43:39 user.warn klogd: usb.c: USB device 7 (vend/prod 0x474/0x701) is not claimed by any active driver.
Jun 22 22:43:41 daemon.info FTP server: daemon is started

~ # insmod acm
insmod: acm.o: no module by that name found.

PPP support already exists, so I think just a module is needed to recognize the USB modem.

I also have a Zoom USB 3090 v.92 modem that I could test if someone would be so kind as to compile the module, or give me a push in the right direction.

Thanks
Reply With Quote
  #5  
Old 01-07-2004, 09:19
wirelesswan wirelesswan is offline
Financial forum supporters :)
 
Join Date: Jun 2004
Posts: 6
I think we need ACM.o for USB modem support

I think the module we need is ACM.o
acm.c in the source for OpenWRTG, but it doesn't look like it's compiled into a module. I'd love to get my 1xRTT cellphone working. It's a bit laggy, but I get nearly 200K with my phone, and it would be nice to share that with the LAN/WLAN when the Cable goes down.
Reply With Quote
  #6  
Old 05-07-2004, 20:51
Dex Dex is offline
Junior Member
 
Join Date: Jun 2004
Posts: 12
Hello wirelesswan,
please see attached the desired module acm.o compiled for the wl500g . This module works successfully with an ELSA microlink modem. The attachement also includes a terminal program compiled for the wl500g (microcom), useful for testing the module and modem.
Dex

Last edited by Technik; 07-07-2004 at 23:22.. Reason: Wrong file attachment removed... :)
Reply With Quote
  #7  
Old 07-07-2004, 00:55
wirelesswan wirelesswan is offline
Financial forum supporters :)
 
Join Date: Jun 2004
Posts: 6
ACM.o

Dex,
I did some more digging.
The acm.o file seems be a zip archive of a couple of minicom files. The path inside the zip reference a directory called /home/knoppix/Desktop/ACM.

Could something have gotten mixed up when you posted?

Thanks.
Reply With Quote
  #8  
Old 07-07-2004, 19:16
Dex Dex is offline
Junior Member
 
Join Date: Jun 2004
Posts: 12
wirelesswan,
sorry & mea culpa. Please check the new attached zip file.

Dex
Attached Files
File Type: zip ACM.zip (39.6 KB, 730 views)

Last edited by Dex; 07-07-2004 at 19:24..
Reply With Quote
  #9  
Old 14-07-2004, 16:54
wirelesswan wirelesswan is offline
Financial forum supporters :)
 
Join Date: Jun 2004
Posts: 6
Works with manual dialing! Looking for chat

Dex,
Thanks again.
ACM.o worked like a charm. It found both my Sprint phone, and another USB modem. Connecting to the internet works when I fire up microcom and type ATDTxxxxxxx then quit microcom and start pppd by hand. It seems like most linux dialup setups use a little program called "chat" to process chat scripts that will take care of things like dialing, checking for the CONNECT string, re-dialing on hangup, and handing control off to pppd at the right time. Since the pppd in the ASUS distribution was probably designed for just pppoe, the chat executable is missing. I'm looking for the source for chat, but that would seem like the last piece of the puzzle.
Reply With Quote
  #10  
Old 14-07-2004, 23:03
Dex Dex is offline
Junior Member
 
Join Date: Jun 2004
Posts: 12
Hi wirelesswan,

I have already compiled the chat program (see the attachment) and used it with the pppd daemon. But always the chat program has established the modem connection to the ISP and switch back to the pppd the modem hangs up immediately. I don't know the reason for this behaviour at the moment. If you try the chat program please report your experience. I am interested to know whether you can observe this behaviour too. This may be helps to encircle the problem.
Good luck
Attached Files
File Type: zip chat.zip (10.0 KB, 472 views)
Reply With Quote
  #11  
Old 04-08-2004, 22:13
Nenik Nenik is offline
Junior Member
 
Join Date: Jul 2004
Location: Prague
Posts: 11
BTW: I have managed stable pppd connection both over usb->serial and GSM phone using GPRS and over acm and EVDO phone using fast data CDMA450 network in Czech Republic.
I've compiled kernel modules and chat myself though and debugged connection scripts on a notebook first .
I can share details if you wish.
Reply With Quote
  #12  
Old 04-08-2004, 22:58
Antiloop Antiloop is offline
Administrator
 
Join Date: Nov 2003
Location: Eindhoven
Posts: 2,366
Quote:
Originally Posted by Nenik
BTW: I have managed stable pppd connection both over usb->serial and GSM phone using GPRS and over acm and EVDO phone using fast data CDMA450 network in Czech Republic.
I've compiled kernel modules and chat myself though and debugged connection scripts on a notebook first .
I can share details if you wish.
nenik.. please attach them as a zip or rar file here!
__________________

My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



WL500g Forum WL700g Forum Firmware Selector Wizard Asus Files OpenDir

Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO
Reply With Quote
  #13  
Old 05-08-2004, 08:44
Nenik Nenik is offline
Junior Member
 
Join Date: Jul 2004
Location: Prague
Posts: 11
Quote:
Originally Posted by Antiloop
nenik.. please attach them as a zip or rar file here!
I'd rather attach a tar.bz2, but OK, I'm able to create zip ;-)

So here it goes.
It is structuted as overlay to be clear where the files belong to.
Modules are there, chat is there and also pppd scripts both for EVDO over acm CDMA450 modem and gprs over prolific usb->serial and GSM.

For EVDO, you need to change username in evdo and username and password in chap_secrets. For GPRS, you probably only need to update APN in gprs_chat.

I'm currently starting it manually (telnet in, pppd call evdo),
as GPRS lasts forever and I have CDMA for testing only till friday anyway.

Note that currently you have to load modules manually before starting pppd. Also, no problem uploading the files just to ramfs, but you need to update paths then.
Attached Files
File Type: zip overlay.zip (39.8 KB, 601 views)
Reply With Quote
  #14  
Old 06-08-2004, 17:43
Nenik Nenik is offline
Junior Member
 
Join Date: Jul 2004
Location: Prague
Posts: 11
NAT was not working correctly for me with provided configuration. After loooong analysis (involving drawing tons of IP headers and manually verifying checksums) I found that demasqueraded packets comming back to LAN were having (consistently) wrong IP header checksum.
After another long round of trials and errors, I've realized that using different options for PPP stack "fixes" this problem. It seems to me that there is some bug in the ppp kernel code, but I can't spot it.
Anyway, here I'm providing different pppd script that makes my Asus correctly NAT outgoing traffic over EVDO modem.

Use the /etc/ppp/peers/evdo instead of the same file provided in the previous bundle. Of course you need to put your username here.
If you touch anything else than the user name (and location of the chat binary and script), don't complain it doesn't work.

Other people work on modification of the configuration web interface....
Attached Files
File Type: bz2 config.tar.bz2 (337 Bytes, 447 views)
Reply With Quote
  #14  
Old 06-08-2004, 17:43
AsusForum Nenik is offline
Member
 
Join Date: Nov 2003
Location: Netherlands
Posts: 11
  #15  
Old 06-08-2004, 20:22
Nenik Nenik is offline
Junior Member
 
Join Date: Jul 2004
Location: Prague
Posts: 11
OK, one more note: I have modified /etc/ppp/options (I had to modify it some time ago to make everything working with GPRS, and I have already forgot about it.

My current options file contains this:
lcp-echo-failure 3
lcp-echo-interval 20
noauth
noaccomp

I hope now it's all to make it working also for the rest of the world...
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB ADSL Modem fabiosantos WL-500g Q&A 45 19-09-2008 09:44
USB Modem Rom666 WL-500g Q&A 2 25-03-2007 16:45
Set up USB CDMA modem bverbrugge WL-500g Q&A 2 31-05-2005 10:24
wl500g and linksys cable modem bayoe WL-500g Q&A 2 09-12-2004 22:35


All times are GMT +1. The time now is 03:41.


Copyright ©2003 - 2008, van Boekel Networks