Search the web
Sign In
New User? Sign Up
foxboard · Embedded Linux FOX board
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Using D-Link adapter with Phrozen Beta   Message List  
Reply | Forward Message #2609 of 5654 |
Re: Using D-Link adapter with Phrozen Beta

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.
>






Thu Oct 12, 2006 9:10 pm

putteh
Offline Offline
Send Email Send Email

Forward
Message #2609 of 5654 |
Expand Messages Author Sort by Date

Hi! I compiled a new fimage using Phrozen Beta. I then used config_wifi-2.4-C1 to be able to use my D-Link usb adapter. All went fine, fimage installed and...
Patrik Hermansson
putteh
Offline Send Email
Oct 9, 2006
9:20 pm

Hi, while porting drivers etc. i never actually tested this scenario. What does the console and dmesg say ? maybe the network gets shutdown completely when...
blogic79
Offline Send Email
Oct 10, 2006
8:48 am

Hmm guess I have to create a script or connect the serial console... I tried now to boot with cable connected, ssh to 192.168.0.55(wlan). All ok. Unplugged...
Patrik Hermansson
putteh
Offline Send Email
Oct 10, 2006
10:21 am

I think you might be correct, about the network being shutdown if the cable is disconnected i will unfortunatley not have the time to do any testing, as i am...
blogic79
Offline Send Email
Oct 10, 2006
10:32 am

Same script with ifconfig: rausb0 Link encap:Ethernet HWaddr 00:15:E9:84:BD:49 inet addr:192.168.0.55 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST...
Patrik Hermansson
putteh
Offline Send Email
Oct 10, 2006
2:52 pm

looking at the ifconfig output, i notice, that both net devices are inside the same subnet !?!?! so if eth0 goes down, i assume that the network will be...
blogic79
Offline Send Email
Oct 10, 2006
3:34 pm

Hmm, I've done it like that with other Linux systems? But it seems I have to try it, I played around with the arp and two different PC's but no success. ...
Patrik Hermansson
putteh
Offline Send Email
Oct 11, 2006
5:53 am

... That sounds quite normal to me, and blogic79 already explained why: Since you have eth0 and rausb0 in the same subnet, everything gets confused. The arp...
Torsten Wensel
torsten_wen
Offline Send Email
Oct 11, 2006
9:00 am

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...
Patrik Hermansson
putteh
Offline Send Email
Oct 11, 2006
9:52 am

... 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 ...
ant9000@...
agalea71
Offline Send Email
Oct 11, 2006
10:35 pm

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...
putteh
Offline Send Email
Oct 12, 2006
9:12 pm

Take a look at the arp table on your pc. Try to clear the arp cache. Andrea...
Andrea Ubiali
a.ubiali@...
Send Email
Oct 10, 2006
4:13 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help