Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Dec 1999 16:04:19 +0100
From:      Luke Roberts <luke@roberts.nl>
To:        freebsd-isdn@FreeBSD.ORG
Subject:   FOR ERNST Re: ISDN problem on FreeBSD 3.2
Message-ID:  <4.2.2.19991204153035.00ae6190@pop.roberts.nl>
In-Reply-To: <38491594.92396BCC@znerd.demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"; format=flowed

Sorry about this,

I took the time to help a Fellow Dutchman to get i4b up and running but 
wafter ryping out the mail see that his e-mail address ernst@jollem.com 
doesn't exist. I hope he reads it like this in stead.

Cheers,

Luke





Hee Ernst,

Heb jij even mazzel dat ik FreeBSD 3.2 & i4b & Teles 16.0/3 gebruik en ook 
nog eens bij Demon internet.

Hier heb je de oplossing:

Eerst overinstall i4b 0.83 (jij gebruikt nog 0.70). Zorg ervoor dat je de 
juiste settings in je kernel plaatst. Rebuild dan je kernel.

i4B moet nu klaar zijn.

Nu nog de firewall & NATd XNTPD time :

Vervolgens zorg je dat je Firewall & NATd aan staat (zie rc.firewall en 
natd.conf voor config)

Vervolgens plaats je de scripts die ik je heb gegeven in /etc

isdn-up, isdn-down, ppp-demon.rc (wijzig hierin je wachtwoord) plaats je in 
/etc/isdn

ntpd.conf is de configuratie file voor xntpd time deamon. (zie rc.local 
waarin XNTPD wordt opgestart).


Als je dit allemaal hebt gedaan dan start je je ISDN settings op door in 
/etc ./godemon.rc in te voeren. Je krijgt dan een full screen scherm te 
zien waarop de verbindings status staat.

Succes!

Luke




