LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 780|回复: 10

How to connect LFS LiveCD to Internet

[复制链接]
发表于 2005-7-26 18:13:10 | 显示全部楼层 |阅读模式
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 19:02:24 | 显示全部楼层
plz use adsl-xxx:
(1)adsl-setup
(2)adsl-start
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-27 00:53:08 | 显示全部楼层
Hi wangtzh,

LFS LiveCD 6.1-2

Thanks for your advice

(1)adsl-setup
(2)adsl-start
it worked.  But on my case full path was required.

  1. /usr/sbin/adsl start
复制代码


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

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

TIA

B.R.
satimis
回复 支持 反对

使用道具 举报

发表于 2005-8-1 22:18:13 | 显示全部楼层
Maybe there aren't Chinese fonts in the livecd system...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-1 22:37:43 | 显示全部楼层
Hi wangtzh

Maybe there aren't Chinese fonts in the livecd system...
Yes indeed, no Chinese fonts installed.  I'm trying to solve this problem avioding REMASTER LFS LiveCD.  Nor get another distro LiveCD  I don't know whether to have Chinese fonts stored on the HD and give a path to it on xorg.conf can solve the problem.  But each time I have to mount the HD and restart 'startxfce.4'

B.R.
satimis
回复 支持 反对

使用道具 举报

发表于 2005-8-3 00:45:43 | 显示全部楼层
Post by satimis
  But each time I have to mount the HD and restart 'startxfce.4'

What's the matter about it?
I think you can try to give a path to the fonts on /etc/fonts/fonts.conf.
Then run "fc-cache -v" and startxfce.4
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-3 23:25:50 | 显示全部楼层
Hi wangtzh,

Tks for your advice.

What's the matter about it?
I think you can try to give a path to the fonts on /etc/fonts/fonts.conf.
Then run "fc-cache -v" and startxfce.4
Where shall I keep the fonts file, on the Hard Drive or Floppy (I think not enough space) or on RamStick.  Then

- edit /etc/fonts/fonts.conf
- mount HD
- run "fc-cache -v"
- re-start "startxfce.4"

But on next boot I have to repeat these steps again.

B.R.
satimis
回复 支持 反对

使用道具 举报

发表于 2005-8-4 18:25:49 | 显示全部楼层
Post by satimis


Where shall I keep the fonts file, on the Hard Drive or Floppy (I think not enough space) or on RamStick.   



I think you can keep the fonts file on the Hard Drive,for example /dev/hda5,then mount it,edit /etc/fonts/fonts.conf/,fc-cache...
Post by satimis
But on next boot I have to repeat these steps again.

You can copy the fonts.conf you modified to the HD,then write a shell script file to do this automatilly.
The file should include:
  mount /dev/hda5 /XXX
  cp /XXX/fonts.conf /etc/fonts
  ...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-6 11:34:53 | 显示全部楼层
Hi wangtzh,

I think you can keep the fonts file on the Hard Drive.........
Noted with thanks.  I'm thinking how to store the Chinese fonts and the bash script on a floopy so that it can be automatically detected on each boot.

Any suggestion?   Any folk on the forum having input???  TIA

B.R.
satimis
回复 支持 反对

使用道具 举报

发表于 2005-8-6 11:51:30 | 显示全部楼层
Post by satimis
I'm thinking how to store the Chinese fonts and the bash script on a floopy so that it can be automatically detected on each boot.

It semms impossible if you don't want to modify the LFSLiveCD :confused:
回复 支持 反对

使用道具 举报

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

本版积分规则

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