run it under ratrace, let's see what it thinks it's doing. don't forget: you can do what tftp is doing via echo commands in rc, and, sometimes, that's a fast debug path.
On Mon, Apr 7, 2025 at 1:13 PM Paul Lalonde <[email protected]> wrote: > I'm trying to isolate my plan9 network from the other things running in my > house. > I have two ports in the back of my cpu/auth box, which I am going to use > as the bridge as well, and a network switch. The switch is connected to > the port on my cpu/auth box that should serve the 192.168.0.0 subnet; the > other port goes to my household router on 192.168.1.0 . > > Things *almost* work. In an attempt not to mess my world too much, I'm > setting up my plan9 network on ether1, bound into /net.alt. From there I > successfully serve DHCP to hosts that are connected to my switch by running > this: > > bind -b '#l1' /net.alt > bind -b '#I1' /net.alt > > ip/ipconfig -x /net.alt ether /net.alt/ether1 add 192.168.0.2 255.255.255.0 > ndb/cs -x /net.alt -f /lib/ndb/local > > ip/dhcpd -x /net.alt 192.168.0.32 16 > > But tftp is escaping me. > When running tftpd I get: > > fluxcpu% ip/tftpd -x /net.alt > ip/tftpd: announcing on /net.alt/udp!*!tftp: announce opening > /net.alt/udp/clone: file does not exist: '/net.alt/udp' > > > But /net.alt/udp is clearly there: > > fluxcpu% ls /net.alt/udp > /net.alt/udp/0 > /net.alt/udp/1 > /net.alt/udp/2 > /net.alt/udp/clone > /net.alt/udp/stats > > Any pointers? > > Thanks, > Paul > > *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions > <https://9fans.topicbox.com/groups/9fans> + participants > <https://9fans.topicbox.com/groups/9fans/members> + delivery options > <https://9fans.topicbox.com/groups/9fans/subscription> Permalink > <https://9fans.topicbox.com/groups/9fans/Tb7d0bba710659dc0-M262362461b0c96d257b4caea> > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tb7d0bba710659dc0-Mce0c29912744047023b84a6b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
