QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2272|回复: 35

心情及差~

[复制链接]
发表于 2004-6-18 22:17:56 | 显示全部楼层 |阅读模式
刚刚把ML的内核升级到2.6.7(花了我2个小时)   

猫的驱动还不能正常编译(在2.6.6下就不好用)

来这里发发牢骚

顺便把问题贴出来,请大家帮着解决

[code:1]VPI=0 VCI=33

PPP over Ethernet llcsnad(RCF2516)

Idle G.dmt

[/code:1]

[code:1]
[root@Love root]# cxstart.sh
>>> Inits Conexant AccessRunner <<<

>>> Loading firmware...
Conexant AccessRunner microcode upload program. 6/9/2003
Josep Comas <[email protected]>
See credits in documentation

I found ADSL modem with VendorID = 0572 & ProductID = cb00
Loading and sending /usr/sbin/cxfirm4.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up (until 90 seconds)...
.........
ADSL line is up (Downstream 1024 Kbits/s, Upstream 256 Kbits/s)
>>> Loading driver...
FATAL: Module crc32 not found.
Launching driver in normal mode...

/usr/sbin/cxload.sh successful
Setting PPP over Ethernet...
>>> Setting PPPoE <<<

>>> Loading br2684 kernel module...

>>> Loading ppp_generic...

>>> Loading br2684ctl...
Conexant AccessRunner ioctl call. 6/9/2003
Josep Comas <[email protected]>
See credits in documentation

I found ADSL modem with VendorID = 0572 & ProductID = cb00
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.0.33, encapsulation: LLC
RFC1483/2684 bridge: Interface configured

>>> Activating interface...
>>> Activating send/receive data...

>>> Loading pppd daemon...

/usr/sbin/cxnet4up.sh successful
[root@Love root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:5C:B80:9F
inet addr:198.126.254.8 Bcast:198.126.254.255 Mask:255.255.255.0
inet6 addr: fe80::210:5cff:feb809f/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:3498 (3.4 Kb)
Interrupt:11 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1488 (1.4 Kb) TX bytes:1488 (1.4 Kb)

nas0 Link encap:Ethernet HWaddr 00:C0:49:48:E9:B3
inet6 addr: fe80::2c0:49ff:fe48:e9b3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:512 (512.0 b)

ppp0 Link encapoint-to-Point Protocol
inet addr:10.112.112.112 P-t-P:10.112.112.113 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:73 (73.0 b)

[root@Love root]#                              
[/code:1]

This is "cxacru" file

#
# Config file for Conexant AccessRunner
#

# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (without ask adsl status)

# Protocol
PROTOCOL_MODE=4 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)

# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""

# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=4

# ATM
VPI=0
VCI=33

# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=255.255.255.0
GATEWAY=


[code:1][root@Love root]# ping 216.239.57.99
PING 216.239.57.99 (216.239.57.99) 56(84) bytes of data.

--- 216.239.57.99 ping statistics ---
82 packets transmitted, 0 received, 100% packet loss, time 81018ms

[root@Love root]# ping www.google.com
ping: unknown host www.google.com
[root@Love root]# [/code:1]
 楼主| 发表于 2004-6-19 07:17:25 | 显示全部楼层
怎么没人回帖呀?

回复

使用道具 举报

发表于 2004-6-19 08:01:15 | 显示全部楼层
lovewilliam, 发到技术支持区去吧 :-)
回复

使用道具 举报

发表于 2004-6-19 08:05:48 | 显示全部楼层
你设置dns了没有?
回复

使用道具 举报

 楼主| 发表于 2004-6-19 08:23:55 | 显示全部楼层
toKanKer  dns是自动的

to MichaelBibby 你是版主 ,你帮我移动过去就是了

令 :技术支持区人不多呀~
回复

使用道具 举报

发表于 2004-6-19 08:28:02 | 显示全部楼层
[quote:13f8cd7cbe="lovewilliam"]
to MichaelBibby 你是版主 ,你帮我移动过去就是了

令 :技术支持区人不多呀~[/quote]
俺不是水区的版主呀,不能移动帖子
还是和蓝宁联系一下吧,或者你再发一贴
回复

使用道具 举报

发表于 2004-6-19 08:35:54 | 显示全部楼层
现在还用猫??
回复

