+ Responder ao Tópico



  1. Boa tarde a todos,

    muitos mi falam que acessando por ssh é possivel fazer varias configurações, gostaria de saber o que é possivel alterar acessando via ssh ? e quais os comandos para as alterações.

    Obrigado

  2. Olá.

    Em access points com o firmware APPro ou APRouter 6.x é possível alterar vários registros de configuração via SSH, conforme segue exemplos.

    O comando abaixo modifica o SSID atual:
    Código :
    flash set SSID "MeuNovoSSID"
    O comando abaixo obtém o endereço físico da interface WLAN:
    Código :
    flash get WLAN_MAC_ADDR
    Caso queira ver todos os registros, use o comando:
    Código :
    flash get all
    Lembrando que flash get all pode não estar implementando em alguns firmwares.

    Uma sugestão bacana é automatizar funções do access point com o uso de scripts em Python com o módulo Paramiko[1], para assim editar registros conforme sua preferência.

    Espero ter sido útil.

    Saudações,

    Trober

    [1] http://www.lag.net/paramiko/



  3. É possível identificar o host do aprouter pela linha de comando? Pois pelo software de gerenciamento dela, não consegui em nenhuma das versões. Nem o pessoal do aprouter conseguiu me ajudar. Nos meus Mikrotik, onde tem aprouter o host fica nulo, ou seja, não consigo nem ver de quem é a AP que está conectada. Ao contrário de outros Mikrotik e/ou Ubiquiti, que consigo ver os Host tal e qual eu coloco na configuração.

  4. Trober é exatamente isso que eu estava procurando porem a função ALL não mostrou todos os comandos, tem algum lugar que eu possa pegar todos os comandos ?

    Obrigado !!



  5. Olá.

    Lamento informar que em algumas versões de firmware de access point o parâmetro all, foi removido, impossibilitando a execução do comando flash get all.

    Entretanto, considerando que a licença do software que eles usam é GPL, desenvolvida para rodar no chipset RTL8186 / RTL8181, que compõe a maioria dos "access point de plástico", que também dispõe do software baseado no APPro (uma empresa eslava, se não me engano), porém modificado por outros fabricantes, que por sua vez aplicam personalizações, logotipos e traduções (incompletas, na maioria dos casos).

    Também tive acesso ao dump[1] do access point, onde lá estão exposta todas as variáveis possíveis para flash get, e em alguns casos, que não são apenas read only, também passíveis de flash set.

    Para fins de indexação em mecanismos de busca, adiciono as variáveis abaixo, já que o URL do código fonte está com no follow, no index, ou seja, não acessada e tampouco sumarizada por buscadores, com Google, DogPile, Yahoo, Bing etc.
    Código :
    HW_BOARD_ID
    HW_NIC0_ADDR
    HW_NIC1_ADDR
    HW_WLAN0_WLAN_ADDR
    HW_WLAN0_REG_DOMAIN
    HW_WLAN0_RF_TYPE
    HW_WLAN0_TX_POWER_CCK
    HW_WLAN0_TX_POWER_OFDM
    HW_WLAN0_ANT_DIVERSITY
    HW_WLAN0_TX_ANT
    HW_WLAN0_INIT_GAIN
    HW_WLAN0_CCA_MODE
    HW_WLAN0_LED_TYPE
    HW_WLAN1_WLAN_ADDR
    HW_WLAN1_REG_DOMAIN
    HW_WLAN1_RF_TYPE
    HW_WLAN1_TX_POWER_CCK
    HW_WLAN1_TX_POWER_OFDM
    HW_WLAN1_ANT_DIVERSITY
    HW_WLAN1_TX_ANT
    HW_WLAN1_INIT_GAIN
    HW_WLAN1_CCA_MODE
    HW_WLAN1_LED_TYPE
    DEF_DNS1
    DEF_DNS2
    DEF_DNS3
    DEF_DHCP_CLIENT_START
    DEF_DHCP_CLIENT_END
    DEF_ELAN_MAC_ADDR
    DEF_DEVICE_NAME
    DEF_IP_ADDR
    DEF_SUBNET_MASK
    DEF_DEFAULT_GATEWAY
    DEF_DHCP
    DEF_STP_ENABLED
    DEF_SUPER_NAME
    DEF_SUPER_PASSWORD
    DEF_USER_NAME
    DEF_USER_PASSWORD
    DEF_SCRLOG_ENABLED
    DEF_AUTODISCOVERY_ENABLED
    DEF_OP_MODE
    DEF_WISP_WAN_ID
    DEF_REMOTELOG_ENABLED
    DEF_REMOTELOG_SERVER
    DEF_WLAN0_WLAN_MAC_ADDR
    DEF_WLAN0_SSID
    DEF_WLAN0_REG_DOMAIN
    DEF_WLAN0_CHANNEL
    DEF_WLAN0_WEP
    DEF_WLAN0_WEP64_KEY1
    DEF_WLAN0_WEP64_KEY2
    DEF_WLAN0_WEP64_KEY3
    DEF_WLAN0_WEP64_KEY4
    DEF_WLAN0_WEP128_KEY1
    DEF_WLAN0_WEP128_KEY2
    DEF_WLAN0_WEP128_KEY3
    DEF_WLAN0_WEP128_KEY4
    DEF_WLAN0_WEP_DEFAULT_KEY
    DEF_WLAN0_WEP_KEY_TYPE
    DEF_WLAN0_FRAG_THRESHOLD
    DEF_WLAN0_SUPPORTED_RATES
    DEF_WLAN0_BEACON_INTERVAL
    DEF_WLAN0_PREAMBLE_TYPE
    DEF_WLAN0_BASIC_RATES
    DEF_WLAN0_RTS_THRESHOLD
    DEF_WLAN0_AUTH_TYPE
    DEF_WLAN0_HIDDEN_SSID
    DEF_WLAN0_WLAN_DISABLED
    DEF_WLAN0_INACTIVITY_TIME
    DEF_WLAN0_RATE_ADAPTIVE_ENABLED
    DEF_WLAN0_DTIM_PERIOD
    DEF_WLAN0_MODE
    DEF_WLAN0_NETWORK_TYPE
    DEF_WLAN0_IAPP_DISABLED
    DEF_WLAN0_PROTECTION_DISABLED
    DEF_WLAN0_DEFAULT_SSID
    DEF_WLAN0_WDS_ENABLED
    DEF_WLAN0_WDS_NUM
    DEF_WLAN0_WDS_ENCRYPT
    DEF_WLAN0_WDS_WEP_FORMAT
    DEF_WLAN0_WDS_WEP_KEY
    DEF_WLAN0_WDS_PSK_FORMAT
    DEF_WLAN0_WDS_PSK
    DEF_WLAN0_ENCRYPT
    DEF_WLAN0_ENABLE_SUPP_NONWPA
    DEF_WLAN0_SUPP_NONWPA
    DEF_WLAN0_WPA_AUTH
    DEF_WLAN0_WPA_CIPHER_SUITE
    DEF_WLAN0_WPA_PSK
    DEF_WLAN0_WPA_GROUP_REKEY_TIME
    DEF_WLAN0_MAC_AUTH_ENABLED
    DEF_WLAN0_RS_IP
    DEF_WLAN0_RS_PORT
    DEF_WLAN0_RS_PASSWORD
    DEF_WLAN0_RS_MAXRETRY
    DEF_WLAN0_RS_INTERVAL_TIME
    DEF_WLAN0_ACCOUNT_RS_ENABLED
    DEF_WLAN0_ACCOUNT_RS_IP
    DEF_WLAN0_ACCOUNT_RS_PORT
    DEF_WLAN0_ACCOUNT_RS_PASSWORD
    DEF_WLAN0_ACCOUNT_RS_UPDATE_ENABLED
    DEF_WLAN0_ACCOUNT_RS_UPDATE_DELAY
    DEF_WLAN0_ACCOUNT_RS_MAXRETRY
    DEF_WLAN0_ACCOUNT_RS_INTERVAL_TIME
    DEF_WLAN0_ENABLE_1X
    DEF_WLAN0_PSK_FORMAT
    DEF_WLAN0_WPA2_PRE_AUTH
    DEF_WLAN0_WPA2_CIPHER_SUITE
    DEF_WLAN0_MACAC_NUM
    DEF_WLAN0_MACAC_ENABLED
    DEF_WLAN0_BLOCK_RELAY
    DEF_WLAN0_MACCLONE_ENABLED
    DEF_WLAN0_BAND
    DEF_WLAN0_FIX_RATE
    DEF_WLAN0_EASYCFG_ENABLED
    DEF_WLAN0_EASYCFG_MODE
    DEF_WLAN0_EASYCFG_SSID
    DEF_WLAN0_EASYCFG_KEY
    DEF_WLAN0_EASYCFG_DIGEST
    DEF_WLAN0_EASYCFG_ALG_REQ
    DEF_WLAN0_EASYCFG_ALG_SUPP
    DEF_WLAN0_EASYCFG_ROLE
    DEF_WLAN0_EASYCFG_SCAN_SSID
    DEF_WLAN0_EASYCFG_WLAN_MODE
    DEF_WLAN1_WLAN_MAC_ADDR
    DEF_WLAN1_SSID
    DEF_WLAN1_REG_DOMAIN
    DEF_WLAN1_CHANNEL
    DEF_WLAN1_WEP
    DEF_WLAN1_WEP64_KEY1
    DEF_WLAN1_WEP64_KEY2
    DEF_WLAN1_WEP64_KEY3
    DEF_WLAN1_WEP64_KEY4
    DEF_WLAN1_WEP128_KEY1
    DEF_WLAN1_WEP128_KEY2
    DEF_WLAN1_WEP128_KEY3
    DEF_WLAN1_WEP128_KEY4
    DEF_WLAN1_WEP_DEFAULT_KEY
    DEF_WLAN1_WEP_KEY_TYPE
    DEF_WLAN1_FRAG_THRESHOLD
    DEF_WLAN1_SUPPORTED_RATES
    DEF_WLAN1_BEACON_INTERVAL
    DEF_WLAN1_PREAMBLE_TYPE
    DEF_WLAN1_BASIC_RATES
    DEF_WLAN1_RTS_THRESHOLD
    DEF_WLAN1_AUTH_TYPE
    DEF_WLAN1_HIDDEN_SSID
    DEF_WLAN1_WLAN_DISABLED
    DEF_WLAN1_INACTIVITY_TIME
    DEF_WLAN1_RATE_ADAPTIVE_ENABLED
    DEF_WLAN1_DTIM_PERIOD
    DEF_WLAN1_MODE
    DEF_WLAN1_NETWORK_TYPE
    DEF_WLAN1_IAPP_DISABLED
    DEF_WLAN1_PROTECTION_DISABLED
    DEF_WLAN1_DEFAULT_SSID
    DEF_WLAN1_WDS_ENABLED
    DEF_WLAN1_WDS_NUM
    DEF_WLAN1_WDS_ENCRYPT
    DEF_WLAN1_WDS_WEP_FORMAT
    DEF_WLAN1_WDS_WEP_KEY
    DEF_WLAN1_WDS_PSK_FORMAT
    DEF_WLAN1_WDS_PSK
    DEF_WLAN1_ENCRYPT
    DEF_WLAN1_ENABLE_SUPP_NONWPA
    DEF_WLAN1_SUPP_NONWPA
    DEF_WLAN1_WPA_AUTH
    DEF_WLAN1_WPA_CIPHER_SUITE
    DEF_WLAN1_WPA_PSK
    DEF_WLAN1_WPA_GROUP_REKEY_TIME
    DEF_WLAN1_MAC_AUTH_ENABLED
    DEF_WLAN1_RS_IP
    DEF_WLAN1_RS_PORT
    DEF_WLAN1_RS_PASSWORD
    DEF_WLAN1_RS_MAXRETRY
    DEF_WLAN1_RS_INTERVAL_TIME
    DEF_WLAN1_ACCOUNT_RS_ENABLED
    DEF_WLAN1_ACCOUNT_RS_IP
    DEF_WLAN1_ACCOUNT_RS_PORT
    DEF_WLAN1_ACCOUNT_RS_PASSWORD
    DEF_WLAN1_ACCOUNT_RS_UPDATE_ENABLED
    DEF_WLAN1_ACCOUNT_RS_UPDATE_DELAY
    DEF_WLAN1_ACCOUNT_RS_MAXRETRY
    DEF_WLAN1_ACCOUNT_RS_INTERVAL_TIME
    DEF_WLAN1_ENABLE_1X
    DEF_WLAN1_PSK_FORMAT
    DEF_WLAN1_WPA2_PRE_AUTH
    DEF_WLAN1_WPA2_CIPHER_SUITE
    DEF_WLAN1_MACAC_NUM
    DEF_WLAN1_MACAC_ENABLED
    DEF_WLAN1_BLOCK_RELAY
    DEF_WLAN1_MACCLONE_ENABLED
    DEF_WLAN1_BAND
    DEF_WLAN1_FIX_RATE
    DEF_WLAN1_EASYCFG_ENABLED
    DEF_WLAN1_EASYCFG_MODE
    DEF_WLAN1_EASYCFG_SSID
    DEF_WLAN1_EASYCFG_KEY
    DEF_WLAN1_EASYCFG_DIGEST
    DEF_WLAN1_EASYCFG_ALG_REQ
    DEF_WLAN1_EASYCFG_ALG_SUPP
    DEF_WLAN1_EASYCFG_ROLE
    DEF_WLAN1_EASYCFG_SCAN_SSID
    DEF_WLAN1_EASYCFG_WLAN_MODE
    DNS1
    DNS2
    DNS3
    DHCP_CLIENT_START
    DHCP_CLIENT_END
    ELAN_MAC_ADDR
    DEVICE_NAME
    IP_ADDR
    SUBNET_MASK
    DEFAULT_GATEWAY
    DHCP
    STP_ENABLED
    SUPER_NAME
    SUPER_PASSWORD
    USER_NAME
    USER_PASSWORD
    SCRLOG_ENABLED
    AUTODISCOVERY_ENABLED
    OP_MODE
    WISP_WAN_ID
    REMOTELOG_ENABLED
    REMOTELOG_SERVER
    WLAN0_WLAN_MAC_ADDR
    WLAN0_SSID
    WLAN0_REG_DOMAIN
    WLAN0_CHANNEL
    WLAN0_WEP
    WLAN0_WEP64_KEY1
    WLAN0_WEP64_KEY2
    WLAN0_WEP64_KEY3
    WLAN0_WEP64_KEY4
    WLAN0_WEP128_KEY1
    WLAN0_WEP128_KEY2
    WLAN0_WEP128_KEY3
    WLAN0_WEP128_KEY4
    WLAN0_WEP_DEFAULT_KEY
    WLAN0_WEP_KEY_TYPE
    WLAN0_FRAG_THRESHOLD
    WLAN0_SUPPORTED_RATES
    WLAN0_BEACON_INTERVAL
    WLAN0_PREAMBLE_TYPE
    WLAN0_BASIC_RATES
    WLAN0_RTS_THRESHOLD
    WLAN0_AUTH_TYPE
    WLAN0_HIDDEN_SSID
    WLAN0_WLAN_DISABLED
    WLAN0_INACTIVITY_TIME
    WLAN0_RATE_ADAPTIVE_ENABLED
    WLAN0_DTIM_PERIOD
    WLAN0_MODE
    WLAN0_NETWORK_TYPE
    WLAN0_IAPP_DISABLED
    WLAN0_PROTECTION_DISABLED
    WLAN0_DEFAULT_SSID
    WLAN0_WDS_ENABLED
    WLAN0_WDS_NUM
    WLAN0_WDS_ENCRYPT
    WLAN0_WDS_WEP_FORMAT
    WLAN0_WDS_WEP_KEY
    WLAN0_WDS_PSK_FORMAT
    WLAN0_WDS_PSK
    WLAN0_ENCRYPT
    WLAN0_ENABLE_SUPP_NONWPA
    WLAN0_SUPP_NONWPA
    WLAN0_WPA_AUTH
    WLAN0_WPA_CIPHER_SUITE
    WLAN0_WPA_PSK
    WLAN0_WPA_GROUP_REKEY_TIME
    WLAN0_MAC_AUTH_ENABLED
    WLAN0_RS_IP
    WLAN0_RS_PORT
    WLAN0_RS_PASSWORD
    WLAN0_RS_MAXRETRY
    WLAN0_RS_INTERVAL_TIME
    WLAN0_ACCOUNT_RS_ENABLED
    WLAN0_ACCOUNT_RS_IP
    WLAN0_ACCOUNT_RS_PORT
    WLAN0_ACCOUNT_RS_PASSWORD
    WLAN0_ACCOUNT_RS_UPDATE_ENABLED
    WLAN0_ACCOUNT_RS_UPDATE_DELAY
    WLAN0_ACCOUNT_RS_MAXRETRY
    WLAN0_ACCOUNT_RS_INTERVAL_TIME
    WLAN0_ENABLE_1X
    WLAN0_PSK_FORMAT
    WLAN0_WPA2_PRE_AUTH
    WLAN0_WPA2_CIPHER_SUITE
    WLAN0_MACAC_NUM
    WLAN0_MACAC_ENABLED
    WLAN0_BLOCK_RELAY
    WLAN0_MACCLONE_ENABLED
    WLAN0_BAND
    WLAN0_FIX_RATE
    WLAN0_EASYCFG_ENABLED
    WLAN0_EASYCFG_MODE
    WLAN0_EASYCFG_SSID
    WLAN0_EASYCFG_KEY
    WLAN0_EASYCFG_DIGEST
    WLAN0_EASYCFG_ALG_REQ
    WLAN0_EASYCFG_ALG_SUPP
    WLAN0_EASYCFG_ROLE
    WLAN0_EASYCFG_SCAN_SSID
    WLAN0_EASYCFG_WLAN_MODE
    WLAN1_WLAN_MAC_ADDR
    WLAN1_SSID
    WLAN1_REG_DOMAIN
    WLAN1_CHANNEL
    WLAN1_WEP
    WLAN1_WEP64_KEY1
    WLAN1_WEP64_KEY2
    WLAN1_WEP64_KEY3
    WLAN1_WEP64_KEY4
    WLAN1_WEP128_KEY1
    WLAN1_WEP128_KEY2
    WLAN1_WEP128_KEY3
    WLAN1_WEP128_KEY4
    WLAN1_WEP_DEFAULT_KEY
    WLAN1_WEP_KEY_TYPE
    WLAN1_FRAG_THRESHOLD
    WLAN1_SUPPORTED_RATES
    WLAN1_BEACON_INTERVAL
    WLAN1_PREAMBLE_TYPE
    WLAN1_BASIC_RATES
    WLAN1_RTS_THRESHOLD
    WLAN1_AUTH_TYPE
    WLAN1_HIDDEN_SSID
    WLAN1_WLAN_DISABLED
    WLAN1_INACTIVITY_TIME
    WLAN1_RATE_ADAPTIVE_ENABLED
    WLAN1_DTIM_PERIOD
    WLAN1_MODE
    WLAN1_NETWORK_TYPE
    WLAN1_IAPP_DISABLED
    WLAN1_PROTECTION_DISABLED
    WLAN1_DEFAULT_SSID
    WLAN1_WDS_ENABLED
    WLAN1_WDS_NUM
    WLAN1_WDS_ENCRYPT
    WLAN1_WDS_WEP_FORMAT
    WLAN1_WDS_WEP_KEY
    WLAN1_WDS_PSK_FORMAT
    WLAN1_WDS_PSK
    WLAN1_ENCRYPT
    WLAN1_ENABLE_SUPP_NONWPA
    WLAN1_SUPP_NONWPA
    WLAN1_WPA_AUTH
    WLAN1_WPA_CIPHER_SUITE
    WLAN1_WPA_PSK
    WLAN1_WPA_GROUP_REKEY_TIME
    WLAN1_MAC_AUTH_ENABLED
    WLAN1_RS_IP
    WLAN1_RS_PORT
    WLAN1_RS_PASSWORD
    WLAN1_RS_MAXRETRY
    WLAN1_RS_INTERVAL_TIME
    WLAN1_ACCOUNT_RS_ENABLED
    WLAN1_ACCOUNT_RS_IP
    WLAN1_ACCOUNT_RS_PORT
    WLAN1_ACCOUNT_RS_PASSWORD
    WLAN1_ACCOUNT_RS_UPDATE_ENABLED
    WLAN1_ACCOUNT_RS_UPDATE_DELAY
    WLAN1_ACCOUNT_RS_MAXRETRY
    WLAN1_ACCOUNT_RS_INTERVAL_TIME
    WLAN1_ENABLE_1X
    WLAN1_PSK_FORMAT
    WLAN1_WPA2_PRE_AUTH
    WLAN1_WPA2_CIPHER_SUITE
    WLAN1_MACAC_NUM
    WLAN1_MACAC_ENABLED
    WLAN1_BLOCK_RELAY
    WLAN1_MACCLONE_ENABLED
    WLAN1_BAND
    WLAN1_FIX_RATE
    WLAN1_EASYCFG_ENABLED
    WLAN1_EASYCFG_MODE
    WLAN1_EASYCFG_SSID
    WLAN1_EASYCFG_KEY
    WLAN1_EASYCFG_DIGEST
    WLAN1_EASYCFG_ALG_REQ
    WLAN1_EASYCFG_ALG_SUPP
    WLAN1_EASYCFG_ROLE
    WLAN1_EASYCFG_SCAN_SSID
    WLAN1_EASYCFG_WLAN_MODE
    Aqui disponho link[2], caso queira obter legalmente as porções de código GPL da Zyxel.

    [1] http://approsoftware.com/download/rt...mware-dump.txt
    [2] ftp://opensource.zyxel.com/P-330W/ .



    Espero ter sido útil

    Saudações,

    Trober
    Última edição por osmano807; 28-12-2010 às 12:28.






Tópicos Similares

  1. Acesso Remoto do Mk ao Ap-Router do Cliente
    Por winetcompany no fórum Redes
    Respostas: 5
    Último Post: 04-01-2011, 18:36
  2. acesso remoto no ap router
    Por turbonet no fórum Redes
    Respostas: 4
    Último Post: 28-10-2009, 10:48
  3. Respostas: 12
    Último Post: 24-09-2008, 00:11
  4. AP Router SSH, exportar arquivos
    Por felipelinkteck no fórum Servidores de Rede
    Respostas: 1
    Último Post: 03-07-2008, 09:44
  5. Respostas: 3
    Último Post: 24-09-2007, 19:23

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L