satimis 发表于 2005-7-26 18:16:08

How to connect LFS LiveCD to I

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

linky_fan 发表于 2005-7-26 23:04:27


LFS LiveCD

which one?

Does the eth0 setup correctly?

satimis 发表于 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 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

satimis 发表于 2005-7-27 01:01:41

Hi linky_fan,

LFS LiveCD 6.1-2

Solution found;
/usr/sbin/adsl start

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

linky_fan 发表于 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?? :P

satimis 发表于 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

linky_fan 发表于 2005-7-28 18:26:10


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.

Just in the README 8)

Good Luck :mrgreen:and DON'T forget to tell me ifyou succeed

satimis 发表于 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

linky_fan 发表于 2005-7-28 19:43:19


I'll change to other LiveCD

FanX :mrgreen: slax based livecd , well chinese support

satimis 发表于 2005-7-28 20:57:50

Hi linky_fan

FanX :mrgreen: slax based livecd , well chinese supportNoted 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
页: [1]
查看完整版本: How to connect LFS LiveCD to I