All Forums
 Microsoft Windows CE
 CE Drivers
 AutoIp GCX
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

jjmackay

24 Posts

Posted - 16 Apr 2009 :  08:18:02  Show Profile  Email Poster
Using a GCX and WinCE 5.0.23; the AutoIP feature does not seems to work. No network cable was connected; and after 10 minutes, my IP is still 0.0.0.0.

**************
ipconfig/all
Windows IP configuration



Ethernet adapter Local Area Connection:
IP Address ........ : 0.0.0.0
Subnet Mask ....... : 0.0.0.0
Adapter Name ...... : LAN90001
Description ....... : LAN90001
Adapter Index ..... : 2
Address............ : 00 60 0c 01 b1 4c
DHCP Enabled....... : YES
DHCP Server........ : 192.162.1.1
Primary WinsServer : 0.0.0.0
Secondary WinsServer:
Lease obtained on : Thursday, April 16 ,2009 9 : 46 : 22
Lease expires on : Friday, April 17 ,2009 9 : 46 : 22
AutoConfig Enabled : YES

Host name.......... : iuyt
Domain Name........ : phub.net.cable.rogers.com
DNS Servers........ : 192.168.1.246
NODETYPE........... : 8 Routing Enabled.... : NO
Proxy Enabled...... : NO

****************
adsload.reg

; System Identification
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Ident]
"OrigName"="JJMacKay"
"Desc"="MacKay Custodian Pay & Display Machine"

;-----------------------------------------------------
; Shell/Desktop behavior
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Platform\GCX]
"LaunchCEShell"=dword:0 ; 0=Supress Desktop
"LaunchCEShellDelay"=dword:0 ; secs

[HKEY_CURRENT_USER\ControlPanel\Desktop]
"Wallpaper"="\windows\adsload.bmp"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\OnTop]
"Default"=dword:0 ; [1=keep taskbar on top]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\AutoHide]
"Default"=dword:1 ; 1=minimize taskbar to a line when not in use

[HKEY_LOCAL_MACHINE\Explorer]
"QVGA"=dword:0 ; 0=Win9x look, 1=WinXP look
"ViewAll"=dword:0 ; 1=show hidden files
"ShowExt"=dword:1 ; 1=show all file extensions
"UseRecycleBin"=dword:0 ; 1=send files to Recycle Bin
"Suspend"=dword:1 ; 0=Don't show "Start->Suspend" menu

;-----------------------------------------------------
; Default Memory Allocation
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MemoryConfig]
"ObjectStorePages"=dword:600 ; number of 4k pages (0x500 = 6MB)

;-----------------------------------------------------
; Power Management: Activity Timeouts
;-----------------------------------------------------
; As set in the 'Power' control panel applet
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
"ACUserIdle"=dword:0 ; Disable
"ACSystemIdle"=dword:0 ; Disable
"ACSuspend"=dword:0 ; Disable
"BattUserIdle"=dword:0 ; Disable
"BattSystemIdle"=dword:0 ; Disable
"BattSuspend"=dword:0 ; Disable

; As set in the 'Display Backlight' control panel applet
[HKEY_CURRENT_USER\ControlPanel\Backlight]
"BatteryTimeout"=dword:0 ; Disable
"ACTimeout"=dword:0 ; Disable

;-----------------------------------------------------
; Power Management: Backlight Settings
; Spec version 1.0 document 100050-10013
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Platform\Backlight]
"StateForOn"=dword:0
"BacklightRunLevel"=dword:FF
"BacklightIdleLevel"=dword:64

;-----------------------------------------------------
; DISPLAY DRIVER INFO
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\Display\Intel]
;QVGA
"CxScreen"=dword:140 ; 320
"CyScreen"=dword:F0 ; 240
"Bpp"=dword:8 ; color depth (0x08 or 0x10)
"PaletteReverse"=dword:1 ; 0 = Normal Mono, 1 = Reverse Mono(Inverted)
"m_paletteReverse"=dword:1 ; 0 = Normal Mono, 1 = Reverse Mono(Inverted)

[HKEY_LOCAL_MACHINE\System\GDI\Rotation]
"Angle"=dword:5A

[HKEY_LOCAL_MACHINE\Drivers\TOUCH]
"NoTouchScreen"=dword:1

;-----------------------------------------------------
; Recent file list for Run dialog
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Explorer\RunHistory]
@=""
"0"="\Windows\cmd.exe"
"1"="\Windows\cmaccept.exe"
"2"="\Windows\repllog.exe /remote"
"3"="\Windows\restart.exe"
"4"="\Windows\regedit.exe"

;-----------------------------------------------------
; System Sound Settings
;-----------------------------------------------------
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Key"=dword:0 ; key clicks: 02 loud, 01 soft, 00 none
"Screen"=dword:0 ; tap volume: 02 loud, 01 soft, 00 none
"Volume"=dword:0 ; system volume; FFFFFFFF is max
"Mute"=dword:0 ; 1=Notifications, 2=Apps, 4=Events,
; 7=Enable all sounds

;-----------------------------------------------------
; Microsoft ActiveSync Settings
;-----------------------------------------------------

; Persistent ActiveSync Partnerships
; Enter these setting from your CE device after establishing
; an ActiveSync connection with your host PC

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\Partners\P1]
"PName"="MyWorkstation"
"PId"=dword:05af05af

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\Partners\P2]
; can enter second host PC partnership information here
"PName"="MyWorkstation2"
"PId"=dword:fa50fa50

