kupiłem sobie kartę sieciowa na usb air live WN-360USB to to przedostatnie bez opisu po komendzie lsusb.
na blacktracku zgłosiło sie jako ovslink cośtam....
Kod: Zaznacz cały
ubuntu@ubuntu:~/Desktop$ lsusb
Bus 001 Device 002: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 062a:0000 Creative Labs Optical mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 1b75:3072
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
WPA/PSK i się łączy z siecią co widać niżej choć nie do końca bo nie ma danych z AP'eka
z ifconfig add.... dodałem adres swojej sieci, ustawiłem bramę i tu kupa niestety
siebie pinguje, bramy już nie, ze nie wspomnę o dostępie do sieci.
jak wpisałem ifconfig wlan0 to widać ze jest łączność w jedna stronę niestety tylko w TX są dane.
Kod: Zaznacz cały
ubuntu@ubuntu:~/Desktop$ iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"PRYW4T4"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 4E:BD:E3:E8:E3:B6
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ubuntu@ubuntu:~/Desktop$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:4f:77:00:0f:8b
inet addr:192.168.125.23 Bcast:192.168.125.255 Mask:255.255.255.0
inet6 addr: fe80::24f:77ff:fe00:f8b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:11956 (11.9 KB)
ubuntu@ubuntu:~/Desktop$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.125.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 192.168.125.1 0.0.0.0 UG 0 0 0 wlan0
ubuntu@ubuntu:~/Desktop$ lsmode |grep net:
No command 'lsmode' found, did you mean:
Command 'lsmod' from package 'module-init-tools' (main)
lsmode: command not found
zgodnie z tym co napisali w pliku zacząłem robić
Kod: Zaznacz cały
Build Instructions:
====================
1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.
2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
** Build for being controlled by WpaSupplicant with Ralink Custom Event
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
command: #./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
4> $make
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
u mnie obydwa "has"y były na 'n' wiec ustawiłem na 'y'
zapodałem make i taki wynik... jak na dole jakieś errory wyskoczyli i juz nic nie wiem i siec dalej nie działa.
Kod: Zaznacz cały
ubuntu@ubuntu:~/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0$ sudo make
make -C tools
make[1]: Entering directory `/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/tools'
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/Makefile
make -C /lib/modules/2.6.31-14-generic/build SUBDIRS=/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/md5.o
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/mlme.o
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/mlme.c: In function â?BssTableSortByRssiâ??:
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/mlme.c:4409: warning: the frame size of 1572 bytes is larger than 1024 bytes
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/rtmp_wep.o
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/action.o
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/cmm_data.o
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/cmm_data.c: In function â?RTMP_FillTxBlkInfoâ??:
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/cmm_data.c:1170: warning: label â?FillTxBlkErrâ?? defined but not used
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/rtmp_init.o
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/rtmp_tkip.o
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/cmm_sync.o
CC [M] /home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.o
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c: In function â?set_eFuseLoadFromBin_Procâ??:
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1058: error: â?struct task_structâ?? has no member named â?fsuidâ??
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1059: error: â?struct task_structâ?? has no member named â?fsgidâ??
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1060: error: â?struct task_structâ?? has no member named â?fsuidâ??
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1060: error: â?struct task_structâ?? has no member named â?fsgidâ??
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1123: error: â?struct task_structâ?? has no member named â?fsuidâ??
/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1124: error: â?struct task_structâ?? has no member named â?fsgidâ??
make[2]: *** [/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.o] Error 1
make[1]: *** [_module_/home/ubuntu/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [LINUX] Error 2
ubuntu@ubuntu:~/Desktop/2008_1128_RT3070_Linux_STA_v2.0.1.0$
za każdym razem jak przeinstalowuję windę (raz na rok lub dwa) próbuję zainstalować, lub pobawić się linuxem, najczęściej ubuntu. i za każdym razem odpadam na jakimś takim problemie. Dodam jeszcze że jak podepnę kabel i skonfiguruję dostęp do swojego routera to wszystko internet śmiga ładnie, ale po to jest sieć WIFI żeby kabli w domu się pozbyć, prawda?
Pozdrawiam
PePe