QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3054|回复: 19

请问在LFS6.1中用ADSL上网需如何设置?

[复制链接]
发表于 2005-8-19 14:53:05 | 显示全部楼层 |阅读模式
我使用的网卡是RTL8139,我已把它编译进内核。运行adsl-setup时我只填写了用户名和密码,其它的都是默认没有设置。运行adsl-start如下:
root@Fine-Lok:/# adsl-start
................TIMED OUT
/usr/sbin/adsl-start: line 193: 7756 Terminated $CONNECT "$@" >/dev/null 2>&1
root@Fine-Lok:/#
请问我还要设置什么地方。谢谢。
发表于 2005-8-19 22:38:34 | 显示全部楼层
贴出ifconfig 的结果和route -rn的结果看看
回复

使用道具 举报

 楼主| 发表于 2005-8-20 23:11:17 | 显示全部楼层
hi linky_fan
谢谢你的回复,我的ifconfig和route -n如下:
root@Fine-Lok:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:EB:F0:04:86
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:120 (120.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Base address:0xc000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

root@Fine-Lok:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.1.2     0.0.0.0         UG    0      0        0 eth0
root@Fine-Lok:~#
回复

使用道具 举报

发表于 2005-8-20 23:36:40 | 显示全部楼层
cat /etc/resolv.conf看看dns设置如何
回复

使用道具 举报

发表于 2005-8-21 01:35:59 | 显示全部楼层
都timeout了,看dns有个鸟用?
先监察你打内核支持pppoe不,没有的话,重新编译加上pppoe的支持。
回复

使用道具 举报

 楼主| 发表于 2005-8-21 11:28:39 | 显示全部楼层
hi demonlj
[quote:416c44a4d8="demonlj"]cat /etc/resolv.conf看看dns设置如何[/quote]
谢谢你的回复,我的resolv.conf如下:
root@Fine-Lok:/# cat /etc/resolv.conf
# Begin /etc/resolv.conf

domain {Edwin}
nameserver 202.96.128.86
nameserver 202.96.128.166

# End /etc/resolv.conf
root@Fine-Lok:/#

hi druggo
[quote:416c44a4d8="druggo"]都timeout了,看dns有个鸟用?
先监察你打内核支持pppoe不,没有的话,重新编译加上pppoe的支持。[/quote]
谢谢你的回复,我的.config如下:
root@Fine-Lok:/# cat /usr/src/linux-2.6.11.12/.config
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.11.12
# Thu Aug 18 19:21:56 2005
#
。。。。。。。。。
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
CONFIG_8139CP=y
CONFIG_8139TOO=y
CONFIG_8139TOO_PIO=y
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
CONFIG_8139_OLD_RX_RESET=y
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
CONFIG_S2IO=m
# CONFIG_S2IO_NAPI is not set
# CONFIG_2BUFF_MODE is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# ATM drivers
#
# CONFIG_ATM_TCP is not set
# CONFIG_ATM_LANAI is not set
# CONFIG_ATM_ENI is not set
# CONFIG_ATM_FIRESTREAM is not set
# CONFIG_ATM_ZATM is not set
# CONFIG_ATM_NICSTAR is not set
# CONFIG_ATM_IDT77252 is not set
# CONFIG_ATM_AMBASSADOR is not set
# CONFIG_ATM_HORIZON is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E_MAYBE is not set
# CONFIG_ATM_HE is not set
CONFIG_FDDI=y
CONFIG_DEFXX=m
CONFIG_SKFP=m
CONFIG_HIPPI=y
CONFIG_ROADRUNNER=m
CONFIG_ROADRUNNER_LARGE_RINGS=y
CONFIG_PLIP=m
CONFIG_PPP=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPPOE=y
# CONFIG_PPPOATM is not set
# CONFIG_SLIP is not set
CONFIG_NET_FC=y
CONFIG_SHAPER=m
# CONFIG_NETCONSOLE is not set

#
# ISDN subsystem
#
CONFIG_ISDN=m
。。。。。。。。。。。
。。。。。。。。。。
谢问还需如果设置,谢谢。
回复

使用道具 举报

发表于 2005-8-21 20:40:50 | 显示全部楼层
0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0

这个默认路由是哪里设的, 去掉再adsl-start看看
回复

使用道具 举报

 楼主| 发表于 2005-8-21 22:14:10 | 显示全部楼层
hi linky_fan
root@Fine-Lok:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
root@Fine-Lok:~# adsl-start
................TIMED OUT
root@Fine-Lok:~# dmesg
Linux version 2.6.11.12 (root@Fine-Lok) (gcc version 3.4.3) #1 SMP Fri Aug 12 23:10:35 CST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000000f00000 (usable)
BIOS-e820: 0000000000f00000 - 0000000001000000 (reserved)
BIOS-e820: 0000000001000000 - 0000000010000000 (usable)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
256MB LOWMEM available.
On node 0 totalpages: 65536
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61440 pages, LIFO batch:15
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 10000000 (gap: 10000000:efb00000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=LFS6.1 ro root=302
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01242000)
Initializing CPU#0
CPU 0 irqstacks, hard=c060d000 soft=c0605000
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1202.954 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 252468k/262144k available (3464k kernel code, 8164k reserved, 1420k data, 228k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2375.68 BogoMIPS (lpj=1187840)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel(R) Celeron(TM) CPU                1200MHz stepping 01
per-CPU timeslice cutoff: 731.53 usecs.
task migration cache decay timeout: 1 msecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
CPU0 attaching sched-domain:
domain 0: span 01
  groups: 01
  domain 1: span 01
   groups: 01
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb170, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:1e.0
PCI: Using IRQ router PIIX/ICH [8086/2440] at 0000:00:1f.0
PCI: IRQ 0 for device 0000:00:1f.3 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 11 for device 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
PCI: Sharing IRQ 11 with 0000:02:01.0
Machine check exception polling timer started.
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1124659381.823:0): initialized
Installing knfsd (copyright (C) 1996 [email protected]).
NTFS driver 2.1.22 [Flags: R/W DEBUG].
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i815 Chipset.
agpgart: Maximum main memory to use for agp memory: 204M
agpgart: AGP aperture is 64M @ 0xd8000000
[drm] Initialized drm 1.0.0 20040925
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 [PCSPP(,...)]
lp0: using parport0 (polling).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
e100: Intel(R) PRO/100 Network Driver, 3.3.6-k2-NAPI
e100: Copyright(c) 1999-2004 Intel Corporation
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: pci dev 0000:02:01.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 11 for device 0000:02:01.0
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
eth0: RealTek RTL8139 at 0xc000, 00:0a:eb:f0:04:86, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 0000:00:1f.1
ICH2: chipset revision 5
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: QUANTUM FIREBALL CR8.4A, ATA DISK drive
hdb: Maxtor 2B020H1, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SAMSUNG SV2001H, ATA DISK drive
hdd: ATAPI-CD ROM-DRIVE-52MAX, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 16514064 sectors (8455 MB) w/418KiB Cache, CHS=16383/16/63, UDMA(33)
hda: cache flushes not supported
hda: hda1 hda2
hdb: max request size: 128KiB
hdb: 40020624 sectors (20490 MB) w/2048KiB Cache, CHS=39703/16/63, UDMA(33)
hdb: cache flushes not supported
hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 > hdb4
hdc: max request size: 128KiB
hdc: 39179952 sectors (20060 MB) w/1945KiB Cache, CHS=38869/16/63, UDMA(33)
hdc: cache flushes supported
hdc: hdc1
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
libata version 1.10 loaded.
st: Version 20041025, fixed bufsize 32768, s/g segs 256
ieee1394: raw1394: /dev/raw1394 device initialized
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 11 for device 0000:00:1f.2
uhci_hcd 0000:00:1f.2: Intel Corp. 82801BA/BAM USB (Hub #1)
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: irq 11, io base 0xd000
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Found IRQ 9 for device 0000:00:1f.4
uhci_hcd 0000:00:1f.4: Intel Corp. 82801BA/BAM USB (Hub #2)
PCI: Setting latency timer of device 0000:00:1f.4 to 64
uhci_hcd 0000:00:1f.4: irq 9, io base 0xd400
uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-1: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
input: USB HID v1.00 Mouse [USB Wheel Mouse] on usb-0000:00:1f.2-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
Intel 810 + AC97 Audio, version 1.01, 23:07:10 Aug 12 2005
PCI: Found IRQ 11 for device 0000:00:1f.5
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:02:01.0
PCI: Setting latency timer of device 0000:00:1f.5 to 64
i810: Intel ICH2 found at IO 0xdc00 and 0xd800, MEM 0x0000 and 0x0000, IRQ 11
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
ac97_codec: AC97 Audio codec, id: ALG16 (ALC200/200P)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
i810_audio: setting clocking to 48607
Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 2005 UTC).
unable to register OSS PCM device 0:0
unable to register OSS mixer device 0:0
ALSA device list:
  #0: Dummy 1
oprofile: using timer interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
ip_conntrack version 2.1 (2048 buckets, 16384 max) - 220 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <[email protected]>.  http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ReiserFS: hda2: found reiserfs format "3.6" with standard journal
ReiserFS: hda2: using ordered data mode
ReiserFS: hda2: journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda2: checking transaction log (hda2)
ReiserFS: hda2: journal-1153: found in header: first_unflushed_offset 6653, last_flushed_trans_id 33655
ReiserFS: hda2: journal-1206: Starting replay from offset 144551419320829, trans_id 0
ReiserFS: hda2: journal-1299: Setting newest_mount_id to 99
ReiserFS: hda2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 228k freed
Adding 530136k swap on /dev/hdb2.  Priority:-1 extents:1
nvidia: module license 'NVIDIA' taints kernel.
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar 22 06:44:39 PST 2005
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
ipv6: Unknown symbol xfrm_user_policy
ipv6: Unknown symbol xfrm_lookup
ipv6: Unknown symbol xfrm_state_alloc
ipv6: Unknown symbol xfrm_state_check_expire
ipv6: Unknown symbol xfrm_state_lookup
ipv6: Unknown symbol __xfrm_policy_check
ipv6: Unknown symbol __xfrm_state_destroy
ipv6: Unknown symbol crypto_alloc_tfm
ipv6: Unknown symbol xfrm_replay_check
ipv6: Unknown symbol xfrm_policy_unregister_afinfo
ipv6: Unknown symbol secure_tcpv6_sequence_number
ipv6: Unknown symbol ipv6_skip_exthdr
ipv6: Unknown symbol xfrm_state_check
ipv6: Unknown symbol __secpath_destroy
ipv6: Unknown symbol xfrm_parse_spi
ipv6: Unknown symbol xfrm_policy_list
ipv6: Unknown symbol __xfrm_route_forward
ipv6: Unknown symbol crypto_free_tfm
ipv6: Unknown symbol km_waitq
ipv6: Unknown symbol ipv6_ext_hdr
ipv6: Unknown symbol xfrm_replay_advance
ipv6: Unknown symbol xfrm_state_unregister_afinfo
ipv6: Unknown symbol xfrm_dst_lookup
ipv6: Unknown symbol xfrm_policy_register_afinfo
ipv6: Unknown symbol xfrm_state_register_afinfo
ipv6: Unknown symbol secpath_dup
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
ReiserFS: hdb4: found reiserfs format "3.6" with standard journal
ReiserFS: hdb4: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: hdb4: warning: - it is slow mode for debugging.
ReiserFS: hdb4: using ordered data mode
ReiserFS: hdb4: journal params: device hdb4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb4: checking transaction log (hdb4)
ReiserFS: hdb4: journal-1153: found in header: first_unflushed_offset 199, last_flushed_trans_id 54851
ReiserFS: hdb4: journal-1206: Starting replay from offset 235587546120391, trans_id 0
ReiserFS: hdb4: journal-1299: Setting newest_mount_id to 135
ReiserFS: hdb4: Using r5 hash to sort names
spurious 8259A interrupt: IRQ7.
root@Fine-Lok:~#
回复

使用道具 举报

发表于 2005-8-21 23:30:24 | 显示全部楼层
你的dmesg里怎么没有看到ppp的内容啊?
要不
重新adsl-setup一次看看
回复

使用道具 举报

 楼主| 发表于 2005-8-22 18:57:08 | 显示全部楼层
hi druggo
谢谢你的回复
你的dmesg里怎么没有看到ppp的内容啊?

我也觉得奇怪,我在slackware上网正常,slackware的dmesg如下:
bash-3.00$ dmesg
Linux version 2.6.10 (root@midas) (gcc version 3.3.4) #1 Sat Jan 22 12:49:12 PST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000000f00000 (usable)
BIOS-e820: 0000000000f00000 - 0000000001000000 (reserved)
BIOS-e820: 0000000001000000 - 0000000010000000 (usable)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
256MB LOWMEM available.
On node 0 totalpages: 65536
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61440 pages, LIFO batch:15
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: Unable to locate RSDP
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Slack2.6.10 ro root=344
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1202.968 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 254808k/262144k available (1816k kernel code, 5828k reserved, 812k data, 164k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2375.68 BogoMIPS (lpj=1187840)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000
CPU: After vendor identify, caps:  0383f9ff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps:        0383f9ff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel(R) Celeron(TM) CPU                1200MHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 358k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb170, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20041105
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:1e.0
PCI: Using IRQ router PIIX/ICH [8086/2440] at 0000:00:1f.0
PCI: IRQ 0 for device 0000:00:1f.3 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 11 for device 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
PCI: Sharing IRQ 11 with 0000:02:01.0
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: framebuffer at 0xd0000000, mapped to 0xd0800000, using 1875k, total 32768k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: protected mode interface info at c000:c060
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
elevator: using anticipatory as default io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 0000:00:1f.1
ICH2: chipset revision 5
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: QUANTUM FIREBALL CR8.4A, ATA DISK drive
hdb: Maxtor 2B020H1, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SAMSUNG SV2001H, ATA DISK drive
hdd: ATAPI-CD ROM-DRIVE-52MAX, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hda: max request size: 128KiB
hda: 16514064 sectors (8455 MB) w/418KiB Cache, CHS=16383/16/63, UDMA(33)
hda: cache flushes not supported
hda: hda1 hda2
hdb: max request size: 128KiB
hdb: 40020624 sectors (20490 MB) w/2048KiB Cache, CHS=39703/16/63, UDMA(33)
hdb: cache flushes not supported
hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 > hdb4
hdc: max request size: 128KiB
hdc: 39179952 sectors (20060 MB) w/1945KiB Cache, CHS=38869/16/63, UDMA(33)
hdc: cache flushes supported
hdc: hdc1
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 3276
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
ReiserFS: hdb4: found reiserfs format "3.6" with standard journal
ReiserFS: hdb4: using ordered data mode
ReiserFS: hdb4: journal params: device hdb4, size 8192, journal first block 18,max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb4: checking transaction log (hdb4)
ReiserFS: hdb4: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 164k freed
Adding 530136k swap on /dev/hdb2.  Priority:-1 extents:1
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
Linux agpgart interface v0.100 (c) Dave Jones
ReiserFS: hdb1: found reiserfs format "3.6" with standard journal
ReiserFS: hdb1: using ordered data mode
ReiserFS: hdb1: journal params: device hdb1, size 8192, journal first block 18,max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb1: checking transaction log (hdb1)
ReiserFS: hdb1: Using r5 hash to sort names
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
Intel ISA PCIC probe: not found.
Device 'i823650' does not have a release() function, it is broken and must be fixed.
Badness in device_release at drivers/base/core.c:85
[<c018cb83>] kobject_cleanup+0x83/0x90
[<c018cb90>] kobject_release+0x0/0x10
[<c018d4e3>] kref_put+0x33/0x80
[<c018cbb6>] kobject_put+0x16/0x20
[<c018cb90>] kobject_release+0x0/0x10
[<d0bc32ff>] init_i82365+0x18f/0x1a6 [i82365]
[<c012aca2>] sys_init_module+0x112/0x1a0
[<c0102d17>] syscall_call+0x7/0xb
Databook TCIC-2 PCMCIA probe: not found.
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 11 for device 0000:02:01.0
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xc000, 00:0a:eb:f0:04:86, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
nvidia: module license 'NVIDIA' taints kernel.
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar 22 06:44:39 PST 2005
PCI: Found IRQ 11 for device 0000:00:1f.5
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:02:01.0
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49178 usecs
intel8x0: clocking to 48000
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 11 for device 0000:00:1f.2
uhci_hcd 0000:00:1f.2: Intel Corp. 82801BA/BAM USB (Hub #1)
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: irq 11, io base 0xd000
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Found IRQ 9 for device 0000:00:1f.4
uhci_hcd 0000:00:1f.4: Intel Corp. 82801BA/BAM USB (Hub #2)
PCI: Setting latency timer of device 0000:00:1f.4 to 64
uhci_hcd 0000:00:1f.4: irq 9, io base 0xd400
uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
usb 1-1: new low speed USB device using uhci_hcd and address 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
input: USB HID v1.00 Mouse [USB Wheel Mouse] on usb-0000:00:1f.2-1
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
agpgart: Detected an Intel i815 Chipset.
agpgart: Maximum main memory to use for agp memory: 204M
agpgart: AGP aperture is 64M @ 0xd8000000
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: RNG not detected
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
NET: Registered protocol family 10
Disabled Privacy Extensions on device c035d440(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
divert: not allocating divert_blk for non-ethernet device ppp0
eth0: no IPv6 routers present
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
spurious 8259A interrupt: IRQ7.
bash-3.00$
与LFS中的dmesg对比这里有PPP generic driver version 2.4.2
但在LFS中我也安装PPP和RP-PPPOE,谢问我应该如果做
回复

使用道具 举报

发表于 2005-8-22 19:01:43 | 显示全部楼层
have you compiled ppp & pppoe support in your kernel of LFS ?
回复

使用道具 举报

 楼主| 发表于 2005-8-22 19:38:45 | 显示全部楼层
hi druggo
我是按blfs6.1文档编译ppp & pppoe的。
How can i compile ppp & pppoe support in my kernel of LFS?
我应该如何检查compiled ppp & pppoe support in my kernel of LFS?
谢谢。
回复

使用道具 举报

发表于 2005-8-22 20:32:10 | 显示全部楼层
just check your config file, are you sure you had those as below ?
CONFIG_PPP=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPPOE=y
回复

使用道具 举报

 楼主| 发表于 2005-8-22 21:21:37 | 显示全部楼层
hi druggo
just check your config file, are you sure you had those as below ?
CONFIG_PPP=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPPOE=y

YES,上面的贴子有我的.config。谢谢。
回复

使用道具 举报

发表于 2005-8-22 21:38:00 | 显示全部楼层
我怀疑,因为你的dmesg里根本没有初始化ppp的信息……
莫非你弄的ipv6的问题?
重新adsl-setup一次试试

看来我是帮不了你了……
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-4 22:29 , Processed in 0.089981 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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