Manual DHCP request

Login to reply to this topic.
Mon, 2006-09-18 14:28
Joined: 2006-05-10
Forum posts: 64
Hello,

  I'd like to create manually a DHCP packet and send it as a broadcast. I already can do it from a PC by preparing a packet and sending it to my local DHCP server. However, this packet contains a MAC address of a device. The question is: what should this packet contain instead of MAC address in case of a mobile phone? IMEI? IMSI? As far as I know, phones don't have a MAC address for a GPRS connection (I don't mean WLAN).

Thanks in advance,

  Damian

Confusion will be my epitaph..


Thu, 2006-09-21 08:37
Joined: 2006-05-10
Forum posts: 64
Re: Manual DHCP request
Anybody?
Maybe somebody knows how to sniff outgoing packets? That might help to solve this problem.. I've searched for a Symbian sniffer without any results (think that it's not so easy to create and use own filter drivers as on PC platform).

Regards,

  Damian

Confusion will be my epitaph..

Thu, 2006-09-21 10:10
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2006
Re: Manual DHCP request
I am not an expert of low level IP protocols but I would think that, when connected through GSM/GPRS, the phone is not connected to your local network thus it has nothing to do with your DHCP server and the MAC address is not relevant for you.


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Thu, 2006-09-21 10:42
Joined: 2006-05-10
Forum posts: 64
Re: Manual DHCP request
I'm not talking about my DHCP server. I'm talking about operator's DHCP server, as shown here: http://www.mpirical.com/companion/UMTS/GGSN.jpg
I need MAC (or any substitute for this) to create a correct DHCP request.
From DHCP response I'd like to get a SIP proxy address..

Regards,

  Damian

Confusion will be my epitaph..

Sat, 2006-12-30 23:56
Joined: 2006-05-08
Forum posts: 162
Re: Manual DHCP request
You are quite right indeed.

However as of Symbian OS 9.1, there's no straight forward way of getting the address (Its present in 9.2).

If you have access to ISV documentation, and seem to find a reference to RPacketContext, then post back, bacsue the information can be retrieved from ETEL api's too.

  • Login to reply to this topic.