Advolex - Kein schöner Leben

Ein privates Blog, völlig ohne Allgemeininteresse.

Name: Advolex
Location: Lidingö, Sweden

Sunday, September 20, 2009

OpenWRT 3G/UMTS Router

comgt and option driver module are required.

clipped from forum.openwrt.org
"Mostly the comgt package provides is a sane and tested set of PPP and OpenWRT scripts designed to make configuring cellular data connections as painless as possible. Hopefully the next release will come soon and include it, but here are the additional configuration options it currently provides:

config interface "foo"
option device "/dev/ttyUSB0"
option proto "3g"
option apn "my.provider.apn"
option service "hsdpa" # or cdma, evdo, umts_only, or gprs_only option pincode "12345" option mtu "1492"

So, here are my two condensed lists, truths and needs:

Truths:
- Most cellular modems, whether they plug in via PCMCIA, Cardbus, ExpressCard, or direct USB are USB at heart
- Serial speed doesn't matter
- As long as you have a directly supported device and a kernel less than two years old, you don't need to mess with buffer sizes
- Actual throughput almost never matches marketed throughput

Needs:
- For a PCMCIA or Cardbus device, you will need your hardware's PCMCIA or Cardbus drivers in addition to your USB driver
- For an ExpressCard, the base PCI drivers
- A base USB driver (usually ohci_hcd for Cardbus/PCMCIA/ExpressCard)
- usb-serial (2.6) or usbserial (2.4)
- device-specific driver, if available
At this point, if you plug in your device you should see /dev/ttyUSB0 or higher. If you don't, you are missing a driver or driver option
- pppd
- A chat script (there are dozens of examples out there, comgt does provide one that should work for most people)"

Labels: , , ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home