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

Re: ISDN and routing problems



Phil wrote:
> > GOOFY:[rland] #route -n
> > Kernel IP routing table
> > Destination  Gateway    Genmask         Flags Metric Ref    Use Iface
> > 192.168.1.0  0.0.0.0    255.255.255.0   U     0      0        3 eth0
> > 127.0.0.0    0.0.0.0    255.0.0.0       U     0      0        2 lo
> >
> > Would someone kindly explain which route is missing if this mashine
> > has a local internet connection by dailing up to a ISP and recieving a
> > temporary IP adress?
> 
> Did you read /etc/isdn/device.ippp0 ?
> Actually it describes, what you should change. Notice the ip-up
> script.

This is a old distribution from a distributer which does not exist
anymore. As linux system internalties should not differ so much I
thought it might be a good idea to paste my question to this list.
There's no such file /etc/isdn/device.ippp0.
The old manual I still have recommends to launch:

GOOFY:[/root] #isdnctrl dial ippp0

whereas isdnctrl is a binary and not a script.
The system has additional a script:
***********************************************
#file /etc/ppp/ip-up
#!/bin/sh
# Interface device speed IP Gateway 
# ippp0   /dev/ippp0 0 193.102.185.41 193.102.185.14
PATH=/bin:/usr/bin:/sbin:/usr/sbin
if [ -f /etc/sysconfig/activeisdn ]; then
   source /etc/sysconfig/activeisdn
else
   exit
fi
if [ "x$PROVIDER" != "xkeiner" -a "x$ART" = "xautomatisch" ]; then
  if [ -f /etc/sysconfig/provider/conf-$PROVIDER ]; then
    source /etc/sysconfig/provider/conf-$PROVIDER
  else
    exit
  fi
  if [ -f /var/run/dialondemand ]; then
    device=`cat /var/run/dialondemand`
    if [ "x$device" != "x$1" ]; then
      route del default $device
    fi
  fi
fi
/sbin/ifconfig $1 $4
/sbin/route add -host $5 $1
/sbin/route add default gw $5 dev $1
exit
**********************************************

...but I have no idea if it is launched by isdnctrl.
This executable is part of isdnk-utils and there's no document which
informs me what has to be routed and what not. So I guess the usage
requires prior knowledge which the ISDN-HOWTO does not seem to
provide.

In summary I'm hoping to retrieve help from this list.



> > Then the IP 192.168.1.0 pertubes me because:
> >
> > GOOFY:[rland] #cat /etc/hosts
> > 127.0.0.1 localhost localhost.domain
> > 192.168.1.1 GOOFY.ORION.DE GOOFY
> > 194.25.2.129 t-online.de t-online  #this is the ISP
> >
> > ...it does not match with the static IP adress I gave the eth0 card!
> 
> What do you mean. Are you concerned because of 192.168.1.0
> vs. 192.168.1.1?
> The first is the network-adress. This entry in the routing table
> basically says: Send everything that goes to the network 192.168.1.0
> over the device eth0.
> 
> Phil

So I assume this is okay.
I guess when when attaching a client to this mashine (near future) I
have to define a route for all unkown IP's from eth0 to ippp0?

Something curious:
When the OS boots up no error concerning isdn shows up - but when I
manualy restart by "isdn.init" the following message shows up:

GOOFY:[init.d] # /etc/init.d/isdn.init restart
Beende ISDN.
ippp0 deleted
hisax: Datei oder Verzeichnis nicht gefunden
Starte Initialisierung ISDN.
Can't locate module hisax
ippp0 added
EAZ/MSN for ippp0 is 0611560311
Hangup-Timeout for ippp0 is 60 sec.
Charge-Hangup for ippp0 is off
Reject before Callback for ippp0 is on
Callback delay for ippp0 is 1 sec.
Dialmax for ippp0 is 1 times.
Incoming-Hangup for ippp0 is off
Callback for ippp0 is off
Security for ippp0 is on
Layer-2-Protocol for ippp0 is hdlc
Layer-3-Protocol for ippp0 is trans
Encapsulation for ippp0 is syncppp
ippp0 bound to 0dev: error resolving Host-Name
dev: error resolving Host-Name


additionaly what does /var/log/messages (just after booting) try to
say by:
Oct 18 12:04:37 GOOFY syslog: Found 1 devices: /dev/ippp0, 
Oct 18 12:04:38 GOOFY pppd[457]: pppd 2.2.0 started by root, uid 0
Oct 18 12:04:38 GOOFY pppd[457]: init_unit: 0 
Oct 18 12:04:38 GOOFY pppd[457]: Connect[0]: /dev/ippp0, fd: 7

as mentioned in the previous mail?




Robert



Reply to: