I have a robot onboard computer (called 'C') connected wirelessly to a router, and a Ubuntu machine (called 'U') connected by wire to the same router.
'U' has IP 192.168.1.95 and can access internet, while 'C' can not access internet.
The following is what I get fromifconfig :
br0:
Link uncap:Ethernet
HWaddr 00:0b:ab:ad:60:8e
init addr: 192.168.1.11
Bcast: 192.168.1.255
Mask: 255.255.255.0
.......lo:
Link encap: Local network
Intet addr:127.0.0.1
Mask 255.0.0.0
.....wlan0:
Link encap: Ethernet
HWaddr: 7c:5c:f8:25:bf:5c
intet addres: 192.168.0.107
Bcast:192.168.0.255
Mask: 255.255.255.0
......
I can not ping either 192.168.1.11 or 192.168.0.107from 'U', neither from 'C' to 'U'.
Have searched around about Bridge in networking, still not solved. Any help would be appreciated.
51 Answer
The wifi adapter on C (wlan0 @ 192.168.0.107) is on a different subnet than U (192.168.1.95). The third octet in the IP designates what subnet the IP is on because of your mask (255.255.255.0).
The bridge adapter (br0 @ 192.168.1.11) on C is on the same subnet as U, but because it can't see the wifi adapter, it won't be able to talk to the network.
If you put the C's wlan0 on the 192.168.1.0 network instead of on the 192.168.0.0 network (where it is), it should be able to communicate. You would just need to edit the network configuration for the wlan0 adapter on C.
2