[wplug-bsd] Net configuration still not working

Christopher C. McHugh cmchugh at captel.com
Wed Jul 13 08:36:37 EDT 2005


That is not always the case.  Try logging onto the box locally and as root
flush the routing table and try again. (If you do it remotely via ssh you
will most likely lose connectivity.  "route flush" Will clear the routing
table and allow you to start from scratch.

Regards,

Christopher C. McHugh

-----Original Message-----
From: wplug-bsd-bounces+cmchugh=captel.com at wplug.org
[mailto:wplug-bsd-bounces+cmchugh=captel.com at wplug.org] On Behalf Of Brandon
Kuczenski
Sent: Tuesday, July 12, 2005 22:26
To: WPLUG BSD user group
Subject: Re: [wplug-bsd] Net configuration still not working

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


_______________________________________________
wplug-bsd mailing list
wplug-bsd at wplug.org
http://www.wplug.org/mailman/listinfo/wplug-bsd





More information about the wplug-bsd mailing list