>Hi Hellmuth Michaelis and all,
>
>I'm switching from Linux to FreeBSD (or at least trying to), and
>attempt to get ISDN running on FreeBSD, but fail. I've read the FAQ,
>the handbook section on FreeBSD and the PS document "The Care and
>Feeding of ISDN4BSD". MMy problem: I'm not wuite sure what to do
>after rebuilding the kernel with the options for ISDN, configuring
>isdnd.rc and starting the isdnd.
>
>The isdnd daemon fails to connect to my internet service provider
>due to Layer 1 problems.
>
>Does anyone have any pointers to other forms of documentation for
>ISDN, a "troubleshooting" section somewhere or "check-list"? I've
>checked the available FAQ, the Handbook and I've searched the
>archives, but haven't been able to find anything relevant.
>
>I own a Teles 16.0/3 (ISA, Siemens chipset). Below is more info on
>what I did, have and got: (:-)
>
>
>
>I've written a call-demon script that calls my ISP, Demon. I
>followed
>the instructions in the i4b docs. Then I've written a start-isdnd
>script
>that should start the isdn daemon process. Below is the result of
>the
>execution of call-demon, the result of start-isnd and the result of
>the
>re-executed call-demon script after the start-isdnd script.
>
>After that I've included a lot of other info, including the source
>of
>the scripts, my kernel and isdn configuration files and a system
>description.
>
>
>      +-------------------------------------+
>      |    step 1: execute "call-demon"     |
>      +-------------------------------------+
>
>------- output of "call-demon" -------
>--- Removing previous configuration ---
>ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>
>--- Setting Demon PPP account options ---
>
>--- Configuring IP src/dest, netmask and link flags ---
>ifconfig: ioctl (SIOCAIFADDR): File exists
>
>--- Finished ---
>
>
>
>      +--------------------------------------+
>      |    step 2: execute "start-isdnd"     |
>      +--------------------------------------+
>
>------- output of "start-isdnd" -------
>Nov 18 20:38:31 heinz isdnd[333]: DMN init_controller_state:
>controller
>0
>  is Teles S0/16.3
>Nov 18 20:38:31 heinz isdnd[333]: DMN init_controller: found 1 ISDN
>controller(s
>)
>Nov 18 20:38:31 heinz isdnd[333]: WRN error open
>/etc/isdn/isdnd.rates:
>No such
>file or directory
>Nov 18 20:38:31 heinz isdnd[333]: DMN daemon started (pid = 333)
>
>
>------- output on virtual console 4 -------
>----- isdn controller state -------------- isdnd 00.70.0 [pid 333]
>----
>c tei b remote               iface dir outbytes obps inbytes ibps
>units
>0 --- 1
>   L12 2
>---- isdn userland interface state
>------------------------------------
>isp0
>---- isdn logfile display
>---------------------------------------------
>18.11.1999 20:38:31 DMN daemon started up (pid = 33)
>
>
>
>      +----------------------------------------+
>      |    step 3: re-execute "call-demon"     |
>      +----------------------------------------+
>
>------- output to "/var/log/messages" -------
>
>Nov 18 20:38:31 heinz isdnd[333]: DMN init_controller_state:
>controller
>0 is Teles S0/16.3
>Nov 18 20:38:31 heinz isdnd[333]: DMN init_controller: found 1 ISDN
>controller(s)
>Nov 18 20:38:31 heinz isdnd[333]: WRN error open
>/etc/isdn/isdnd.rates:
>No such file or directory
>Nov 18 20:38:31 heinz isdnd[333]: DMN daemon started (pid = 333)
>Nov 18 20:45:43 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:45:43 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:45:43 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x4
>Nov 18 20:45:43 heinz /kernel: i4b-L1-isic_recover:   ISAC: CISQ =
>0x1e
>Nov 18 20:45:43 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:45:43 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:45:43 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:45:43 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:45:43 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:45:45 heinz /kernel: i4b-L3-T303_timeout: SETUP not
>answered,
>cr = 111
>Nov 18 20:45:45 heinz /kernel: i4b-L3-next_l3state: FSM illegal
>state,
>state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout!
>Nov 18 20:45:45 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:45:45 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:45:45 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:45:45 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:45:45 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:45:45 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:45:45 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:45:45 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:45:47 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:45:47 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:45:47 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:45:49 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:45:49 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:45:49 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:45:49 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:45:49 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:45:49 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:45:49 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:45:49 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:45:51 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:45:51 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:45:51 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:45:53 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:45:53 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:45:53 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:45:53 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:45:53 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:45:53 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:45:53 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:45:53 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:45:55 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:45:55 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:45:55 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:45:57 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:45:57 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:45:57 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:45:57 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:45:57 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:45:57 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:45:57 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:45:57 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:45:57 heinz /kernel: i4b-L2-i4b_mph_status_ind: unit 0,
>cannot
>access S0 bus!
>Nov 18 20:45:57 heinz /kernel: i4b-L3-i4b_mdl_status_ind:
>STI_NOL1ACC:
>unit 0 no outgoing access to S0
>Nov 18 20:45:57 heinz isdnd[333]: ERR set_channel_idle: controller
>[0],
>invalid channel [-1]!
>Nov 18 20:45:57 heinz isdnd[333]: ERR msg_disconnect_ind:
>set_channel_idle failed!
>Nov 18 20:46:00 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:00 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:00 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:00 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:00 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:00 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:00 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:00 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:46:00 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:02 heinz /kernel: i4b-L3-T303_timeout: SETUP not
>answered,
>cr = 48
>Nov 18 20:46:02 heinz /kernel: i4b-L3-next_l3state: FSM illegal
>state,
>state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout!
>Nov 18 20:46:02 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:02 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:02 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:02 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:02 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:02 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:02 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:02 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:04 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:04 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:46:04 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:06 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:06 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:06 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:06 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:06 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:06 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:06 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:06 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:08 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:08 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:46:08 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:10 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:10 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:10 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:10 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:10 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:10 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:10 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:10 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:12 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:12 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:46:12 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:14 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:14 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:14 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:14 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:14 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:14 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:14 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:14 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:14 heinz /kernel: i4b-L2-i4b_mph_status_ind: unit 0,
>cannot
>access S0 bus!
>Nov 18 20:46:14 heinz /kernel: i4b-L3-i4b_mdl_status_ind:
>STI_NOL1ACC:
>unit 0 no outgoing access to S0
>Nov 18 20:46:14 heinz isdnd[333]: WRN msg_disconnect_ind: cdid not
>found
>Nov 18 20:46:14 heinz isdnd[333]: ERR set_channel_idle: controller
>[0],
>invalid channel [-1]!
>Nov 18 20:46:14 heinz isdnd[333]: ERR msg_disconnect_ind:
>set_channel_idle failed!
>Nov 18 20:46:17 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:17 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:17 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:17 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:17 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:17 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:17 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:17 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:46:17 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:19 heinz /kernel: i4b-L3-T303_timeout: SETUP not
>answered,
>cr = 53
>Nov 18 20:46:19 heinz /kernel: i4b-L3-next_l3state: FSM illegal
>state,
>state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout!
>Nov 18 20:46:19 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:19 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:19 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:19 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:19 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:19 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:19 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:19 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:21 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:21 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:46:21 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:23 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:23 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:23 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:23 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:23 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:23 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:23 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:23 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:25 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:25 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:46:25 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:27 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:27 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:27 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:27 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:27 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:27 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:27 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:27 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:29 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:29 heinz /kernel: i4b-L1-ph_data_req: still in state
>F3!
>Nov 18 20:46:29 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:31 heinz /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202
>= 3
>Nov 18 20:46:31 heinz /kernel: i4b-L1-ph_data_req: No Space in TX
>FIFO,
>state = F4 Awaiting Signal
>Nov 18 20:46:31 heinz /kernel: i4b-L1-timer3_expired: state = F4
>Awaiting Signal
>Nov 18 20:46:31 heinz /kernel: i4b-L1-isic_recover: HSCX B: ISTA =
>0x0
>Nov 18 20:46:31 heinz /kernel: i4b-L1-isic_recover:   ISAC: ISTA =
>0x0
>Nov 18 20:46:31 heinz /kernel: i4b-L1-isic_recover: HSCX B: IMASK =
>0xff
>Nov 18 20:46:31 heinz /kernel: i4b-L1-isic_recover: HSCX A: IMASK =
>0xf8
>Nov 18 20:46:31 heinz /kernel: i4b-L1-isic_recover:   ISAC: IMASK =
>0x2a
>Nov 18 20:46:31 heinz /kernel: i4b-L2-i4b_mph_status_ind: unit 0,
>cannot
>access S0 bus!
>Nov 18 20:46:31 heinz /kernel: i4b-L3-i4b_mdl_status_ind:
>STI_NOL1ACC:
>unit 0 no outgoing access to S0
>Nov 18 20:46:31 heinz isdnd[333]: WRN msg_disconnect_ind: cdid not
>found
>Nov 18 20:46:31 heinz isdnd[333]: WRN msg_disconnect_ind: cdid not
>found
>Nov 18 20:46:31 heinz isdnd[333]: ERR set_channel_idle: controller
>[0],
>invalid channel [-1]!
>Nov 18 20:46:31 heinz isdnd[333]: ERR msg_disconnect_ind:
>set_channel_idle failed!
>
>
>
>      +-------------------------------------------------+
>      |    extra info on my system and configuration    |
>      +-------------------------------------------------+
>
>------- output on kernel startup --------
>isic0 at 0xd80 irq 5 flags 0x3 on isa
>isic0: Teles S0/16.3
>isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2)
>(Addr=0x960)
>isic0: HSCX 82525 or 21525 Version 2.1 (AddrA=0x160, AddrB=0x560)
>:
>(skipping)
>:
>i4b: ISDN call control device attached
>i4bisppp: 4 ISDN SyncPPP device(s) attached
>i4bctl: ISDN system control port attached
>i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header
>compression)
>i4btel: 4 ISDN telephony interface device(s) attached
>i4brbch: 4 raw B channel access device(s) attached
>i4btrc: 4 ISDN trace device(s) attached
>
>
>------- "start-isdnd" script: -------
>#!/bin/sh
>echo "--- Starting isdnd on virtual console 4 ---"
>isdnd -b -f -r /dev/ttyv4 -t cons25
>
>
>------- "call-demon" script -------
>#!/bin/sh
>echo "--- Removing previous configuration ---"
>ifconfig isp0 delete -link1 down
>
>echo ""
>echo "--- Setting Demon PPP account options ---"
>spppcontrol isp0 myauthproto=chap
>spppcontrol isp0 myauthname=pharao
>spppcontrol isp0 myauthsecret=abcd098
>
>echo ""
>echo "--- Configuring IP src/dest, netmask and link flags ---"
>ifconfig isp0 210.237.109.231 192.157.77.212 netmask 0xffffffff
>link1
>
>echo ""
>echo "--- Finished ---"
>
>
>------- my "/etc/isdn/isdnd.rc" -------
>system
>
>acctall         = on                    # generate info for everything
>acctfile        = /var/log/isdnd.acct   # name & location of accounting file
>useacctfile     = yes                   # generate accouting info to file
>
>monitor-allowed = yes                   # global switch: monitor on/off
>monitor-port    = 451                   # default monitor TCP port
>
>monitor         = "/var/run/isdn-monitor"
>monitor-access  = fullcmd
>monitor-access  = channelstate, logevents
>monitor-access  = callin, callout
>
>rtprio          = 25                    # modify isdnd's process priority
>
>entry
>
>name                    = demon         # symbolic name for this entry
>
>isdncontroller          = 0             # controller to use or -1 to use any
>isdnchannel             = 0             # channel (1/2) to use or 0/-1 for any
>
>usrdevicename           = isp           # ipr, isp, tel, rbch
>usrdeviceunit           = 0             # unit number
>
>direction               = out           # in, out, inout
>local-phone-dialout     = 0332793895    # this is my number
>remote-phone-dialout    = 0334489909    # i call this remote number
>dialout-type            = normal        # normal / calledback
>dialin-reaction         = ignore        # ignore incoming calls
>b1protocol              = hdlc          # hdlc, raw
>
>dialretries             = 3             # number of dial retries
>dialrandincr            = on            # random dial increment time
>recoverytime            = 3             # time to wait between 2 dial tries
>usedown                 = off           # set i/f down
>
>ratetype                = 0             # ratesfile entry to use
>unitlength              = 90            # unitlength to assume
>unitlengthsrc           = rate          # none, rate, cmdl, conf, aocd
>idletime-incoming       = 120           # incoming call idle timeout
>idletime-outgoing       = 60            # outgoing call idle timeout
>earlyhangup             = 5             # time to hangup before an expected
>                                         # next charging unit will occur
>
>------- result of "uname -a" -------
>FreeBSD heinz.znerd.com 3.2-RELEASE FreeBSD 3.2-RELEASE #2: Wed Oct
>13
>21:26:52
>GMT 1999     root@heinz.znerd.com:/usr/src/sys/compile/GENERIC  i386
>
>
>------- Hardware info -------
>Pentium II 412 MHz CPU (PCI bus 103 MHz) -- originally 400/100
>1 x 128 MB DIMM 100 MHz (PC-100)
>IDE 2x FreeBSD partition (non-dedicated) is on IDE0, slave
>Diamond Viper V550 (Nvidia Riva TNT)
>On the ISA bus:
>. 3Com 3C509-B Ethernet card
>. Teles 16.0/3 ISDN card
>On the PCI bus:
>. SoundBlaster Live!
>. Dynalink IS64PPH(+) -- My winblows ISDN card, Winbond chipset
>
>
>------- kernel config file /usr/src/sys/i386/conf/GENERIC -------
>machine         "i386"
>cpu             "I386_CPU"
>cpu             "I486_CPU"
>cpu             "I586_CPU"
>cpu             "I686_CPU"
>ident           GENERIC
>maxusers        32
>
>options         MATH_EMULATE            #Support for x87 emulation
>options         INET                    #InterNETworking
>options         FFS                     #Berkeley Fast Filesystem
>options         FFS_ROOT                #FFS usable as root device [keep 
>this!]
>options         MFS                     #Memory Filesystem
>options         MFS_ROOT                #MFS usable as root device, "MFS" 
>req'ed
>options         NFS                     #Network Filesystem
>options         NFS_ROOT                #NFS usable as root device, "NFS" 
>req'ed
>options         MSDOSFS                 #MSDOS Filesystem
>options         "CD9660"                #ISO 9660 Filesystem
>options         "CD9660_ROOT"           #CD-ROM usable as root. "CD9660" 
>req'ed
>options         PROCFS                  #Process filesystem
>options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
>options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device
>options         UCONSOLE                #Allow users to grab the console
>options         FAILSAFE                #Be conservative
>options         USERCONFIG              #boot -c editor
>options         VISUAL_USERCONFIG       #visual boot -c editor
>
>config          kernel  root on wd0
>
>controller      isa0
>controller      pnp0
>controller      eisa0
>controller      pci0
>
>controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
>disk            fd0     at fdc0 drive 0
>disk            fd1     at fdc0 drive 1
>
>options         "CMD640"        # work around CMD640 chip deficiency
>controller      wdc0    at isa? port "IO_WD1" bio irq 14
>disk            wd0     at wdc0 drive 0
>disk            wd1     at wdc0 drive 1
>
>controller      wdc1    at isa? port "IO_WD2" bio irq 15
>disk            wd2     at wdc1 drive 0
>disk            wd3     at wdc1 drive 1
>
>options         ATAPI           #Enable ATAPI support for IDE bus
>options         ATAPI_STATIC    #Don't do it as an LKM
>device          acd0            #IDE CD-ROM
>device          wfd0            #IDE Floppy (e.g. LS-120)
>
>controller      ncr0
>controller      ahb0
>controller      ahc0
>controller      isp0
>
>controller      dpt0
>
>controller      adv0    at isa? port ? cam irq ?
>controller      adw0
>controller      bt0     at isa? port ? cam irq ?
>controller      aha0    at isa? port ? cam irq ?
>
>controller      scbus0
>
>device          da0
>
>device          sa0
>
>device          pass0
>
>device          cd0     #Only need one of these, the code dynamically grows
>
>device          wt0     at isa? port 0x300 bio irq 5 drq 1
>device          mcd0    at isa? port 0x300 bio irq 10
>
>controller      matcd0  at isa? port 0x230 bio
>
>device          scd0    at isa? port 0x230 bio
>
>controller      atkbdc0 at isa? port IO_KBD tty
>device          atkbd0  at isa? tty irq 1
>device          psm0    at isa? tty irq 12
>
>device          vga0    at isa? port ? conflicts
>
>pseudo-device   splash
>
>device          sc0     at isa? tty
>
>device          npx0    at isa? port IO_NPX irq 13
>
>device          apm0    at isa? disable flags 0x31 # Advanced Power
>Management
>
>device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
>device          sio1    at isa? port "IO_COM2" tty irq 3
>device          sio2    at isa? disable port "IO_COM3" tty irq 5
>device          sio3    at isa? disable port "IO_COM4" tty irq 9
>
>device          ppc0    at isa? port? flags 0x40 net irq 7
>controller      ppbus0
>device          lpt0    at ppbus?
>device          plip0   at ppbus?
>device          ppi0    at ppbus?
>
>device ax0              # ASIX AX88140A
>device de0              # DEC/Intel DC21x4x (``Tulip'')
>device fxp0             # Intel EtherExpress PRO/100B (82557, 82558)
>device mx0              # Macronix 98713/98715/98725 (``PMAC'')
>device pn0              # Lite-On 82c168/82c169 (``PNIC'')
>device rl0              # RealTek 8129/8139
>device tl0              # Texas Instruments ThunderLAN
>device tx0              # SMC 9432TX (83c170 ``EPIC'')
>device vr0              # VIA Rhine, Rhine II
>device vx0              # 3Com 3c590, 3c595 (``Vortex'')
>device wb0              # Winbond W89C840F
>device xl0              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
>
>device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
>device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
>device ep0 at isa? port 0x300 net irq 10
>device ex0 at isa? port? net irq?
>device fe0 at isa? port 0x300 net irq ?
>device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
>device lnc0 at isa? port 0x280 net irq 10 drq 0
>device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
>device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
>device cs0 at isa? port 0x300 net irq ?
>
>pseudo-device   loop
>pseudo-device   ether
>pseudo-device   sl      1
>pseudo-device   ppp     1
>pseudo-device   tun     1
>pseudo-device   pty     16
>pseudo-device   gzip            # Exec gzipped a.out's
>
>options         KTRACE          #kernel tracing
>
>options         SYSVSHM
>options         SYSVMSG
>options         SYSVSEM
>
>
>options         "TEL_S0_16_3"
>device isic0 at isa? port 0xd80 net irq 5 flags 3 vector isicintr
>
>pseudo-device
>"i4bq921"
>pseudo-device
>"i4bq931"
>pseudo-device   "i4b"
>
>pseudo-device   "i4btrc"        4
>pseudo-device   "i4bctl"
>pseudo-device   "i4brbch"       4
>pseudo-device   "i4btel"        4
>pseudo-device   "i4bipr"        4
>pseudo-device   "i4bisppp"      4
>pseudo-device   sppp            4
>
>options         IPR_VJ
>
>
>Ernst de Haan wrote:
> >
> > Hi Hellmuth Michaelis and all,
> >
> > I'm switching from Linux to FreeBSD, and attempt to get ISDN running on
> > FreeBSD, but fail. I've read the FAQ, the handbook section on FreeBSD
> > and the PS document "The Care and Feeding of ISDN4BSD".
> >
> > My problem: I'm not wuite sure what to do after rebuilding the kernel
> > with the options for ISDN, configuring isdnd.rc and starting the isdnd.
> > The isdnd daemon fails to connect to my internet service provider due to
> > Layer 1 problems.
> >
> > Does anyone have any pointers to other forms of documentation for ISDN,
> > a "troubleshooting" section somewhere or "check-list"?
> >
> > I own a Teles 16.0/3 (ISA, Siemens chipset). I can provide more
> > information if anyone cares (:-)
> >
> > GreetinX++,
> >
> > Ernst
> >
> > --
> > Ernst de Haan
> > Freelance Java Architect
> >
> > "Come to me all who are weary and burdened,
> > and I will give you rest" -- Jesus Christ
>
>--
>Ernst de Haan
>Freelance Java Architect
>
>"Come to me all who are weary and burdened,
>and I will give you rest" -- Jesus Christ
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-isdn" in the body of the message

