Modify

Opened 8 years ago

Closed 8 years ago

#3902 closed defect (fixed)

ipaddr and gateway never set in network state for ppp configurations

Reported by: ffrrrr@… Owned by: developers
Priority: normal Milestone: Kamikaze 8.09 RC1
Component: base system Version:
Keywords: ppp ip-up Cc:

Description

Hello,

ipaddr and gateway parameters does not seem to be set in /var/state/network after a successful ppp connection (eg. pppoe).

They should, according to /etc/ppp/ip-up :

[ -z "$PPP_IPPARAM" -o -z "$PPP_LOCAL" ] || {
	uci_set_state network "$PPP_IPPARAM" ipaddr "$PPP_LOCAL"
	uci_set_state network "$PPP_IPPARAM" gateway "$PPP_REMOTE"
}

PPP_IPPARAM and PPP_LOCAL are both set when I test.

Attachments (1)

pppd-fix_ip_up_network_state.patch (996 bytes) - added by ffrrrr@… 8 years ago.
Include /lib/config/uci.sh in ip-up and ip-down to define uci_set_state and uci_revert state

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by ffrrrr@…

Include /lib/config/uci.sh in ip-up and ip-down to define uci_set_state and uci_revert state

comment:1 Changed 8 years ago by nico

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

Fixed in [12660]

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.