Re: ISDN w/Debian

1998-06-21 Thread Shiraz Sayani
Hi,

I'm still having problems with my ISDN connection to my ISP.

I set up /etc/device.ippp0, which has the comment 

# See also : isdnctrl(8), isdnctrl help text
# pppbind is not yet documented in that manpage :-(

The isdnctrl help text says

pppbind name [devicenum]   PPP, bind interface to ippp-device
(exclusive)

and my old setup used 'isdnctrl pppbind 0', so I tried both 0 and
ippp0 as the parametr, but although the connection to the ISP is made,
I cannot access anything via ppp e.g.

Bert# ping 195.121.1.34
PING 195.121.1.34 (195.121.1.34): 56 data bytes
(HiSax driver detected)
ping: sendto: Network is unreachable
ping: wrote 195.121.1.34 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 195.121.1.34 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 195.121.1.34 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 195.121.1.34 64 chars, ret=-1

That's one of my ISP's DNS, and this works under Windoze.

I've included the output from 'isdnctrl list all' and the console
messages from ippd and the kernel. This seems to show that the
connection is up, and the CHAP challenge succeded, but does the line

Jun 21 16:29:35 Bert kernel: OPEN: 10.0.0.1 - 195.121.1.34 ICMP

mean that I have a ICMP connection (rather than PPP)?

If that gives anyone any clues, please let me know.
Any pointers appreciated.

Shiraz

---
Bert# isdnctrl list all
Current setup of interface 'ippp0':
EAZ/MSN:my-edited-MSN
Phone number(s):
  Outgoing: my-ISP-number
  Incoming: 
Secure: on
Callback:   off
Reject before Callback: on
Callback-delay: 5
Dialmax:1
Hangup-Timeout: 120
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
Master Interface:   None
Pre-Bound to:   Nothing
PPP-Bound to:   0
---
Jun 21 16:28:37 Bert isdnlog: isdnlog Version 2.99 loaded 
Jun 21 16:28:37 Bert isdnlog: (ISDN subsystem with ISDN_MAX_CHANNELS 
16 detected - 2 active channels, 3 MSN/SI entries) 
Jun 21 16:28:37 Bert isdnlog: (Data versions: iprofd=0x04  net_cfg=0x04 
/dev/isdninfo=0x01) 
Jun 21 16:28:37 Bert kernel: isdn_net: interface ippp0 already exists 
Jun 21 16:28:37 Bert kernel: isdn: Verbose-Level is 2 
Jun 21 16:28:38 Bert ipppd[584]: Found 1 device: /dev/ippp0
Jun 21 16:28:38 Bert ipppd[584]: ipppd i2.2.9 (isdn4linux version of
pppd by MH) started
Jun 21 16:28:38 Bert ipppd[584]: init_unit: 0 
Jun 21 16:28:38 Bert ipppd[584]: Connect[0]: /dev/ippp0, fd: 8
Jun 21 16:29:35 Bert kernel: OPEN: 10.0.0.1 - 195.121.1.34 ICMP 
Jun 21 16:29:35 Bert kernel: ippp0: dialing 0 my-ISP-number... 
Jun 21 16:29:35 Bert isdnlog: (HiSax driver detected) 
Jun 21 16:29:35 Bert isdnlog: Sun Jun 21 16:29:35 outgoing * +31
/43my-edited-MSN, Nethland - +31 /43my-ISP-number, Nethland  RING
(Data) 
Jun 21 16:29:36 Bert isdnlog: Sun Jun 21 16:29:36 outgoing +31
/43my-edited-MSN, Nethland - +31 /43my-ISP-number, Nethland 
Time:Sun Jun 21 16:28:54 1998 
Jun 21 16:29:36 Bert isdnlog: Sun Jun 21 16:29:36 outgoing +31
/43my-edited-MSN, Nethland - +31 /43my-ISP-number, Nethland 
CONNECT (Data) 
Jun 21 16:29:36 Bert kernel: isdn_net: ippp0 connected 
Jun 21 16:29:36 Bert kernel: isdn_net: chargetime of ippp0 now 351032 
Jun 21 16:29:36 Bert ipppd[584]: Local number: my-edited-MSN, Remote
number: my-ISP-number, Type: outgoing
Jun 21 16:29:36 Bert ipppd[584]: PHASE_WAIT - PHASE_ESTABLISHED,
ifunit: 0, linkunit: 0, fd: 8
Jun 21 16:29:36 Bert ipppd[584]: sent [0][LCP ConfReq id=0x1 mru 1524
magic 0x0001 pcomp accomp]
Jun 21 16:29:36 Bert ipppd[584]: rcvd [0][LCP ConfReq id=0x1  00 04 00
00 mru 1524 auth chap md5 MPmrru 0x5f4 MPdiscr: 0x3 [ 00 c0 7b
6f e5 83 ]]
Jun 21 16:29:36 Bert ipppd[584]: sent [0][LCP ConfRej id=0x1  00 04 00
00 MPmrru 0x5f4]
Jun 21 16:29:36 Bert ipppd[584]: rcvd [0][LCP ConfRej id=0x1 pcomp
accomp]
Jun 21 16:29:36 Bert ipppd[584]: sent [0][LCP ConfReq id=0x2 mru 1524
magic 0x0001]
Jun 21 16:29:36 Bert ipppd[584]: rcvd [0][LCP ConfReq id=0x2 mru 1524
auth chap md5 MPdiscr: 0x3 [ 00 c0 7b 6f e5 83 ]]
Jun 21 16:29:36 Bert ipppd[584]: sent [0][LCP ConfAck id=0x2 mru 1524
auth chap md5 MPdiscr: 0x3 [ 00 c0 7b 6f e5 83 ]]
Jun 21 16:29:36 Bert ipppd[584]: rcvd [0][LCP ConfAck id=0x2 mru 1524
magic 0x0001]
Jun 21 16:29:36 Bert ipppd[584]: lcp layer is UP
Jun 21 16:29:36 Bert ipppd[584]: rcvd [0][CHAP Challenge id=0x1
do-you-need-this?, name = NLUDS0MT01]
Jun 21 16:29:36 Bert ipppd[584]: sent [0][CHAP Response id=0x1
do-you-need-this?, name = sairaz]
Jun 21 16:29:36 Bert ipppd[584]: rcvd [0][CHAP Success id=0x1 \000]
Jun 21 16:29:36 Bert ipppd[584]: Remote message: 
Jun 21 16:29:36 Bert 

