Use iproute2 instead of net-tools
Brought to you by:
pnawrocki
This patch rips out support for route and ifconfig,
wlassistant will use ip instead. It is only
preliminary, I'll code a version which tries to
detect the availability of net-tools or iproute2.
This versions is intended for people wanting to use a
distro which doesn't provide route and ifconfig
anymore, like LFS.
diff for wlassistant-0.5.5
Logged In: YES
user_id=1199165
The second version detects what utilities are installed and
uses the right one(s).
I don't know how to implement the netmask parameter for ip
addr add, maybe someone who knows how to do it can change
this.
diff for wlassistant-0.5.5 better version
Logged In: YES
user_id=1243212
Originator: NO
Hi, sorry it took so long. Thank you for your contribution! Your patch will be merged (slightly modified) in the 0.5.7 version to be released within a few days. In the meanwhile (since 0.5.5 and your patch) a command to remove default route has been introduced. Could you post the proper syntax using the "ip" executable? Thanks for your help!
Logged In: YES
user_id=1199165
Originator: YES
This is easy:
ip route del default