文件名称:myxrgsu安装步骤
文件大小:54KB
文件格式:PDF
更新时间:2017-12-26 13:14:06
myxrgsu
myxrgsu安装步骤 第一步:查询是否有libpcap包命令: #rpm -q libpcap 如果没有libpcap库,则安装libpcap-0.6.2-i386.rpm在终端输入命令 #sudo rpm -ivh PATH/libpcap-0.6.2-i386.rpm //PATH表示您的libpcap-0.7.2-1.i386.rpm路径位置 如果已经装有了但版本不对则需要强制安装 #sudo rpm -ivh PATH/libpcap-0.6.2-i386.rpm --force //PATH表示您的libpcap-0.6.2-i386.rpm路径位置 上面sudo表示是以root的权限上安装。不然系统会提示权限不够。如果已经是以ROOT进入系统的话就不用SUDO。 关于libpcap库文件,它可能多种安装方式,如RPM,DEB,源代码的形式。 Ubuntu支持DEB文件的安装,所以对于RPM文件相应的命令为 #sudo apt-get install alien #sudo alien XXX.rpm #sudo dpkg -i XXX.rpm 第二步:把下载回来的myxrgsu程序复制到/usr/bin下 #sudo cp PATH/myxrgsu /usr/bin 第三步:配置网络 虽然我们的校园网在WINDOWS下用的是DHCP动态获取IP地址,但实际上在LINUX下只要我们给它一个和WINDOWS一样的IP(在WINDWOS下记下IP,DNS,DHCP等之类的,一般IP租用期都有几个月的),然后加上成功的认证,那就可以上网了,所以选择静态手动的IP方式。但如果就这样然后认证的话会出现: WARNING: IintNIC:NIC eth0 does not exist(3) Get parameter error! 所以要先输入以下命令:#ifconfig eth0 172.17.11.223 //后面的是我的IP 下面是我的认证过程: root@ubuntu:~# ifconfig eth0 172.17.11.223 root@ubuntu:~# myxrgsu -d XRGSupplicant 1.1.1 Ruijie Network CopyRight 2004-2005 Please input your user name:lgq1984 Please input your password: Use default auth parameter,0-Use 1-UnUse(Default: 0): Searching server... Connecting server... Authenticating... 04信息1班欢迎进入惠州学院校园网,网络中心:2529230。 Authenticate SUCCESSFULLY! dhclient: no process killed eth0: no process killed Internet Systems Consortium DHCP Client V3.0.2 Copyright 2004 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP can't create /var/state/dhcp/dhclient.leases: No such file or directory Listening on LPF/eth0/00:e0:4c:d4:86:b8 Sending on LPF/eth0/00:e0:4c:d4:86:b8 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPOFFER from 202.192.224.166 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 202.192.224.166 can't create /var/state/dhcp/dhclient.leases: No such file or directory bound to 172.17.11.101 -- renewal in 76224 seconds. Searching server... Connecting server... Authenticating... 04信息1班欢迎进入惠州学院校园网,网络中心:2529230。 Authenticate SUCCESSFULLY! Please input 'unauth' to LogOff: IP Address is changed,Reauth Now! Searching server... Connecting server... Authenticating... 04信息1班欢迎进入惠州学院校园网,网络中心:2529230。 Authenticate SUCCESSFULLY! 而且不会断线!爽!