Re: ISDN w/Debian

1998-06-21 Thread Martin Bialasinski

 SS == Shiraz Sayani [EMAIL PROTECTED] writes:

SS pppbind name [devicenum]   PPP, bind interface to ippp-device
SS (exclusive)

SS and my old setup used 'isdnctrl pppbind 0', so I tried both 0 and
SS ippp0 as the parametr,

0 is correct.

SS but although the connection to the ISP is made,
SS I cannot access anything via ppp e.g.

SS Bert# ping 195.121.1.34
SS PING 195.121.1.34 (195.121.1.34): 56 data bytes
SS (HiSax driver detected)
SS ping: sendto: Network is unreachable
SS ping: wrote 195.121.1.34 64 chars, ret=-1

Looks like you don't have a default route set. 

$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
10.0.0.201  0.0.0.0 255.255.255.255 UH0  00 ippp1
194.8.216.198   0.0.0.0 255.255.255.255 UH0  00 ippp0
192.168.3.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  0   97 lo
0.0.0.0 194.8.216.198   0.0.0.0 UG0  03 ippp0

The last line is the default route.

Your /etc/isdn/ipppd.ippp0 should read:

debug
lcp-restart 1
noaccomp   
nopcomp   
novj  
novjccomp 
nobsdcomp  
nodeflate  
nopredictor1 
noccp
-ac
-pc
noipdefault
defaultroute
mru 1524

and some lines about chap authentication (I only know pap).

Ciao,
Martin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ISDN w/Debian

1998-06-21 Thread Shiraz Sayani
Martin Bialasinski wrote:
 
  SS == Shiraz Sayani [EMAIL PROTECTED] writes:
 
 SS but although the connection to the ISP is made,
 SS I cannot access anything via ppp e.g.
 
 SS Bert# ping 195.121.1.34
 SS PING 195.121.1.34 (195.121.1.34): 56 data bytes
 SS (HiSax driver detected)
 SS ping: sendto: Network is unreachable
 SS ping: wrote 195.121.1.34 64 chars, ret=-1
 
 Looks like you don't have a default route set.

