Unfortunately, I'm experiencing a problem when I run configchange.pl
C:\Symbian\7.0s\Series60_v21_CW\Epoc32\tools>configchange.pl --config ethernetWithCommDB --kernel EKA1 --target winscw --variant UDEB
Setting up CommDB for ethernet
Running Netcards to obtain adapter info
Problem with opening adapter (packet.lib issue)
Error running netcards!
I have isolated it to an executable called netcards.
C:\Symbian\7.0s\Series60_v21_CW\Epoc32\tools>netcards
Problem with opening adapter (packet.lib issue)
Dependency Walker pointed out efsadu.dll and msjava.dll where missing. After downloading them, the problem persists.
The one reference in the documentation about this program I could find says "Tool
used by configchange.pl to get the network adapter list". Is there another way to compute this?
Is the source for this program available? My guess is a reproduce the problem by
loading simply loading packet.dll.
If you have any ideas with respect to the problem with my configuration, I'd love to hear about them.
Thanks for your time and consideration.
Sincerely,
John
Re: netcards - Problem with opening adapter
2005-12-18, 12:12#2
It's been awhile but according to my notes it worked after I used an earlier version of WinPcap. The failing one was 3.0. I used 2.3.
BTW, while this fixes the netcards applications, I was never able to get the emulator to talk to the internet. Here are some notes I took which may be of use to you.
In my new computer I have the same problem with Netcards.exe:
I got:
"Failed to read physical address of Ethernet card"
or "packet.lib issue" error.
I find out:
1) it mostly impossible to solve this problem with netcards.exe. You can try to install different winpcap. I tried from 2.3 version till 4 beta.
2) Netcards.exe is not mandatory application in Ethernet configuration. Sense of this application is only to extract exact name of interface you wanna to connect and create ethernet.ini file with data you manually have to copy into \epoc32\data\epoc.ini at the end of file.
Data which you really need from netcard.exe look like this:
Other way to get this data, and most important here for as is device NIF is to install Ethereal http://www.ethereal.com/download.html
This application monitors and capture all data from any network adapters you have installed. And with this application you may test does WinPcap work properly or not. Try to capture from desired adapter and if You get an error or you do not download anything it mean that WinPCap have to be reinstall with proper version.
To get NIF from Ethereal:
1) Start application
2) Press most left button "List the available capture interfaces.."
3) In new windows press "Details" for interesting interface to check all data you need.
4) with button "Prepare" you can get easily copy NIF string. "Device\NPF_{BE1F52E0-3B12-45AA-A6B7-8D579DEB91CE}"
All what you need is to create proper .ini setting and add it to the end of epoc.ini.
I think it should not be problem to find MAC address and network speed.
Suppose comdb configuration already done.
Just start emulator and test network connection with Web application.
In may case all is OK and I able to load pages if IP address was provided.
Other way when you type "google.com" and DNS server request is needed I am not able to connect.
Accordingly to Ethereal output I may to see that DNS query successfully generated and I get reply from DNS server as well, BUT for some reason this reply with IP not properly forwarded back to Emulator.
QUESTION here:
Does anybody know: "Why DNS reply from the server may to be lost by emulator?"
Last edited by denis_pertsev; 2007-01-09 at 11:47.
Re: netcards - Problem with opening adapter
2007-01-10, 00:14#5
Easier way to get NIF and MAC is "net config rdr" (lists all adapters).
Also, your DNS probably query is lost because you assign it the same MAC address in epoc.ini as your real adapter, then all reply frames are addressed to your real machine, not the emulator.
Make up a fictional MAC address (worked for me).
Re: netcards - Problem with opening adapter
2007-01-10, 08:56#6
Small comment here: I tried "net config rdr"
it returns:
Workstation active on
NetbiosSmb (000000000000)
NetBT_Tcpip_{BE1F52E0-3B12-45AA-A6B7-8D579DEB91CE} (0015C54AB706)
If some one will create epoc.ini strings manually, only "{BE1F52E0-3B12-45AA-A6B7-8D579DEB91CE}" part should be used from "net config rdr" output, and it is important to add at start of the string
"Device\NPF_"