QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1255|回复: 9

How to connect LFS LiveCD to I

[复制链接]
发表于 2005-7-26 18:16:08 | 显示全部楼层 |阅读模式
Hi folks,

'xfce' is running on LFS LiveCD as desktop.  I tried to get the PC connected to broadband without success.  pppoe has been configured using GUI on xfce desktop.  After clicking 'finish' its window closed but without connecting broadband.

# ping -c 3 www.yahoo.com
without response.

I tried to run following command on console

# pppoe
# pppoe start

without result.

Please advise.  TIA

B.R.
satimis
发表于 2005-7-26 23:04:27 | 显示全部楼层
LFS LiveCD

which one?

Does the eth0 setup correctly?
回复

使用道具 举报

 楼主| 发表于 2005-7-26 23:24:59 | 显示全部楼层
Hi linky_fan,
LFS LiveCD
which one?

lfslivecd-x86-6.1-2

Does the eth0 setup correctly?
Yes.  eth0 detected automatically.  pppoe setup completed.  After pressing [Enter] at 'finish" the setup window closed.  However connection did not start.  ping on console has no function.  I have no idea which command line to be run on console to start connection if it did not connect automatically after setup as other distro do.

Tks.

B.R.
satimis
回复

使用道具 举报

 楼主| 发表于 2005-7-27 01:01:41 | 显示全部楼层
Hi linky_fan,

LFS LiveCD 6.1-2

Solution found;
[code:1]/usr/sbin/adsl start[/code:1]

Internet can now be connected.  A further question, how to read Chinese on Internet browser in English locale.

View -> Character Encoding-> Simplified Chinese (GBK/GB2313/etc.)
all did not work including Unicode

TIA

B.R.
satimis
回复

使用道具 举报

发表于 2005-7-28 15:11:09 | 显示全部楼层
It is just because you havn't Chinese fonts in your system , cp some fonts and nano the X-config-file (add the path ) , In the  美化版 there are many articles, try a search??
回复

使用道具 举报

 楼主| 发表于 2005-7-28 15:45:39 | 显示全部楼层
Hi linky_fan,

Tks for your advice.  I'm prepared to run LFS LiveCD 6.1 for buidling LFS only.  I'm not prepared to Remastering it.

It is just because you havn't Chinese fonts in your system , cp some fonts and nano the X-config-file (add the path ) , In the  美化版 there are many articles, try a search??
I can't save the Chinese font path permanently on /etc/X11/xorg.conf

Therefore on my case I have to repeat this step each time on running LFS LiveCD.  Any solution?

B.R.
satimis
回复

使用道具 举报

发表于 2005-7-28 18:26:10 | 显示全部楼层
[code:1]
CUSTOMIZING THE CD CONTENTS
================
It is possible to burn a customized version of the official Linux From
Scratch LiveCD, with your own files added. To do that, follow the
instructions below.

* Burn the official CD in multi session mode:
    cdrecord dev=/dev/cdrom -v -multi -tao lfslivecd-x86-1-[version].iso

* Prepare a directory with the files you want to add, delete or change:
    mkdir second-session && cd second-session
    vim path/to/new-file
    vim path/to/file-to-be-changed
    touch path/to/.wh.file-to-be-deleted
    cd ..

* Make an image contatining those files:
    mkisofs -M lfslivecd-x86-6.1-1-[version].iso \
        -C `cdrecord -msinfo dev=/dev/cdrom` \
        -R -o second-session.iso second-session

* Append the image you just created to the official Linux From Scratch
  LiveCD:
    cdrecord dev=/dev/cdrom -v -multi -tao second-session.iso


AUTOSSHD
================
It is possible to start the sshd daemon automatically upon boot. To do that,
you have to customize the CD as described above. Add the following files:

* /.autosshd
    This is the file that indicates that the sshd daemon should be
    started automatically. It should be empty.

* /root/.ssh/authorized_keys
    Add your public key to that file in order to be able to log in.
    Alternatively, modify /etc/shadow.

