我大概翻了翻 netctl 的代码,感觉还是很赞的,netctl 的 up down 状态是直接与 interface 连接的 up down 关联的,不像 
ifup/ifdown, 自己维护了一个状态,与 interface 的 up/down 不同步。

> 在 2015年7月31日,下午3:19,Yuxin Wu <[email protected]> 写道:
> 
> ​先ifconfig xxx down (e.g. sudo ifconfig wlan0 down
> 再netctl start
> 开哥是正解..​
> 
> 2015-07-31 15:12 GMT+08:00 <[email protected] 
> <mailto:[email protected]>>:
> WiFi类型就是普通的802.1n。用netctl start <profile-name>试过,仍然失败。唉,不管了,现在能连就行了。
> 
> 通过Android版Outlook <http://taps.io/outlookmobile>发送
> 
> 
> 
> On Thu, Jul 30, 2015 at 5:36 PM -0700, "Bill Ryan" <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> 用 wifi-menu 连接 Wi-Fi 后应该会有相应的配置文件生成,检查相应的配置文件,然后用 netctl 配合那个配置文件连接试试。
> 
> 另外你的网络类型是? 802.1x? 如果是802.1x 认证的话似乎并不能用 wifi-menu,需要改下配置文件。
> 
> 2015-07-30 23:52 GMT+08:00 <[email protected] 
> <mailto:[email protected]>>:
> 不用wifi-menu,改用wpa_supplicant成功连上了,但是不知道为什么😶。netctl 
> stop-all之后重新用wifi-menu连接WiFi,还是不行,日志记录原因一样。
> 
> Sent by Outlook <http://taps.io/outlookmobile> for Android
> 
> 
> 
> On Thu, Jul 30, 2015 at 8:39 AM -0700, "杨圣" <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> 为了确认网络连通性,建议ping个8.8.8.8或者166.111.8.28排 除一下dns的问题。netctl的配置在/etc/netctl/目录里。
> 
> 在 2015年07月30日 23:04, Justin Wong 写道:
>> Arch的话,默认应该没有ifconfig
>> 
>> ip link set dev xxx down 
>> 
>> 
>> 
>> On Thu, Jul 30, 2015 at 11:02 PM Kai Jia < 
>> <mailto:[email protected]>[email protected] 
>> <mailto:[email protected]>> wrote:
>> 貌似需要ifconfig xxx down吧
>> 
>> sent from my cellphone
>> 
>> 2015-7-30 上午6:57于 "XIAO Qi" < <mailto:[email protected]>[email protected] 
>> <mailto:[email protected]>>写道:
>> 2015-07-30 21:00 GMT+08:00 Justin Wong <[email protected] 
>> <mailto:[email protected]>>:
>> > 那就先 netctl stop bulabula 再连
>> >
>> 
>> 应该要 netctl stop-all 吧 ╮( ̄▽ ̄")╭
>> 
>> > 错误原因很可能不是这个,你是不是第一次链接失败之后又连了一次什么的?
>> >
>> >
>> > On Thu, Jul 30, 2015 at 8:57 PM < 
>> > <mailto:[email protected]>[email protected] 
>> > <mailto:[email protected]>> wrote:
>> >>
>> >> 连接之前确定无线网卡已经启用。直接使用wifi-menu来连接,结果失败:(
>> >> 查看日志,原因是“The interface of network profile "bulabula..." is already
>> >> up",然后就退出了...
>> >> 但实际上百度之类的网站ping不通啊,怎么破?
>> >>
>> >> Sent by Outlook for Android
>> >>
>> >> --
>> >>
>> >> ---
>> >> You received this message because you are subscribed to the Google Groups
>> >> "TUNA 主邮件列表" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send an
>> >> email to [email protected] 
>> >> <mailto:tuna-general%[email protected]>.
>> >> To post to this group, send email to  
>> >> <mailto:[email protected]>[email protected] 
>> >> <mailto:[email protected]>.
>> >> For more options, visit  
>> >> <https://groups.google.com/d/optout>https://groups.google.com/d/optout 
>> >> <https://groups.google.com/d/optout>.
>> >
>> > --
>> > Justin Wong
>> >
>> > --
>> >
>> > ---
>> > You received this message because you are subscribed to the Google Groups
>> > "TUNA 主邮件列表" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an
>> > email to [email protected] 
>> > <mailto:tuna-general%[email protected]>.
>> > To post to this group, send email to  
>> > <mailto:[email protected]>[email protected] 
>> > <mailto:[email protected]>.
>> > For more options, visit https://groups.google.com/d/optout 
>> > <https://groups.google.com/d/optout>.
>> 
>> 
>> 
>> --
>> Best regards,
>> 肖骐 XIAO Qi
>> 
>> --
>> 
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "TUNA 主邮件列表" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:tuna-general%[email protected]>.
>> To post to this group, send email to  
>> <mailto:[email protected]>[email protected] 
>> <mailto:[email protected]>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
>> -- 
>> 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "TUNA 主邮件列表" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To post to this group, send email to  
>> <mailto:[email protected]>[email protected] 
>> <mailto:[email protected]>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
>> -- 
>> Justin Wong
>> -- 
>> 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "TUNA 主邮件列表" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> Yang Sheng(杨圣)
> Yao Class 10
> Institute for Interdisciplinary Information Sciences
> Tsinghua University
> Beijing, 100084
> P.R.China
> Tel:86-18810661896 <tel:86-18810661896>
> E-mail:[email protected] <mailto:E-mail:[email protected]>
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TUNA 主邮件列表" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TUNA 主邮件列表" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> -- 
> from: billryan
> Email: [email protected] <mailto:[email protected]>
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TUNA 主邮件列表" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TUNA 主邮件列表" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> -- 
> 
> Yuxin Wu
> Department of Computer Science & Technology
> Tsinghua University
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TUNA 主邮件列表" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 

--- 
You received this message because you are subscribed to the Google Groups "TUNA 
主邮件列表" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

回复