USB GPRS

("Option" HSDPA Modem)
("Option" HSDPA Modem)
Line 14: Line 14:
== "Option" HSDPA Modem ==
== "Option" HSDPA Modem ==
-
* compile the "HSO" Option Modem kernel module (Greg Kroah-Hartman is in the process of integrating the kernel module into the mainline kernel, but check [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,445/ HSO] in the meantime or use my working directory (includes compiled modules) [http://www.scratchpost.org/Nokia-N8x0/Modem/
+
* compile the "HSO" Option Modem kernel module (Greg Kroah-Hartman is in the process of integrating the kernel module into the mainline kernel, but check [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,445/ HSO] in the meantime or use my working directory (includes compiled modules) [http://www.scratchpost.org/Nokia-N8x0/Modem/ Nokia N8x0 Modem]) for the Nokia N8x0.
-
]) for the Nokia N8x0.
+
* compile the [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,425/ Rezero] Option mode switch application.
* compile the [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,425/ Rezero] Option mode switch application.
* run the Option mode switch application: "./rezero /dev/sg0".
* run the Option mode switch application: "./rezero /dev/sg0".

Revision as of 21:22, 23 July 2008

Contents

Purpose

Get external USB 3G HSDPA GPRS Modems to work with the Nokia N800 (or newer).

Steps

  • Enable USB host mode.
  • get a powered USB hub.
  • connect your Nokia N8x0 to the USB hub's uplink.
  • connect your USB Modem to one of the USB hub's normal ports.
  • switch your Nokia N8x0 to USB host mode ("echo host > /sys/devices/platform/musb_hdrc/mode").
  • compile a SCSI generic Linux kernel module (or download a binary module from CDROM Kernel Modules ).
  • load the SCSI generic Linux kernel module: "insmod sg.ko".

"Option" HSDPA Modem

  • compile the "HSO" Option Modem kernel module (Greg Kroah-Hartman is in the process of integrating the kernel module into the mainline kernel, but check HSO in the meantime or use my working directory (includes compiled modules) Nokia N8x0 Modem) for the Nokia N8x0.
  • compile the Rezero Option mode switch application.
  • run the Option mode switch application: "./rezero /dev/sg0".
  • load the "HSO" kernel module: "insmod hso.ko".
  • edit the "connect.sh" script (from HSO) to actually do the changes in the routing table.
  • run the "connect.sh" script: "./connect.sh up".
  • enjoy.

Unused

TODO

  • make a ready-to-use Debian package.
  • use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").