* /etc/shadow
    Edit this file if you want to allow root to login using a password via
    ssh. It is more secure to use public key based authentication instead.

* /etc/ssh/ssh_host_dsa_key, /etc/ssh/ssh_host_rsa_key
    Create those files as described in the ssh-keygen(1) manual page. If you
    don't fo that, random host keys will be generated for you automatically
    during the boot process. This is less secure, because you can't verify
    them.

* /etc/sysconfig/network-devices/ifconfig.eth0
    Configure a known static IP address there, as described in the LFS book,
    section "7.12. Configuring the network Script".

INTERNATIONALIZATION
================
It is possible to specify the locale and the console keymap using the
bootloader prompt, like this:

  linux LANG=es_ES.ISO-8859-1 KEYMAP=es

Alternatively, these items can be configured interactively using dialog-based
interface if the locale is not specified on the boot prompt. The bootscripts
will guess the proper screen font for you in either case.

Only locales with 8-bit characters and left-to-right writing order are
supported. UTF-8 based locales do not work on this CD. Many applications (e.g.
gawk, lynx, mutt) are known to function incorrectly in such locales, and
console input is not configured properly in them.

By default, the Euro character is not added to the keymap. You can add it
manually later by typing:

  loadkeys euro

(this will put the Euro sign and Eurocent to Alt+E and Alt+C, respectively)
or

  loadkeys euro1

(this will put the Euro sign and Eurocent to AltGr+5 and AltGr+C, respectively)
or

  loadkeys euro2

(this will put the Euro sign and Eurocent to AltGr+E and AltGr+C, respectively)

For some locales (e.g. lv_LV.ISO-8859-13) there is no valid console keymap,
but there is a keymap for X. In this case, the only solution is to use X.

While this CD configures the LANG environment variable, console font and
keymap for you, it's your responsibility to configure other locale-dependent
parameters manually. You may want to configure the X keymap in
/etc/X11/xorg.conf, character sets for SAMBA in /etc/samba/smb.conf, and to
explicitly specify the "iocharset" and "codepage" options when mounting
filesystems with Windows origin (e.g., vfat and isofs).

The CD contains TrueType fonts that cover the orthography of most of European
languages. No additional configuration is required in order to use them.
[/code:1]
Just in the README

Good Luck   and DON'T forget to tell me if  you succeed
回复

使用道具 举报

 楼主| 发表于 2005-7-28 19:00:02 | 显示全部楼层
Hi linky_fan,

Tks for your advice and document.

Unless I Remaster the LFS LiveCD it is not convenient for me using it building LFS.  I'll change to other LiveCD.  The advantage on using LFS LiveCD is quick loading because of its small size benefitted by Xfce desktop.

B.R.
satimis
回复

使用道具 举报

发表于 2005-7-28 19:43:19 | 显示全部楼层
I'll change to other LiveCD

FanX slax based livecd , well chinese support
回复

使用道具 举报

 楼主| 发表于 2005-7-28 20:57:50 | 显示全部楼层
Hi linky_fan

FanX slax based livecd , well chinese support
Noted with thanks.  

There are many LiveCDs available for free download.  Some of them can even input Chinese just as this one which I'm replying your posting.  It is a Chinese Knoppix LiveCD built by Taiwan folks.  Input Chinese is also available.  Unfortunately I'm only knowledgeable on inputing Traditional Chinese with Cangjie input method.  Up to now I'm still searching a method to key-in Cangjie strokes but displaying Simplified Chinese (output).  Their mapping are different.  I can use a converter to convert Traditional Chinese to Simplified Chinese.  But this method is not convenient in writing email/posting.

I'm in favour of using a LiveCD in English version to build LFS because the menu being in English, easy for reference, but with Chinese support to read the same, i.e. a font path linked to Chinese font directory on /etc/X11/xorg.conf.

B.R.
satimis
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-19 21:18 , Processed in 0.049880 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表