Giter Site home page Giter Site logo

Comments (7)

muirdm avatar muirdm commented on July 29, 2024

Looks like you have a typo in WISPr-Bandwitdth-Max-Down (should be WISPr-Bandwidth-Max-Down).

from node-radius.

nkarabulut381 avatar nkarabulut381 commented on July 29, 2024

The typo here doesn't matter. Including the dictionary, but the attributes is not working.

from node-radius.

muirdm avatar muirdm commented on July 29, 2024

Can you show the code you are using to try to load the dictionary and use the attribute?

from node-radius.

nkarabulut381 avatar nkarabulut381 commented on July 29, 2024

I am copying Dictionary.wispr which is the link to the radius/dictionary folder. I'm not doing anything else. because it needs to pull directly from that folder.

How do you think it should be?

from node-radius.

nkarabulut381 avatar nkarabulut381 commented on July 29, 2024

var dictionary_locations = [path.normalize(__dirname + "/../dictionaries")];

from node-radius.

muirdm avatar muirdm commented on July 29, 2024

You need to show your code if you want help. The dictionary works fine for me:

var radius = require('radius');

radius.add_dictionary('wispr.dict');

var packet = radius.encode({
  code: "Access-Request",
  secret: "obsidian order",
  attributes: [
    ['Vendor-Specific', 'WISPr', [['WISPr-Bandwidth-Max-Down', 1234]]],
  ]
});

from node-radius.

nkarabulut381 avatar nkarabulut381 commented on July 29, 2024

It worked this way. I just get the "Unknown Vendor" warning.

thanks

from node-radius.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.