LUGRo-Mesh Forum (espaņol/english)
March 28, 2024, 11:49:56 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free
 
  Home   Forum   Help Search Gallery Staff List Login Register  

nw_conf

Pages: [1]   Go Down
  Print  
Author Topic: nw_conf  (Read 921 times)
0 Members and 2 Guests are viewing this topic.
PCDOM
Full Member
***
Posts: 105


« on: April 17, 2009, 10:02:40 am »

is it possible to change the gateway id of the node ?

Helene Gauthier
Report Spam   Logged

Share on Facebook Share on Twitter

JulioCP
Administrator
Full Member
*****
Posts: 113


WWW
« Reply #1 on: April 18, 2009, 10:24:54 am »

is it possible to change the gateway id of the node ?

With nw_conf you change the SSID of the Public and Private APs. If you want to change the GatewayID of the wifidog.conf file, you have to do it by hand (in /etc/init.d/nightwing watch the code after the comment "## Set config for WiFiDog").

Quote
Helene Gauthier

         Saludos, Julio
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #2 on: April 18, 2009, 11:08:23 am »


With nw_conf you change the SSID of the Public and Private APs. If you want to change the GatewayID of the wifidog.conf file, you have to do it by hand (in /etc/init.d/nightwing watch the code after the comment "## Set config for WiFiDog").


OK Thanks

If I want to use mac address of router without ":"

Example: mac is 00:13:02:85:24:5e and node_id will be 00130285245e

Can you help me to do it


Helene Gauthier
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #3 on: April 28, 2009, 07:59:21 am »

OK Thanks
If I want to use mac address of router without ":"
Example: mac is 00:13:02:85:24:5e and node_id will be 00130285245e
Can you help me to do it
Helene Gauthier

You may have problems with that.
iptables accept a specific size for the character chains
Iptables rules are apply with the ID
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #4 on: April 28, 2009, 09:04:31 am »

You may have problems with that.
iptables accept a specific size for the character chains
Iptables rules are apply with the ID

OK, but is it the problem with your rules of IPTables or with IPTables only

Because ZAP Sherbrooke use mac address without :

You can see it at this address

https://auth.zapsherbrooke.org/node_list.php

Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #5 on: April 28, 2009, 09:25:12 am »

OK, but is it the problem with your rules of IPTables or with IPTables only
Because ZAP Sherbrooke use mac address without :
You can see it at this address
https://auth.zapsherbrooke.org/node_list.php

Iptables chain length.
   
Perhaps this could be a solution
If you want to support what you're asking, you will need to modify the script like this in line 108:

Code:
## Determine nodo_id for the first time. Then it could be changed.
    NODE_ID=$(echo $LAN_MAC| tr -d :)

But you need put a short PUBLIC_SSID and PRIVATE_SSID with nw_conf
Report Spam   Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum
Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy