hi there im triing since ages to get my Client ID like shown below:
"AVM dhcpdiscover 1.0 dslforum.org"
this string is requierd for my ISP
but unfortunately udhcpc always just takes the first word:
Frame 172: 342 bytes on wire (2736 bits), 342 bytes captured (2736 bits) on interface 0
Ethernet II, Src: ZyxelCom_30:0e:54 (00:23:f8:30:0e:54), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol Version 4, Src: 0.0.0.0, Dst: 255.255.255.255
User Datagram Protocol, Src Port: 68 (68), Dst Port: 67 (67)
Bootstrap Protocol (Discover)
Message type: Boot Request (1)
Hardware type: Ethernet (0x01)
Hardware address length: 6
Hops: 0
Transaction ID: 0x9049d06e
Seconds elapsed: 30
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0
Your (client) IP address: 0.0.0.0
Next server IP address: 0.0.0.0
Relay agent IP address: 0.0.0.0
Client MAC address: ZyxelCom_30:0e:54 (00:23:f8:30:0e:54)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (53) DHCP Message Type (Discover)
Option: (57) Maximum DHCP Message Size
Option: (55) Parameter Request List
Option: (60) Vendor class identifier
Length: 3
Vendor class identifier: AVM
Option: (255) End
Option End: 255
Padding: 000000000000000000000000000000000000000000000000...
i tried with '' quotes with "" quotes without luck...
does anyone know how i can get a string with 'spaces' in there?
thanks in advance for your help
i already tried the idea below:
