Tiny Core Base > Raspberry Pi

eth0 to wlan0 Bridge

<< < (2/4) > >>

Greg Erskine:
hi yeme,

I will be following with interest.   :D

Please post your results.

regards
Greg

Paul_123:
I had this working just fine on a model B.   This was on a piCore 6.1 release.  I don't use my bridge much, I have not been able to find my sd card with this on it.

But I had made some improvements over what was on my previous post.  Biggest thing I changed was that if the bridge failed to come up and get a valid IP address, then I would bring the bridge back down and then set eth0 with a static address and start a dhcp server on eth0 so that you can connect to the bridge and check the configuration.


yeme, to answer your PM, yes the startup script goes in /opt/bootlocal.sh

yeme:
Yes, I just had the same problem.

I got the bridge working last night and connected my laptop and received an IP address. I could browse but it was much slower than the bridge I use with the  RPi setup (would a B+ or RPi 2 help with this due to more RAM?). I then restarted everything and the laptop showed it was connected (Win7) to the network but I could not reach any sites.  My next step is to set static IPs.

Of note:

I commented out this line in Paul_123's original thread from June as on the RPi I had seen mention of Dwest being problematic and my Br0 would not work until I made this change to the bootlocal.sh.

#wpa_supplicant -Dwext -iwlan0 -bbr0 -c/etc/wpa_supplicant.conf &

Paul_123, would you share detail on how you set your IPs upon Br0 failure if you can re-create or remember?

Paul_123:
you cannot comment out the whole wpa_supplicant line.....that is what authenticates you with the downdstream AP

if the WEXT driver is causing you a problem with your wifi card, then change the -D command.    The other thing you need to look at is the configuration of your /etc/wpa_supplicant.conf .  You can get some clues as to how this should be setup by running the wifi.sh script as if you were doing a normal wifi client, then take a look at how that runs.

AS for speed, This will not be terribly fast due to the all of the traffic in and out going through the USB bus.  But should be as fast as a Raspbian configuration.   I doubt memory is an issue, but the quad core of the RPi 2, would probably help.

I had many hours in making the scripts, Since I don't use the bridge much, I doubt I will have fun in recreating the scripts.   But I will take a look for my SD card with the config.  I believe I left it at work.

yeme:
Ok, let me know.

John

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version