USB GPRS

(corrected urls)
 
(30 intermediate revisions not shown)
Line 1: Line 1:
-
= Purpose =
+
This guide covers using external USB 3G HSDPA GPRS modems with Maemo Diablo.
-
Get the external USB 3G HSDPA GPRS Modem to work with the Nokia N800 (or newer).
+
== Steps ==
-
= Steps =
+
# Enable [[USB host mode]].
 +
# Get a powered USB hub.
 +
# Connect the hub to your tablet.
 +
# Connect your modem to the USB hub.
 +
# Get the SCSI kernel module from [http://fanoush.wz.cz/maemo/modules-diablo-2.6.21-200842maemo1.tar.gz Fanoush's kernel modules] (the <code>/drivers/scsi/sg.ko</code> file in the archive).
 +
# Load the SCSI generic Linux kernel module. [[root access|As root]]:<pre>insmod sg.ko</pre>
-
* Enable USB host mode.
+
== Option HSDPA Modem ==
-
* get a powered USB hub.
+
-
* compile a SCSI generic kernel module.
+
-
== "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 this [http://www.scratchpost.org/software/Nokia/N8x0/Modem/ working directory] which includes compiled modules).
-
* compile the "HSO" kernel module (Greg Kroah-Hartman is in the process of integrating the kernel module into the mainline kernel) for the Nokia N800.
+
# Compile the [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,425/ Rezero] Option mode switch application.
-
* compile the Option mode switch application.
+
# Run the Option mode switch application.<pre>./rezero /dev/sg0</pre>
-
* load the SCSI generic kernel module: "insmod sg.ko".
+
# Load the "HSO" kernel module.<pre>insmod hso.ko</pre>
-
* run the Option mode switch application: "./rezero /dev/sg0".
+
# Edit the <code>connect.sh</code> script (from HSO) to actually ''do'' the changes in the routing table.
-
* load the "HSO" kernel module: "insmod hso.ko".
+
# Run the <code>connect.sh</code> script.<pre>./connect.sh up</pre>
-
* run the connect script: "./connect.sh up".
+
# or use debian packages there: [[http://scratchpost.dreamhosters.com/software/Nokia/N8x0/Modem/DEB/]].
-
* enjoy.
+
# Enjoy!
 +
 
 +
== TODO ==
 +
 
 +
* Use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").
 +
 
 +
[[Category:Connectivity]]
 +
[[Category:Cellular]]
 +
[[Category:USB]]
 +
[[Category:Power users]]
 +
[[Category:Diablo]]

Latest revision as of 06:34, 3 April 2011

This guide covers using external USB 3G HSDPA GPRS modems with Maemo Diablo.

[edit] Steps

  1. Enable USB host mode.
  2. Get a powered USB hub.
  3. Connect the hub to your tablet.
  4. Connect your modem to the USB hub.
  5. Get the SCSI kernel module from Fanoush's kernel modules (the /drivers/scsi/sg.ko file in the archive).
  6. Load the SCSI generic Linux kernel module. As root:
    insmod sg.ko

[edit] Option HSDPA Modem

  1. 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 this working directory which includes compiled modules).
  2. Compile the Rezero Option mode switch application.
  3. Run the Option mode switch application.
    ./rezero /dev/sg0
  4. Load the "HSO" kernel module.
    insmod hso.ko
  5. Edit the connect.sh script (from HSO) to actually do the changes in the routing table.
  6. Run the connect.sh script.
    ./connect.sh up
  7. or use debian packages there: [[1]].
  8. Enjoy!

[edit] TODO

  • Use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").