Visa obesvarade inlägg | Visa aktiva trådar Aktuellt datum och tid: 07 jul 2020, 01:04



Svara på tråd  [ 30 inlägg ]  Gå till sida Föregående  1, 2
 D-link nätverkskort 
Författare Meddelande

Blev medlem: 05 mar 2010, 23:08
Inlägg: 329
OS: Annat GNU/Linux
Svara med citat
Inlägg Re: D-link nätverkskort
coys skrev:
Det funkar inte det står så här i terminalen:

jimmy@jimmy-laptop:~/Skrivbord$

vad ska jag skriva sen?

mappen med drivrutinerna ligger på Skrivbordet.


Kontrollera att mappen verkligen existerar genom kommandot dir, eller ls. Om du använder det senare kommandot, så blir samtliga mappar blå. Om du ser mappen DPO_RT3070_LinuxSTA_V2.3.0.2_20100412, så är det bara att göra följande.

Citat:
cd DPO_RT3070_LinuxSTA_V2.3.0.2_20100412


18 apr 2010, 17:34
Profil

Blev medlem: 30 mar 2010, 13:28
Inlägg: 17
OS: Ubuntu
Utgåva: 18.04 Bionic Beaver LTS
Svara med citat
Inlägg Re: D-link nätverkskort
jimmy@jimmy-laptop:~/Skrivbord$ dir
DPO_RT3070_LinuxSTA_V2.3.0.2_20100412 f-spot.desktop
DPO_RT3070_LinuxSTA_V2.3.0.2_20100412.bz2
jimmy@jimmy-laptop:~/Skrivbord$ cd DPO_RT3070_LinuxSTA_V2.3.0.2_20100412
jimmy@jimmy-laptop:~/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412$ make
make -C tools
make[1]: Går till katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools"
gcc -g bin2h.c -o bin2h
make[1]: Lämnar katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools"
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools/bin2h
cp -f os/linux/Makefile.6 /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/Makefile
make -C /lib/modules/2.6.31-20-generic/build SUBDIRS=/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux modules
make[1]: Går till katalogen "/usr/src/linux-headers-2.6.31-20-generic"
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_md5.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_sha2.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_hmac.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c:2265: warning: the frame size of 1100 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c:1592: warning: the frame size of 1364 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.c:1522: warning: the frame size of 1364 bytes is larger than 1024 bytes
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_arc4.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.c:4683: warning: the frame size of 1720 bytes is larger than 1024 bytes
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_wep.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/action.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_data.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.c:2488: warning: unused variable ‘RFValue’
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_tkip.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_aes.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_sync.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/eeprom.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_sanity.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_info.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_cfg.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_wpa.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/dfs.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/spectrum.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_timer.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rt_channel.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_profile.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_asic.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_cmd.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c: In function ‘MlmeAssocReqAction’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c:377: warning: unused variable ‘pInfo’
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c:374: warning: unused variable ‘infoPos’
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/auth.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/auth_rsp.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c:1736: warning: the frame size of 1316 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c:1079: warning: the frame size of 1264 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c:773: warning: the frame size of 1268 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c: In function ‘MlmeStartReqAction’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.c:589: warning: the frame size of 1064 bytes is larger than 1024 bytes
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sanity.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/rtmp_data.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/connect.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/connect.c:351: warning: the frame size of 1748 bytes is larger than 1024 bytes
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/wpa.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sta_cfg.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init_inf.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_profile.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwencode’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:1481: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlRF’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:6219: warning: the frame size of 2328 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlE2PROM’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:6035: warning: the frame size of 1348 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlMAC’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:5837: warning: the frame size of 1344 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:606: warning: the frame size of 1288 bytes is larger than 1024 bytes
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:1979: warning: the frame size of 1588 bytes is larger than 1024 bytes
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSTaskAttach’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:1283: warning: passing argument 1 of ‘kthread_create’ from incompatible pointer type
include/linux/kthread.h:7: note: expected ‘int (*)(void *)’ but argument is of type ‘RTMP_OS_TASK_CALLBACK’
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:1614: warning: initialization discards qualifiers from pointer target type
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:1653: warning: initialization discards qualifiers from pointer target type
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_linux.c:1653: warning: ISO C90 forbids mixed declarations and code
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_main_dev.o
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_main_dev.c: In function ‘RtmpOSIRQRequest’:
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_main_dev.c:951: warning: unused variable ‘net_dev’
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/ba_action.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_mac_usb.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtusb_io.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtusb_bulk.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtusb_data.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_data_usb.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/ee_prom.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/ee_efuse.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_mcu.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../chips/rt30xx.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rt_rf.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../chips/rt3070.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtusb_dev_id.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_usb.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_usb_util.o
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/usb_main_dev.o
LD [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.o
see include/linux/module.h for more information
CC /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.mod.o
LD [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.ko
make[1]: Lämnar katalogen "/usr/src/linux-headers-2.6.31-20-generic"
cp -f /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.ko /tftpboot
cp: kan inte skapa normal fil "/tftpboot": Åtkomst nekas
make: *** [LINUX] Fel 1
jimmy@jimmy-laptop:~/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412$ sudo make install
[sudo] password for jimmy:
make -C /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux -f Makefile.6 install
make[1]: Går till katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux"
rm -rf /etc/Wireless/RT3070STA
mkdir /etc/Wireless/RT3070STA
cp /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/RT3070STA.dat /etc/Wireless/RT3070STA/.
cp: kan inte ta status på "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/RT3070STA.dat": Filen eller katalogen finns inte
make[1]: *** [install] Fel 1
make[1]: Lämnar katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux"
make: *** [install] Fel 2
jimmy@jimmy-laptop:~/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412$ modprobe rt3070sta
FATAL: Error inserting rt3070sta (/lib/modules/2.6.31-20-generic/kernel/drivers/staging/rt3070/rt3070sta.ko): Operation not permitted
jimmy@jimmy-laptop:~/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412$ sudo make install
make -C /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux -f Makefile.6 install
mkdir: kan inte skapa katalog "/etc/Wireless": Filen existerar
make[1]: Går till katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux"
rm -rf /etc/Wireless/RT3070STA
mkdir /etc/Wireless/RT3070STA
cp /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/RT3070STA.dat /etc/Wireless/RT3070STA/.
cp: kan inte ta status på "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/RT3070STA.dat": Filen eller katalogen finns inte
make[1]: *** [install] Fel 1
make[1]: Lämnar katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux"
make: *** [install] Fel 2
Vad tror du att det är för fel? ledsen att jag inte riktigt fattade din beskrivning innan. Tacksam för din hjälp!


18 apr 2010, 18:23
Profil

Blev medlem: 05 mar 2010, 23:08
Inlägg: 329
OS: Annat GNU/Linux
Svara med citat
Inlägg Re: D-link nätverkskort
Konstigt, det gick bra för mig i ubuntu 9.10. Testa igen genom att köra make som root.

Citat:
sudo make


Sedan make install som du gjorde sist.

Citat:
sudo make install


18 apr 2010, 19:51
Profil

Blev medlem: 30 mar 2010, 13:28
Inlägg: 17
OS: Ubuntu
Utgåva: 18.04 Bionic Beaver LTS
Svara med citat
Inlägg Re: D-link nätverkskort
jimmy@jimmy-laptop:~/Skrivbord$ cd DPO_RT3070_LinuxSTA_V2.3.0.2_20100412
jimmy@jimmy-laptop:~/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412$ sudo make
[sudo] password for jimmy:
make -C tools
make[1]: Går till katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools"
gcc -g bin2h.c -o bin2h
make[1]: Lämnar katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools"
/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools/bin2h
cp -f os/linux/Makefile.6 /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/Makefile
make -C /lib/modules/2.6.31-20-generic/build SUBDIRS=/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux modules
make[1]: Går till katalogen "/usr/src/linux-headers-2.6.31-20-generic"
CC [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_mcu.o
LD [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.o
see include/linux/module.h for more information
LD [M] /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.ko
make[1]: Lämnar katalogen "/usr/src/linux-headers-2.6.31-20-generic"
cp -f /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/rt3070sta.ko /tftpboot
jimmy@jimmy-laptop:~/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412$ sudo make install
make -C /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux -f Makefile.6 install
mkdir: kan inte skapa katalog "/etc/Wireless": Filen existerar
make[1]: Går till katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux"
rm -rf /etc/Wireless/RT3070STA
mkdir /etc/Wireless/RT3070STA
cp /home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/RT3070STA.dat /etc/Wireless/RT3070STA/.
cp: kan inte ta status på "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/RT3070STA.dat": Filen eller katalogen finns inte
make[1]: *** [install] Fel 1
make[1]: Lämnar katalogen "/home/jimmy/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux"
make: *** [install] Fel 2
jimmy@jimmy-laptop:~/Skrivbord/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412$


Första steget verkar funka men inte att installera!


18 apr 2010, 21:13
Profil

Blev medlem: 05 mar 2010, 23:08
Inlägg: 329
OS: Annat GNU/Linux
Svara med citat
Inlägg Re: D-link nätverkskort
Okey, det krävs lite redigering i koden för att det ska fungera.

1. Redigera denna fil: Raden som är blå ska du lägga till.

Citat:
DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/usb_main_dev.c


Citat:
#include "rt_config.h"


// Following information will be show when you run 'modinfo'
// *** If you have a solution for the bug in current version of driver, please mail to me.
// Otherwise post to forum in ralinktech's web site(http://www.ralinktech.com) and let all users help you. ***
MODULE_AUTHOR("Paul Lin <paul_lin@ralinktech.com>");
MODULE_DESCRIPTION("RT2870 Wireless Lan Linux Driver");
MODULE_LICENSE("GPL");
#ifdef CONFIG_STA_SUPPORT
#ifdef MODULE_VERSION
MODULE_VERSION(STA_DRIVER_VERSION);
#endif
#endif // CONFIG_STA_SUPPORT //


2. Det saknas en fil, så du måste skapa den. För att det ska fungera, så måste du befinna dig i mappen DPO_RT3070_LinuxSTA_V2.3.0.2_20100412

Citat:
cp RT2870STA.dat RT3070STA.dat


3. Kör sedan detta kommando.

Citat:
sudo make clean


4. Sedan kompilerar du.

Citat:
sudo make all


5. Sedan installerar du.

Citat:
sudo make install


18 apr 2010, 23:22
Profil

Blev medlem: 30 mar 2010, 13:28
Inlägg: 17
OS: Ubuntu
Utgåva: 18.04 Bionic Beaver LTS
Svara med citat
Inlägg Re: D-link nätverkskort
1. Redigera denna fil: Raden som är blå ska du lägga till.

DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/usb_main_dev.c



#include "rt_config.h"


// Following information will be show when you run 'modinfo'
// *** If you have a solution for the bug in current version of driver, please mail to me.
// Otherwise post to forum in ralinktech's web site(http://www.ralinktech.com) and let all users help you. ***
MODULE_AUTHOR("Paul Lin <paul_lin@ralinktech.com>");
MODULE_DESCRIPTION("RT2870 Wireless Lan Linux Driver");
MODULE_LICENSE("GPL");
#ifdef CONFIG_STA_SUPPORT
#ifdef MODULE_VERSION
MODULE_VERSION(STA_DRIVER_VERSION);
#endif
#endif // CONFIG_STA_SUPPORT //

Jag är ledsen, men förstår inte det första stegen. Tror att jag förstår resten. Har aldrig jobbat med terminal innan ???


19 apr 2010, 05:36
Profil

Blev medlem: 05 mar 2010, 23:08
Inlägg: 329
OS: Annat GNU/Linux
Svara med citat
Inlägg Re: D-link nätverkskort
Om du menar punkt 1. så är det bara att starta ett program som heter gedit i program menyn. De flesta hade säkert krånglat till det, och sagt att du ska redigera med vi i terminalen. :)

Om du vill göra det enkelt för dig så går det faktisk att klippa och klistra i terminalen, så samtliga kommandon i punkt 2-5 är bara att klippa och klistra in.


19 apr 2010, 08:37
Profil

Blev medlem: 17 maj 2010, 20:39
Inlägg: 1
OS: Ubuntu
Utgåva: 19.10 Eoan Ermine
Svara med citat
Inlägg Re: D-link nätverkskort
Tänkte kapa tråden lite...

Har samma USB-nätverkskort och samma problem.

Det fungerar inte att bara lägga till
Kod:
MODULE_LICENSE("GPL");
i DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/usb_main_dev.c samt köra
Kod:
cp RT2870STA.dat RT3070STA.dat
.

Här är min output efter att jag följt instruktionerna (från allra första början... såg inte att det fanns en Page2 :)) och sedan kört en sudo make clean. Även en lsusb står med längst ner.

Kod:
jhq@desk:~/rt3070$ sudo make all
make -C tools
make[1]: Entering directory `/home/jhq/rt3070/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/jhq/rt3070/tools'
/home/jhq/rt3070/tools/bin2h
cp -f os/linux/Makefile.6 /home/jhq/rt3070/os/linux/Makefile
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/jhq/rt3070/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic'
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_md5.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_aes.o
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c:2265: warning: the frame size of 1664 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_UNWRAP’:
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c:2348: warning: the frame size of 1168 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c:1592: warning: the frame size of 1408 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c:1522: warning: the frame size of 1408 bytes is larger than 1024 bytes
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/mlme.o
/home/jhq/rt3070/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/jhq/rt3070/os/linux/../../common/mlme.c:828: warning: cast from pointer to integer of different size
/home/jhq/rt3070/os/linux/../../common/mlme.c:828: warning: cast from pointer to integer of different size
/home/jhq/rt3070/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/home/jhq/rt3070/os/linux/../../common/mlme.c:4683: warning: the frame size of 1728 bytes is larger than 1024 bytes
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_wep.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/action.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_data.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtmp_init.o
/home/jhq/rt3070/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/jhq/rt3070/os/linux/../../common/rtmp_init.c:2488: warning: unused variable ‘RFValue’
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_aes.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_sync.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/eeprom.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_info.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_wpa.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/dfs.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/spectrum.o
/home/jhq/rt3070/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/jhq/rt3070/os/linux/../../common/spectrum.c:1977: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rt_channel.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_profile.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_asic.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/assoc.o
/home/jhq/rt3070/os/linux/../../sta/assoc.c: In function ‘MlmeAssocReqAction’:
/home/jhq/rt3070/os/linux/../../sta/assoc.c:377: warning: unused variable ‘pInfo’
/home/jhq/rt3070/os/linux/../../sta/assoc.c:374: warning: unused variable ‘infoPos’
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/auth.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/sync.o
/home/jhq/rt3070/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/jhq/rt3070/os/linux/../../sta/sync.c:1736: warning: the frame size of 1472 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
/home/jhq/rt3070/os/linux/../../sta/sync.c:1079: warning: the frame size of 1392 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
/home/jhq/rt3070/os/linux/../../sta/sync.c:773: warning: the frame size of 1376 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../sta/sync.c: In function ‘MlmeStartReqAction’:
/home/jhq/rt3070/os/linux/../../sta/sync.c:589: warning: the frame size of 1088 bytes is larger than 1024 bytes
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/sanity.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/connect.o
/home/jhq/rt3070/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
/home/jhq/rt3070/os/linux/../../sta/connect.c:351: warning: the frame size of 1776 bytes is larger than 1024 bytes
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/wpa.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/sta_cfg.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/ba_action.o
/home/jhq/rt3070/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
/home/jhq/rt3070/os/linux/../../common/ba_action.c:1562: warning: assignment makes integer from pointer without a cast
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_mac_usb.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtusb_io.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtusb_bulk.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtusb_data.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_data_usb.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/ee_prom.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/ee_efuse.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtmp_mcu.o
  CC [M]  /home/jhq/rt3070/os/linux/../../chips/rt30xx.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rt_rf.o
  CC [M]  /home/jhq/rt3070/os/linux/../../chips/rt3070.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtusb_dev_id.o
  LD [M]  /home/jhq/rt3070/os/linux/rt3070sta.o
  Building modules, stage 2.
  MODPOST 1 modules
  LD [M]  /home/jhq/rt3070/os/linux/rt3070sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
cp -f /home/jhq/rt3070/os/linux/rt3070sta.ko /tftpboot
jhq@desk:~/rt3070$


jhq@desk:~/rt3070$ sudo make all
make -C tools
make[1]: Entering directory `/home/jhq/rt3070/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/jhq/rt3070/tools'
/home/jhq/rt3070/tools/bin2h
cp -f os/linux/Makefile.6 /home/jhq/rt3070/os/linux/Makefile
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/jhq/rt3070/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic'
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_md5.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_aes.o
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c:2265: warning: the frame size of 1664 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_UNWRAP’:
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c:2348: warning: the frame size of 1168 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c:1592: warning: the frame size of 1408 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
/home/jhq/rt3070/os/linux/../../common/crypt_aes.c:1522: warning: the frame size of 1408 bytes is larger than 1024 bytes
  CC [M]  /home/jhq/rt3070/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/mlme.o
/home/jhq/rt3070/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/jhq/rt3070/os/linux/../../common/mlme.c:828: warning: cast from pointer to integer of different size
/home/jhq/rt3070/os/linux/../../common/mlme.c:828: warning: cast from pointer to integer of different size
/home/jhq/rt3070/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/home/jhq/rt3070/os/linux/../../common/mlme.c:4683: warning: the frame size of 1728 bytes is larger than 1024 bytes
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_wep.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/action.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_data.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtmp_init.o
/home/jhq/rt3070/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/jhq/rt3070/os/linux/../../common/rtmp_init.c:2488: warning: unused variable ‘RFValue’
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_aes.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_sync.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/eeprom.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_info.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_wpa.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/dfs.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/spectrum.o
/home/jhq/rt3070/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/jhq/rt3070/os/linux/../../common/spectrum.c:1977: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rt_channel.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_profile.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_asic.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/assoc.o
/home/jhq/rt3070/os/linux/../../sta/assoc.c: In function ‘MlmeAssocReqAction’:
/home/jhq/rt3070/os/linux/../../sta/assoc.c:377: warning: unused variable ‘pInfo’
/home/jhq/rt3070/os/linux/../../sta/assoc.c:374: warning: unused variable ‘infoPos’
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/auth.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/sync.o
/home/jhq/rt3070/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/jhq/rt3070/os/linux/../../sta/sync.c:1736: warning: the frame size of 1472 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
/home/jhq/rt3070/os/linux/../../sta/sync.c:1079: warning: the frame size of 1392 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
/home/jhq/rt3070/os/linux/../../sta/sync.c:773: warning: the frame size of 1376 bytes is larger than 1024 bytes
/home/jhq/rt3070/os/linux/../../sta/sync.c: In function ‘MlmeStartReqAction’:
/home/jhq/rt3070/os/linux/../../sta/sync.c:589: warning: the frame size of 1088 bytes is larger than 1024 bytes
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/sanity.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/connect.o
/home/jhq/rt3070/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
/home/jhq/rt3070/os/linux/../../sta/connect.c:351: warning: the frame size of 1776 bytes is larger than 1024 bytes
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/wpa.o
  CC [M]  /home/jhq/rt3070/os/linux/../../sta/sta_cfg.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/ba_action.o
/home/jhq/rt3070/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
/home/jhq/rt3070/os/linux/../../common/ba_action.c:1562: warning: assignment makes integer from pointer without a cast
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_mac_usb.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtusb_io.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtusb_bulk.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtusb_data.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/cmm_data_usb.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/ee_prom.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/ee_efuse.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtmp_mcu.o
  CC [M]  /home/jhq/rt3070/os/linux/../../chips/rt30xx.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rt_rf.o
  CC [M]  /home/jhq/rt3070/os/linux/../../chips/rt3070.o
  CC [M]  /home/jhq/rt3070/os/linux/../../common/rtusb_dev_id.o
  LD [M]  /home/jhq/rt3070/os/linux/rt3070sta.o
  Building modules, stage 2.
  MODPOST 1 modules
  LD [M]  /home/jhq/rt3070/os/linux/rt3070sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
cp -f /home/jhq/rt3070/os/linux/rt3070sta.ko /tftpboot
jhq@desk:~/rt3070$


jhq@desk:~/rt3070$ sudo modprobe rt3070sta


jhq@desk:~/rt3070$ lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 006 Device 002: ID 04b4:121f Cypress Semiconductor Corp.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 011: ID 07d1:3c0f D-Link System
Bus 002 Device 008: ID 067b:2517 Prolific Technology, Inc. Flash Disk Mass Storage Device
Bus 002 Device 007: ID 067b:2515 Prolific Technology, Inc. Flash Disk Embedded Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Nätverksdongeln i fråga är alltså en
D-Link DWL-G122
H/W Ver.: E1
F/W Ver.: 5.00
P/N: EWLG122EU....E1G

Den fungerar utmärkt i Windows 7 x64 Ultimate, men inte i Ubuntu 10.04 Lucid Lynx LTS amd64. (Dual boot dator, samma USB port.)

När den är inkopplad kan jag skapa Ad-Hoc nätverk i Ubuntu, men den hittar inga accesspunkter. Vet inte om jag kan ansluta till Ad-Hoc-nätverket med en annan dator, men det kan kvitta eftersom det inte är det jag vill göra.

Någon som känner till en fin lista någonstans med WiFi-USB-donglar som fungerar bra i Ubuntu (helst 10.04)? I sådana fall kan flickvännen ta denna dongeln till sin Win7desk så köper jag inte den billigaste jag hittar nästa gång. :P (Gav 17.90 € för den. Nej, jag bor inte i Sverige. :))

MVH
Johan

Edit: Jag fick den att fungera! Följde denna "guide": http://www.ubuntu-se.org/phpBB3/viewtop ... el#p384506
Riktigt skönt, dags för en kernel upgrade nu så får vi se hur länge lyckan varar.


17 maj 2010, 21:15
Profil

Blev medlem: 05 mar 2010, 23:08
Inlägg: 329
OS: Annat GNU/Linux
Svara med citat
Inlägg Re: D-link nätverkskort
jhq skrev:
Det fungerar inte att bara lägga till
Kod:
MODULE_LICENSE("GPL");
i DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/usb_main_dev.c samt köra
Kod:
cp RT2870STA.dat RT3070STA.dat
.


För att kompilera källkoden så behövs det. Men bra att du nömde det där med svartlistning, för det glömde jag uppenbarligen.


22 maj 2010, 21:59
Profil

Blev medlem: 25 nov 2006, 17:01
Inlägg: 8
Ort: Lidingö
Svara med citat
Inlägg Re: D-link nätverkskort
Vill bara tacka Andersen och Johan :)
Eftersom detta är den tråd man hamnar i när man söker på "07d1:3c0f," som jag gjorde efter att installerat 10.04 hos dottern som har en sådan D-link DWL-G122, tänkte jag att man bara lägger till några punkter så man inte behöver gå till den andra länken...dessa är alltså tack till signaturen "alatariel"..

