#7 Use iproute2 instead of net-tools

open
nobody
None
5
2006-08-23
2006-08-23
Dr.Nop
No

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.

Discussion

  • Dr.Nop

    Dr.Nop - 2006-08-23

    diff for wlassistant-0.5.5

     
  • Dr.Nop

    Dr.Nop - 2006-08-24

    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.

     
  • Dr.Nop

    Dr.Nop - 2006-08-24

    diff for wlassistant-0.5.5 better version

     
  • Pawel Nawrocki

    Pawel Nawrocki - 2007-04-02

    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!

     
  • Dr.Nop

    Dr.Nop - 2007-04-05

    Logged In: YES
    user_id=1199165
    Originator: YES

    This is easy:

    ip route del default

     

Log in to post a comment.