|
|
发表于 2009-8-16 16:51:31
|
显示全部楼层
说不定是路由的问题?
一直不喜欢NM/wicd, 把问题复杂化了。
网卡支持wpa_supplicant的话,
/etc/conf.d/net 里面写好配合wpa_cli/wpa_gui非常简便了。
不过既然非要rp_pppoe, 不如也写成service:- #!/sbin/runscript
- depend() {
- need net
- }
- start() {
- ebegin "Starting ADSL"
- /usr/sbin/pppoe-start
- eend $? "Connection Failed"
- }
- stop() {
- ebegin "Stopping ADSL"
- /usr/sbin/pppoe-stop
- eend $? "Failed to stop ADSL"
- }
复制代码
Enjoy the Gentoo way! |
|