Newer udev (060 or so) puts itself as the hotplug program in /proc/sys/kernel/hotplug, but doesn't handle firmware loading requests, thus the automatic firmware loading as described below won't work. Please see this bug report for more details: http://bugs.archlinux.org/task/3439 - this issue is fixed in udev>071.

−

==Introduction==

This howto shows one way to get a working speedtouch USB modem. It uses the kernel driver, '''not''' the userspace driver. This howto assumes that your ISP uses PPPoA and not PPPoE. For info about PPPoE with these modems see first url below.

This howto shows one way to get a working speedtouch USB modem. It uses the kernel driver, '''not''' the userspace driver. This howto assumes that your ISP uses PPPoA and not PPPoE. For info about PPPoE with these modems see first url below.

Line 16:

Line 13:

The following steps are needed to get the modem working:

The following steps are needed to get the modem working:

−

==Kernel config and ppp==

+

== Kernel config and ppp ==

−

Make sure you have a kernel with the proper support (at least the modules ppp_generic, pppoatm, slhc, atm, usbatm and speedtch). The default Arch kernel should work: <code>pacman -S kernel26</code>

+

+

Make sure you have a kernel with the proper support (at least the modules ppp_generic, pppoatm, slhc, atm, usbatm and speedtch). The default Arch kernel should work.

Otherwise make sure that your kernel supports firmware loading:

Otherwise make sure that your kernel supports firmware loading:

−

$ zcat /proc/config.gz | grep FW_LOADER

+

$ zgrep FW_LOADER /proc/config.gz

Install ppp: <code>pacman -S ppp</code>

Install ppp: <code>pacman -S ppp</code>

−

==Configuring pppd==

+

==The Arch Way==

+

===netcfg===

+

+

Install the package {{AUR|netcfg-pppoa}}.

+

+

Alternately, follow the steps below. The files used are the same as those installed by the AUR package.

+

+

Create the file {{ic|/usr/lib/network/connections/pppoa}} with the following contents:

With this Udev will start pppd automatically, if you do not want this you can simply bring up your modem using

With this Udev will start pppd automatically, if you do not want this you can simply bring up your modem using

−

<code>pppd call speedtch</code>

+

pppd call speedtch

==Firmware==

==Firmware==

−

Now you have everything except the firmware loading. The easiest way is to let hotplug/udev do it. Download [http://steve-parker.org/speedtouchconf/rev4fw.zip rev4fw.zip] (note disclaimer [http://speedtouchconf.sourceforge.net/ here]) and unzip it. It contains two files, a small one and a big one. Copy the small file to <code>/lib/firmware/speedtch-1.bin</code> and the big one to <code>/lib/firmware/speedtch-2.bin</code>

+

Now you have everything except the firmware loading. The easiest way is to let udev do it. Download [http://steve-parker.org/speedtouchconf/rev4fw.zip rev4fw.zip] (note disclaimer [http://speedtouchconf.sourceforge.net/ here]) and unzip it. It contains two files, a small one and a big one. Copy the small file to {{ic|/usr/lib/firmware/speedtch-1.bin}} and the big one to {{ic|/usr/lib/firmware/speedtch-2.bin}}

−

<pre>

+

−

mkdir -p /lib/firmware

+

# mkdir -p /usr/lib/firmware

−

cp small_file /lib/firmware/speedtch-1.bin

+

# cp small_file /usr/lib/firmware/speedtch-1.bin

−

cp large_file /lib/firmware/speedtch-2.bin

+

# cp large_file /usr/lib/firmware/speedtch-2.bin

−

</pre>

−

If you can't download this file then follow the instructions of the second link above and use the firmware extractor (or download another firmware which has the two files).

+

If you cannot download this file then follow the instructions of the second link above and use the firmware extractor (or download another firmware which has the two files).

==Troubleshooting==

==Troubleshooting==

Line 120:

Line 239:

----

----

−

For the origin of this doc, feedback or requests go to the [http://bbs.archlinux.org/viewtopic.php?p=80638 Forum discussion]

+

For the origin of this doc, feedback or requests go to the [https://bbs.archlinux.org/viewtopic.php?p=80638 Forum discussion]

Revision as of 21:32, 23 June 2013

Contents

Introduction

This howto shows one way to get a working speedtouch USB modem. It uses the kernel driver, not the userspace driver. This howto assumes that your ISP uses PPPoA and not PPPoE. For info about PPPoE with these modems see first url below.

Configure udev

With this Udev will start pppd automatically, if you do not want this you can simply bring up your modem using

pppd call speedtch

Firmware

Now you have everything except the firmware loading. The easiest way is to let udev do it. Download rev4fw.zip (note disclaimer here) and unzip it. It contains two files, a small one and a big one. Copy the small file to /usr/lib/firmware/speedtch-1.bin and the big one to /usr/lib/firmware/speedtch-2.bin

If you are having problems you can check pppd debug messages by adding debug to /etc/ppp/peers/speedtch. This can help identify authentication problems (e.g. pap vs chap auth), etc. Otherwise make sure you check your VPI/VCI settings!