--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="rc.local"

# put your local stuff here
echo "starting local time deamon" && /usr/sin/xntpd

echo '.'

--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="isdn-down"

#! /bin/sh

--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="isdn-up"

#! /bin/sh
pidnat=`cat /var/run/natd.pid`  
kill -HUP $pidnat 
sleep 2
kill -HUP $pidnat
sleep 1
/sbin/ipfw -q delete 310
sleep 115 
/sbin/ipfw -q add 310 deny udp from any to any 123 out via isp0 

--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="natd.conf"

use_sockets

port 6668
interface isp0

--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="ntp.conf"

server ntp.demon.nl 
driftfile /etc/ntp.drift

--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="ppp-demon.rc"

#!/bin/sh
echo "killing old isp0 ip number"
ifconfig isp0 delete -link1 down

echo "starting pap"
spppcontrol isp0 myauthproto=pap

echo "initialising login name"
spppcontrol isp0 myauthname=systemname

echo "initialising passwd"
spppcontrol isp0 myauthsecret=password

echo "initialising isp0 device with 0.0.0.0"
ifconfig isp0 your_demon_static_ip_number 194.159.73.222 netmask 0xffffffff mtu 576 link1 up


--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="rc.conf"

#!/bin/sh
#

# This is rc.conf - a file full of useful variables that you can set 
# to change the default startup behavior of your system.
#
# All arguments must be in double or single quotes.
#
#	$Id: rc.conf,v 1.1.2.45 1998/06/27 21:23:17 steve Exp $

