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
#

Sudo touch/usr/share/fonts
Sudo touch/usr/share/fonts/X11
Sudo touch/usr/share/fonts/X11/100 dpi
Sudo touch/usr/share/fonts/X11/75 dpi
Sudo touch/usr/share/fonts/X11/Type1
Sudo touch/usr/share/fonts/X11/encodings
Sudo touch/usr/share/fonts/X11/encodings/large
Sudo touch/usr/share/fonts/X11/misc
Sudo touch/usr/share/fonts/X11/util
Sudo touch/usr/share/fonts/truetype
Sudo touch/usr/share/fonts/truetype/arphic
Sudo touch/usr/share/fonts/truetype/baekmuk
Sudo touch/usr/share/fonts/truetype/freefont
Sudo touch/usr/share/fonts/truetype/kochi
Sudo touch/usr/share/fonts/truetype/openoffice
Sudo touch/usr/share/fonts/truetype/thai
Sudo touch/usr/share/fonts/truetype/ttf-arabeyes
Sudo touch/usr/share/fonts/truetype/ttf-bengali-fonts
Sudo touch/usr/share/fonts/truetype/ttf-bitstream-vera
Sudo touch/usr/share/fonts/truetype/ttf-dejavu
Sudo touch/usr/share/fonts/truetype/ttf-devanagari-fonts
Sudo touch/usr/share/fonts/truetype/ttf-gentium
Sudo touch/usr/share/fonts/truetype/ttf-gujarati-fonts
Sudo touch/usr/share/fonts/truetype/ttf-kannada-fonts
Sudo touch/usr/share/fonts/truetype/ttf-lao
Sudo touch/usr/share/fonts/truetype/ttf-malayalam-fonts
Sudo touch/usr/share/fonts/truetype/ttf-mgopen
Sudo touch/usr/share/fonts/truetype/ttf-oriya-fonts
Sudo touch/usr/share/fonts/truetype/ttf-punjabi-fonts
Sudo touch/usr/share/fonts/truetype/ttf-tamil-fonts
Sudo touch/usr/share/fonts/truetype/ttf-telugu-fonts
Sudo touch/usr/share/fonts/type1
Sudo touch/usr/share/fonts/type1/gsfonts
Sudo touch/usr/share/X11/fonts
Sudo touch/usr/share/X11/fonts/100 dpi
Sudo touch/usr/share/X11/fonts/75 dpi
Sudo touch/usr/share/X11/fonts/Type1
Sudo touch/usr/share/X11/fonts/encodings
Sudo touch/usr/share/X11/fonts/encodings/large
Sudo touch/usr/share/X11/fonts/misc
Sudo touch/usr/share/X11/fonts/util
Sudo touch/usr/local/share/fonts
Sudo touch/var/lib/defoma/fontconfig. d
Sudo touch/var/lib/defoma/fontconfig. d/
Sudo touch/var/lib/defoma/fontconfig. d/B
Sudo touch/var/lib/defoma/fontconfig. d/C
Sudo touch/var/lib/defoma/fontconfig. d/D
Sudo touch/var/lib/defoma/fontconfig. d/E
Sudo touch/var/lib/defoma/fontconfig. d/F
Sudo touch/var/lib/defoma/fontconfig. d/G
Sudo touch/var/lib/defoma/fontconfig. d/H
Sudo touch/var/lib/defoma/fontconfig. d/J
Sudo touch/var/lib/defoma/fontconfig. d/K
Sudo touch/var/lib/defoma/fontconfig. d/L
Sudo touch/var/lib/defoma/fontconfig. d/M
Sudo touch/var/lib/defoma/fontconfig. d/N
Sudo touch/var/lib/defoma/fontconfig. d/O
Sudo touch/var/lib/defoma/fontconfig. d/P
Sudo touch/var/lib/defoma/fontconfig. d/R
Sudo touch/var/lib/defoma/fontconfig. d/S
Sudo touch/var/lib/defoma/fontconfig. d/T
Sudo touch/var/lib/defoma/fontconfig. d/U
Sudo touch/var/lib/defoma/fontconfig. d/V
Sudo touch/var/lib/defoma/fontconfig. d/
Sudo touch/var/lib/defoma/fontconfig. d/j
Sudo touch/var/lib/defoma/fontconfig. d/m
Sudo touch/var/lib/defoma/fontconfig. d/u


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

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.