使用道具 举报

发表于 2004-6-19 09:49:08 | 显示全部楼层
[quote:16f8d80a6e="lovewilliam"]toKanKer  dns是自动的

to MichaelBibby 你是版主 ,你帮我移动过去就是了

令 :技术支持区人不多呀~[/quote]

dns在linux下好象要自己设置,以前我用adsl的时候就要手动设置。编辑/etc/resolv.conf在里面加上:
nameserver x.x.x.x
nameserver x.x.x.x

x.x.x.x为网络服务商提供的dns地址
回复

使用道具 举报

 楼主| 发表于 2004-6-19 10:21:28 | 显示全部楼层
[quote:37c1829a61="jarson"]现在还用猫?? [/quote]

ADSL猫   

dns在linux下好象要自己设置,以前我用adsl的时候就要手动设置。编辑/etc/resolv.conf在里面加上:
nameserver x.x.x.x
nameserver x.x.x.x

x.x.x.x为网络服务商提供的dns地址


DNS以前设置过

也是上面的结果
回复

使用道具 举报

发表于 2004-6-19 11:44:07 | 显示全部楼层
内置的ADSL modem?
你有驱动了吗?编译通不过?
回复

使用道具 举报

发表于 2004-6-19 12:36:52 | 显示全部楼层
不要选open_mode
最好设置dns
ping一下dns
另外你有没有用户名和密码?
回复

使用道具 举报

发表于 2004-6-19 12:44:34 | 显示全部楼层
摘自https://sourceforge.net/forum/forum.php?thread_id=1083398&forum_id=155749
  仅供参考            
By: heema - heema22
  Connecting using mandrake 10 official HOWTO   
2004-05-28 12:51


I made this HowTo to help others like me to connect with ease
Note : i am still a newbie and this is my first howto so bear with me

Connecting by Conexant USB Adsl (pppoa) using Mandrake 10 official :

1) Go to http://www.zullinux.it/linux/accessrunner.html ,
download cxacru-2003-10-05-src.tgz and patch-upto_2.6.5_20040517_accessrunner.gz

2) Install the kernel source from rpmdrake

3) Patch the kernel
# cd /usr/src/linux
# gunzip -c patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1

4) Recompile the kernel
# cd /usr/src/linux

backup the .config by copying to any other location

# make mrproper

restore the .config

# make menuconfig

Go to section

Device Driver -> Networking Support -> Networking Options -> ....

