Modify

Opened 3 years ago

Closed 3 years ago

#18829 closed defect (worksforme)

ip route error?

Reported by: katananja Owned by: developers
Priority: response-needed Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

TP-Link TL-WDR4300 v1 r44154.

After every reboot this messege appers on syslog:

Tue Jan 27 10:29:53 2015 user.emerg syslog: Usage: ip route { list | flush } SELECTOR
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route save SELECTOR
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route restore
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route showdump
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route get ADDRESS [ from ADDRESS iif STRING ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:                             [ oif STRING ] [ tos TOS ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:                             [ mark NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route { add | del | change | append | replace } ROUTE
Tue Jan 27 10:29:53 2015 user.emerg syslog: SELECTOR := [ root PREFIX ] [ match PREFIX ] [ exact PREFIX ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:             [ table TABLE_ID ] [ proto RTPROTO ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:             [ type TYPE ] [ scope SCOPE ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: ROUTE := NODE_SPEC [ INFO_SPEC ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: NODE_SPEC := [ TYPE ] PREFIX [ tos TOS ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:              [ table TABLE_ID ] [ proto RTPROTO ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:              [ scope SCOPE ] [ metric METRIC ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: INFO_SPEC := NH OPTIONS FLAGS [ nexthop NH ]...
Tue Jan 27 10:29:53 2015 user.emerg syslog: NH := [ via ADDRESS ] [ dev STRING ] [ weight NUMBER ] NHFLAGS
Tue Jan 27 10:29:53 2015 user.emerg syslog: OPTIONS := FLAGS [ mtu NUMBER ] [ advmss NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ rtt TIME ] [ rttvar TIME ] [ reordering NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ window NUMBER] [ cwnd NUMBER ] [ initcwnd NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ ssthresh NUMBER ] [ realms REALM ] [ src ADDRESS ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ rto_min TIME ] [ hoplimit NUMBER ] [ initrwnd NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ quickack BOOL ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: TYPE := [ unicast | local | broadcast | multicast | throw |
Tue Jan 27 10:29:53 2015 user.emerg syslog:           unreachable | prohibit | blackhole | nat ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: TABLE_ID := [ local | main | default | all | NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: SCOPE := [ host | link | global | NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: NHFLAGS := [ onlink | pervasive ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: RTPROTO := [ kernel | boot | static | NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: TIME := NUMBER[s|ms]
Tue Jan 27 10:29:53 2015 user.emerg syslog: BOOL := [1|0]
Tue Jan 27 10:29:53 2015 user.emerg syslog: Usage: ip route { list | flush } SELECTOR
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route save SELECTOR
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route restore
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route showdump
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route get ADDRESS [ from ADDRESS iif STRING ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:                             [ oif STRING ] [ tos TOS ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:                             [ mark NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:        ip route { add | del | change | append | replace } ROUTE
Tue Jan 27 10:29:53 2015 user.emerg syslog: SELECTOR := [ root PREFIX ] [ match PREFIX ] [ exact PREFIX ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:             [ table TABLE_ID ] [ proto RTPROTO ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:             [ type TYPE ] [ scope SCOPE ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: ROUTE := NODE_SPEC [ INFO_SPEC ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: NODE_SPEC := [ TYPE ] PREFIX [ tos TOS ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:              [ table TABLE_ID ] [ proto RTPROTO ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:              [ scope SCOPE ] [ metric METRIC ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: INFO_SPEC := NH OPTIONS FLAGS [ nexthop NH ]...
Tue Jan 27 10:29:53 2015 user.emerg syslog: NH := [ via ADDRESS ] [ dev STRING ] [ weight NUMBER ] NHFLAGS
Tue Jan 27 10:29:53 2015 user.emerg syslog: OPTIONS := FLAGS [ mtu NUMBER ] [ advmss NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ rtt TIME ] [ rttvar TIME ] [ reordering NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ window NUMBER] [ cwnd NUMBER ] [ initcwnd NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ ssthresh NUMBER ] [ realms REALM ] [ src ADDRESS ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ rto_min TIME ] [ hoplimit NUMBER ] [ initrwnd NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog:            [ quickack BOOL ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: TYPE := [ unicast | local | broadcast | multicast | throw |
Tue Jan 27 10:29:53 2015 user.emerg syslog:           unreachable | prohibit | blackhole | nat ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: TABLE_ID := [ local | main | default | all | NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: SCOPE := [ host | link | global | NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: NHFLAGS := [ onlink | pervasive ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: RTPROTO := [ kernel | boot | static | NUMBER ]
Tue Jan 27 10:29:53 2015 user.emerg syslog: TIME := NUMBER[s|ms]
Tue Jan 27 10:29:53 2015 user.emerg syslog: BOOL := [1|0]

Previous working trunk r44077

Attachments (0)

Change History (4)

comment:1 follow-up: Changed 3 years ago by jow

  • Priority changed from normal to response-needed

Nothing in base OpenWrt requires or uses "ip". What packages are installed and enabled to run at boot?

comment:2 in reply to: ↑ 1 Changed 3 years ago by katananja

Replying to jow:

Nothing in base OpenWrt requires or uses "ip". What packages are installed and enabled to run at boot?

defrt=`ip route | grep "^default" | head -1`
ip route change $defrt initcwnd 10

rttoptmz=`ip route | grep "^default" | head -1`
ip route change $rttoptmz rtt 2000 rto_min 750

It was fine at r44077.

Last edited 3 years ago by katananja (previous) (diff)

comment:3 Changed 3 years ago by katananja

Fixed.
Changed from:

defrt=`ip route | grep "^default" | head -1`

To:

ip route | grep '^default' | awk '{print $1 " " $2 " " $3}'

Close the Ticket, thanks.

comment:4 Changed 3 years ago by nbd

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

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.