Hi nokia and symbia experts,

I use ethernet plug-in for connectiong to network (not RAS). I tried IAP Connect v2.0 example on emulator - on device it works good. But after calling RConnection::Start(TConnPref& aPref, TRequestStatus& aStatus) in RunL() method I always have KErrNotFound -1 error. Problem must be in TConnPref - i tried to set its members hundred times to various values, but it results in KErrNotFound error and sometimes RSocketServ crash! When I tried to call RConnection::Start(TRequestStatus& aStatus) only with iStatus - it connect succesfully probably using default LANBearer acces point:

Name=LAN_IAP_1
IAPService=1
IAPServiceType=LANService
IAPBearer=1
IAPBearerType=LANBearer
IAPNetwork=1
IAPNetworkWeighting=0
Location=3
FIELD_COUNT=8

Where is the problem??? Any experiences??? On newlc guy has simillar problem. Try http://forum.newlc.com/viewtopic.php?p=3744.

When I tried Services application, which is part of emulator both access points LAN_IAP_1 and NTRas GPRS were displayed without problems. So there must be solution...

I also tried to use CApSettingsHandler to display dialog with IAPs, but the method RunSettingsL() leaves every time...

Bye and Thanx
STeN