<M> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
<M> Classical IP over ATM (EXPERIMENTAL)
  • Do NOT send ICMP if no neighbour (EXPERIMENTAL)
    <M> LAN Emulation (LANE) support (EXPERIMENTAL)
    <M> Multi-Protocol Over ATM (MPOA) support (EXPERIMENTAL)
    <M> RFC1483/2684 Bridged protocols
  • Per-VC IP filter kludge




    Then Go to section

    Device Driver -> USB Support ->
    <M> Support for USB
    .... (go near the end of the page)
    <M>Alcatel Speedtouch USB support (NEW)

    then save

    # make

    # make bzImage

    # make modules

    # make modules_install

    # make install

    5) Restart

    6) Go to rpmdrake and search for atm these packages will be the result
    liblinux-atm1 , liblinux-atm1-devel , linux-atm , ppp-pppoatm
    install them

    7) Untar cxacru package to any folder and type
    # make new

    Substitute cxload.sh and cxunload.sh in "/usr/sbin" with the modified ones that you have downloaded from the site

    9) Edit file /etc/cxacru to your needs
    here is mine :

    #
    # Config file for Conexant AccessRunner
    #

    # Driver mode
    DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (without ask adsl status)

    # Protocol
    PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)

    # Paths
    BINARY_PATH="/usr/sbin"
    ATM_PATH=""

    # ADSL
    # if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
    # Values for OPEN_MODE are:
    # 0 = auto selection, G.Handshake
    # 1 = auto selection, T1.413
    # 2 = G.Handshake
    # 3 = ANSI T1.413
    # 4 = ITU-T G.992.1 (G.DMT)
    # 5 = ITU-T G.992.2 (G.LITE)
    OPEN_MODE=

    # ATM
    VPI=8
    VCI=35

    # Specific for RFC1483/2684 routed/bridged
    # if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
    IP_ADDRESS=
    NETMASK=
    GATEWAY=

    10) Edit your options file in /etc/ppp
    #lock
    #noauth
    #noipdefault
    #usepeerdns

    noipdefault
    noauth
    persist
    lcp-max-configure 50
    -pap
    usepeerdns
    name any
    user "insert your uname here"
    defaultroute
    plugin /usr/lib/pppd/2.4.1/pppoatm.so 8.35

    11) Edit the pap-secrets file
    # Secrets for authentication using PAP
    # client server secret IP addresses
    'username' * 'password'

    12) Edit the chap-secrets file
    # Secrets for authentication using PAP
    # client server secret IP addresses
    'username' * 'password' *

    13) Edit the resolv.conf in /etc and insert in it your DNS
    if you dont know it you could get it from windows by typing ipconfig /all

    14) Go to /usr/sbin
    # su

    # ./cxstart.sh


    And wish that it will connect the first time
    我与上面的过程有一点不同,设置用户名,密码时我用adsl-setup
    同时还修改了cx4netup.sh
    我的系统Magic linux1.2pre6 kernel2.6.5(重编译)
  • 回复

    使用道具 举报

     楼主| 发表于 2004-6-19 15:50:20 | 显示全部楼层
    我怀疑是crc32模块的问题

    楼上的你有crc32模块吗?

    如有发给我一分可以吗?
    回复

    使用道具 举报

    发表于 2004-6-19 21:02:24 | 显示全部楼层
    没找到
    [root@MagicLinuxfans root]# lsmod
    Module                  Size  Used by
    ppp_synctty             9856  0   ×
    ppp_async              12928  1  ×
    ppp_generic            31764  6 ppp_synctty,ppp_async ×
    slhc                    7552  1 ppp_generic
    br2684                 10116  1 ×
    speedtch               17232  1 ×
    appletalk              36916  2
    ipx                    30380  2
    p8022                   2688  1 ipx
    psnap                   4228  2 appletalk,ipx
    llc                     7956  2 p8022,psnap
    nvidia               2074696  12
    ipt_MASQUERADE          3968  1
    iptable_nat            24620  2 ipt_MASQUERADE
    ip_conntrack           33840  2 ipt_MASQUERADE,iptable_nat
    ip_tables              19584  2 ipt_MASQUERADE,iptable_nat
    snd_intel8x0           34728  0
    snd_ac97_codec         65028  1 snd_intel8x0
    snd_pcm               101000  1 snd_intel8x0
    snd_timer              27012  1 snd_pcm
    snd_page_alloc         11652  2 snd_intel8x0,snd_pcm
    gameport                4992  1 snd_intel8x0
    snd_mpu401_uart         8064  1 snd_intel8x0
    snd_rawmidi            25760  1 snd_mpu401_uart
    snd_seq_device          8712  1 snd_rawmidi
    snd                    56420  7 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
    soundcore              10080  1 snd
    forcedeth              15744  0
    ohci1394               34820  0
    ieee1394              311096  1 ohci1394
    floppy                 60112  0
    sg                     39072  0
    scsi_mod              117580  1 sg
    parport_pc             38848  0
    parport                42440  1 parport_pc
    atm                    44376  4 br2684,speedtch×
    ohci_hcd               19716  0
    ehci_hcd               27652  0
    ntfs                  103660  2
    nls_cp936             126592  3
    nls_cp437               5888  1
    vfat                   16000  1
    fat                    46784  1 vfat
    hid                    44480  0
    uhci_hcd               33040  0
    usbcore               106460  7 speedtch,ohci_hcd,ehci_hcd,hid,uhci_hcd
    reiserfs              230000  2
    [root@MagicLinuxfans root]#
    标记 “×”都是执行cxstart.sh调用的
    回复

    使用道具 举报

     楼主| 发表于 2004-6-19 21:34:02 | 显示全部楼层
    cxstart.sh里面

    可是有modprobe crc32的呀
    回复

    使用道具 举报

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

    本版积分规则

    GMT+8, 2024-11-26 04:27 , Processed in 0.057015 second(s), 16 queries .

    © 2021 Powered by Discuz! X3.5.

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