Modem

Normally I don't need it, because my SuSE acts as a gateway, but I had some free hours and got it working (thanks to the gentoo forum thread http://forums.gentoo.org/viewtopic.php?t=129853.

In kernel 2.6.7 (perhaps also earlier) there is the option

Device Drivers --->
  Sound --->
    Advanced Linux Sound Architecture  --->
      PCI devices  --->
        Intel i8x0/MX440; AMD768/8111 modems (EXPERIMENTAL)

which gives you the basic drivers. After compiling this as a module, I changed the /etc/modules.d/alsa the following way:

alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-intel8x0m
...
options snd cards_limit=2

(just added the second card and set up the card limit). To use it, modprobe it:

modprobe snd_intel8x0m

Now you need the slmodem application which gives you the modem as a usable device at /dev/ttySL0 (http://www.smlink.com).

Note

First I compiled the slmodem with alsa support and the slmodemd always told me "ALSA support is not compiled in". I didn't read the readme carfully enogh; they said "cd modem" which I forgot...

Now just set up wvdail and pppd (see the gentoo forum thread for this), don't forget to disable carrier detection with

Carrier Check = no

in /etc/wvdail.conf and live happy.

I had some with name resolution and although the access rights to /etc/resolv.conf had been set correctly, only root could make a ping to cweiske.de, normal users not. The wvdail or pppd change the resolv.conf when the connection is established, and only root can access this file... do a chmod after the connection in your script, and you're done..

Note

If you use a route on e.g. eth0, it is wise to shut this interface down before calling wvdail.