Modify

Opened 8 years ago

Closed 7 years ago

#6759 closed defect (fixed)

admswconfig doesn't create proper configuration for Zyxel P-334WT on startup

Reported by: Alexey Torkhov <atorkhov@…> Owned by: florian
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: backfire 10.03 RC1
Keywords: Cc:

Description

Script /etc/init.d/admswconfig is supposed to create proper initial configuration of VLAN ports on startup. But in case of image for Zyxel P-334WT (openwrt-adm5120-p-334wt) it doesn't do that as it has in beginning:

[ -e /etc/config/network ] && exit 0

and file /etc/config/network exists in /rom, which means this script is newer work there.

Proper VLAN configuration for P-334WT board is:

#### VLAN configuration
config switch
        option eth0     "4"
        option eth1     "0 1 2 3"

And it should be either be created by /etc/init.d/admswconfig or be in default /etc/config/network from the start.

Attachments (0)

Change History (6)

comment:1 Changed 8 years ago by Alexey Torkhov <atorkhov@…>

In my configuration eth0 is WAN and eth1 is LAN, seems that by default they are in different order.

comment:2 Changed 8 years ago by anonymous

Hmm... even after such config, it requires to do

ifconfig eth2 up
ifconfig eth3 up
ifconfig eth4 up

for other ports to work.

This is perhaps other ports are bound to eth2-eth4 in default config:

# admswconfig
ethX	port0	port1	port2	port3	port4	CPU
0	1	1	1	1		1
1					1	1
2			1			1
3		1				1
4	1					1

Or may be driver does not initialise device properly.

comment:3 Changed 8 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to accepted

comment:4 Changed 8 years ago by florian

  • Milestone changed from Kamikaze to Backfire 10.03-rc2
  • Version changed from Kamikaze 8.09 to backfire 10.03 RC1

comment:5 Changed 8 years ago by nico

  • Milestone changed from Backfire 10.03-rc2 to Backfire 10.03

comment:6 Changed 7 years ago by florian

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

Fixed with r25171

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.