QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3580|回复: 35

请有条件的朋友测试 Magic xDSL 拨号器

[复制链接]
发表于 2005-11-27 20:35:34 | 显示全部楼层 |阅读模式
下载地址:
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 命令行参数。
加了 自动启动和退出程序时自动断开连接的选项。
发表于 2005-11-27 21:55:37 | 显示全部楼层
很好,root权限设置好后拨号成功,界面和功能都很好。
但重启系统后普通用户无法连接,是不是少了“允许非超级用户使用”这个选项的缘故?
能启动mxd后自动连接(像knet那样)或随kde自动启动那就更好了。呵呵,我比较懒。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2005-11-27 22:18:28 | 显示全部楼层
楼上可否用 ls -l 查一下看下面三个文件的权限为 -rwsr-xr-x
/usr/bin/rppppoek.sh
/usr/sbin/adsl-start
/usr/sbin/adsl-stop

若非上述权限,则用 chmod u+s 文件名 设置一下再试,感谢。
回复

使用道具 举报

发表于 2005-11-28 01:03:47 | 显示全部楼层
后面的两个是链接,把/sbin里面的所有pppoe有关的文件全部更改权限还是不行。我用命令启动结果如下:

Password:
[root@MagicLinux laifu]# 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[root@MagicLinux laifu]# 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
[root@MagicLinux laifu]# 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
[root@MagicLinux laifu]# exit
exit
[laifu@MagicLinux ~]$ ~ScimInputContextPlugin()

[laifu@MagicLinux ~]$ ICE default IO error handler doing an exit(), pid
= 4298, errno = 0

[laifu@MagicLinux ~]$ 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
回复

使用道具 举报

发表于 2005-11-28 01:09:31 | 显示全部楼层
我的系统已经改的乱七八糟了,请系统干净的朋友们接着测试吧,这个东西真的很好。

我这里胡乱改动比较可疑的有:
/tmp我是挂栽倒内存中的。
locale我设的是gb2312。
输入法我用的是scim。
回复

使用道具 举报

发表于 2005-11-28 08:54:21 | 显示全部楼层
XF_LAIFU, 麻烦你再测一下, su到root, 然后
打开 /etc/ppp/pppoe.conf 文件,
在 DNS2= 这行只后加一行
[code:1]NONROOT=OK[/code:1]

然后存盘, 退出root, 再连一次试试?

多谢了。
回复

使用道具 举报

发表于 2005-11-28 08:55:19 | 显示全部楼层
不过我猜测, 可能不是这个的原因,但还是请你测试证实一下。 :)
回复

使用道具 举报

 楼主| 发表于 2005-11-28 10:51:03 | 显示全部楼层
请大家更新一下 rpm 包。修正了命令权限设置错误,普通用户应该可以进行拨号了。
回复

使用道具 举报

发表于 2005-11-28 11:02:48 | 显示全部楼层
回复

使用道具 举报

发表于 2005-11-28 11:52:02 | 显示全部楼层
等等我,我忍痛愤而重装,然后再试。
回复

使用道具 举报

发表于 2005-11-28 12:08:32 | 显示全部楼层
非常非常好!!
回复

使用道具 举报

 楼主| 发表于 2005-11-28 15:55:35 | 显示全部楼层
你是用的 2mgc 吗?
回复

使用道具 举报

发表于 2005-11-28 19:23:18 | 显示全部楼层
退出程序后最好能自动断开连接(我不是包月的 Twisted Evil )

这可是个坏主意。不过应该允许"设置"成这样的。
回复

使用道具 举报

发表于 2005-11-28 22:29:16 | 显示全部楼层
我重装了系统,和上面提到的现象相同,普通用户仍然无法拨号。估计是RPWT。我是小区宽带+PPPoE。
我已经把laifu帐号升级为root了,现在可以放心用了。
回复

使用道具 举报

 楼主| 发表于 2005-11-28 22:34:21 | 显示全部楼层
不是RPWT,呵呵。你用了 2mgc 了吗?
在 konsole 中 ls /sbin/adsl* ,看看 start 和 stop 是不是都是红色的。
如果是红色的,但普通用户无法拨号,便把 /sbin/adsl-connect 也加一下权限:
chmod u+s /sbin/adsl-connect

因为我和 yunfan 都没有 adsl ,所以只能闭眼造车了。就辛苦你多测试一下吧  
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 15:43 , Processed in 0.085369 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表