Hi

> Sebastian wrote:" Thank you for your bug. To confirm by somebody using a 
> modem"
You mean you don't have a modem??!?;)

I have the same in 7.04.

Activate and Deactivate are greyed out. The modem is turned on and off by going 
instead,
Modem-monitor -> Properties -> Check or uncheck the modem box. The connection 
works
fine like that, but the intended customer should have a shorter route.

Also, When mouseover wiht the connection up, it says "could not get the
connection time"

Running on the command line ifup ppp0 and ifdown ppp0 both give the error
ifup(down): failed to open statefile/var/run/network/ifstate: Permission denied

/var/run/network/ifstate is owner and group root and permissions 644.

After sudo chgrp dialout /var/run/network/ifstate; sudo chmod 664 
/var/run/network/ifstate
it changed to

ifup(down): failed to open temoporary statefile
/var/run/network/.ifstate.tmp: Permission denied.

Grrrrr.

So, chgrp /var/run/network and chmod 2775: ifdown fails to bring down
ppp0 since it is not configured (it claims) errr, but it is up (so
ifconfig and I claim). Ifdown must be mistaken :-P immediately after
ifup ppp- gives SIOCSIFFLAGS: Permission denied, Failed to open PID
file, Permission denied. /var/run/ppp0.pid is root.root 644.

Mighty tedious, no? Yet I do not falter. Not immediately. I dig around
/etc/ppp. Perhaps it can take care of this?

What about /etc/rc.local doing the /var/run/network group dialout and perms 
2775 and /etc/ppp/ip-up doing the ppp0.pid file
group dialout and perm 664? I am trying it anyway. Perhaps an actual developer 
has a more comprehensive, elegant solution.
This doesn't actually ungrey the Activate/Deactivate lines in modem-monitor :/ 
Well, ifup ppp0 now gives error no such interface
yet it still gives the pid file error, I seem to have made things worse. But 
not much worse. Now ifdown ppp0 does not give any
 error. But when one logs in, the applet still can't find whatever permissions 
it needs.

No correction, everything is badly broken now. /var/run/ifstate somehow
got owned by the user and group dialout but no group readwrite perms.
okey dokey.

/me reverts to normal and goes to inform the customer just how it will
really work. clickety clickety click.

cheers for now
Jan

PS. and thanks for all the good work

PPS. people really have modems

-- 
Cannot activate Modem Monitor in Ubuntu 6.1
https://bugs.launchpad.net/bugs/89511
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to