[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My sb16 pnp, isdn avm-fritz! pci card



First, Thank you for helping me.
1. About the SB16, The device driver isn't loaded (sb16) here is the list of all other devices:
slhc               2            0 (autoclean)
nls_iso8859_1      1            2 (autoclean)
nls_cp437          1            2 (autoclean)
vfat               4            2 (autoclean)
opl3               3            0
uart401            2            0
sound             15    [opl3 uart401]  0
soundlow           1    [sound] 0
soundcore          1    [sound] 3
  As you can see, sb16/sb isn't there. And about sndconfig - when i running it on port 240 - "device
or resource busy" and when i trying other ports (220 for example) it accept it - but no sound !!!
When i compiled the kernel i told him to compile the sound as bulit in driver, with the 220 port.
what can I do?

2. About the isdn :
    First, i still think that the kernel 2.0.36 support it (its on the configuration menu
-
    AVM FRITZ! pci/pnp, but i'll download the drivers.
    My problem was about the configuration scripts for my pppd, and i'll try your solve.
    I'm downloading now the drivers, but because of my 3 tests tomorrow, so I won't try it
    today.

Bye, waiting for your answer (or anyone else's one...).


Lior Okman wrote:

> > hello.
> >
> > 1. I already have kernel 2.0.36 (RH 5.2). I just want to know how do i making
> > a internet connection from the isdn device. I'v isdn4linux too. I just wanna
> > know how do i converting a modem connection script to isdn one, and how do i
> > need to compile the kernel the driver (mod or bulit-in).
>
> kernel 2.0.36 DOES NOT support the FRITZ! PCI card. You need to go to the
> link I gave you and get the updated drivers, AND RECOMPILE your kernel.
> You need to enable the ISDN options:
>  1. Synchronous PPP
>  2. VJ compression with Syncronous PPP
>  3. Generic MP
>  3. Support audio via ISDN
>  4. HiSax SiemensChipSet driver support
>  5. Hisax support for EURO/DSS1
>  6. HiSax support for AVM PnP/PCI (Fritz!PnP/PCI)
>         This is only available with the new drivers found at the link I
>         gave you last time (http://www.avm.de)
>
> It doesn't matter if you compile it in or build it as a module.
> If you already have the isdn4linux package, try the attached scripts.
> One thing I havn't sent you that you will need is a correct pap-secrets
> file. BUILD it yourself (man ipppd or man pppd)
>
> > 2. I already using isapnp, and when I running sndconfig at the first time it
> > works perfrecly. Then, when I'm rebooting its doesn't seem to work, and when
> > I running sndconfig again - it tells me :
> > /lib/modules/preferred/misc/sb.o:
> > init_module: Device or resource busy
> > sound: Device or resource busy
> > I tried to compile is as a driver built in, as a module, and it doesn't work.
> >
> Check if the driver is already loaded when you run sndconfig a second
> time. You don't have to run it every time you want to use sound.
> use lsmod to see if the driver is already loaded. if so, DON'T run
> sndconfig again. All you need to do is run modprobe sb or something
> similar.
>
> Good luck.
>
>     Lior Okman
>      lior@hempseed.com
>
>   ------------------------------------------------------------------------
> # The options file: /etc/ppp/options
>
> # /etc/ppp/options for ipppd
> noipdefault
> defaultroute
> ipcp-accept-local
> ipcp-accept-remote
> lock
> #-bsdcomp
> #-ccp
> #-vj
> #-ac
> mru 1500
> mtu 1500
> debug
> user your-username-here
> /dev/ippp0
>
>   ------------------------------------------------------------------------
> #!/bin/sh
>
> # Isdn Connect Script v0.2 (11/23/98)
> # Written by Andrei Sava (andreisv@isdn.net.il)
> # Please contact me about any bugs or suggestions regarding this script.
>
> # Make sure that you are using a recent snapshot of isdn drivers and utils
> # downloadable from ftp.suse.com/pub/isdn4linux/
> # This script will not work with older isdn4k-utils than v3.0beta1.
>
> # Please fill in the following info:
>
> DIAL=xxxxxxx                         # your isp number
>
> DIALMAX=1                          # number of retries to connect to ISP
>
> HUPTIMEOUT=440                  # number of inactive seconds after which
>                                 # the connection will be terminated.
>
> USER=your-user-name-here # your username
>                                    # use inXX/username or inYY/username
>                                    # if your ISP is Isdn-Net (isdn.net.il)
>
> HISAX_OPTIONS="type=27 protocol=2" # hisax module options
>                                    # "type=27 protocol=2" for fritz!card pci
>
> # Set your password in /etc/ppp/pap-secrets
> # Don't forget to copy the supplied 'ioptions' to /etc/ppp/ioptions
>
> case "$1" in
>
>   on)
>     if ! lsmod | grep hisax >/dev/null; then
>       modprobe hisax $HISAX_OPTIONS
>     fi
>     if lsmod | grep hisax >/dev/null; then
>       if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $2}'` = 0 ]; then
>         isdnctrl verbose 3
>         isdnctrl system on
>         isdnctrl addif ippp0
>         isdnctrl addslave ippp0 ippp1
>         for i in 0 1 ; do
>           isdnctrl eaz ippp$i $i
>           isdnctrl addphone ippp$i out $DIAL
>           isdnctrl huptimeout ippp$i 0
>           isdnctrl l2_prot ippp$i hdlc
>           isdnctrl l3_prot ippp$i trans
>           isdnctrl encap ippp$i syncppp
>           isdnctrl dialmax ippp$i $DIALMAX
>           isdnctrl huptimeout ippp$i $HUPTIMEOUT
>         done
>         ifconfig ippp0 -arp -broadcast
>         ipppd user $USER file /etc/ppp/ioptions
>         sleep 2
>         echo `pidof ipppd` > /var/lock/LCK..ttyI0
>         isdnctrl dial ippp0
>         if [ "$2" = "2" ]; then
>           isdnctrl dial ippp1
>         fi
>         sleep 10
>         route add default ippp0
>         if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $2}'` = 0 ]; then
>           echo -e "\aError - Connection not established."
>           echo "Please check your username, your password, and your provider number."
>         else
>           if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $3}'` = 0 ]; then
>             echo -e "\aConnected on 1 channel."
>           else
>             echo -e "\aConnected on 2 channels."
>           fi
>         fi
>       else
>         echo -e "\aAlready connected - nothing done."
>       fi
>     else
>       echo -e "\Error - Hisax could not be loaded."
>       echo "Please make sure that you are using the correct hisax options for your card."
>     fi
>     ;;
>
>   switch)
>     if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $2}'` = 0 ]; then
>       echo -e "\aNot connected. Please use '`basename $0` on' first to connect."
>     else
>       case "$2" in
>         1)
>           if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $3}'` != 0 ]; then
>             isdnctrl hangup ippp1
>             echo -e "\aChannel 2 disconnected."
>           else
>             echo -e "\aChannel 2 is not connected - nothing done."
>           fi
>           ;;
>         2)
>           if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $3}'` = 0 ]; then
>             isdnctrl dial ippp1
>             sleep 8
>             if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $3}'` != 0 ]; then
>               echo -e "\aChannel 2 connected."
>             else
>               echo -e "\aError - Could not establish connection on channel 2."
>               echo "Please make sure that your ISP allows dual-channel connection for your login."
>             fi
>           else
>             echo -e "\aAlready connected on channel 2 - nothing done."
>           fi
>           ;;
>         *)
>           echo -e "\aPlease use '`basename $0` switch 1' or '`basename $0` switch 2'."
>           ;;
>       esac
>     fi
>     ;;
>
>   off)
>     if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $3}'` != 0 ]; then
>       isdnctrl hangup ippp1
>     fi
>     if ps x | grep ipppd | grep -v grep >/dev/null; then
>       if [ `head -n 6 /dev/isdninfo | grep usage | awk '{print $2}'` != 0 ]; then
>         isdnctrl hangup ippp0
>       fi
>       killall ipppd
>       rm -f /var/log/LCK..ttyI0
>       route del default
>       ifconfig ippp0 down
>       isdnctrl delif ippp0
>       sleep 1
>       rmmod hisax
>       echo -e "\aConnection closed."
>     else
>       echo -e "\aNot connected - nothing done."
>     fi
>     ;;
>
>   *)
>     echo -e "\aUsage: `basename $0` <command> <options>\n"
>     echo -e "where <command> is one of the following:\n"
>     echo -e "  on [2]        connect to provider. with '2' option - connect on both channels."
>     echo -e "  switch [1|2]  switch between 1 or 2 channels, while connected."
>     echo -e "  off           disconnect from provider.\n"
>     ;;
>
> esac