soloforce 发表于 2013-12-16 12:05
支持的。内核必须启用Ralink driver support,并选择好相应的模块;此外还要apt-get install firmware-rali ...
请问如何启用Ralink driver support啊? lubuntu本来就有了雷凌的驱动,所以是不需要下载驱动的。就是不知道为什么起不来,用strace ifconfig wlan0 up时,出现了一个读不出的参数,如下所示
oot@cubieboard2:~# strace ifconfig wlan0 up
execve("/sbin/ifconfig", ["ifconfig", "wlan0", "up"], [/* 21 vars */]) = 0
brk(0) = 0x2001000
uname({sys="Linux", node="cubieboard2", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fb2000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=39586, ...}) = 0
mmap2(NULL, 39586, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f8c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\340\321\0\0004\0\0\0"..., 512) = 512
lseek(3, 103000, SEEK_SET) = 103000
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1120) = 1120
lseek(3, 102664, SEEK_SET) = 102664
read(3, "A4\0\0\0aeabi\0\1*\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\4\22"..., 53) = 53
fstat64(3, {st_mode=S_IFREG|0644, st_size=104120, ...}) = 0
mmap2(NULL, 135488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6f6a000
mprotect(0xb6f83000, 28672, PROT_NONE) = 0
mmap2(0xb6f8a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18) = 0xb6f8a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0]p\1\0004\0\0\0"..., 512) = 512
lseek(3, 888772, SEEK_SET) = 888772
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1360) = 1360
lseek(3, 888332, SEEK_SET) = 888332
read(3, "A2\0\0\0aeabi\0\1(\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\4\22"..., 51) = 51
fstat64(3, {st_mode=S_IFREG|0755, st_size=890132, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fb1000
mmap2(NULL, 931208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e86000
mprotect(0xb6f5c000, 32768, PROT_NONE) = 0
mmap2(0xb6f64000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd6) = 0xb6f64000
mmap2(0xb6f67000, 9608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6f67000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fb0000
set_tls(0xb6fb04c0, 0xb6fb0b98, 0xb6fb5048, 0xb6fb04c0, 0xb6fb1590) = 0
mprotect(0xb6f64000, 8192, PROT_READ) = 0
mprotect(0xb6f8a000, 4096, PROT_READ) = 0
mprotect(0x1a000, 4096, PROT_READ) = 0
mprotect(0xb6fb4000, 4096, PROT_READ) = 0
munmap(0xb6f8c000, 39586) = 0
brk(0) = 0x2001000
brk(0x2022000) = 0x2022000
uname({sys="Linux", node="cubieboard2", ...}) = 0
access("/proc/net", R_OK) = 0
access("/proc/net/unix", R_OK) = 0
socket(PF_FILE, SOCK_DGRAM, 0) = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
access("/proc/net/if_inet6", R_OK) = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5
access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/nr", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/rose", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/sys/net/econet", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/sys/net/ash", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/x25", R_OK) = -1 ENOENT (No such file or directory)
ioctl(4, SIOCGIFFLAGS, {ifr_name="wlan0", ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(4, SIOCSIFFLAGS, {ifr_name="wlan0", ???}) = -1 ENOENT (No such file or directory)
dup(2) = 6
fcntl64(6, F_GETFL) = 0x20002 (flags O_RDWR|O_LARGEFILE)
fstat64(6, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6faf000
_llseek(6, 0, 0xbec9b378, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(6, "SIOCSIFFLAGS: No such file or di"..., 40SIOCSIFFLAGS: No such file or directory
) = 40
close(6) = 0
munmap(0xb6faf000, 4096) = 0
exit_group(-1) = ? |