set vendor class identifier ?

Discussion in 'Tomato Firmware' started by khris972, Jun 25, 2010.

  1. khris972

    khris972 Networkin' Nut Member

    hello


    my provider needs to receive vendor class identifier connected to me and I receive my gateway ,ip, etc. ...

    how can I send the vendor class identifier with tomato?

    thanks for help
     
  2. rhester72

    rhester72 Network Guru Member

    It looks like this can be done by passing an extra argument to busybox's udhcpc, but I can't find where Tomato actually *calls* udhcpc or whether it's possible to stuff a value into an environment variable (NVRAM or otherwise) that it will pick up.

    Rodney
     
  3. teddy_bear

    teddy_bear Network Guru Member

    There's no way now - Tomato doesn't pass vendor class to udhcpc (rhester72 - it's in router/rc/dhcp.c - start_dhcpc() function). Probably a useful option to add to futire builds.
     
  4. rhester72

    rhester72 Network Guru Member

    I'd advocate allowing passing of an arbitrary string (via NVRAM?) to udhcpc rather than implementing individual parameters like vendor class, which would allow for quite a bit of flexibility and future-proofing with very little code change. =) Just my $0.02.

    Rodney
     
  5. khris972

    khris972 Networkin' Nut Member

    ok guys thank you for your answers, I go back to dd-wrt grrrr lol
    joking

    I hope to fix soon, because I prefer tomato than dd-wrt


    very nice build teddy (Tomato ND USB Mod with kernel 2.6)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice