Những câu hỏi thường gặp về Linux
$ tail -f /var/log/ppp.log
On some systems the PPP output is directed to [/var/log/messages], in which case your system may not
have a dedicated PPP log file.
You should be also able to ping one of your ISP’s domain names (v.d.,
mail.isp.com
) và receive a
response.
These are the most basic steps for configuring a PPP connection. You will also need to take into account
what other network connections may be present (for example, if there’s an Ethernet connection that has
already been assigned the default route), as well as various security measures tại your ISP’s end. If
you’re having trouble making the dial-up connection, usually the best way to determine what may be
going wrong is to use Seyon, minicomm, kermit, or some other program to dial và log in manually to
the ISP, và determine just exactly what you have to do to log in, then duplicate that in the PPP scripts.
Most Linux documentation also has additional instructions for configuring PPP connections. Refer to
(“FTP của Linux ở đâu?”) (“Tài liệu ở đâu?”)
H:
Phiên bản Linux đang dùng và tên máy là gì?
Đ:
Type:
$ uname -a
H:
Tập tin “[core]” là gì?
Đ:
Tập tin
core
được tạo khi một chương trình kết thúc bất thường, vì chương trình có lỗi, hoặc vì vi
phạm cơ chế bảo vệ của phần cứng hoặc của hệ điều hành. Hệ điều hành sẽ buộc chấm dứt chương trình
và tạo tập tin [core], nhờ đó lập trình viên có thể hình dung ra cái gì sai. Tập tin đó chứa mô tả chi tiết
trạng thái của chương trình khi bị buộc chấm dứt.
Nếu bạn muốn biết tập tin core đó của chương trình nào, hãy dùng lệnh file như sau:
$ file core
Lệnh này sẽ cho bạn biết tên chương trình đã tạo ra core. You may want to write the maintainer(s) of the
program, telling them that their program dumped core.
Eric Hanchrow
H:
Làm thế nào để bật hoặc tắt tạo core?
Đ:
Hãy dùng lệnh ulimit trong bash, lệnh limit trong tcsh, hoặc lệnh rlimit trong ksh. Xem trang man
tương ứng để biết chi tiết.
This setting affects all programs run from the shell (directly or indirectly), not the whole system.
54