You are not logged in.

#1 2010-03-14 18:43:37

correnos
Member
Registered: 2009-11-05
Posts: 20

Bridging WiFi and ethernet cards not working

My setup is that I have a laptop with both a wifi card and an ethernet card that can connect to the network via wifi. I also have a desktop with no wifi card that I want to use on the network. I have the two connected via an ethernet cable. I want to bridge the wired and wireless connections on my laptop so that my desktop can be on the same network. When I do this, however, problems arise on the wifi. According to iwconfig, it can connect to the network, but when I run dhcpcd on the wireless interface it times out on waiting for carrier. The bridging in WIndows works fine, but I'd rather not reboot just for this task. Does anyone know a solution to this problem? I am running a bcm4312 wifi card if it helps.

Last edited by correnos (2010-03-14 18:43:51)

Offline

#2 2010-03-17 05:36:13

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: Bridging WiFi and ethernet cards not working

does setting static ip address work?

Offline

#3 2010-03-17 08:16:46

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Bridging WiFi and ethernet cards not working

Describe what you are doing to configure the bridge.

Offline

#4 2010-03-17 13:05:05

correnos
Member
Registered: 2009-11-05
Posts: 20

Re: Bridging WiFi and ethernet cards not working

ifconfig eth0 down
ifconfig eth1 down
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig eth0 up
ifconfig eth1 up

wpa_supplicant -B -Dwext -i eth0 -c /etc/wpa_supplicant.conf
# wait 10 seconds or so
iwconfig eth0 # shows it's connected
dhcpcd eth0 # times out

Offline

#5 2010-03-17 14:42:32

grzech0
Member
Registered: 2010-03-17
Posts: 2

Re: Bridging WiFi and ethernet cards not working

did You try to setup IP address and default gateway on br0 interface manually?

Offline

#6 2010-03-17 17:37:10

correnos
Member
Registered: 2009-11-05
Posts: 20

Re: Bridging WiFi and ethernet cards not working

No, I haven't. I will try it when I get a chance.

Offline

Board footer

Powered by FluxBB