|
我用的fc5.0 x86_64,adsl 的link灯一直亮着
[root@liu ~]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0572:cb00 Conexant Systems (Rockwell), Inc. E-Tech ADSL Modem v2
Bus 002 Device 001: ID 0000:0000
usb的连接应该没有问题
[root@liu ~]# lsmod
Module Size Used by
radeon 140513 0
drm 117097 1 radeon
autofs4 55241 1
hidp 83137 2
rfcomm 104801 0
l2cap 91585 10 hidp,rfcomm
bluetooth 116933 3 hidp,rfcomm,l2cap
sunrpc 192137 1
ppp_synctty 44481 0
ppp_async 45889 0
crc_ccitt 35265 1 ppp_async
ppp_generic 64865 2 ppp_synctty,ppp_async
slhc 39873 1 ppp_generic
ip_conntrack_netbios_ns 36033 0
ipt_REJECT 38977 1
xt_state 35265 2
ip_conntrack 92669 2 ip_conntrack_netbios_ns,xt_state
nfnetlink 40073 1 ip_conntrack
xt_tcpudp 36545 4
iptable_filter 36289 1
ip_tables 48385 1 iptable_filter
x_tables 48201 4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
dm_mirror 54593 0
dm_mod 90257 1 dm_mirror
video 50505 0
button 40545 0
battery 43337 0
ac 38473 0
ipv6 398689 12
lp 47633 0
parport_pc 62697 1
parport 74061 2 lp,parport_pc
floppy 100617 0
nvram 42441 0
cxacru 45889 0
usbatm 53185 1 cxacru
atm 109697 1 usbatm
uhci_hcd 65505 0
ehci_hcd 65229 0
----删掉了一些
cxacru和 usbatm模块的加载也没有问题
[root@liu cxacru]# ls
bridged cxacru.prj cxacru.spec firmware leeme module2 sarlib
copiando cxacru.prj.bak debian include Makefile panel scripts
copying cxacru.pws doc init Makefile~ readme todo
[root@liu cxacru]# make
cd init && make clean
make[1]: Entering directory `/usr/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/usr/cxacru/init'
cd module2 && make clean
make[1]: Entering directory `/usr/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/usr/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/usr/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/usr/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/usr/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/usr/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/usr/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/usr/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/usr/cxacru/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=x86_64 -Wall -DLINUX -I../include -lusb -lpthread cxload.c -o cxload
cxload.c:1: 错误:-march= 所带参数(x86_64)不正确
cxload.c:1: 错误:-mtune= 所带参数(x86_64)不正确
make[1]: *** [cxload] 错误 1
make[1]: Leaving directory `/usr/cxacru/init'
make: *** [CX_INIT] 错误 2
编译时出现的问题,难道不能用在64位系统下?
[root@liu atm]# ls
cxacru:0 devices pvc svc vc
[root@liu atm]# cat cxacru:0
ADSL USB MODEM (usb-0000:00:10.0-2)
MAC: 00:08:5c:61:75:1a
AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )
Line state unknown
用adsl-setup后执行了如下命令
[root@liu atm]# /sbin/ifup ppp0
[root@liu atm]# /sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0
adsl-status: Link is down (can't read pppoe PID file /var/run/pppoe-adsl.pid.pppoe)
大家伙看看吧,有什么问题? |
|