Thanks Juergen for your help.
I changed in rc.config IP_DYNIP=yes, but still the same problem.
Whay I still do not understand is that I put in YaST that I want to use
CHAP to connect to my ISP, but Linux still use PAP. I removed username
and
password from PAP-Secrets and put it in CHAP-Secrets, but than I can not
connect
at all. This means that my connection is made trough PAP. In my
rc.config it says:
PPP_AUTHENT_0="CHAP"
I also have the scripts /etc/ppp/ip-up and ip-down with the proper link
etc. But
I'am not sure the system use these scripts to connect and to disconnect.
How can I
check this out?
My setup looks like this:
IPS wxs.nl ip 195.121.1.34
ETH0 ip 192.168.1.1
ippp0 ip 192.168.2.1
default ip 195.121.1.34
My route looks like this before the
connection is made:
-----------------------
Destination gateway genmask flags metric ref use iface
wxs.nl * 255.255.255.255 UH 0 0 0 ippp0
192.168.1.0 * 255.255.255.0 U 0 0 1 eth0
loopback * 255.0.0.0 U 0 0 1 lo
default wxs.nl 0.0.0.0 UG 0 0 0 ippp0
----------------------
After the connectioning is closed my route looks like this:
-----------------------
Destination gateway genmask flags metric ref use iface
wxs.nl * 255.255.255.255 UH 0 0 0 ippp0
192.168.1.0 * 255.255.255.0 U 0 0 3 eth0
loopback * 255.0.0.0 U 0 0 1 lo
default wxs.nl 0.0.0.0 UG 0 0 0 ippp0
----------------------
As per your request i send you a part of my log:
This is the part where the connection is made and disconnected the
first time without any problem.
------------------------------------------------------------------------
|Jan 6 02:05:00 bagus kernel: ippp0: dialing 0 0765334333...
|Jan 6 02:05:01 bagus isdnlog: (HiSax driver detected)
|Jan 6 02:05:01 bagus isdnlog: Jan 06 02:05:01 * tei 64
|calling +49 7653/34333, Lenzkirch with +49 911/370258,
|N|rnberg RING (Data)
|Jan 6 02:05:01 bagus isdnlog: Jan 06 02:05:01 *
|tei 127 calling ? with ? Invalid information element contents
(Public network serving local user)
|Jan 6 02:05:02 bagus kernel: lltrans_handler unknown primitive 305
|Jan 6 02:05:02 bagus kernel: isdn_net: ippp0 connected
|Jan 6 02:05:02 bagus kernel: isdn_net: chargetime of ippp0 now 35780
|Jan 6 02:05:02 bagus ipppd[92]: Local number: 370258,
Remote number: 0765334333, Type: outgoing
|Jan 6 02:05:02 bagus ipppd[92]: PHASE_WAIT -> PHASE_ESTABLISHED,
ifunit: 0, linkunit: 0, fd: 6
|Jan 6 02:05:03 bagus ipppd[92]: Remote message:
|Jan 6 02:05:03 bagus ipppd[92]: bundle, he: 0 we: 0
|Jan 6 02:05:03 bagus ipppd[92]: CCP enabled! Trying CCP.
|Jan 6 02:05:03 bagus ipppd[92]: CCP: got ccp-unit 0 for link 0
(protocol: 0x80fd)
|Jan 6 02:05:03 bagus ipppd[92]: ccp_resetci!
|Jan 6 02:05:03 bagus ipppd[92]: local IP address 195.121.26.15
|Jan 6 02:05:03 bagus ipppd[92]: remote IP address 193.172.250.41
|Jan 6 02:06:17 bagus kernel: isdn_net: local hangup ippp0
|Jan 6 02:06:17 bagus kernel: ippp0: Chargesum is 0
|Jan 6 02:06:17 bagus ipppd[92]: Modem hangup
|Jan 6 02:06:17 bagus ipppd[92]: Connection terminated.
|Jan 6 02:06:17 bagus ipppd[92]: taking down PHASE_DEAD link 0,
linkunit: 0
|Jan 6 02:06:17 bagus ipppd[92]: closing fd 6 from unit 0
|Jan 6 02:06:17 bagus ipppd[92]: link 0 closed , linkunit: 0
|Jan 6 02:06:17 bagus ipppd[92]: reinit_unit: 0
|Jan 6 02:06:17 bagus ipppd[92]: Connect[0]: /dev/ippp0, fd: 6
|Jan 6 02:06:17 bagus isdnlog: Jan 06 02:06:17 tei 64 calling +49
7653/34000,
Lenzkirch with +49 911/370258, |N|rnberg Normal call clearing
(User)
|Jan 6 02:06:17 bagus kernel: isdn: HiSax,ch0 cause: E0010
|Jan 6 02:06:17 bagus isdnlog: Jan 06 02:06:17 tei 64 calling +49
7653/34000,
Lenzkirch with +49 911/370258, |N|rnberg Normal call clearing
(User)
|Jan 6 02:06:17 bagus isdnlog: Jan 06 02:06:17 tei 64 calling +49
7653/34000,
Lenzkirch with +49 911/370258, |N|rnberg HANGUP ( 0:01:15) Normal
call clearing (User)
--------------------------------------------------------------------
When I try to reconnect again this is what my log says:
--------------------------------------------------------------------
|Jan 6 02:08:40 bagus kernel: ippp0: dialing 0 0765334333...
|Jan 6 02:08:41 bagus isdnlog: Jan 06 02:08:41 * tei 64 calling +49
7653/34333,
Lenzkirch with +49 911/370258, N|rnberg RING (Data)
|Jan 6 02:08:41 bagus isdnlog: Jan 06 02:08:41 * tei 127 calling ?
with ?
Invalid information element |contents (Public network serving local
user)
|Jan 6 02:08:42 bagus kernel: ip_rewrite_addrs():
shifting saddr from 195.121.26.15 to 192.168.2.1 (state 9)
|Jan 6 02:08:42 bagus kernel: isdn_net: ippp0 connected
|Jan 6 02:08:42 bagus kernel: isdn_net: chargetime of ippp0 now 57746
|Jan 6 02:08:42 bagus ipppd[92]: Local number: 370258,
Remote number: 0765334333, Type: outgoing
|Jan 6 02:08:42 bagus ipppd[92]: PHASE_WAIT -> PHASE_ESTABLISHED,
ifunit: 0, linkunit: 0, fd: 6
|Jan 6 02:08:42 bagus ipppd[92]: Remote message:
|Jan 6 02:08:42 bagus ipppd[92]: bundle, he: 0 we: 0
|Jan 6 02:08:42 bagus ipppd[92]: CCP enabled! Trying CCP.
|Jan 6 02:08:42 bagus ipppd[92]: CCP: got ccp-unit 0 for link 0
(protocol: 0x80fd)
|Jan 6 02:08:42 bagus ipppd[92]: ccp_resetci!
|Jan 6 02:08:42 bagus ipppd[92]: local IP address 195.121.27.74
|Jan 6 02:08:42 bagus ipppd[92]: remote IP address 193.172.250.41
|Jan 6 02:08:43 bagus isdnlog: Jan 06 02:08:43
tei 64 calling +49 7653/34000, Lenzkirch with +49 911/370258,
N|rnberg Normal call clearing (User)
|Jan 6 02:08:43 bagus kernel: isdn: HiSax,ch0 cause: E0010
|Jan 6 02:08:43 bagus kernel: ippp0: remote hangup
|Jan 6 02:08:43 bagus kernel: ippp0: Chargesum is 0
|Jan 6 02:08:43 bagus ipppd[92]: Modem hangup
|Jan 6 02:08:43 bagus ipppd[92]: Connection terminated.
|Jan 6 02:08:43 bagus ipppd[92]: taking down PHASE_DEAD link 0,
linkunit: 0
|Jan 6 02:08:43 bagus ipppd[92]: closing fd 6 from unit 0
|Jan 6 02:08:43 bagus ipppd[92]: link 0 closed , linkunit: 0
|Jan 6 02:08:43 bagus ipppd[92]: reinit_unit: 0
|Jan 6 02:08:43 bagus ipppd[92]: Connect[0]: /dev/ippp0, fd: 6
|Jan 6 02:08:43 bagus isdnlog: Jan 06 02:08:43 tei 64 calling +49
7653/34000,
Lenzkirch with +49 911/370258, N|rnberg
|Normal call clearing (User)
|Jan 6 02:08:43 bagus isdnlog: Jan 06 02:08:43 tei 64 calling +49
7653/34000,
Lenzkirch with +49 911/370258, N|rnberg HANGUP ( 0:00:01)
|Normal call clearing (User)
----------------------------------------
I hope that You can help me to solve this problem, as I'am stucked now,
as in my
opinion I tried everything possible, to solve this problem. I also read
all
possible support datebase concerning network ISDN etc. man pages
howto's.
In case you need more info about other settings,
please let me know, and I will send it right away.
I also posted this problem several times to the German isdn mailinglist,
but no
response, as my German is not so good, I'am very sorry that I don't know
German.
Hope very much that you can help me to solve this problem.
Thanks for your time and help
Regards
Wil van der Wee
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html