MrWzard
11
root@DAVISROUTER:~# iwconfig
apcli0 RTWIFI SoftAP ESSID:“BW-Roswell”
Mode:Managed Channel=157 Access Point: FC:EC:DA:BE:A0:B7
Bit Rate=400 Mb/s
root@DAVISROUTER:~# ps w | grep dhcp
1857 root 1452 S /usr/sbin/odhcpd
2136 root 1232 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -x hostname:DAVIS-ROUTE
2981 root 1232 S udhcpc -p /var/run/udhcpc-apcli0.pid -s /lib/netifd/dhcp.script -f -t 0 -i apcli0 -x hostname:DAVISROUTER
root@DAVISROUTER:~# tcpdump -i apcli0 -X
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on apcli0, link-type EN10MB (Ethernet), capture size 262144 bytes
14:13:55.473840 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 92:83:c4:0f:37:33 (oui Unknown), length 300
0x0000: 4500 0148 0000 0000 4011 79a6 0000 0000 E…H…@.y…
0x0010: ffff ffff 0044 0043 0134 3095 0101 0600 …D.C.40…
0x0020: d1c5 8407 002f 0000 0000 0000 0000 0000 …/…
0x0030: 0000 0000 0000 0000 9283 c40f 3733 0000 …73…
0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0100: 0000 0000 0000 0000 6382 5363 3501 0139 …c.Sc5…9
0x0110: 0202 4037 0801 0306 0c0f 1c2a 793c 0c75 …@7…*y<.u
0x0120: 6468 6370 2031 2e33 302e 310c 0b44 4156 dhcp.1.30.1…DAV
0x0130: 4953 524f 5554 4552 ff00 0000 0000 0000 ISROUTER…
0x0140: 0000 0000 0000 0000 …
14:13:58.593847 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 92:83:c4:0f:37:33 (oui Unknown), length 300
0x0000: 4500 0148 0000 0000 4011 79a6 0000 0000 E…H…@.y…
0x0010: ffff ffff 0044 0043 0134 3092 0101 0600 …D.C.40…
0x0020: d1c5 8407 0032 0000 0000 0000 0000 0000 …2…
0x0030: 0000 0000 0000 0000 9283 c40f 3733 0000 …73…
0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 …
0x0100: 0000 0000 0000 0000 6382 5363 3501 0139 …c.Sc5…9
0x0110: 0202 4037 0801 0306 0c0f 1c2a 793c 0c75 …@7…*y<.u
0x0120: 6468 6370 2031 2e33 302e 310c 0b44 4156 dhcp.1.30.1…DAV
0x0130: 4953 524f 5554 4552 ff00 0000 0000 0000 ISROUTER…
0x0140: 0000 0000 0000 0000 …
setting up the connection on my phone then cloning the mac address and manually configuring the interface brings up the connection on the router – there is never a DHCP response from the local server.
when I have more time I’ll compare the DHCP packets from an older GLI.NET router