Denys Vlasenko wrote:
Patch should have made udhcpc background (due to -b) after
select failed to get any resoponse:
Sending discover...
Sending select for 192.168.1.169...
Sending select for 192.168.1.169...
Sending select for 192.168.1.169... <=== after this
Did this happen?
Cirrus has a lot of problems with their environment so it doesn't
surprise me their configuration sucks.
I don't think they really intended it for multihomed environment any ways.
My udhcpc is already disabled and that config is taken out. Just
helping the bug hunting effort at this point. :P
Thanks, can you try again with this?
tcpdump -nl -ieth0 -s0 -vvv port 67 or port 68
It should parse DHCP packets with gobs of details.
Please sent the output as attachment to prevent line wraps and such.
--
vda
No change with the patch it did not go to the background.
Output is attached. I cut it down to 2 cycles, but goes forever as before.
--
Michael Davis
Software Engineer
DTL Controls, LLC
08:27:23.798487 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP
(17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:ba:d0:0b:ad:00, length 548, xid 0x91fb9e36, Flags
[none] (0x0000)
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Client-ID Option 61, length 7: ether 00:ba:d0:0b:ad:00
Vendor-Class Option 60, length 12: "udhcp 1.11.2"
MSZ Option 57, length 2: 576
Parameter-Request Option 55, length 7:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 268
08:27:24.099156 IP (tos 0x0, ttl 64, id 53685, offset 0, flags [none], proto
UDP (17), length 328) 192.168.1.1.bootps > 255.255.255.255.bootpc: [udp sum ok]
BOOTP/DHCP, Reply, length 300, xid 0x91fb9e36, Flags [none] (0x0000)
Your-IP 192.168.1.199
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
BR Option 28, length 4: 192.168.1.255
Domain-Name-Server Option 6, length 4: 192.168.1.1
Default-Gateway Option 3, length 4: 192.168.1.1
Subnet-Mask Option 1, length 4: 255.255.255.0
Server-ID Option 54, length 4: 192.168.1.1
Lease-Time Option 51, length 4: 86400
DHCP-Message Option 53, length 1: Offer
END Option 255, length 0
PAD Option 0, length 0, occurs 20
08:27:24.128317 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP
(17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:ba:d0:0b:ad:00, length 548, xid 0x91fb9e36, Flags
[none] (0x0000)
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:ba:d0:0b:ad:00
Vendor-Class Option 60, length 12: "udhcp 1.11.2"
Requested-IP Option 50, length 4: 192.168.1.199
Server-ID Option 54, length 4: 192.168.54.4
Parameter-Request Option 55, length 7:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 260
08:27:27.205232 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP
(17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:ba:d0:0b:ad:00, length 548, xid 0x91fb9e36, Flags
[none] (0x0000)
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:ba:d0:0b:ad:00
Vendor-Class Option 60, length 12: "udhcp 1.11.2"
Requested-IP Option 50, length 4: 192.168.1.199
Server-ID Option 54, length 4: 192.168.54.4
Parameter-Request Option 55, length 7:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 260
08:27:30.282219 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP
(17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:ba:d0:0b:ad:00, length 548, xid 0x91fb9e36, Flags
[none] (0x0000)
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:ba:d0:0b:ad:00
Vendor-Class Option 60, length 12: "udhcp 1.11.2"
Requested-IP Option 50, length 4: 192.168.1.199
Server-ID Option 54, length 4: 192.168.54.4
Parameter-Request Option 55, length 7:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 260
08:27:33.439087 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP
(17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:ba:d0:0b:ad:00, length 548, xid 0xa63d0639, Flags
[none] (0x0000)
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Client-ID Option 61, length 7: ether 00:ba:d0:0b:ad:00
Vendor-Class Option 60, length 12: "udhcp 1.11.2"
Requested-IP Option 50, length 4: 192.168.1.199
MSZ Option 57, length 2: 576
Parameter-Request Option 55, length 7:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 262
08:27:33.739690 IP (tos 0x0, ttl 64, id 53929, offset 0, flags [none], proto
UDP (17), length 328) 192.168.1.1.bootps > 255.255.255.255.bootpc: [udp sum ok]
BOOTP/DHCP, Reply, length 300, xid 0xa63d0639, Flags [none] (0x0000)
Your-IP 192.168.1.199
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
BR Option 28, length 4: 192.168.1.255
Domain-Name-Server Option 6, length 4: 192.168.1.1
Default-Gateway Option 3, length 4: 192.168.1.1
Subnet-Mask Option 1, length 4: 255.255.255.0
Server-ID Option 54, length 4: 192.168.1.1
Lease-Time Option 51, length 4: 86400
DHCP-Message Option 53, length 1: Offer
END Option 255, length 0
PAD Option 0, length 0, occurs 20
08:27:33.768514 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP
(17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:ba:d0:0b:ad:00, length 548, xid 0xa63d0639, Flags
[none] (0x0000)
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:ba:d0:0b:ad:00
Vendor-Class Option 60, length 12: "udhcp 1.11.2"
Requested-IP Option 50, length 4: 192.168.1.199
Server-ID Option 54, length 4: 192.168.54.4
Parameter-Request Option 55, length 7:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 260
08:27:36.825492 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP
(17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:ba:d0:0b:ad:00, length 548, xid 0xa63d0639, Flags
[none] (0x0000)
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:ba:d0:0b:ad:00
Vendor-Class Option 60, length 12: "udhcp 1.11.2"
Requested-IP Option 50, length 4: 192.168.1.199
Server-ID Option 54, length 4: 192.168.54.4
Parameter-Request Option 55, length 7:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 260
08:27:39.882459 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP
(17), length 576) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:ba:d0:0b:ad:00, length 548, xid 0xa63d0639, Flags
[none] (0x0000)
Client-Ethernet-Address 00:ba:d0:0b:ad:00
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:ba:d0:0b:ad:00
Vendor-Class Option 60, length 12: "udhcp 1.11.2"
Requested-IP Option 50, length 4: 192.168.1.199
Server-ID Option 54, length 4: 192.168.54.4
Parameter-Request Option 55, length 7:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 260_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox