[wplug-bsd] Net configuration still not working
Brandon Kuczenski
brandon at 301south.net
Tue Jul 12 22:26:08 EDT 2005
On Tue, 12 Jul 2005, Christopher McHugh wrote:
> Looking at your routing table I can't see an explicit route back to the 192
> network. Unless that is what the link#1 is? Have you done a "route add"?
>
> Such as: "route add 192.168.1.0 192.168.1.1 255.255.255.0" Just a
> suggestion.
>
When I do that, I get a "file exists" error, which I think means the route
is already established.
On Tue, 12 Jul 2005, Poyner, Brandon wrote:
> After attempting the pings from both the gateway and laptop what is the
> output from 'arp -an' on both computers? Do you have an ethernet
> crossover cable, or a basic hub, to try to get the WRT54GS out of the
> picture? Did you disable the firewall on the WRT54GS?
Getting the WRT54G out of the picture is a very good idea, though my
original goal was to connect to that device in particular in order to
configure its Wireless security settings.
I'm not familiar with the arp command.. but here are the outputs:
>From the laptop (192.168.1.20, Linux 2.6.8), after setting
# ifconfig eth0 inet 192.168.1.20 netmask 255.255.255.0
# route add default gw 192.168.1.2
# ping 192.168.1.1
... successful ping ...
# arp -an
? (192.168.1.2) at <incomplete> on eth0
? (192.168.1.1) at 00:13:10:19:67:58 [ether] on eth0
#
>From the BSD box (192.168.1.2, FreeBSD 5.3)
# ping 192.168.1.1
... unsuccessful ping ...
# arp -an
? (128.2.56.1) at 08:00:7f:01:00:57 on xl0 [ethernet]
? (128.2.59.255) at ff:ff:ff:ff:ff:ff on xl0 permanent [ethernet]
? (192.168.1.1) at (incomplete) on pcn0 [ethernet]
? (192.168.1.2) at 00:60:b0:f0:69:d0 on pcn0 permanent [ethernet]
#
-Brandon
More information about the wplug-bsd
mailing list