Solution to the Problem of automatic dialing failure for pppoe under ubuntu7.04
Source: Internet
Author: User
PART1 solves the failedtowritecache problem. Recently, I sent a nervous system to solve the linux problem. After I installed the Chinese support, the problem came and the system became so slow, the following Updatingfontconfigcache is displayed during APT-GET... /usr/share/fonts/X11: failedtowritecache/usr/share/fonts/X11/100 dpi: fa PART 1 solves the problem of failed to write cache
Recently, I sent a nervous system to linux, re-installed it, and installed Chinese support. The problem is that everything in the system has become very slow, and the following is displayed during APT-GET:
Updating fontconfig cache...
/Usr/share/fonts/X11: failed to write cache
/Usr/share/fonts/x 11/100 dpi: failed to write cache
/Usr/share/fonts/X11/75 dpi: failed to write cache
/Usr/share/fonts/X11/Type1: failed to write cache
/Usr/share/fonts/X11/encodings: failed to write cache
..
If this problem occurs in your system during the APT process, continue.
I found a script on the Internet to solve this problem. I made it into a script or copied it directly to the terminal to run it. Then I got it done.
#! /Bin/bash
#
# Fixed the Ubuntu 7.04 fc-cache failed to write cache Error
#
PART 2 cannot automatically perform pppoe dialing after the system is started.
Generally, automatic dialing is recommended when sudo pppoeconf is used, but it is not useful this time...
The solution is as follows:
Run on the terminal
Sudo gedit/etc/network/interfaces
Edit the configuration file
Add the following text to the end of the configuration file.
# Added by pppoeconf
Auto eth0
Iface eth0 inet manual
Pre-up/sbin/ifconfig eth0 up # line maintained by pppoeconf
Auto dsl-provider
Iface dsl-provider inet ppp
Provider dsl-provider
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