Well spotted. For some reason, I had defaultroute in
/etc/isdn/ipppd.ippp0 commented out. 

Once I fixed this, everything works beautifully !!

Other settings in ipppd.ippp0 are similar but not the same
(probably due to CHAP authentication, and some changes I
made after observing the exchanges between ISP and my box).

If anyone wants the options I use fo CHAP, let me know and
I'll post them.

Thanks again fo the help. Another problem solved!

Shiraz


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ISDN w/Debian

1998-06-20 Thread Jaakko Niemi
 matthew tebbens wrote:
  
  Is anyone running Debian - Internet via ISDN ??
  Please mail me, I'd like to ask a few questions
  about the setup.
  
 
 I'm running Debian with a Teles 16.3 internal card connected to my
 ISP in the Netherlands. It was working fine with bo, but I seem to
 have broken somthing during upgrading to hamm, so that's why I'm
 replying from Windoze.

 I have the same card, and couldn't get it working with bo, but 
 upgraded to hamm and it started working :)
 
 The documentation under /usr/doc/isdnutils seems to be pretty
 good, but setting everything up takes a while.
 
 The most important thing is to make sure the kernel supports
 your card. I found kernel versions 2.0.32 and above worked fine.
 
 I usually get better throughput under Linux than under Windoze,
 so its worth trying to set it up.

 7k anytime with one channel from ftp.funet.fi. A little less 
 overseas, but rarely 4k/s.
 
 hamm seems to directly have support for isdn, but I'm still
 having problems. Probably somthing to do with my setup, so
 maybe I'm not the best person to ask anyway ;-)

 Works fine here, even with the devel kernels.

--j



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ISDN w/Debian

1998-06-20 Thread Shiraz Sayani
Jaakko Niemi wrote:
 
  matthew tebbens wrote:
  
   Is anyone running Debian - Internet via ISDN ??
   Please mail me, I'd like to ask a few questions
   about the setup.
  
 
  I have the same card, and couldn't get it working with bo, but
  upgraded to hamm and it started working :)
 

Ok, maybe you can help with a couple of configuration questions.

  1) I think I've set everything up ok in /etc/isdn, and 
 /etc/init.d/isdnutils runs fine at boot up, but
 whenever I try to establish a connection, I get the
 following type of system messages.

Jun 20 19:41:16 Bert kernel: OPEN: 10.0.0.1 - 195.121.1.34 UDP, port:
1028 - 53 
Jun 20 19:41:16 Bert kernel: ippp0: dialing 0 3518333... 
Jun 20 19:41:24 Bert kernel: isdn_net: local hangup ippp0 
Jun 20 19:41:24 Bert kernel: ippp0: Chargesum is 0 
Jun 20 19:41:26 Bert kernel: OPEN: 10.0.0.1 - 194.178.56.21 UDP, port:
1032 - 53 
Jun 20 19:41:26 Bert kernel: ippp0: dialing 0 3518333... 
Jun 20 19:41:34 Bert kernel: isdn_net: local hangup ippp0 
Jun 20 19:41:34 Bert kernel: ippp0: Chargesum is 0 
Jun 20 19:41:34 Bert kernel: OPEN: 10.0.0.1 - 195.121.1.66 UDP, port:
1035 - 53 
Jun 20 19:41:34 Bert kernel: ippp0: dialing 0 3518333... 
Jun 20 19:41:42 Bert kernel: isdn_net: local hangup ippp0 
Jun 20 19:41:42 Bert kernel: ippp0: Chargesum is 0 

I tried setting 'debug' in the appropriate options file in /etc/isdn
(which used to give me all the sent/recd messages so I could see
what was going wrong), but now I only get the output above.

  2) Can I stop all network access attempting to dial my ISP? I'd prefer
 to use netup and netdown type scripts, but the default
 configuation does not seem to need this.

