Configuring the emulator to use Ethernet card
| Wed, 2005-02-09 11:54 | |
|
|
I am trying to change the way my emulator connects to the Internet to move to the Ethernet method described in this document from Symbian Ltd. However, the netcards.exe utility (called by the configchange.pl script) is just crashing and fails to retrieve my ethernet settings. I am trying to hack the perl script to generate the etherdriver.dat and ethermac.dat file manually but I miss the information to write in these two file and their format... Does someone have any clues ? Thanks a lot. Eric Bustarret |






Forum posts: 19
I compiled the netcards.exe provided by the winpcap source code and printed out the adapter name (or you could get it from ethereal; other ways might be possible as well):
-----------------------------------------------
T:\doxygen>netcards
Packet.dll test application. Library version:3.0 alpha3
Adapters installed:
1- \Device\NPF_{A09A3869-0C2A-4642-8165-FB7B84B2547F}
Select the number of the adapter to open : ^C
------------------------------------------------
a) Then I put everything from \D...} in etherdriver.dat without a newline
\Device\NPF_{A09A3869-0C2A-4642-8165-FB7B84B2547F}
b) Then put your mac address into ethermac.dat without a newline (best getting from ethereal)
000874AC18D9
That's the way I got it working. I could put my compiled netcards.exe on web page later, no access yet.
If you still got problems please let me know.
Cheers,
Andre
Forum posts: 19
well might be wrong here, but at least it works if I put in the mac address of my mashine
Cheers,
Andre
Forum posts: 214
BTW, I did everything they asked in this PDF, but when I run the httpexampleclient, I get error "unrecognized event: -1".
Does anyone know what's the problem?
I have 7.0s\Series60_v21 SDK
"I only know that I know nothing." (Socrates)
Forum posts: 6
Forum posts: 52
I just followed the instruction from the v8.1b Developer Library:
>Developer Library>Tools and Utilities>Emulator>Emulator guide> Connecting via ethernet
And I successfully established the Ethernet between two WINSCW emulators. All I need to install is WinPcap 3, which is actually already there when I installed Ethereal. Then I write some test program over RBusDevEthernet and did some Rx/Tx testing. But I have not try that HttpExampleClient.exe, as I am behind a proxy, thought I can configure it in CommDB.
The MAC address is a fake one. From the library:
"configchange.pl generates a MAC address based on your PC's MAC address. It changes the first byte of the PC's address from 0 to to 2. As an example, if your PC's address is 00095B59009B then the emulator's address will be 02095B59009B. This changes the scope of the MAC address from ‘global’ to ‘local’. "
My SDK is TechView_week40 release. I used the Netcards.exe file from:
http://www.symbian.com/developer/downloads/tools.html#ethernetconnection
The configchange.pl is the SDK original.
It's a fun to CEDDUMP CommDB and edit it and CED it in again. I removed all other IAP except my Ethernet connection.
NewLC #2150
Forum posts: 6
Forum posts: 24
Forum posts: 214
Series 60 2.1 - I uncheck the promiscuous mode and use manualy entered IP address. No proxy, wireless LAN.
"I only know that I know nothing." (Socrates)
Forum posts: 28
need urgent help
4 Requirements
This paper assumes that the user is set up with the following environment:
4.1 Host PC environment
• Windows NT/2000
• LAN access
• A fully functioning Ethernet NIC (with a globally scoped MAC address).
• WinPcap version 3.0 (note that other versions may not work)
Forum posts: 214
"I only know that I know nothing." (Socrates)
Forum posts: 28
the netcard.exe keeps crashing and the configchange.pl also crash......
thanks
jeremy
Forum posts: 25
I had the same problem and configchange.pl says that for EKA2 information is written into epoc.ini, in my case:
ETHER_NIF=\Device\NPF_{E077E1FB-FC3D-4756-ACA2-765776576765}
ETHER_MAC=02123f512332
ETHER_SPEED=100Mbps
etherdriver.dat file is needed only for EKA1