ubuntu mentohust solutions summary

1. Mentohust 认证出现的问题及解决方法汇总

问题一:“MentoHUST - 系统提示 在网卡xxx上获取IP失败!”
如果学校使用动态分配ip的话,这个提示可以不用管。如果使用静态ip,则说明你的ip设置错误,到“系统——首选项——网络连接”中修改你的ip。确定正确后,就可以继续了。

问题二:“MentoHUST - 系统提示 用户静态IP类型绑定错误!”
这是由于DHCP方式设置为错误的原因,可以使用“ sudo mentohust -d0(或1,2,3进行试验) ”来解决。

问题三:“MentoHUST - 系统提示 用户静态IP端口绑定错误!”
这说明你在mentohust中IP设置错了,可以打开“etc/mentohust.conf”修改IP,或者使用“sudo mentohust -i10.10.10.10”进行修改,-i后面直接跟你的IP。

问题四:“MentoHUST – 系统提示 找不到服务器”
最可能的原因是组播模式选择错了,可以使用“sudo mentohust -a0”或“sudo mentohust -a1”在“标准”与“锐捷”中切换,还不行检查一下你的网络连接吧。

问题五:系统提示认证成功,但不能上网
如果IP是静态的,则是IP或DNS设置错误, 到“系统——首选项——网络连接”中修改你的ip和DNS,并保证是正确的。如果是动态分配IP,则是DHCP设置错误,通过问题二中的方法解决。

问题六:“MentoHUST - 系统提示 不允许使用的客户端类型”或“MentoHUST - 系统提示 客户端版本过低”
由于MentoHUST内置数据是与xrgsu兼容的(即如果用xrgsu能认证成功,用MentoHUST不设置这个参数就也能认证成功),
2.网络管理器有线链接显示"设备未托管"或"device not managed"的解决办法

    编辑文件:

sudo gedit/etc/NetworkManager/NetworkManager.conf

   修改最后一行的false为true:

managed=true

   重启电脑,搞定。
3.关闭ipv6    
sudo vi /etc/sysctl.conf
    添加去下
    #disable IPV6
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    更新配置
    sudo sysctl -p
    重启电脑
    reboot
4.static ip address set
    主要涉及到两个文件
    /etc/network/interfaces  设置ip地址
    /etc/resolv.conf             设置DNS信息
    如果不涉及DNS应用,只设置ip地址就可以
    sudo vi /etc/network/interfaces
    设置如下信息

点击(此处)折叠或打开

  1. # interfaces(5) file used by ifup(8) and ifdown(8)
  2. auto lo
  3. iface lo inet loopback
  4. #ipv4 config
  5. auto eth0
  6. iface eth0 inet static
  7. address 202.206.212.151
  8. netmask 255.255.255.0
  9. #gateway 202.206.223.111
5.开机waiting for network configuration问题
开机时会出现waiting for networkconfiguration的界面,然后等待几十秒之后会显示更加恼火的waiting 60s for networkconfiguration。
<1>在/etc/init/failsafe.conf文件中给这两个sleep函数注释掉就行了。

<2>set the /etc/network/interfaces
sudo vi /etc/network/interfaces
keep below content and delete other all content, then reboot your pc

点击(此处)折叠或打开

  1. # interfaces(5) file used by ifup(8) and ifdown(8)
  2. auto lo
  3. iface lo inet loopback
6. ubuntu 网络图标不显示

    编辑文件:

sudo gedit/etc/NetworkManager/NetworkManager.conf

   修改最后一行的false为true:

managed=true

   重启电脑,搞定。


reference url:
http://blog.sina.com.cn/s/blog_4cd5d2bb01019bxj.html
http://blog.chinaunix.net/uid-29454152-id-5149181.html
http://forum.ubuntu.org.cn/viewtopic.php?t=282666
http://blog.sina.cn/dpool/blog/s/blog_60aea9bb010154v5.html

猜你喜欢

转载自blog.csdn.net/warrior_zhang/article/details/50503394
今日推荐