LinuxSir.cn,穿越时空的Linuxsir!

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

Broadband connection ADSL

[复制链接]
发表于 2005-8-21 23:35:54 | 显示全部楼层 |阅读模式
Hi folks,

BLFS 6.1
Broadband connection via ADSL modem/router to ethernet card

I have following packages including their necessary dependencies installed

RP-PPPoE-3.5
PPP-2.4.3
WvDial-1.54.0

Do I need to install Ethereal-0.10.12 ?

Apart to configure/setup following files
/etc/ppp/pppoe.conf
/etc/ppp/firewall-standalone
/etc/resolv.conf
/etc/ppp/pap-secrets,   

Following files will not be necessary;
/etc/ppp/firewall-masq
/etc/ppp/pppoe-server-options
/etc/ppp/chap-secrets

What other files need to be included

Please advise.  TIA

B.R.
satimis
发表于 2005-8-22 17:02:32 | 显示全部楼层
1. No need to install Ethereal.
2. you can use adsl-setup to config it after the RP-PPPoE is installed.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-23 08:57:37 | 显示全部楼层
Hi jackycxh

Tks for your advice.  I did adsl-setup/adsl-start/adsl-connect.  I could not connect broadband.

On running
# adsl-connect
following message displayed;
.....
Couldn't set tty to ppp discipline. Invalid argument
pppoe read (asyncReadTromPPP): Session 4691 : Input/Output error
........

I hesitate whether I need to recompile the kernel with support for ppp_async, pppoe, and pppox???

If YES, what component/package I need to install in addition to;
Linux-Libc-Headers-2.6.11.2
Linux-2.6.11.12
which are now running on LFS 6.1

Where is the kernel source on LFS 61.?

TIA

B.R.
satimis
回复 支持 反对

使用道具 举报

发表于 2005-8-23 09:01:04 | 显示全部楼层
you should mknod your ppp device in /dev,please check your lfs book.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-23 16:26:11 | 显示全部楼层
Hi duanxiangqaz,

Tks for your advice.

you should mknod your ppp device in /dev,please check your lfs book.
Please explain in more detail and where to find it.

Whether you meant Section 6.8. Populating /dev
http://www.linuxfromscratch.org/ ... pter06/devices.html

I already ran them on chroot.  I can't find such an item ppp device.

TIA

B.R.
satimis
回复 支持 反对

使用道具 举报

发表于 2005-8-24 00:26:42 | 显示全部楼层
I hesitate whether I need to recompile the kernel with support for ppp_async, pppoe, and pppox???


yes.


---------------------------
kernel source can be found in ftp.kernel.org
回复 支持 反对

使用道具 举报

发表于 2005-8-25 09:23:56 | 显示全部楼层
you should check whether your ppp device in your /dev directory.
if it exist,you need to recompile your kernel with support for ppp_async, pppoe, and pppox.
if it doesn't exist,this command need to run in your /dev directory.(mknod /dev/ppp c 108 0).
good luck!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-27 09:35:58 | 显示全部楼层
Hi duanxiangqaz,

you should check whether your ppp device in your /dev directory
It is there.  I'll recompile the kernel later after solving other problems.

BR
satimis
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-29 17:35:41 | 显示全部楼层

SOLVED

Hi folks,

After recompiling kernel turning on some items, e.g. support for ppp_async, pppoe, etc.  Ran 'adsl-setup' then broadband connection made.  Also configured it connected during booting.

B.R.
satimis
回复 支持 反对

使用道具 举报

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

本版积分规则

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