页次: 1
因为手头又搞了一台二手chromebook准备使用,但chromeBook认证主要是安装开发包需要先翻墙,google host应天朝某会根本不管用,只能用goagetnt来翻,代理出墙。
现在笔记本可接网口,然后用笔记本的无线来做桥代理,如何用呢?
问题一、安装的是netctl工具
只找到一篇文,https://bbs.archlinuxcn.org/viewtopic.php?id=50,结论是
“Update: 根据 Aenon 的提示,其实更简单的办法是直接用NetworkManager,“创建新的无线网络”,就可以了”
不会禁用系统服务,如何禁用netctl?
禁用后安装和配置NetworkManager?我只找到networkmanager-qt 这个应用,是安装这个对吧?
问题二、上述办法是最简单的了?能否提供更简单办法?给个链接,感谢。
问题三、有高手能否提供chromebook装了开发包后安装翻墙包的教程,谢了。
最近编辑记录 feileixj (2016-03-03 11:50:59)
离线
ArchWiki 找 hostapd。我机器上连 NetworkManager 都没有的。
离线
创建AP?首先要看你的无线网卡驱动是否支持 AP 模式
终端执行下面指令将结果全部复制贴上来,看你的无线网卡驱动是否支持 AP 模式
uname -a
lspci -knn | grep -iA2 net
sudo lshw -C net
老师你说我能考上什么,我说你只要学前途无量,他说:我也是这么想的
你已经掉到一半了,你大喊一声:“老师,我写跑题了。”
你不能说我的幸福就是苏轼如何如何
离线
看支持不是用
iw list | grep -A3 'valid interface combinations:'
么?
离线
我没装全包,只能自行前两条命令:
[root@kkkarch ~]# uname -a
Linux kkkarch 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64 GNU/Linux
[root@kkkarch ~]# lspci -knn | grep -iA2 net
00:19.0 Ethernet controller [0200]: Intel Corporation 82566MM Gigabit Network Connection [8086:1049] (rev 03)
Subsystem: Lenovo ThinkPad T61/R61 [17aa:20b9]
Kernel driver in use: e1000e
--
03:00.0 Network controller [0280]: Intel Corporation Ultimate N WiFi Link 5300 [8086:4236]
Subsystem: Intel Corporation Device [8086:1011]
Kernel driver in use: iwlwifi
离线
看支持不是用
iw list | grep -A3 'valid interface combinations:'
么?
学习了,以前基本没用过 iw, ip 等新命令...
也可根据驱动具体查询支持情况
WiFi Link 5300 [8086:4236] Kernel driver in use: iwlwifi
iwlwifi 基本都不支持 AP 模式
WiFi Link 5300 属于 iwldvm,貌似不支持 AP 模式?
再按百合仙子的命令查询,确认一下
老师你说我能考上什么,我说你只要学前途无量,他说:我也是这么想的
你已经掉到一半了,你大喊一声:“老师,我写跑题了。”
你不能说我的幸福就是苏轼如何如何
离线
最近编辑记录 依云 (2016-03-03 21:46:01)
离线
依云 说:看支持不是用
iw list | grep -A3 'valid interface combinations:'
么?
学习了,以前基本没用过 iw, ip 等新命令...
也可根据驱动具体查询支持情况feileixj 说:WiFi Link 5300 [8086:4236] Kernel driver in use: iwlwifi
iwlwifi 基本都不支持 AP 模式
WiFi Link 5300 属于 iwldvm,貌似不支持 AP 模式?
再按百合仙子的命令查询,确认一下
英文不好,基本看不懂,另外iw命令包含在哪个包里面?我安装时未安装全系统包,pacman -Ss iw未遭到。
离线
另外iw命令包含在哪个包里面?我安装时未安装全系统包,pacman -Ss iw未遭到。
https://www.archlinux.org/packages/?name=iw
装机时包含在 base-devel 中
老师你说我能考上什么,我说你只要学前途无量,他说:我也是这么想的
你已经掉到一半了,你大喊一声:“老师,我写跑题了。”
你不能说我的幸福就是苏轼如何如何
离线
~$ pacman -Qo /usr/bin/iw
/usr/bin/iw is owned by iw 4.1-1
创建软AP可以用 create_ap 呀
~$ pacman -Ss create_ap
archlinuxcn/create_ap r190.059b447-1 [installed]
A shell script to create a NATed/Bridged Software Access Point
如果想像 Windows 一样通过让笔记本连 Wi-Fi 的同时还做软 AP,可以用我的槽点很多渣渣脚本
https://github.com/zsrkmyn/bridge_ap
离线
~$ pacman -Qo /usr/bin/iw /usr/bin/iw is owned by iw 4.1-1
创建软AP可以用 create_ap 呀
~$ pacman -Ss create_ap archlinuxcn/create_ap r190.059b447-1 [installed] A shell script to create a NATed/Bridged Software Access Point
如果想像 Windows 一样通过让笔记本连 Wi-Fi 的同时还做软 AP,可以用我的槽点很多渣渣脚本
https://github.com/zsrkmyn/bridge_ap
iw list | grep不到A3就是不支持软AP吗?
不grep结果如下:
Wiphy phy0
max # scan SSIDs: 20
max scan IEs length: 195 bytes
max # sched scan SSIDs: 0
max # match sets: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports RSN-IBSS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* 00-0f-ac:10
* GCMP (00-0f-ac:8)
* 00-0f-ac:9
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* monitor
Band 1:
Capabilities: 0x1072
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT Max RX data rate: 450 Mbps
HT TX/RX MCS rate indexes supported: 0-23
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (14.0 dBm)
* 2417 MHz [2] (15.0 dBm)
* 2422 MHz [3] (15.0 dBm)
* 2427 MHz [4] (15.0 dBm)
* 2432 MHz [5] (15.0 dBm)
* 2437 MHz [6] (15.0 dBm)
* 2442 MHz [7] (15.0 dBm)
* 2447 MHz [8] (15.0 dBm)
* 2452 MHz [9] (15.0 dBm)
* 2457 MHz [10] (15.0 dBm)
* 2462 MHz [11] (15.0 dBm)
* 2467 MHz [12] (15.0 dBm) (no IR)
* 2472 MHz [13] (15.0 dBm) (no IR)
Band 2:
Capabilities: 0x1072
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT Max RX data rate: 450 Mbps
HT TX/RX MCS rate indexes supported: 0-23
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5180 MHz [36] (15.0 dBm) (no IR)
* 5200 MHz [40] (15.0 dBm) (no IR)
* 5220 MHz [44] (15.0 dBm) (no IR)
* 5240 MHz [48] (15.0 dBm) (no IR)
* 5260 MHz [52] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5280 MHz [56] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5300 MHz [60] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5320 MHz [64] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5500 MHz [100] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5520 MHz [104] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5540 MHz [108] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5560 MHz [112] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5580 MHz [116] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5600 MHz [120] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5620 MHz [124] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5640 MHz [128] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5660 MHz [132] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5680 MHz [136] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5700 MHz [140] (15.0 dBm) (no IR, radar detection)
DFS state: usable (for 1433035 sec)
DFS CAC time: 0 ms
* 5745 MHz [149] (15.0 dBm) (no IR)
* 5765 MHz [153] (15.0 dBm) (no IR)
* 5785 MHz [157] (15.0 dBm) (no IR)
* 5805 MHz [161] (15.0 dBm) (no IR)
* 5825 MHz [165] (15.0 dBm) (no IR)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* new_mpath
* set_mesh_config
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* probe_client
* set_noack_map
* register_beacons
* start_p2p_device
* set_mcast_rate
* set_qos_map
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0x
a0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0x
b0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0x
a0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa
0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
software interface modes (can always be added):
* monitor
interface combinations are not supported
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports TX status socket option.
Device supports HT-IBSS.
Device supports SAE with AUTHENTICATE command
Device supports scan flush.
Device supports per-vif TX power setting
Driver supports a userspace MPM
Device supports static SMPS
Device supports dynamic SMPS
Device supports configuring vdev MAC-addr on create.
cretate_ap错误如下:
[root@kkkarch ~]# create_ap wls3 enp0s25 forgoogle fghjkj790--7
ERROR: 'wls3' is not a WiFi interface
就是因为无线网卡不支持软AP是吗?
最近编辑记录 feileixj (2016-03-04 10:55:50)
离线
看起来是不支持了。
离线
嵊州老乡,你的网站404哦
archlinux磨合中
离线
vickycq 说:嵊州老乡,你的网站404哦
你的 DNS 解析失败或者被劫持了吧?
离线
页次: 1