如何从单用户模式连接到wifi?


3

所述en0无线接口不似乎可从该终端。是否可以从单用户模式控制台连接到已知和/或新的wifi热点?

root# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    options=3<RXCSUM,TXCSUM>
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280

root# networksetup -setairportnetwork en0 <SSID> '<wifi password>'
Error obtaining SC session.
All Wi-Fi network services are disabled.

我的规格:

sh-3.2# system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: OS X 10.8.5 (12F45)
      Kernel Version: Darwin 12.5.0
      Boot Volume: lily
      Boot Mode: Normal
      Computer Name: lilys MacBook Air
      User Name: System Administrator (root)
      Secure Virtual Memory: Enabled
      Time since boot: 12:37

1
在SU模式下启用Wi-Fi的目的是什么?与莫里斯的回答相反,我认为有可能实现这一目标。但是您必须按正确的顺序加载许多守护程序和代理程序,这样才能更轻松地正常启动。
klanomath

Answers:


3

据我所知,这是不可能的,因为启用联网的必要服务/守护程序不是在单用户模式下启动的。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.