[openbeosnetteam] Eureka!!! (was [MAKE BUG] Make installetc still crashes)

That did it Bruno, you're a genius!  I kept looking at that line in the 
Makefile and I couldn't imagine why it was dying.  I wasn't looking at the 
whole path.

See success below.  Several interesting things.  

First, I can ping local machines, but not myself (insert "didn't your 
parents tell you about pinging yourself" jokes here).  Once I add a 
gateway, I can ping remote machines.  

Second, at one point, "route show" worked and then it just stopped working. 
 I would get the headers that it prints, but no data and it would just sit 
there until I killed it.  It didn't have an affect on anything else, so 
that's good.

Third, pinging is really slow!  You can see below that a local ping is 
about 60ms.  When I boot to netserver, it drops to 0.6ms.   I know we 
haven't done any optimizations or anything, but I just wanted to point it 
out in case nobody else noticed it.

Fourth, does the "netmask" option work in ifconfig?  I tried it and it 
didn't give me an error, but it didn't change it either.  I tried 
"./ifconfig tulip0 inet 65.205.112.85 netmask 255.255.255.240" and 
"./ifconfig tulip0 inet 65.205.112.85 netmask 0xfffffff0".  Both were 
accepted, but neither changed the mask in "ifconfig -a".


$ cd ifconfig/
$ ./ifconfig -a
tulip0: flags=20<BROADCAST> mtu 1500
loop0: flags=118<RUNNING,MULTICAST,LOOPBACK> mtu 16384
$ ./ifconfig tulip0 inet 65.205.112.85
$ ./ifconfig -a
tulip0: flags=29<UP,RUNNING,BROADCAST> mtu 1500
        inet 65.205.112.85 netmask 0xff000000 broadcast 65.255.255.255
loop0: flags=118<RUNNING,MULTICAST,LOOPBACK> mtu 16384       


$ pwd
/boot/home/Desktop/OpenBeOS/Apr24/net_kit/source/apps/ping
$ ../ifconfig/ifconfig -a
tulip0: flags=29<UP,RUNNING,BROADCAST> mtu 1500
        inet 65.205.112.85 netmask 0xff000000 broadcast 65.255.255.255
loop0: flags=118<RUNNING,MULTICAST,LOOPBACK> mtu 16384
$ ping 65.205.112.85
PING 65.205.112.85 (65.205.112.85): 56 data bytes
--- 65.205.112.85 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

$ ping 65.205.112.81
PING 65.205.112.81 (65.205.112.81): 56 data bytes
64 bytes from 65.205.112.81: icmp_seq=0 ttl=255 time=66.367 ms
64 bytes from 65.205.112.81: icmp_seq=1 ttl=255 time=59.180 ms
--- 65.205.112.81 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 59.180/62.773/66.367/3.602 ms

$ route add default 65.205.112.81
add net default: gateway 65.205.112.81
$ ../ping/ping 207.71.3.4
PING 207.71.3.4 (207.71.3.4): 56 data bytes
64 bytes from 207.71.3.4: icmp_seq=0 ttl=249 time=114.111 ms
64 bytes from 207.71.3.4: icmp_seq=1 ttl=249 time=92.830 ms
--- 207.71.3.4 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 92.830/103.470/114.111/10.645 ms
                                            

Other related posts: