Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10762 closed defect (fixed)

Bridging ethernet and wlan0 not working on WRT350n v2

Reported by: Maarten Bezemer <m.m.bezemer@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I am trying to bridge the wlan0 and ethernet (lan1 to lan4) devices. So I can make use of 1 IP range for all devices.

Having 2 interfaces (and 2 IP ranges) called LAN and WLAN, works without problems.

But when I add the wlan0 device to the LAN interface, it does not work: My laptop is unable to find the wireless network/SSID anymore.

In both situations, I use exactly the same wifi configuration, so it is not due to encryption, dhcp, etc problems.

The not working configuration is as follows.
/etc/config/networks (relavant parts):

config 'interface' 'lan'
        option 'ifname' 'lan1 lan2 lan3 lan4'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'netmask' '255.255.255.0'
        option 'macaddr' '00:1e:e5:93:e1:56'
        option 'ipaddr' '192.168.1.1'

/etc/config/wireless (again the relevant parts):

config 'wifi-device' 'radio0'
        option 'type' 'mac80211'
        option 'hwmode' '11g'
        option 'country' 'NL'

config 'wifi-iface'
        option 'device' 'radio0'
        option 'mode' 'ap'
        option 'network' 'lan'

The working configuration adds a new interface in /etc/config/networks:

config 'interface' 'lan'
        option 'proto' 'static'
        option 'netmask' '255.255.255.0'
        option 'ipaddr' '192.168.2.1'

and has this change in the wireless configuration of /etc/config/wireless:

config 'wifi-iface'
        option 'network' 'wlan'

It seems to me that this is a bug?

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

there was a bug in handling the macaddr option in /etc/config/network. fixed in recent trunk versions

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.