Hi,

i was not very satisfied with the ISDN Internet configuration
of MDK 8.1. It's unaccaptable to give every user the root passwort
just to connect the internet. The correct way is probaly to set
up PAM to allow net_monitor for internet users.
I have no idea how ti configure PAM and used sudo insted.
Secondly the connections timeout doesn't work because some
program or deamon makes continious DNS calls to www.mandrakesoft.com.
I stopped all programs but the problem persists until i
configured /etc/hosts with www.mandrakesoft.com. It may be something
of my GNOME Desktop.

My target is to configure my ISDN connection that it starts
net_monitor if anny program wants internet access. But 
net_monitor should only make a connection if the user wants
it. If the user decides to have a connection, net_monitor
starts a dial on demand connection which drops the line 
after some time and restarts it if some program needs it.
If net_monitor stopps than the connection drops permanently,
which means no net_monitor no internet. 

But now to my problem with the net_monitor(.real) script.
It looks really nice for the user but is in perl which
makes it hardly readable for me.
I can start it but it doesn't create an internet connection
because it thinks it is connected.

[root@zesi lib]# net_monitor --connect&
[1] 2962
[root@zesi lib]# isdnctrl status ippp0
ippp0: No such device

I can create a connection with the net_cnx_(up|down) scripts
but it returns two errors.

[root@zesi network-scripts]# ./net_cnx_up
SIOCDELRT: Kein passender Proze� gefunden
Activating device: ifcfg-ippp0
Loading network settings: ifcfg-ippp0
Loading module(s) for ippp0
Adding ippp device ippp0
addif: No such device
Configuring device ippp0
EAZ/MSN for ippp0 is 4770517
Security for ippp0 is on
Dialmax for ippp0 is 1 times.
Hangup-Timeout for ippp0 is 60 sec.
Incoming-Hangup for ippp0 is on
Charge-Hangup for ippp0 is on
Layer-2-Protocol for ippp0 is hdlc
Layer-3-Protocol for ippp0 is trans
Encapsulation for ippp0 is syncppp
Slave-activation delay for ippp0 is 10 sec.
ippp0 bound to 0
ISDN Configuration read from /etc/isdn/isdnctrl.conf.
Adding device ippp0
SIOCSIFDSTADDR: Die angeforderte Adresse kann nicht zugewiesen werden
Starting ppp-daemon if needed
Starting PPP-daemon for ippp0
Dialing of ippp0 triggered
[root@zesi network-scripts]# isdnctrl status ippp0
ippp0 connected to 5501500

If i start net_cnx_pg and dial manually get a connection and
an error if i press the disconnect button.

[root@zesi network-scripts]# ./net_cnx_pg&
[2] 4252
[root@zesi network-scripts]# isdnctrl dial ippp0
Dialing of ippp0 triggered
[root@zesi network-scripts]# 
GLib-CRITICAL **: file gmain.c: line 500 (g_source_remove): assertion
`tag > 0' failed.
ippp0 hung up
Shutting down ifconfig for ippp0.
Removing device ippp0 deleted
Stopping ipppd .
ISDN  down!

Any idea what's wrong there?

Thanks
      Haug



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to