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

Re: FRITZ!Card PCI & Linux (linux-il webmaster please read)



 
> Does anyone have experience with installing the FRITZ!Card PCI under linux?

hi Oren,
I have the same card as you have, got it from Netvision.
It works great.
you are right, some links in the isp section of the linux-il site are broken.

***to the linux-il WEBMASTER : can you please fix this ?**

in principle, I used the actcom isdn instructions.
a while ago I saw an html page someone wrote that actually takes
you thru the install much like a win95 install wizard. I think this is 
the ISDN-HOWTO in the isp section of linux-il , which is a broken link
for now.
I have attached the web page (actcom isdn page) that I saved 2 
months ago when I configured my card.
please note that it has some small mistakes, but by large these are 
the steps you will have to take.
do you use KDE ?
if you do, I think that all you need to do is to get the isdn4k (for kernel)
utils, and compile your kernel with this source code package.
you can then use KISDN which is a front end to configure the isdn4linux
package, also it is a connection monitor and more (has the small transmit
receive modem leds like in win95).
it is much more user friendly to configure isdn through this GUI than
to edit all kinds of text file in /etc.
by the way, the help (all in HTML I think) files for KISDN are (at first glance)
really good. check them out. I think it actually says there to which point you
have to do on your on and from there KISDN can carry on with the
configuration.
if you have questions, don't hesitate.
gal.
  

--
Gal Aviel
053-841935
04-8242279 
Title: Re: ISDN and Linux

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

Re: ISDN and Linux



Hi,

Enclosed, the necessary files.

"Dial" is the script. Just type ./dial to see the command format.

the pap-secrets and ioptions files should be sitting on /etc/ppp directory (on
Redhat distributions, don't know about others).

do not forget to chmod the dial script to executable.

Also, the files ioptions and pap-secrets needs modifications (the username), and
the password. The script itself is pretty self understandble.

Good Luck.
Hetz


Gavrie Philipson wrote:
> 
> Hi!
> 
> I'm trying, in vain, to set up PPP over ISDN  for more than a week already.
> My setup:
> 
> - AVM Fritz!Card PCI with HiSax driver
> - Kernel 2.0.36
> - isdn4k v3
> 
> The hardware layer works. I know this because I can see certain stuff in the
> logs, like the caller-id number of incoming calls.
> 
> I just cannot seem to set up syncPPP correctly.
> I'm trying to call ISDN net.
> 
> The problem: When trying to dial out with 'isdnctrl dial ippp0' I get, in the
> log file:
> 
> Dialing of ippp0 triggered
> Dec 29 20:56:38 localhost kernel: ippp0: dialing 1 136363...
> Dec 29 20:56:38 localhost kernel: isdn_net: local hangup ippp0
> Dec 29 20:56:38 localhost kernel: ippp0: Chargesum is 0
> 
> I get this all the time! Trying to dial out over /dev/ttyI0 with minicom fails
> either.
> 
> Any ideas?
> 
> I'm desparate!!
> 
> -- Gavrie.
> 
> ----------------------------------------
> The output of 'isdnctrl list ippp0' shows:
> ---------------------------------------
> Current setup of interface 'ippp0':
> 
> EAZ/MSN:                9728189
> Phone number(s):
>   Outgoing:             136363
>   Incoming:             9720388 9728189
> Dial mode:              manual
> Secure:                 off
> Callback:               off
> Reject before Callback: on
> Callback-delay:         5
> Dialmax:                1
> Hangup-Timeout:         100
> Incoming-Hangup:        on
> ChargeHangup:           off
> Charge-Units:           0
> Charge-Interval:        0
> Layer-2-Protocol:       hdlc
> Layer-3-Protocol:       trans
> Encapsulation:          syncppp
> Slave Interface:        None
> Slave delay:            10
> Slave trigger:          6000 cps
> Master Interface:       None
> Pre-Bound to:           fritz, Channel 0
> PPP-Bound to:           0
> 
> ---------------------------------------

--
Linux - The STABLE and FUN way to operate
# Password file: /etc/ppp/pap-secrets
inXX/hetz       *       PASSWORD
#!/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=6400000                         # your isp number

DIALMAX=1                          # number of retries to connect to ISP

USER=inXX/hetz                 # your username
 				   # use inXX/username or inYY/username
                                   # if your ISP is Isdn-Net (isdn.net.il)

HISAX_OPTIONS="type=5 protocol=2 io=0x340 irq=12" # 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
        done
        ifconfig ippp0 -arp -broadcast
        ipppd user $USER file /etc/ppp/ioptions
        sleep 2
        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
      route del default
      ifconfig ippp0 down
      isdnctrl delif ippp0
      sleep 1
      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
# The options file: /etc/ppp/options

# /etc/ppp/options for ipppd
noipdefault
ipcp-accept-local
ipcp-accept-remote
-vjccomp
-ac
-pc
-detach
-bsdcomp
-vj
lock
mru 1500
mtu 1500
debug
user inXX/hetz
/dev/ippp0