1] Learn about the NDIS compatibility system
2] Convert individual firmware files
3] Convert driver
4] Exit
Pliki
to orginalne windowsa:
a to te co powstaly za pomoca tego wyboru
2] Convert individual firmware files:
Kod: Zaznacz cały
tplink.cat.ko
tplink.cat.o
tplink.inf.ko
tplink.inf.o
tplink.sys.ko
tplink.sys.o
z tego powstaje taki ale to cos nie udanego raczej
3] Convert driver:
Kod: Zaznacz cały
INF file validation
A .INF file is most often provided as an ASCII file, however
files with multilanguage support are provided in Unicode format.
Please type in the path to your .INF file now.
> /home/alkion/xp/tplink.inf
Kod: Zaznacz cały
INF file validation
A .INF file is most often provided as an ASCII file, however
files with multilanguage support are provided in Unicode format.
Please type in the path to your .INF file now.
> /home/alkion/xp/tplink.inf
This .INF file appears to be ASCII.
Press return to continue...
i daje enter
Kod: Zaznacz cały
Driver file validation
Now you need to specify the name of the Windows(r) driver .SYS
file for your device. Note that if you are running FreeBSD/amd64,
then you must provide a driver that has been compiled for the
64-bit Windows(r) platform. If a 64-bit driver is not available
for your device, you must install FreeBSD/i386 and use the
32-bit driver instead.
Please type in the path to the Windows(r) driver .SYS file now.
> /home/alkion/xp/tplink.sys
enter
Kod: Zaznacz cały
Now you need to specify the name of the Windows(r) driver .SYS
file for your device. Note that if you are running FreeBSD/amd64,
then you must provide a driver that has been compiled for the
64-bit Windows(r) platform. If a 64-bit driver is not available
for your device, you must install FreeBSD/i386 and use the
32-bit driver instead.
Please type in the path to the Windows(r) driver .SYS file now.
> /home/alkion/xp/tplink.sys
This .SYS file appears to be in Windows(r) PE format.
Press return to continue...
Kod: Zaznacz cały
Driver file conversion
The script will now try to convert the .INF and .SYS files
using the ndiscvt(1) utility. This utility can handle most
.INF files; however, occasionally it can fail to parse some files
due to subtle syntax issues: the .INF syntax is very complex,
and the Windows(r) parser will sometimes allow files with small
syntax errors to be processed correctly which ndiscvt(1) will
not. If the conversion fails, you may have to edit the .INF
file by hand to remove the offending lines.
Press enter to try converting the files now:
[B]ndiscvt: line 353: Client: syntax error.[/B]
CONVERSION FAILED
i tak sie robi powstaje taki windrv.h
ndiscvt: line 353: Client: syntax error.
zastanawiam sie juz nad pewnym absurdem czy mam poszukac lini 353 w pliku inf i ja usunac:
Kod: Zaznacz cały
Skrypt będzie teraz próbować konwertować pliki INF i SYS
używając ndiscvt (1) użytkową. To narzędzie może obsługiwać najbardziej
Pliki INF; Jednak od czasu do czasu może nie analizować niektóre pliki
z powodu subtelnych zagadnień składni: składnia INF jest bardzo skomplikowane,
i (r) parser Windows czasami pozwalają pliki o małych
Błędy składniowe być przetwarzane prawidłowo, które ndiscvt (1) będzie
nie. Jeśli konwersja nie powiedzie się, być może trzeba będzie zmodyfikować INF
plik ręcznie usunąć linie obraźliwe.
Press enter to try converting the files now: [B]
ndiscvt: line 353: Client: syntax error.[/B] CONVERSION FAILED
biore stery z cd do cycka on kupiony jakis czas temu moze poszukac czy sa jakies nowsze no ale 2 metoda cos wychodzi 3 nie chce albo jeszcze cos zile robie
cos jeszcze mi sie mani ten fragmet:
The script will now try to convert the .INF and .SYS files
using the
ndiscvt
cos pisze ze za pomoca tego
ndiscvt robi te konwersje
zaladowalem te moduly bo tam na tej stronie pisze ze beda potrzebne:
Kod: Zaznacz cały
2 1 0xc1677000 eb98 if_ndis.ko
3 2 0xc1686000 20878 ndis.ko
a to tez nie jaki modul
ndiscvt chociaz takiej nazwy nie widzie w /boot/kernel ale niewiem moze pod jaka inna jest teraz jest taki ncv.ko ncv.ko.symbols
no ale pisze ze tu jest
syntax error
a to chyba jest
ndiscvt: line 353:
to jest linia .inf 353:
Kod: Zaznacz cały
HKLM,SOFTWARE\Atheros\Atheros Client Installation Program, USBVIDPID, 0, "%ATHR_VID_0CF3%;%NTGR_VID_0846%"

a atheros na usb mi widac w startowych komunikatach systemu ale nie polaczony
do jadra mam zaladowane to teraz:
Kod: Zaznacz cały
1 18 0xc0400000 1276c0c kernel
2 1 0xc1677000 eb98 if_ndis.ko
3 2 0xc1686000 20878 ndis.ko
4 1 0xc16a7000 1a3af8 tplink.sys.ko
5 1 0xc184b000 9d00 tplink.inf.ko
6 1 0xc6cc1000 5000 ums.ko
Znalazem tez taka rorpiske:
http://dannyman.toldme.com/2005/01/05/f ... s-drivers/
Ale tu mi sie krzaczy:
Kod: Zaznacz cały
root@hermes:/home/alkion/xp3 # iconv -c -f utf-16 -t ascii tplink32.inf > tplink32.inf.ascii
iconv: unexpected end of file; [B]the last character is incomplete.[/B]
znaczy to sie robi
tplink32.inf.ascii ale cos jest nie tak
I takie znalazlem:
https://www.dan.me.uk/blog/2010/01/25/n ... ject-evil/
Ale mi wyskakuje to okno dialogowe zamiast sie robic