maemo.org Bugzilla – Full Text Bug Listing |
Summary: | DHCP with redundant Gateway does not configure any routes | ||
---|---|---|---|
Product: | [Maemo Official Platform] Connectivity | Reporter: | Ehsan <ehsan> |
Component: | Networking | Assignee: | unassigned <nobody> |
Status: | RESOLVED FIXED | QA Contact: | networking-bugs |
Severity: | major | ||
Priority: | Unspecified | CC: | andre_klapper, ehsan, jukka.rissanen, maemo-bugs, maemo |
Version: | 5.0/(3.2010.02-8) | Keywords: | patch |
Target Milestone: | 5.0/(10.2010.19-1) | ||
Hardware: | N900 | ||
OS: | Maemo | ||
Attachments: | patch |
Nevermind, I can reproduce with ISC dhdpc and an "option routers" entry containing two IP addresses. The problem is in /etc/maemo-dhcp.d/50_ipv4_network_setup which handles $router as a single value causing /sbin/route to fail with a syntax error. > + /sbin/route add default gw XXX.XXX.XXX.1 XXX.XXX.XXX.2 dev wlan0 > BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) multi-call binary > > Usage: route [{add|del|delete}] This is a regression from Diablo which handles this fine, iterating over the tokens in $router and setting individual routes.
Created an attachment (id=2520) [details] patch Here's my fix for this bug, in case this is useful.