6. sudo mkdir /etc/Wireless/RT2870STD

7. sudo cp RT2870STD.dat /etc/Wireless/RT2870STD/

8. sudo gedit /etc/modprobe.d/blacklist.conf

lägg till..
# gäller d-link 07d1:3c0f
blacklist rt2800usb
blacklist rt2x00usb
blacklist rt2x00lib
blacklist rt2870sta

9. sudo gedit /etc/modules

lägg till..
rt3070sta

10. Starta om och håll tummarna.. ;)

/Håkan


05 jun 2010, 08:48
Profil
Visa inlägg nyare än:  Sortera efter  
Svara på tråd   [ 30 inlägg ]  Gå till sida Föregående  1, 2

Vilka är online

Användare som besöker denna kategori: Inga registrerade användare och 3 gäster


Du kan inte skapa nya trådar i denna kategori
Du kan inte svara på trådar i denna kategori
Du kan inte redigera dina inlägg i denna kategori
Du kan inte ta bort dina inlägg i denna kategori
Du kan inte bifoga filer i denna kategori

Sök efter:
Hoppa till:  
cron
Main Engineer for phpBB3: Bertie at phpBB.com © 2000 - 2002, 2005 - 2007, the Group behind the Open Source code of phpBB.
Designed by STSoftware, modified by Katt, Konservburk & Peetra. Swedish translation by Peetra & phpBB Sweden © 2006-2011