##############################################################
### Important initial Boot-time options  #####################
##############################################################

swapfile="NO"		# Set to name of swapfile if aux swapfile desired.
apm_enable="NO"		# Set to YES if you want APM enabled.
pccard_enable="NO"	# Set to YES if you want to configure PCCARD devices.
pccard_mem="DEFAULT"	# If pccard_enable=YES, this is card memory address.

##############################################################
###  Network configuration sub-section  ######################
##############################################################

### Basic network options: ###
hostname="dilis.intranet.intervisors.nl"	# Set this!
nisdomainname="NO"		# Set to NIS domain if using NIS (or NO).
firewall_enable="YES"		# Set to YES to enable firewall functionality
firewall_type="UNKNOWN"		# Firewall type (see /etc/rc.firewall)
firewall_quiet="YES"		# Set to YES to suppress rule display
tcp_extensions="YES"		# Allow RFC1323 & RFC1644 extensions (or NO).
network_interfaces="ed0 lo0 isp0"	
ifconfig_ed0="inet 192.168.0.100 netmask 255.255.255.0"
ifconfig_lo0="inet 127.0.0.1"	# default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
ifconfig_isp0="inet 0.0.0.0 0.0.0.1 link1 mtu 576"

sppp_interfaces="isp0"

isdn_enable="yes"
isdn_fsdev="/dev/ttyv4"
isdn_flags=""

