Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install ADSL dial-up program under SUSE Linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Xiaobian to share with you how to install ADSL Internet dial-up program under SUSE Linux, I believe most people still do not know how, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

People who have used ADSL know that there is a software called WinPPoE on WINDOWS, through which you can easily connect to ISP and access INTERNET. Do you want to know how to surf the Internet through ADSL on LINUX? I just tried it and can't wait to tell you that I'm using SuSe Linux 6.4, which I chose because of its rich hardware support and ease of configuration.

1、Packege

SupSe 6.4 already contains pppoed-0.46-7.

2. Set network card and gateway

# ifconfig eth0 mtu 1492 (do not set any IP address for eth0) and make sure your default gateway is empty.

The requested URL/etc/ppp/was not found on this server.

It should look like this: "szmycom@163.gd" * "mypassword"

Edit/etc/resolve.conf

nameserver 202.96.134.133

nameserver 202.96.128.68

Add the following line to/etc/modules.conf:

alias char-major-144 pppox

(Actually this line already exists in my Suse)

The requested URL/etc/ppp/was not found on this server.

# general options

idle 600

# this is a must user

szmycom@163.gd

sync

local

nocrtscts

noauth

usepeerdns

mru 1490

mtu 1490

# this is recommended

defaultroute

hide-password

nodetach

#

# switchoff all compressions

# this is a must

noaccomp

nopcomp

# this is recommended

novj

novjccomp

nobsdcomp

nodeflate

noccp

Note: Login names apply your own.

Run/usr/sbin/pppoed to start the connection.

Note: Only root can initiate a connection.

If you are using a network device with a name other than eth0, you need to boot it like this

/usr/sbin/pppoed -I ethX, where X is the number of the network card.

8, inspection,

Test connections Use tail -f /var/log/messages to track and diagnose ADSL connection status, use ifconfig to check the IP address assigned to your ppp0 device, and if the address assignment is successful, the connection has been established. Use the route command to view the gateway address assigned to you by the incoming server. Ping www.163.com should be able to ping through, if not, there may be a problem with your DNS settings.

9. Proxy local area network access and install a network card.

Set the IP address to 192.168.1.1; add an IP forwarding rule:

/sbin/ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0.0.0.0/0

The client in the local area network sets 192.168.1.1 as the default gateway, and you can surf the Internet through this LINUX computer.

The above is "How to install ADSL Internet dial-up program under SUSE Linux" all the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report