Any help appreciated. If anyone thinks a closer look at /etc/isdn/*
might help,
I'll e-mail them directly, rather than clog up the list.

Shiraz.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ISDN w/Debian

1998-06-20 Thread Martin Bialasinski

 SS == Shiraz Sayani [EMAIL PROTECTED] writes:

SS 1) I think I've set everything up ok in /etc/isdn, and 
SS /etc/init.d/isdnutils runs fine at boot up, but
SS whenever I try to establish a connection, I get the
SS following type of system messages.

SS Jun 20 19:41:16 Bert kernel: OPEN: 10.0.0.1 - 195.121.1.34 UDP, port:
SS 1028 - 53 
SS Jun 20 19:41:16 Bert kernel: ippp0: dialing 0 3518333... 
SS Jun 20 19:41:24 Bert kernel: isdn_net: local hangup ippp0 
SS Jun 20 19:41:24 Bert kernel: ippp0: Chargesum is 0 
SS Jun 20 19:41:26 Bert kernel: OPEN: 10.0.0.1 - 194.178.56.21 UDP, port:
SS 1032 - 53 
SS Jun 20 19:41:26 Bert kernel: ippp0: dialing 0 3518333... 
SS Jun 20 19:41:34 Bert kernel: isdn_net: local hangup ippp0 
SS Jun 20 19:41:34 Bert kernel: ippp0: Chargesum is 0 
SS Jun 20 19:41:34 Bert kernel: OPEN: 10.0.0.1 - 195.121.1.66 UDP, port:
SS 1035 - 53 
SS Jun 20 19:41:34 Bert kernel: ippp0: dialing 0 3518333... 
SS Jun 20 19:41:42 Bert kernel: isdn_net: local hangup ippp0 
SS Jun 20 19:41:42 Bert kernel: ippp0: Chargesum is 0 

SS I tried setting 'debug' in the appropriate options file in /etc/isdn
SS (which used to give me all the sent/recd messages so I could see
SS what was going wrong), but now I only get the output above.

You have debug in /etc/isdn/ipppd.ippp0 and still don't get verbose
messages in syslog? Really strange. These messages are necessary to
determine why your box hangs up after connecting.

SS 2) Can I stop all network access attempting to dial my ISP? I'd prefer
SS to use netup and netdown type scripts, but the default
SS configuation does not seem to need this.

Just remove the phonenumber with isdnctrl and add it if you want to dial
out. Make a small script for this if you want to.

Ciao,
Martin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ISDN w/Debian

1998-06-19 Thread Ian Keith Setford
Yo-

 Is anyone running Debian - Internet via ISDN ??
 Please mail me, I'd like to ask a few questions
 about the setup.

If you have questions regarding an ISDN router I could probably help but
if you have an ISDN modem or internal adapter my knowledge is more
limited.

-Ian
_
Ian K. Setford  [EMAIL PROTECTED]
  H: 940.566.0461
Pgr: 817.901.0255


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ISDN w/Debian

1998-06-19 Thread Scott Hanson
matthew tebbens [EMAIL PROTECTED] writes:

 Is anyone running Debian - Internet via ISDN ??
 Please mail me, I'd like to ask a few questions
 about the setup.
 
 Thanks !
 Matthew

Lot of folks are! isdn4linux is in the the kernel, and there's an
excellent isdnutils package for Debian (with lots of docs).
Unfortunately, isdn4linux doesn't (yet) support the NT-1 protocol used
in North America... from your E-mail address, I'm guessing that's
where you are.

Then again, I have a .com address too, and I'm not in North America.:) 

Scott

-- 
Scott Hanson [EMAIL PROTECTED]  [EMAIL PROTECTED]
Johmsweg 9, D-21266 Jesteburg, Germany


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ISDN w/Debian

1998-06-19 Thread Shiraz Sayani
matthew tebbens wrote:
 
 Is anyone running Debian - Internet via ISDN ??
 Please mail me, I'd like to ask a few questions
 about the setup.
 

I'm running Debian with a Teles 16.3 internal card connected to my
ISP in the Netherlands. It was working fine with bo, but I seem to
have broken somthing during upgrading to hamm, so that's why I'm
replying from Windoze.

The documentation under /usr/doc/isdnutils seems to be pretty
good, but setting everything up takes a while.

The most important thing is to make sure the kernel supports
your card. I found kernel versions 2.0.32 and above worked fine.

I usually get better throughput under Linux than under Windoze,
so its worth trying to set it up.

hamm seems to directly have support for isdn, but I'm still
having problems. Probably somthing to do with my setup, so
maybe I'm not the best person to ask anyway ;-)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]