Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2000 19:48:31 +0200
From:      DEAMmac <mac@deam.org>
To:        isdn <freebsd-isdn@freebsd.org>
Subject:   more "howto fritz and ppp"
Message-ID:  <B5AA370E.3786%mac@deam.org>

next in thread | raw e-mail | index | archive | help
hi there again,

first: thank you miklos for the mails.
i think the "normal" ppp could go faster to a success.

in general: i am really new to ppp, because i got my router an a adsl
without any big configuration problems ;-)

so far: i attached my isdn-card, witch _is_ a isa one, to the system with
this message at boot-time:
isic0 at port 
0x1b00-0x1b1f,0x16e0-0x16ff,0x6e0-0x6ff,0xee0-0xeff,0x1300-0x131f,0x300-0x31
f,0xb00-0xb1f irq 11 flags 0x4 on isa0
isic0: AVM A1 or Fritz!Card Classic

2. i changed the isdnd.rc from the /usr/share/examples/ppp and put it in
/etc/isdn
3. i changed the ppp.conf from the /usr/share/examples/ppp and put it in
/etc/ppp

now i got the problem with this ppp-stuff: at boottime i got many warnings
like "Waring: set phone: No context (use the 'link' command).

in my /var/log/ppp.log there is always this, if i try to dial:
Jul 30 21:33:50 lolita ppp[96]: Phase: 1: hangup -> opening
Jul 30 21:33:50 lolita ppp[96]: Phase: 1: Enter pause (3) for redialing.
Jul 30 21:33:53 lolita ppp[96]: Phase: 1: Connected!
Jul 30 21:33:53 lolita ppp[96]: Phase: 1: opening -> dial
Jul 30 21:33:53 lolita ppp[96]: Phase: 1: dial -> carrier
Jul 30 21:33:59 lolita ppp[96]: Phase: 1: /dev/i4brbch0: No carrier
(increase ``set cd'' from 6 ?)
Jul 30 21:33:59 lolita ppp[96]: Phase: 1: Disconnected!
Jul 30 21:33:59 lolita ppp[96]: Phase: 1: carrier -> hangup
Jul 30 21:33:59 lolita ppp[96]: Phase: 1: Connect time: 6 secs: 0 octets in,
0 octets out 
Jul 30 21:33:59 lolita ppp[96]: Phase:  total 0 bytes/sec, peak 0 bytes/sec
on Sun Jul 30 21:33:59 2000

the isdntrace0 puts out some cryptic-stuff i don't understand....

in the kernel-config i activated
pseudo-device ppp
pseudo-device "i4bq921"
pseudo-device   "i4bq931"
pseudo-device   "i4b"
pseudo-device   "i4btrc"        4
pseudo-device   "i4bctl"
pseudo-device   "i4brbch"       4

and the card itself :)


it maybe help if i put the configs in here:

---------------------------- start ppp.conf
default:
 # Replace this with your ISPs phone number
 set phone 123456789

 # Replace these with your login name & password.  This profile assumes
 # you're using PAP or CHAP.
 set authname somename@okay.net
 set authkey password

 # Assuming you have a LAN:
 set enddisc mac

 enable lqr
 set reconnect 3 5
 set redial 3 10
 set lqrperiod 45
 disable pred1 deflate
 deny pred1 deflate

 # Our minimum charge period is 5 minutes, so don't hangup before then
 set timeout 60 300

 # We have no chat scripts in the ISDN world (yet)
 set dial
 set login
 set hangup

 # Use the raw B-channel devices
 # set device /dev/i4brbch0 /dev/i4brbch1
 set device /dev/i4brbch0
 set speed sync
 set bandwidth 65536

 # How long does it take to connect with ISDN ?
 link * set cd 6

 # Ask the peer what to put in resolv.conf
 enable dns

 # Take a wild guess and let the other side decide
 set ifaddr 172.16.0.1/0 212.0.0.0/0
 add! default hisaddr

 # Multilink mode please
 set mrru 1500

 # Two new links
 clone 1,2

 # And get rid of the old one with the crusty name
 link deflink rm

 # Automatically manage the second link
 link * set mode auto
 set autoload 10 100 30

 # Otherwise, do things via the diagnostic port
 set server /tmp/pavilion "" 0177
---------------------------- end ppp.conf

---------------------------- start isdnd.rc
#===========================================================================
===
# SYSTEM section: isdnd global configuration parameters
#===========================================================================
===
system

# accounting
# ----------

acctall         = on                    # generate info for everything
acctfile        = /etc/isdn/isdnd.acct  # name & location of accounting file
useacctfile     = yes                   # generate accouting info to file
isdntime = on
monitor-allowed = no                    # global switch: monitor on/off

#=================================================================
# User-ppp example
#=================================================================
entry
name                    = userppp0
usrdevicename           = rbch
usrdeviceunit           = 0
isdncontroller          = 0
isdnchannel             = -1
local-phone-incoming    = *
remote-phone-incoming   = *
local-phone-dialout     = 123456789
remote-phone-dialout    = 1234567       # ppp(8) will override this
remdial-handling        = first
dialin-reaction         = ignore
dialout-type            = normal
b1protocol              = hdlc
idletime-incoming       = 900           # Should be larger than ppps timeout
idletime-outgoing       = 900           # Should be larger than ppps timeout
ratetype                = 0
unitlength              = 90
unitlengthsrc           = rate
dialretries             = 3
dialrandincr            = on
recoverytime            = 1             # Should be smaller than ppps redial
usedown                 = off
downtries               = 2
downtime                = 30
---------------------------- end isdnd.rc

---------------------------- start rc.conf
ifconfig_ed0="inet 10.10.10.100  netmask 255.255.255.0"
hostname="lolita.deam.org"
saver="star"
font8x8="iso-8x8"
font8x14="iso-8x14"
font8x16="iso-8x16"
scrnmap="iso-8859-1_to_cp437"
keyrate="fast"
keymap="german.iso"
pccard_ifconfig="NO"
pccard_mem="DEFAULT"
sshd_enable="YES"
isdn_enable="YES"
isdn_trace="YES"
ppp_enable="YES"
ppp_profile="default"
---------------------------- end rc.conf


sorry, but i am really new to ppp and i don't know where to start.

thanks in advance
klaus

-
DaMac@irc: #team23.org
PGP-ID#:   0x6F28F58E
PGP-Type:  DH/DSS | 2048/1024
-------------------------------------> http://mac.deam.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B5AA370E.3786%mac>