请有条件的朋友测试 Magic xDSL 拨号器
下载地址:http://www.magiclinux.org/people/yunfan/mxd/mxd-0.2-1mgc.i686.rpm
启动后,在系统盒的图标上点右键可进行 adsl 拨号设置。拨号设置需要 root 权限。
2005-11-30
修复了密码框显示明码的 bug。
采用 sudo 来运行 adsl 拨号、断开命令
2005-11-29
修复了设置adsl 拨号命令权限的错误。
加了 start,stop,setup 命令行参数。
加了 自动启动和退出程序时自动断开连接的选项。 很好,root权限设置好后拨号成功,界面和功能都很好。
但重启系统后普通用户无法连接,是不是少了“允许非超级用户使用”这个选项的缘故?
能启动mxd后自动连接(像knet那样)或随kde自动启动那就更好了。呵呵,我比较懒。 楼上可否用 ls -l 查一下看下面三个文件的权限为 -rwsr-xr-x
/usr/bin/rppppoek.sh
/usr/sbin/adsl-start
/usr/sbin/adsl-stop
若非上述权限,则用 chmod u+s 文件名 设置一下再试,感谢。 后面的两个是链接,把/sbin里面的所有pppoe有关的文件全部更改权限还是不行。我用命令启动结果如下:
Password:
# mxd //用root启动正常
Link points to "/tmp/ksocket-root"
Link points to "/tmp/kde-root"
kbuildsycoca running...
Reusing existing ksycoca
kbuildsycoca: WARNING: //一大堆警告,不影响使用。
'/usr/share/applications/themus-theme-applier.desktop'
specifies undefined mimetype/servicetype
'application/x-gnome-theme-installed'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin# mxc
bash: mxc: command not found
ed mimetype/servicetype 'image/bmp'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/jpg'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/x-gray'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/x-icb'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/x-png'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/x-portable-anymap'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/x-portable-graymap'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/x-psd'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/x-xbitmap'
kbuildsycoca: WARNING: '/usr/share/applications/eog.desktop' specifies
undefin
ed mimetype/servicetype 'image/x-xpixmap'
kbuildsycoca: WARNING:
'/usr/share/applications/gnome-nautilus-folder-handler.
desktop' specifies undefined mimetype/servicetype
'x-directory/gnome-default-h
andler'
kbuildsycoca: WARNING:
'/usr/share/applications/gnome-nautilus-folder-handler.
desktop' specifies undefined mimetype/servicetype 'x-directory/normal'
kbuildsycoca: WARNING: 'gvimagepart.desktop' specifies undefined
mimetype/serv
icetype 'image/x-krl'
kbuildsycoca: WARNING: '/usr/share/applications/mozilla-firefox.desktop'
speci
fies undefined mimetype/servicetype 'text/mml'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'application/x-ms-dos-executable'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'application/x-msdownload'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'application/exe'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'application/x-exe'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'application/dos-exe'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'vms/exe'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'application/x-winexe'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'application/msdos-windows'
kbuildsycoca: WARNING: '/usr/share/applications/wine.desktop' specifies
undefi
ned mimetype/servicetype 'application/x-zip-compressed'
kbuildsycoca: WARNING: 'kdevjavadebugger.desktop' specifies undefined
mimetype
/servicetype 'KDevelop/Part'
kbuildsycoca: WARNING: '/usr/share/applications/net-gvim.desktop'
specifies un
defined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: '/usr/share/applications/net-gvim.desktop'
specifies un
defined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: '/usr/share/applications/net-gvim.desktop'
specifies un
defined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined
mimetype/servic
etype 'application/binary-certificate'
kbuildsycoca: WARNING: '/usr/share/applications/kde/kaffeine.desktop'
specifie
s undefined mimetype/servicetype 'video/x-avi'
kbuildsycoca: WARNING: '/usr/share/applications/kde/kaffeine.desktop'
specifie
s undefined mimetype/servicetype 'video/x-fli'
kbuildsycoca: WARNING: 'kaffeine_part.desktop' specifies undefined
mimetype/se
rvicetype 'KMediaPart'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-impress.desktop'
specifi
es undefined mimetype/servicetype 'application/vnd.ms-powerpoint'
kbuildsycoca: WARNING: '/usr/share/applications/kde/kolourpaint.desktop'
speci
fies undefined mimetype/servicetype 'image/x-psd'
kbuildsycoca: WARNING: '/usr/share/applications/dia.desktop' specifies
undefin
ed mimetype/servicetype 'application/x-dia-diagram'
kbuildsycoca: WARNING: '/usr/share/applications/bmp.desktop' specifies
undefin
ed mimetype/servicetype 'audio/mp3'
kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined
mimetype/ser
vicetype 'text/english'
kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined
mimetype/ser
vicetype 'text/x-c'
kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined
mimetype/ser
vicetype 'text/x-c++'
kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined
mimetype/ser
vicetype 'text/x-sql'
kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined
mimetype/servicet
ype 'KNotify'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-base.desktop'
specifies
undefined mimetype/servicetype
'application/vnd.oasis.opendocument.database'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-base.desktop'
specifies
undefined mimetype/servicetype 'application/vnd.sun.xml.base'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-writer.desktop'
specifie
s undefined mimetype/servicetype
'application/vnd.oasis.opendocument.text-web'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-writer.desktop'
specifie
s undefined mimetype/servicetype
'application/vnd.oasis.opendocument.text-mast
er'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-writer.desktop'
specifie
s undefined mimetype/servicetype 'application/vnd.sun.xml.writer.global'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-writer.desktop'
specifie
s undefined mimetype/servicetype 'application/x-doc'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-writer.desktop'
specifie s undefined mimetype/servicetype
'application/vnd.wordperfect'
kbuildsycoca: WARNING: '/usr/share/applications/ossii-math.desktop'
specifies undefined mimetype/servicetype
'application/vnd.sun.xml.math'
kbuildsycoca: WARNING: '/usr/share/applications/gfloppy.desktop'
specifies und efined mimetype/servicetype
'x-device/floppy'
kbuildsycoca: WARNING: '/usr/share/applications/amarok.desktop'
specifies unde fined mimetype/servicetype 'audio/x-sid'
KWrited - 在设备 /dev/pts/2 上监听
libpng error: PNG file corrupted by ASCII conversion
libpng error: PNG file corrupted by ASCII conversion
libpng error: PNG file corrupted by ASCII conversion
libpng error: PNG file corrupted by ASCII conversion
# libpng error: PNG file corrupted by ASCII
conversion
ScimInputContextPlugin()
Loading kconfig Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
libpng error: PNG file corrupted by ASCII conversion
>> running as realtime process now (priority 50)
Launched ok, pid = 4301
# exit
exit
$ ~ScimInputContextPlugin()
$ ICE default IO error handler doing an exit(), pid
= 4298, errno = 0
$ mxd
libpng error: PNG file corrupted by ASCII conversion
libpng error: PNG file corrupted by ASCII conversion
libpng error: PNG file corrupted by ASCII conversion 我的系统已经改的乱七八糟了,请系统干净的朋友们接着测试吧,这个东西真的很好。
我这里胡乱改动比较可疑的有:
/tmp我是挂栽倒内存中的。
locale我设的是gb2312。
输入法我用的是scim。 XF_LAIFU, 麻烦你再测一下, su到root, 然后
打开 /etc/ppp/pppoe.conf 文件,
在 DNS2= 这行只后加一行
NONROOT=OK
然后存盘, 退出root, 再连一次试试?
多谢了。 不过我猜测, 可能不是这个的原因,但还是请你测试证实一下。 :) 请大家更新一下 rpm 包。修正了命令权限设置错误,普通用户应该可以进行拨号了。 :P 等等我,我忍痛愤而重装,然后再试。 非常非常好!! 你是用的 2mgc 吗?
退出程序后最好能自动断开连接(我不是包月的 Twisted Evil )
这可是个坏主意。不过应该允许"设置"成这样的。 我重装了系统,和上面提到的现象相同,普通用户仍然无法拨号。估计是RPWT。我是小区宽带+PPPoE。
我已经把laifu帐号升级为root了,现在可以放心用了。 不是RPWT,呵呵。你用了 2mgc 了吗?
在 konsole 中 ls /sbin/adsl* ,看看 start 和 stop 是不是都是红色的。
如果是红色的,但普通用户无法拨号,便把 /sbin/adsl-connect 也加一下权限:
chmod u+s /sbin/adsl-connect
因为我和 yunfan 都没有 adsl ,所以只能闭眼造车了。就辛苦你多测试一下吧:P