Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2007, 10:47 PM
DanFromWinterpeg DanFromWinterpeg is offline
Junior Member
 
Join Date: Jun 2007
Location: Winnipeg, MB, Canada
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ndisgen ASCII syntax error
Hello,

I tried getting my ZyDas ZD-1211 USB Wi-Fi adapter working with Ndisgen, but when it tries to convert the ASCII file of th .sys file I get the following ASCII error.

ndiscvt: line 61: %Manufacturer%: syntax error.
CONVERSION FAILED


I will freely admit that ASCII is not my strong point and I do not know how to fix this syntax error.

Could anyone tell me how I can correct this line it the .sys file so that it will convert correctly.


Thanks

Dan :twisted:
Reply With Quote
  #2  
Old 07-06-2007, 08:47 PM
vivin vivin is offline
Member
 
Join Date: Jun 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hello
Hello Dan,

ndisgen does give a few problems because it is far stricter than Windows' parser for .INF files.

Can you post your the offending line here (or perhaps the whole INF file) so that we can see what's wrong?

Here are a few things that may trip up ndiscvt:

1) DOS/WIN eol characters (CRLF or \r\n vs \n for *nixes). If you open up the INF file in vi you will probably see ^M at the end of every line. To fix this quickly, open up your file, then press the following sequence exactly (I am assuming you don't know vi if you do, then awesome! ). Oh yeah the [CTRL+V] and the [CTRL+M] means you should press ctrl and v and ctrl and m.

First hit ESC, then:

Code:
:%s/[CTRL+V][CTRL=M]//g
When you type, that it should appear like this in the bottom:

Code:
:%s/^M//g
This will remove all the ^M characters in the file. After that, type ":wq" to save the file. Try ndisgen again.

2) Weird characters. For example, some INF files have support for different languages and may use characters that have accents on them. ndiscvt chokes on these sometimes.

3) Syntax errors. Some times parentheses aren't closed, or there are just blatant syntax errors. See if you can fix them.

Anyway, hope this helps. Post your file here if you can so we can take a look at it.
Reply With Quote
  #3  
Old 07-18-2007, 02:50 AM
DanFromWinterpeg DanFromWinterpeg is offline
Junior Member
 
Join Date: Jun 2007
Location: Winnipeg, MB, Canada
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Thanks,

I managed to get another Wi-Fi card up and running.

Thanks for the help, but I have ditched the USB adaptor for now.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless and ASCII wep keys pau General Questions 0 07-07-2007 07:48 AM
Qmail syntax error (solved by reinstalling PCBSD) tryingtolearn General Questions 13 08-04-2006 01:40 PM
Syntax errors (solved by reinstall of OS) tryingtolearn General Questions 3 08-03-2006 12:49 PM
ndisgen (Project Evil) error on converting Netgear WG511 V2 rodonn Installing PC-BSD 6 06-27-2006 08:11 PM
ndisgen problem txwylde FreeBSD Help 1 02-15-2006 12:49 PM


All times are GMT. The time now is 12:12 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.