Seems really complicated (and stupid...) to run both interfaces on the
same net. So now I changed eth0 to 192.168.1.90, rausb0 remains at
192.168.0.55. Thanks for your advices!
I can now boot the Fox Board with Eth-cable disconnected and still
connect to the board! :)
BTW, I also succeded to use WPA with this. I know it may complicate
things, but I had to switch to WPA when my neighbour decided to have a
look in my computers...
From the command line I did this:
iwpriv rausb0 set AuthMode=WPAPSK
iwpriv rausb0 set EncrypType=TKIP
iwconfig rausb0 essid <MyEssid>
iwpriv rausb0 set WPAPSK=<Key>
I then changed the config:
vi /etc/init.d/wireless
# set the known wep keys
#information "WEP: $KEY"
#/usr/sbin/iwconfig $DEV key $KEY [1]
iwpriv $DEV set AuthMode=WPAPSK
iwpriv $DEV set EncrypType=TKIP
/usr/sbin/iwconfig $DEV essid $ESSID
...
#end of dirty work around
iwpriv rausb0 set WPAPSK=34D...
The values shall be set in /etc/conf.d/net.wireless, have to fix that.
/Patrik
--- In foxboard@yahoogroups.com, ant9000@... wrote:
>
> Quoting Patrik Hermansson <patrik@...>:
>
> > Well well, guess I learned something new about networks today. Got a
> > little confused, I've been using Eth and Wlan on the same subnet
on the
> > same computer before.
>
> As is shown by the content of your ARP cache, eth0 is the default
outgoing
> route for packets - replies to pings on the wireless IP address just
come out
> from the ethernet port, so when you shut it down the routing table
has no way
> to reach the outside world anymore.
>
> In order to use two interfaces on the same net, you need to be
explicit with
> regards to the routing policies; do a 'man route' on your Linux
platform and
> you'll get back on track.
>
> Essentially, you need to specify which of the two network interfaces
should be
> the default gateway. BTW, you would have had the same problem on any
standard
> Linux box.
>
> Hope this helps to clarify the situation a bit...
>
> Antonio
>
>
>
>
> ----------------------------------------------------------------
> Net Wise webmail system - http://www.netwise.it
> This message was sent using IMP, the Internet Messaging Program.
>