dialup oddity on debian (ubuntu)



Hi all,

am trying to get nm to start a dialup connection.
I have my mobile phone connected in such a way that doing the following
will do what I want:
"sudo ifup ppp0"

Now, from looking at the code and the daemon.log it seems that nm does
just that. I even created a wrapper script to call ifup and see what
it's doing like this:
xxx ubuntu:~$ more /sbin/ifup
#!/bin/bash
echo "ifup: ${ }" >> /tmp/ifup.out
echo "EUID: ${EUID}" >> /tmp/ifup.out
/ifup ${ }
echo "result: ${?}" >> /tmp/ifup.out

this yields:
ifup: ppp0
EUID: 0
result: 0
ifup: ppp0
EUID: 0
result: 0
ifup: ppp0
EUID: 0
result: 0

And I can see no difference between me doing it on the command line and
nm doing it, not in /var/log/messages, ...daemon.log, or syslog either.

Any ideas what else to look at?

TIA,

Karl.





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