[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bridged Network Question



David Brodbeck(brodbd@u.washington.edu) is reported to have said:
> 
> >On Thu, Aug 02, 2007 at 03:09:48PM -0400, Wayne Topa wrote:
> >>
> >>I have been using an old laptop as an Access Point for our laptops to
> >>connect to the internet through the main box -> modem connection.
> >>The Lan (eth0) is bridged with a Netgear WG511U PCMCIA card (ath0) to
> >>connect to the gatway computer.
> >>
> >>It works fine, as an AP, but has one problem.  The AP itself can not
> >>connect to the internet through the gatway.  The only way to update
> >>the AP's software is to change /etc/network/interfaces from the
> >>bridged setup to just a Lan setup, reboot, do the update/upgrade,
> >>change the interfaces file back to the bridged mode and reboot again.
> 
> Do you have an IP address associated with the bridge?  Setting an IP  
> on one of the network cards won't work if they're bridged -- it has  
> to be on the bridge interface.
> 

Yes, I discovered that when I first set the AP up.

# The Debian Bridge method
auto br0
iface br0 inet static
    address 192.168.1.8
    network 192.168.1.0
    netmask 255.255.255.0
    broadcast 192.168.1.255
    gateway 192.168.1.3
#   bridge_ports all  # this doesn't bring up ath0
    bridge_ports ath0 eth0
    route add default gateway 192.168.1.3
    dns-nameservers 192.168.1.3 64.136.173.5 164.136.164.77  #  Just added but didn't help

I must have missed something but darned if I can find what!

Thanks
Wayne

-- 
Plug-and-Play is really nice, unfortunately it only works 50% of the time.
To be specific the "Plug" almost always works.            --unknown source
_______________________________________________________



Reply to: