Modify

Opened 11 years ago

Closed 11 years ago

#1479 closed defect (worksforme)

Kamikaze - change or bug in network scripts. broken between r6595 and r6538

Reported by: h3sp4wn Owned by: nbd
Priority: lowest Milestone: Kamikaze 7.06
Component: base system Version:
Keywords: Cc:

Description

The scripts are no longer working so that option network wan deals with using ath0 as a wan interface. If the correct way has changed please close as invalid etc. (not overly important as it can be worked around easily)

What used to work :

/etc/config/network

#### WAN configuration
config interface        wan
        option proto    static
        option ipaddr   172.16.0.4
        option netmask  255.255.255.0
        option gateway  172.16.0.1
        option nameserver 172.16.0.1

/etc/config/wireless

config wifi-device  wifi0
        option type     atheros

config wifi-iface
        option device   wifi0
        option network  wan
        option mode     wds
        option ssid     foo
        option hidden   0
        option encryption psk2
        option key "bar"

What I have to use now (I remember specifically being told that I shouldn't do this)

/etc/config/network

#### WAN configuration
config interface        wan
        option proto    static
        option ifname   "ath0"
        option ipaddr   172.16.0.4
        option netmask  255.255.255.0
        option gateway  172.16.0.1
        option nameserver 172.16.0.1

/etc/config/wireless

config wifi-device  wifi0
        option type     atheros

config wifi-iface
        option device   wifi0
#       option network  wan
        option mode     wds
        option ssid     foo
        option hidden   0
        option disabled 0
        option encryption psk2
        option key "bar"

Attachments (0)

Change History (5)

comment:1 Changed 11 years ago by h3sp4wn

Should have assigned it to base-system (sorry)

comment:2 Changed 11 years ago by nbd

  • Component changed from packages to base system
  • Milestone set to Kamikaze Milestone 1
  • Owner changed from developers to nbd
  • Status changed from new to assigned

Please describe what doesn't work with the first config...

comment:3 Changed 11 years ago by h3sp4wn

I reflashed again and until I created the /etc/config/* scripts again manually it would still not work.

using DEBUG=echo again I got. could be a whitespace issue or something (but I cannot find it) but they look identical (I cannot understand it)

root@venus:/# wifi up
/sbin/wifi: eval: 1: 1: not found
/sbin/wifi: eval: 1: 1: not found
/sbin/wifi: eval: 1: 1: not found

comment:4 Changed 11 years ago by florian

Does this bug still appear with newer builds ?

comment:5 Changed 11 years ago by nbd

  • Resolution set to worksforme
  • Status changed from assigned 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.