; Default serial connection is USB
[HKEY_CURRENT_USER\ControlPanel\Comm]
;"Cnct"="19200@com1"
"Cnct"="usbcnect" ; USB Serial
"AutoCnct"=dword:00000001

;-----------------------------------------------------
; ON-BOARD ETHERNET DRIVER SETTINGS
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms]
; Do not install SMC Driver
"DoNotInstall"=dword:1

[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms\TcpIp]
"UseZeroBroadcast"=dword:0
"ConnectDampingInterval"=dword:4 ; MediaSense check interval
"DisconnectDampInterval"=dword:8 ; MediaSense check interval
"AutoCfg"=dword:1
"AutoSubnet"="169.254.0.0"
"AutoMask"="255.255.0.0"
"DhcpConstantRate"=dword:1

[HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms]
"DisableDHCPMediaSense"=dword:0
"AutoCfg"=dword:1 ; Enable auto ip
"NoIdleIfAdapter"=dword:1
"NoIdleIfConnected"=dword:1

;-----------------------------------------------------
; CAN bus settings - spec 1.4
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CAN]
"Dll"="PeliCanSja1000.dll" ; use ADS PeliCAN SJA1000T driver
"Priority256"=dword:62 ; CAN driver priority = 0x62
"MessageEvent"="EV_APP0" ; pulsed when message is received
"ErrorEvent"="EV_ERR0" ; pulsed when a CAN error occurs
"OverrunEvent"="EV_OVRERR0" ; pulsed when an overrun occurs
"DataReadyEvent"="EV_DATA_RDY0" ; set when RX queue is not empty

;-----------------------------------------------------
; NE-2000 COMPATIBLE ETHERNET DRIVER SETTINGS (PCMCIA)
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Comm\NE20001\Parms\TcpIp]
"EnableDHCP"=dword:1
;"DefaultGateway"="0.0.0.0"
;"IpAddress"="0.0.0.0"
;"Subnetmask"="255.255.255.0"
;"DNS"="0.0.0.0"
;"WINS"="0.0.0.0"

;-----------------------------------------------------
; FIREWALL SETTINGS
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Comm\Firewall]
"EnableIPV4"=dword:0 ; disable ipv4 firewall
"EnableIPV6"=dword:0 ; disable ipv6 firewall

;-----------------------------------------------------
; Console redirection
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\Console]
;"OutputTo"=dword:2
;"COMSpeed"=dword:9600

;==================
; COM ports & IrDA
;==================

;-----------------------------------------------------
; COM2
; Disable COM2(0) if JP7 jumpers are unconnected
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"INT_Disable"=dword:0 ; 0=Serial2 active, 1=Serial2 disable
"IRSerialPort"=dword:1

;-----------------------------------------------------
; Sets serial mode on COM1.
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"SerialMode"=dword:0 ;0=use RS232, 1=use RS485, 2=use RS422

;---------------------------------------------------------------------
; IrDA
; Set IR keys to 1 if JP7 jumpers are configured for IrDA
;
; TxDelayDisable and TxOnly keys are available in
; ADS CE builds 2.21 and later. These keys are useful
; for IrDA transmit-only applications.
;---------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrDA]
"IRSerialPort"=dword:1 ; 1=Serial2 is IrDA (logic polarity
; and pulse width is different)
"TxDelayDisable"=dword:1 ; 0=delay 10ms between end of transmit and
; turning on receiver (IrDA is half duplex)
"TxOnly"=dword:0 ; 1=disable IrDA receiver


;-----------------------------------------------------
; Touchpanel Settings
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
; "DriverName"="touch5.dll" ; 5-wire driver
"DriverName"="touch.dll" ; 4-wire driver

[HKEY_LOCAL_MACHINE\Platform\Display]
"ContrastLevel"=dword:A0

;---------------------------------------------------------------------
; Power Management: Sleep on J1
;
; The following keys enable the "sleep" driver built into GC+
; builds 3.18 and later. This driver provides the support needed
; for a suspend/wake button using a momentary switch on J1.
;
; PowerOffByGPIO1 enables monitoring of J1
; PowerOffFromApps 0 driver puts system to sleep when contact
; closure is detected
; 1 application must trap "PWROFF" event issued
; when the J1 contacts are closed and
; put system to sleep; this allows app to
; close down critical processes before suspending
;---------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Power]
"PowerOffByGPIO1"=dword:0 ; 1 enable built-in driver
"PowerOffFromApps"=dword:1 ; 1 application, 0 built-in driver
"Flags"=dword:4

;---------------------------------------------------------------------
; Power Management: Trap power failures
;
; This registry entry allows your application to get notification
; when a power failure has occurred. Normally, the system goes
; immediately to sleep when it detects a power failure. This
; corresponds to setting this key to "0".
;
; If you want your application to have a particular behavior during
; a power failure, you can set this key to "1" and trap the
; VDDPWROFF event yourself. When you've completed application
; cleanup, issue the VK_OFF keyboard event to go to sleep.
;
; Warning! Your power supply must be able to hold up the 5V power
; long enough to handle your functions and put the system to sleep.
; Use 200ms as a minimum guideline for the time it takes to go to
; sleep, but test your application and OS build carefully to
; ensure successful operation.
;
; Availability: Graphics Client Plus CE builds x.xx and later
;---------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Power]
"VddPwrOffFromApps"=dword:1 ; 0 sleep on power fail
; 1 issue event "VDDPWROFF"

cbadr

154 Posts

Posted - 06 May 2009 :  12:22:41  Show Profile  Email Poster
Where have you defined the IP for your system?
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000