Hi, all,
I've had serious issues getting my Samsung Galaxy S7 to work via the WAN Android phone tethering option. The only place where I've seen it work out of the box is on the Asus RT-N16 with stock firmware, but I couldn't log into linux and see what it did differently. Today I purchased a RT-AC3100 to try it in the merlin firmware, and it is not working out of the box.
I finally found a path that gets it to work.
First the symptoms:
With either dual-wan or just USB wan enabled, the router assigns "eth3" to the phone when I enable usb tethering (via hotplug?). "ip link" shows this for eth3:
21: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
It will never give it an IP address, either automatically or if I manually try and run udhcpc. I see errors like this in syslog:
It seems that the various network commands really do not like that the MAC address is 00:00:00:00:00:00.
Now, for my partial workaround. I change the MAC address to 01 and started a new dhcp client, and it magically started working!
Now, for my fundamental question to the group: How can I make this "stick" either as a work around or as a real fix to the issue?
I've had serious issues getting my Samsung Galaxy S7 to work via the WAN Android phone tethering option. The only place where I've seen it work out of the box is on the Asus RT-N16 with stock firmware, but I couldn't log into linux and see what it did differently. Today I purchased a RT-AC3100 to try it in the merlin firmware, and it is not working out of the box.
I finally found a path that gets it to work.
First the symptoms:
With either dual-wan or just USB wan enabled, the router assigns "eth3" to the phone when I enable usb tethering (via hotplug?). "ip link" shows this for eth3:
21: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
It will never give it an IP address, either automatically or if I manually try and run udhcpc. I see errors like this in syslog:
- miniupnpd[20116]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
- miniupnpd[20116]: Failed to get IP for interface eth3
It seems that the various network commands really do not like that the MAC address is 00:00:00:00:00:00.
Now, for my partial workaround. I change the MAC address to 01 and started a new dhcp client, and it magically started working!
- ip link set dev eth3 address 00:00:00:00:00:01
- /sbin/udhcpc -v -i eth3 -p /var/run/udhcpc3.pid -s /tmp/udhcpc -t2 -T5 -A160 -O33 -O249
Now, for my fundamental question to the group: How can I make this "stick" either as a work around or as a real fix to the issue?
- Is there something I can set in nvram (usb_wan_hwaddr_x, usb_wan_hwaddr, other) to tell it to use a different mac address?
- Is there something I can set in hotplug or miniupnpd to set a different mac address?
- I'm still investigating the various "user scripts" that are offered in merlin. Does anyone have a suggestion as to where I could insert the "ip link set dev eth3 address" command in there?