Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: acon on September 28, 2010, 07:23:49 pm

Title: [SOLVED] Add bridge does not work
Post by: acon on September 28, 2010, 07:23:49 pm
I have 1 wan (eth1) interface, 1 lan interface (eth0) and 1 wlan (wlan0) configured to be an access point (hostapd).
I want to bridge eth0 and wlan0, but when i select bridged and new bridge, i get "Dato vacío: interfaz de red" (Empty data: network interface)

¿What's wrong?
Title: Re: Add bridge does not work
Post by: Jan Jacobs on September 28, 2010, 09:28:08 pm
check your /etc/network/interfaces file, is your wlan0 set up correctly?
Title: Re: Add bridge does not work
Post by: acon on September 29, 2010, 08:42:11 am
¿? As long as i know, /etc/network/interfaces is generated by the ebox configuration system. You cant edit this file manualy, or if you do it you will lose all the changes during the next ebox config change.
Title: Re: Add bridge does not work
Post by: Jan Jacobs on September 29, 2010, 09:19:10 am
that is correct, but if your wlan is not configured correctly, thats most likely to bring up the empty data error, as far as i know ;)
so, if your interfaces file looks correct, we have tackled one thing, and can check for the next :)

troubleshooting is a step-by-step project ;)
Title: Re: Add bridge does not work
Post by: acon on September 29, 2010, 03:42:09 pm
I have modified /etc/network/interfaces from:
"auto lo eth0 eth1" to "auto lo eth0 eth1 wlan0"
I have restarted networking with /etc/init.d/networking restart

Same result adding a bridge.
Note: i get same result when i try to create te bridge from eth0
Title: Re: Add bridge does not work
Post by: Jan Jacobs on September 29, 2010, 06:16:01 pm
can you paste the outcome of "iwconfig wlan0"  ?
Title: Re: Add bridge does not work
Post by: acon on September 29, 2010, 06:23:19 pm
Of course:
Code: [Select]
iwconfig wlan0
wlan0     IEEE 802.11abgn  Mode:Master  Frequency:2.412 GHz  Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

Title: Re: Add bridge does not work
Post by: Jan Jacobs on September 29, 2010, 06:32:09 pm
Code: [Select]
wlan0     Ralink STA  ESSID:"<SSID>"  Nickname:"RT2870STA"
          Mode:Managed  Frequency=2.462 GHz  Access Point: 00:0C:F6:72:89:6C  
          Bit Rate=54 Mb/s  
          RTS thr:off   Fragment thr:off
          Link Quality=97/100  Signal level:-71 dBm  Noise level:-83 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

see the difference between yours and mine?
are you sure yours is working? becaumse im afraid your wlan isnt working, then you have other issues that are not Zentyal related
Title: Re: Add bridge does not work
Post by: acon on September 30, 2010, 08:19:14 am
I think the differences with our output is:
-mine is in master mode as expected
-yours is connected to an ap and mine has no active conection

Anyway, i can connect to my wifi with a laptop, but i cant get an ip because in zential, wlan0 is unconfigured and dhcp is not serving thin network.

I think the bridge problem is not related to wifi. Now i have eth0 as my internal network, configured with a static ip and wlan0 unconfigured. If i try to create the bridge in eth0, i get same error.

BTW i have checked my wireless config this way:
I have assigned a static ip fron another range to wlan 0 and i have added a dhcp range to wlan0.
Now i can connect to my wifi, i get an ip and i can ping my server, so the wifi stuff is working as expected.
The problem is with zentian bridged mode.

In command line, i can add a bridge with brctl, but it is not dispayed in zential network connections.

Thanks for your help
Title: [SOLVED] Re: Add bridge does not work
Post by: acon on September 30, 2010, 02:34:40 pm
I have installed the last Zential Updates wich includes DHCP and DNS and now i can create the bridge without problem.
Wil now test if ddns problem is also solved.

Thanks