USB GPRS

(Pointed to a known-good location for the sg.ko file; expanded the instructions a tiny bit.)
(corrected urls)
 
(8 intermediate revisions not shown)
Line 1: Line 1:
-
This guide covers using external USB 3G HSDPA GPRS modems with Maemo.
+
This guide covers using external USB 3G HSDPA GPRS modems with Maemo Diablo.
== Steps ==
== Steps ==
-
* Enable [[USB host mode]].
+
# Enable [[USB host mode]].
-
* Get a powered USB hub.
+
# Get a powered USB hub.
-
* Connect the hub to your tablet.
+
# Connect the hub to your tablet.
-
* Connect your modem to the USB hub.
+
# 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 /drivers/scsi/sg.ko file in the archive).
+
# 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. As root:
+
# Load the SCSI generic Linux kernel module. [[root access|As root]]:<pre>insmod sg.ko</pre>
-
 
+
-
insmod sg.ko
+
== 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 this [http://www.scratchpost.org/Nokia_N8x0/Modem/ working directory] which includes compiled modules).
+
# 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 [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.
+
# Run the Option mode switch application.<pre>./rezero /dev/sg0</pre>
-
 
+
# Load the "HSO" kernel module.<pre>insmod hso.ko</pre>
-
./rezero /dev/sg0
+
# Edit the <code>connect.sh</code> script (from HSO) to actually ''do'' the changes in the routing table.
-
 
+
# Run the <code>connect.sh</code> script.<pre>./connect.sh up</pre>
-
* <code>Load the "HSO" kernel module.
+
# or use debian packages there: [[http://scratchpost.dreamhosters.com/software/Nokia/N8x0/Modem/DEB/]].
-
 
+
# Enjoy!
-
insmod hso.ko
+
-
 
+
-
* Edit the <code>connect.sh</code> script (from HSO) to actually ''do'' the changes in the routing table.
+
-
* Run the <code>connect.sh</code> script.
+
-
 
+
-
./connect.sh up
+
-
 
+
-
* Enjoy!
+
== TODO ==
== TODO ==
-
* Create 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").
* Use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").
-
 
-
[[Category:Users]]
 
[[Category:Connectivity]]
[[Category:Connectivity]]
[[Category:Cellular]]
[[Category:Cellular]]
[[Category:USB]]
[[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").