NHỮNG CÂU HỎI THƯỜNG GẶP VỀ LINUX - Trang 52

Những câu hỏi thường gặp về Linux

H:

Làm thế nào để đặt múi giờ

Đ:

Change directory to [/usr/lib/zoneinfo/]. Get the time zone package if you don’t have this directory.

The source is available in ftp://metalab.unc.edu/pub/Linux/system/admin/time/.

Then make a symbolic link named [localtime] pointing to one of the files in this directory (or a
subdirectory), và one called [posixrules] pointing to [localtime]. For example:

$ ln -sf US/Mountain localtime

$ ln -sf localtime posixrules

This change will take effect immediatelytry date.

If the system uses Red Hat-style configuration files, the respective time zone info files are
[/usr/share/zoneinfo] và [/etc/localtime].

The manual pages for tzset or tzselect describe setting the time zone. Some programs recognize the

TZ

” environment variable, but this is not POSIX-correct.

You should also make sure that your Linux kernel clock is set to the correct GMT time. Type date -u và
check that the correct UTC time is displayed. (“Tai sao máy tính lưu sai giờ?”)

H:

Cấu hình PPP quay số

Đ:

This information is mainly for people who do not have a wrapper utility like kppp or pppconfig, or

are not able to get those utilities to work correctly. If you need to manually configure PPP to dial in to
your ISP, you will need the following information:

The port that your modem is connected to:

/dev/ttyS0

-

/dev/ttyS3

, which correspond to

COM1-COM4 under MS-DOS.

The phone number of your ISP’s data connection.

The user name và password that your ISP gave you.

The IP addresses of the primary và possibly secondary Domain Name Service that you will use when
dialing in to the ISP. This assumes that you will not be using a DNS that you installed on your system.

When you have all of this information, make sure that the programs pppd và chat, tại the very
minimum, are installed correctly. In most current những bản phân phối, they are installed in the
[/usr/sbin/] directory, và you will need to be logged in as root to use them. In addition, the following
programs are also useful for configuring network connections, determining network status, và
diagnosing problems: [/sbin/ifconfig], [/sbin/route], [/bin/ping], [/usr/sbin/traceroute]. These are the
basic steps that you need to follow to configure PPP. You must be logged in as root.

51

Liên Kết Chia Sẽ

** Đây là liên kết chia sẻ bới cộng đồng người dùng, chúng tôi không chịu trách nhiệm gì về nội dung của các thông tin này. Nếu có liên kết nào không phù hợp xin hãy báo cho admin.