### Network daemon (miscellaneous) & NFS options: ###
syslogd_enable="YES"		# Run syslog daemon (or NO).
syslogd_flags=""		# Flags to syslogd (if enabled).
inetd_enable="YES"		# Run the network daemon dispatcher (or NO).
inetd_flags=""			# Optional flags to inetd.
named_enable="NO"		# Run named, the DNS server (or NO).
named_program="/usr/sbin/named"	# named program, in case we want bind8 instead.
named_flags="-b /etc/namedb/named.boot" # Flags to named (if enabled).
kerberos_server_enable="NO"	# Run a kerberos master server (or NO).
kadmind_server_enable="NO"	# Run kadmind (or NO) -- do not run on
				# a slave kerberos server
kerberos_stash=""		# Is the kerberos master key stashed?
rwhod_enable="NO"		# Run the rwho daemon (or NO).
amd_enable="NO"			# Run amd service with $amd_flags (or NO).
amd_flags="-a /net -c 1800 -k i386 -d my.domain -l syslog /host /etc/amd.map"
nfs_client_enable="NO"		# This host is an NFS client (or NO).
nfs_client_flags="-n 4"		# Flags to nfsiod (if enabled).
nfs_server_enable="NO"		# This host is an NFS server (or NO).
nfs_server_flags="-u -t 4"	# Flags to nfsd (if enabled).
mountd_flags="-r"		# Flags to mountd (if NFS server enabled).
nfs_reserved_port_only="NO"	# Provide NFS only on secure port (or NO).
rpc_lockd_enable="NO"		# Run NFS rpc.lockd (*broken!*) if nfs_server.
rpc_statd_enable="YES"		# Run NFS rpc.statd if nfs_server (or NO).
portmap_enable="YES"		# Run the portmapper service (or NO).
portmap_flags=""		# Flags to portmap (if enabled).
rarpd_enable="NO"		# Run rarpd (or NO).
rarpd_flags=""			# Flags to rarpd.
xtend_enable="NO"		# Run the X-10 power controller daemon.
xtend_flags=""			# Flags to xtend (if enabled).

