[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenBSD 3.3-current and i4b experiment
begin electrogrammati illius Robert Porl
>down the problem with "isic_cd": You have to have a pci
>card configured in the kernel config file. Strange.
Fun.
>Line 89 is, like most of isdnd.rc, copied from the example file. It reads:
>
>usrdevicename = rbch
>
>I guess that's a leftover reference to the i4brbch device. Since
>this i4b implementation was ported over from NetBSD, the correct
>name would be bchan, so i tried that with negative result.
Right, would be bchan. Thanks for noticing.
>Can you think of a fix ? When i get isdnd to run, i can finally
>try out *real* ip connectivity and confirm if your patch works.
Hm. Can you try using the following two files:
--- snip --- /etc/isdn/isdnd.rc
system
acctall = off
acctfile = /var/log/isdnd.acct
useacctfile = no
monitor-allowed = off
ratesfile = /etc/isdn/isdnd.rates
rtprio = 25
entry
name = userppp0
usrdevicename = bchan
usrdeviceunit = 0
isdncontroller = 0
isdnchannel = -1
dialin-reaction = ignore
dialout-type = normal
b1protocol = hdlc
ratetype = 0
unitlength = 600
unitlengthsrc = conf
dialretries = 1
dialrandincr = on
recoverytime = 25
usedown = off
downtries = 2
downtime = 30
local-phone-incoming = *
remote-phone-incoming = *
remote-phone-dialout = *
local-phone-dialout = 5506888
remdial-handling = first
idletime-incoming = 0
idletime-outgoing = 320
--- snap --- /etc/isdn/isdnd.rc
Insert your MSN for 5506888.
idletime of 320 needs to be larger than the one
which is set below (300) afaik.
--- snip --- /etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
# ISDN with SyncPPP and Dial-On-Demand
t-offline:
set device /dev/isdnbchan0
set speed sync
disable ipv6cp
set timeout 0
set login
set ifaddr 0.0.0.0/0 0.0.0.1/0 255.255.255.0 0.0.0.0
add default HISADDR
# Adjust: the entire string in quotes => your user name
# Adjust (T-Online users): 0-3 = Anschluszkennung
# 4-9 = T-Online-Nummer
# 0001 = Mitbenutzerkennung
set authname "0001112223339988776655440001@t-online.de"
set authkey "secret-passsword"
set phone 0191011
dial
t-offline-autodisc:
load t-offline
set timeout 300
# this disconnects you after 300 seconds of inactivity
--- snap --- /etc/ppp/ppp.conf
//Thorsten
--
Willst Du wegen dummer User immer 'Ja, ich will' nach einem rm an /dev/tty
eingeben müssen? -- Bodo Eggert in de.alt.sysadmin.recovery