Configuring the emulator to use Ethernet card

Login to reply to this topic.
Wed, 2005-02-09 11:54
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2009
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
NewLC Founder & CEO / Professional Symbian OS Consultant


Wed, 2005-02-09 16:03
Joined: 2004-12-29
Forum posts: 19
Configuring the emulator to use Ethernet card
Hello Eric,

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
Wed, 2005-02-09 16:38
Anonymous (not verified)
Forum posts: 2043
Configuring the emulator to use Ethernet card
...for (b), could rephrase: "invent your mac address here" (this defines the mac address for the emulator to use). Of course, havoc happens if you use mac address of some other computer currently on the link.
Wed, 2005-02-09 17:13
Joined: 2004-12-29
Forum posts: 19
Configuring the emulator to use Ethernet card
Quote
...for (b), could rephrase: "invent your mac address here" (this defines the mac address for the emulator to use). Of course, havoc happens if you use mac address of some other computer currently on the link.
Are you sure? I am curious now Smiley Isn't the limitation here the mac address of your builtin ethernet card? The ethernet card might not forward/send frames that aren't addressed with the mac address of the ethernet card?

well might be wrong here, but at least it works if I put in the mac address of my mashine Smiley

Cheers,

Andre
Fri, 2005-02-11 11:17
Joined: 2005-02-11
Forum posts: 214
Configuring the emulator to use Ethernet card
The netcards.exe that comes with this "ConnectingToEmulator" packet is invalid. The original that comes with SDK works OK (I hope they included it just in-case and didn't modify it).

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)

Wed, 2005-03-02 13:42
Joined: 2004-06-09
Forum posts: 6
Configuring the emulator to use Ethernet card
I'm a bit confused here. Am I supposed to use the actual MAC address of the PC nic or just make one up, not matching any other MAC address, when I define it in the file ethermac.dat?
Thu, 2005-03-03 02:12
Joined: 2004-11-02
Forum posts: 52
Configuring the emulator to use Ethernet card
I think I am lucky. Wink

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. Smiley

NewLC #2150

Thu, 2005-03-03 09:37
Joined: 2004-06-09
Forum posts: 6
Configuring the emulator to use Ethernet card
I'm using the Series 80 SDK, and haven't had any luck getting my ethernet card working in the emulator. Has anyone got any tips?
Thu, 2005-05-05 06:10
Joined: 2005-04-13
Forum posts: 24
Configuring the emulator to use Ethernet card
i haven't gotten my ethernet card to work either. It keeps complaining about promiscuous mode. i'm using wireless lan so that might be the problem. Any ideas?
Fri, 2005-05-20 10:26
Joined: 2005-02-11
Forum posts: 214
Re: Configuring the emulator to use Ethernet card
Series 80 SDK connected to internet without problems.

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)

Thu, 2005-06-16 03:36
Joined: 2005-06-14
Forum posts: 28
Re: Configuring the emulator to use Ethernet card
hey guys i have a problem too, i am using win XP PRO.... so ido not meet the requirment for the system operating system.. so how than should i go about connectiong my emulator to the net???
need urgent help Grin


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)


Thu, 2005-06-16 08:44
Joined: 2005-02-11
Forum posts: 214
Re: Configuring the emulator to use Ethernet card
I use XP also and no extra software.

"I only know that I know nothing." (Socrates)

Fri, 2005-06-17 05:36
Joined: 2005-06-14
Forum posts: 28
Re: Configuring the emulator to use Ethernet card
guys i need help.. i have followed all teh steps of copying the files but i am still not able to get the etherdrive.dat.... need help

the netcard.exe keeps crashing and the configchange.pl also crash......

thanks
jeremy Grin
Fri, 2006-09-15 10:16
Joined: 2006-01-23
Forum posts: 25
Re: Configuring the emulator to use Ethernet card
Hi,

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
  • Login to reply to this topic.