Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装archlinux U盘启动时网络正常,安装完成后重启进入系统连不上网, 怎么办? #19

Open
xiaozefeng opened this issue Jun 8, 2019 · 2 comments

Comments

@xiaozefeng
Copy link
Owner

xiaozefeng commented Jun 8, 2019

详细描述以下我的场景

  1. 使用U盘启动时,用 wifi-menu 连接网络是正常的
  2. 使用U盘启动时, 插上网线也是可以联网的

安装完重启后死活连不上网, 插上网线,网口灯都不亮
使用 wpa_supplicant 的方法去连接网络也不行

尝试了哪些方法:

  1. 启动 dhcpcd 服务
systemctl enable dhcpcd.service
systemctl start dhcpcd.service

重启后无效
2. 连接wifi

# ssid 是你的无线网络名称
# passphrase 是无线密码 
wpa_passphrase ssid passphrase > /etc/wpa_supplicant/wpa_supplicant.conf
# 获取 无线接口名称
```bash
iw dev 
phy#0
	Unnamed/non-netdev interface
		wdev 0x9
		addr bc:a8:a6:f5:8a:ed
		type P2P-device
		txpower 0.00 dBm
	Interface wlp3s0
		ifindex 2
		wdev 0x1
		addr bc:a8:a6:f5:8a:ed
		ssid chaochao805
		type managed
		channel 161 (5805 MHz), width: 80 MHz, center1: 5775 MHz
		txpower 22.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0

wlp3s0是我的无线接口名称

# 启动 wpa_supplicant
# -B 后台运行
# -i 指定无线接口名称
# -c 指定配置
wpa_supplicant -B -i wlp3s0 -c /etc/wpa_supplicant/wpa_supplicant
提示连接成功,但是不能联网, 后又尝试了 
```bash
dhcpcd wlp3s0

无效, 真是令人抓狂呢, 尝试重装几次系统,还是不行

@xiaozefeng
Copy link
Owner Author

后尝试在U盘安装时将桌面环境装好了, 重启后直接进入了桌面环境,在桌面上通过 NetworkManager 连上网络。
具体可以参考 ,
Archlinux 安装 gnome for xorg

@xiaozefeng
Copy link
Owner Author

最近安装了xfce4 ,发现有线网络是能用的,所以目测是 gnome3 的bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant