Opened 11 years ago

Closed 11 years ago

#818 closed defect (fixed)

Problem with vlan > 9

Reported by: simkim@… Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: base system Version:
Keywords: vlan Cc:


I'have setup a vlan with id 15 on a wrt54GLv1.1 with whiterussian RC5 but it didn't work

nvram set vlan15hwname=et0
nvram set vlan15ports='4t 3t 2t 1t 5*'
nvram set voip_ipaddr=
nvram set voip_ifname=vlan15
nvram set voip_proto=static
nvram set voip_netmask=

if I do "ifup voip" he says 'vlan15' is missing

It seems to be a shell script problem in /etc/ :

[ "${1%%[0-9]}" = "vlan" ] && (

should be replaced by :

[ "${1%%[0-9]*}" = "vlan" ] && (

after that all was working

root@OpenWrt:~# export foo=vlan15
root@OpenWrt:~# echo "${foo%%[0-9]}"
root@OpenWrt:~# echo "${foo%%[0-9]*}"

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by nbd

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

fixed in [4940], thanks for reporting

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.