Ruijie dialing solution in Linux

Source: Internet
Author: User
Linux-based ruijie dialing solution-general Linux technology-Linux technology and application information. For details, see the following section. Original: Aurora

Linux has a high requirement on the network, and there is a router in front of wuda, so you don't have to worry about it. After returning to school, the primary task is to solve the dial-up problem on the Intranet.

I searched the internet and found many posts. I was confused and found that this is indeed a common problem. Previously, Wu Da installed a redis client based on QT4 in this document (for reference). The installation is a little troublesome and there are still some problems. Therefore, we consider using the Linux client provided by ruijie to directly connect to the client in shell.

Although there are a lot of related information on the Internet, it is still difficult to solve the problem, especially when many downloads are invalid. However, with enough perseverance, skillful search skills, and a love for Linux, we can finally solve the problem ~

The following is an overview of the installation process:

0. Fedora8, root User

1. Software and package preparation: xrgsu, libpcap. so.0.6.2, libstdc ++. so.5

Xrgsu is the Linux client provided by ruijie. You can download it on the home page of the Network Center. The next two packages are difficult to find. If you need them, contact me. Libstdc ++. so.5 can be obtained by installing compat-libstdc ++-33-3.2.3-47.fc4.i386.rpm. libpcap. so.0.6.2 can be directly cp to/usr/lib, and xrgsu is recommended to be placed in the root directory.

2. Network Settings

First, you need to use ifconfig to view your network settings, and then modify the information provided to you by the Network Center. Here, I implemented it by modifying the configuration file.

2.1 IP and gateway

# Vi/etc/sysconfig/network-scripts/ifcfg-eth0

The following items are modified (added:

BOOTPROTO = static (static IP)
IPADDR = *. * (your IP address)
NETMASK = 255.255.255.0
GATEWAY = *. * (your GATEWAY address)

2.2 DNS settings

# Vi/etc/resolv. conf

The following items are modified (added:

Nameserver *. * (preferred DNS)
Nameserver *. * (Backup DNS)

2.3 dialing

#./Xrgsu display

XRGSupplicant 1.1.1
Ruijie Network CopyRight 2004-2005
Please input your user name: (your login account)
Please input your password: (your password)
Use DHCP, 1-Use, 0-UnUse (Default: 0): (do not Use, select 0 or press Enter)
Use default auth parameter, 0-Use 1-UnUse (Default: 0): (Use, select 0 or press Enter)
(You do not need to change the default network parameters here unless you want to solve the problem .)

Then you can see:

Searching server...
Connecting server...
Authenticating...
Please input 'unauth' to LogOff:

Now you can access the Internet.

3. Some Problems

If nothing happens, you should not be so smooth.

3.1 first, you will encounter the following prompt:

/Usr/lib/libpcap. so.0.6.2: cannot restore segment prot after reloc: Permission denied

The system blocks the running of the dial-up software for security reasons. You can solve this problem at this time:

# Vi/etc/selinux/config

Find SELINUX = enforcing and change it

SELINUX = disabled (disable SELinux)

Then chcon-ttexrel_shlib_t/usr/lib/libpcap. so.0.6.2 (do not understand)

3.2 In fact, these are minor issues. If you fail to quickly disconnect after a successful connection, the following prompt appears:

Detect Proxy Server! Err = 4 (Too subnet IP or Nic)

In fact, if this prompt appears, you will see a (virtual) Nic virbr0 at the beginning of ifconfig, and this cannot be ifdown. This is the biggest headache for me. There are only a few obscure explanations on the Internet. Generally, you have installed Xen in your ignorance, virtualized a bridge in your computer, and you cannot stop using brctl.

It's hard to find a solution in English (refer to) and uninstall the virtualization components:

# Yum groupremove "Virtualization"

I found that the problem was not solved after I drew it from Huludao. Some components mentioned on the Internet were not uninstalled on my fc8. However, it was inspired that libvirt must be taken away!

So I used the following command to prove that it was successful:

# Yum remove libvirt

You can use ifconfig to check that no Nic virbr0 is available.

Authentication successful! As long as the shell is on, it will not be dropped, and the network speed is stable. Now firefox can use yum.

Of course, this is not the only solution, but we hope to provide you with ideas and suggestions. Linux learning requires an atmosphere for everyone to improve faster. If the dialing problem can be solved smoothly, more campus users will be attracted to Linux to feel the magic and charm of open source!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.