### Network Time Services options: ###
timed_enable="NO"		# Run the time daemon (or NO).
timed_flags=""			# Flags to timed (if enabled).
ntpdate_enable="NO"		# Run the ntpdate to sync time (or NO).
ntpdate_program="ntpdate"	# path to ntpdate, if you want a different one.
ntpdate_flags=""		# Flags to ntpdate (if enabled).
xntpd_enable="NO"		# Run xntpd Network Time Protocol (or NO).
xntpd_program="xntpd"		# path to xntpd, if you want a different one.
xntpd_flags="-p /var/run/xntpd.pid"			# Flags to xntpd (if enabled).
tickadj_enable="NO"		# Run tickadj (or NO).
tickadj_flags="-Aq"		# Flags to tickadj (if enabled).

# Network Information Services (NIS) options: ###
nis_client_enable="NO"		# We're an NIS client (or NO).
nis_client_flags=""		# Flags to ypbind (if enabled).
nis_ypset_enable="NO"		# Run ypset at boot time (or NO).
nis_ypset_flags=""		# Flags to ypset (if enabled).
nis_server_enable="NO"		# We're an NIS server (or NO).
nis_server_flags=""		# Flags to ypserv (if enabled).
nis_ypxfrd_enable="NO"		# Run rpc.ypxfrd at boot time (or NO).
nis_ypxfrd_flags=""		# Flags to rpc.ypxfrd (if enabled).
nis_yppasswdd_enable="NO"	# Run rpc.yppasswdd at boot time (or NO).
nis_yppasswdd_flags=""		# Flags to rpc.yppasswdd (if enabled).

