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

无法获得ip啊?! #5

Closed
fd5788 opened this issue Jun 22, 2014 · 3 comments
Closed

无法获得ip啊?! #5

fd5788 opened this issue Jun 22, 2014 · 3 comments

Comments

@fd5788
Copy link

fd5788 commented Jun 22, 2014

中文也是乱码?!

@godspeed1989
Copy link
Owner

程序使用dhclient命令获取IP,请确认机子上已安装。
中文乱码是终端的编码问题

@fd5788
Copy link
Author

fd5788 commented Sep 9, 2014

终端ls中文正常啊!现在发行版基本上都用dhcpcd了

@godspeed1989
Copy link
Owner

中文乱码应该是终端编码的支持问题。尝试设置LANG环境变量解决。

export LANG=zh_CN.UTF-8

如果程序无法正常获得ip,你可以使用系统自带的Network Manager或运行命令

sudo dhclient eth1 &

手动进行获取。

希望可以帮到你。

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

2 participants