### Network routing options: ###
defaultrouter="-interface isp0"		# Set to default gateway (or NO).
static_routes=""		# Set to static route list (or leave empty).
gateway_enable="YES"		# Set to YES if this host will be a gateway.
router_enable="NO"		# Set to YES to enable a routing daemon.
router="routed"			# Name of routing daemon to use if enabled.
router_flags="-q"		# Flags for routing daemon.
mrouted_enable="NO"		# Do multicast routing (see /etc/mrouted.conf).
mrouted_flags=""		# Flags for multicast routing daemon.
ipxgateway_enable="NO"		# Set to YES to enable IPX routing.
ipxrouted_enable="NO"		# Set to YES to run the IPX routing daemon.
ipxrouted_flags=""		# Flags for IPX routing daemon.
arpproxy_all=""			# replaces obsolete kernel option ARP_PROXYALL.
forward_sourceroute="NO"	# do source routing (only if gateway_enable is set to "YES")
accept_sourceroute="NO"		# accept source routed packets to us
natd_enable="YES"                # Enable natd if firewall_enable.
natd_interface="isp0"           # Public interface to use with natd if natd_enable.
natd_flags=""                   # Additional flags for natd.


##############################################################
###  System console options  #################################
##############################################################

keymap="NO"		# keymap in /usr/share/syscons/keymaps/* (or NO).
keyrate="NO"		# keyboard rate to: slow, normal, fast (or NO).
keybell="NO"		# bell to duration.pitch or normal or visual (or NO).
keychange="NO"		# function keys default values (or NO).
cursor="NO"		# cursor type {normal|blink|destructive} (or NO).
scrnmap="NO"		# screen map in /usr/share/syscons/scrnmaps/* (or NO).
font8x16="NO"		# font 8x16 from /usr/share/syscons/fonts/* (or NO).
font8x14="NO"		# font 8x14 from /usr/share/syscons/fonts/* (or NO).
font8x8="NO"		# font 8x8 from /usr/share/syscons/fonts/* (or NO).
blanktime="300"		# blank time (in seconds) or "NO" to turn it off.
saver="NO"		# screen saver: blank/daemon/green/snake/star/NO.
moused_enable="NO"	# Run the mouse daemon.
moused_type="auto"	# See man page for rc.conf(5) for available settings.
moused_port="/dev/cuaa0" # Set to your mouse port.
moused_flags=""		# Any additional flags to moused.


##############################################################
###  Miscellaneous administrative options  ###################
##############################################################

cron_enable="YES"	# Run the periodic job daemon.
lpd_enable="NO"		# Run the line printer daemon.
lpd_flags=""		# Flags to lpd (if enabled).
sendmail_enable="no"	# Run the sendmail daemon (or NO).
sendmail_flags="-bd -q30m" # -bd is pretty mandatory.
dumpdev="NO"		# Device name to crashdump to (if enabled).
check_quotas="NO"	# Check quotas (or NO).
accounting_enable="NO"	# Turn on process accounting (or NO).
ibcs2_enable="NO"	# Ibcs2 (SCO) emulation loaded at startup (or NO).
linux_enable="YES"	# Linux emulation loaded at startup (or NO).
rand_irqs="NO"		# Stir the entropy pool (like "5 11" or NO).
clear_tmp_enable="NO"	# Clear /tmp at startup.
ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" # shared library search paths

##############################################################
### Allow local configuration override at the very end here ##
##############################################################
if [ -f /etc/rc.conf.local ]; then
	. /etc/rc.conf.local
fi

--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="rc.firewall"

#! /bin/sh

oif="isp0"

/sbin/ipfw -f flush

# allow local traffic over the network

/sbin/ipfw -q add 100 allow all from any to any via lo0
/sbin/ipfw -q add 110 allow all from any to any via ed0

# allow outside connections to the DEVIL's APACHE WEB SERVER

/sbin/ipfw -q add 120  pass tcp from any 80 to 192.168.0.66 in via ${oif}

# Deny traffic from the *unregistered* Networks from the outside

/sbin/ipfw -q add 200 deny all from 192.168.0.0/16 to any in via ${oif}
/sbin/ipfw -q add 210 deny all from 172.16.0.0/12 to any in via ${oif}
/sbin/ipfw -q add 220 deny all from 10.0.0.0/8 to any in via ${oif}

#kill windoze networking dial outs
/sbin/ipfw -q add 300 deny udp from any 137 to any 53 out via ${oif}

#kill XNTPD time uopdater dial outs
/sbin/ipfw -q add 310 deny udp from any to any 123 out via ${oif}

/sbin/ipfw -q add 400 divert natd all from any to any via ${oif}
/sbin/ipfw -q add 500 allow all from any to any out via ${oif}
/sbin/ipfw -q add 510 allow tcp from any to any in via ${oif} established
/sbin/ipfw -q add 520 allow udp from any to any in via ${oif} 

/sbin/ipfw -q add 700 allow log tcp from 194.159.73.0/24 to any 25 in via ${oif}
/sbin/ipfw -q add 710 allow tcp from any 20 to any 1023- in via ${oif}

/sbin/ipfw -q add 800 allow icmp from any to any in via ${oif} icmptypes 0,3,11

/sbin/ipfw -q add 900 reset log tcp from any to any 113 in via ${oif}

/sbin/ipfw -q add 6000 deny log all from any to any

--=====================_3585364==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="godemon.rc"

#! /bin/sh

pidnat=`cat /var/run/natd.pid`

pid=`cat /var/run/isdnd.pid`

echo "Killing old isdnd"   
kill $pid
sleep 3
kill $pid
sleep 3
echo "Starting new isdnd"
isdnd -c /etc/isdn/isdnd-demon.rc -f -r /dev/ttyv4
sleep 3
./ppp-demon.rc
echo "Updating natd"
sleep 3
kill -HUP $pidnat
sleep 3
kill -HUP $pidnat
sleep 3
echo "Updating gateway"
route delete default
sleep 3
route add default -interface isp0
echo "This ship can sail again! (I hope)"

--=====================_3585364==_--



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?4.2.2.19991204153035.00ae6190>