Página 1 de 2 12 ÚltimoÚltimo
+ Responder ao Tópico



  1. Configurei o hotspot mas não funciona , alguém pode me ajudar?
    Navavega normalmente sem o hotspot(desabilitado) e controla muito bem com as queues.
    Configs:

    / ip address
    add address=200.168.0.1/24 network=200.168.0.0 broadcast=200.168.0.255 interface=ether2 \
    comment="Clientes" disabled=no
    add address=192.168.1.3/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether1 \
    comment="Link" disabled=no


    ip hotspot
    add name="hs-ether2" interface=ether2 address-pool=hs-pool-2 profile=hsprof1 \
    idle-timeout=5m keepalive-timeout=none addresses-per-mac=2 disabled=no
    / ip hotspot service-port
    set ftp ports=21 disabled=no
    / ip hotspot profile
    set default name="default" hotspot-address=0.0.0.0 dns-name="" html-directory=hotspot \
    rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap \
    http-cookie-lifetime=3d split-user-domain=no use-radius=no
    add name="hsprof3" hotspot-address=200.168.0.1 dns-name="SunNet" html-directory=hotspot \
    rate-limit="64k/128k" http-proxy=200.168.0.2:3128 smtp-server=255.255.255.0 \
    login-by=cookie,http-chap http-cookie-lifetime=3d split-user-domain=no use-radius=no
    add name="hsprof1" hotspot-address=200.168.0.1 dns-name="SunNet" html-directory=hotspot \
    rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap \
    http-cookie-lifetime=3d split-user-domain=no use-radius=no
    / ip hotspot user
    add server=hs-ether2 name="teste" password="teste" address=200.168.0.5 \
    mac-address=00:07:95:5DC:B2 profile=128/64 comment="" disabled=no
    / ip hotspot user profile
    set 128/64 name="128/64" address-pool=hs-pool-2 idle-timeout=15m keepalive-timeout=3m \
    status-autorefresh=12h shared-users=1 rate-limit="64k/128k" transparent-proxy=yes \
    open-status-page=always advertise=no



    / ip dns
    set primary-dns=200.165.132.154 secondary-dns=200.165.132.147 allow-remote-requests=no \
    cache-size=2048KiB cache-max-ttl=1w
    / ip dns static
    add name="Velox" address=192.168.1.1 ttl=1d


    / ip pool
    add name="dhcp-pool-1" ranges=192.168.1.2-192.168.1.254
    add name="hs-pool-2" ranges=200.168.0.2-200.168.0.254


    / ip route
    add dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=255 target-scope=10 comment="" \
    disabled=no


    / ip firewall nat
    add chain=srcnat out-interface=ether1 action=masquerade comment="" disabled=no
    add chain=srcnat src-address=200.168.0.0/24 action=masquerade comment="masquerade hotspot \
    network" disabled=no
    / ip firewall connection tracking
    set enabled=yes tcp-syn-sent-timeout=2m tcp-syn-received-timeout=1m \
    tcp-established-timeout=5d tcp-fin-wait-timeout=2m tcp-close-wait-timeout=1m \
    tcp-last-ack-timeout=30s tcp-time-wait-timeout=2m tcp-close-timeout=10s \
    udp-timeout=30s udp-stream-timeout=3m icmp-timeout=30s generic-timeout=10m
    / ip firewall filter
    / ip firewall service-port
    set ftp ports=21 disabled=no
    set tftp ports=69 disabled=no
    set irc ports=6667 disabled=no
    set h323 disabled=yes
    set quake3 disabled=no
    set mms disabled=no
    set gre disabled=yes
    set pptp disabled=yes



    / ip dhcp-server
    add name="dhcp1" interface=ether2 lease-time=3d address-pool=dhcp-pool-1 \
    bootp-support=static disabled=no
    / ip dhcp-server config
    set store-leases-disk=5m
    / ip dhcp-server network
    add address=192.168.1.0/24 gateway=192.168.1.1 dns-server=200.165.132.154,200.165.132.147 \
    comment="added by setup"
    add address=200.168.0.0/24 gateway=200.168.0.1 comment="hotspot network"



    / queue type
    set default name="default" kind=pfifo pfifo-limit=50
    set ethernet-default name="ethernet-default" kind=pfifo pfifo-limit=50
    set wireless-default name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514
    set synchronous-default name="synchronous-default" kind=red red-limit=60 \
    red-min-threshold=10 red-max-threshold=50 red-burst=20 red-avg-packet=1000
    set hotspot-default name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514
    / queue simple
    add name="001 Loja" target-addresses=200.168.0.5/32 dst-address=0.0.0.0/0 interface=ether2 \
    parent=none priority=8 queue=default/default limit-at=64000/128000 \
    max-limit=64000/128000 total-queue=default disabled=no
    add name="002 Casa" target-addresses=200.168.0.6/32 dst-address=0.0.0.0/0 interface=ether2 \
    parent=none priority=8 queue=default/default limit-at=64000/128000 \
    max-limit=64000/128000 total-queue=default disabled=no


    Abraços

  2. Olá Marcio!

    Não é a interface que está errada?

    ip hotspot
    add name="hs-ether2" interface=ether2 address-pool=hs-pool-2 profile=hsprof1 \
    idle-timeout=5m keepalive-timeout=none addresses-per-mac=2 disabled=no

    no lugar de ether2 não é ether1?

    Falow!



  3. tentei com a ether1 e nada, a ether1 é que entra o link e a ether2 é a que vai para os PCs clientes

    valeu pela força

  4. mais alguem p dar uma força?



  5. / ip hotspot profile
    set default name="default" hotspot-address=0.0.0.0 dns-name="" html-directory=hotspot \
    rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap \
    http-cookie-lifetime=3d split-user-domain=no use-radius=no
    add name="hsprof3" hotspot-address=200.168.0.1 dns-name="SunNet" html-directory=hotspot \
    rate-limit="64k/128k" http-proxy=200.168.0.2:3128 smtp-server=255.255.255.0 \
    login-by=cookie,http-chap http-cookie-lifetime=3d split-user-domain=no use-radius=no
    add name="hsprof1" hotspot-address=200.168.0.1 dns-name="SunNet" html-directory=hotspot \
    rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap \
    http-cookie-lifetime=3d split-user-domain=no use-radius=no



    chef..
    seta essa parte aqui:
    DNS Name: auth.seuprovedor.com.br

    comando corrigido:
    / ip hotspot profile
    set default name="default" hotspot-address=0.0.0.0 dns-name="auth.ispwireless.com.br" html-directory=hotspot \
    rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap \
    http-cookie-lifetime=3d split-user-domain=no use-radius=no
    add name="hsprof3" hotspot-address=200.168.0.1 dns-name="SunNet" html-directory=hotspot \
    rate-limit="64k/128k" http-proxy=200.168.0.2:3128 smtp-server=255.255.255.0 \
    login-by=cookie,http-chap http-cookie-lifetime=3d split-user-domain=no use-radius=no
    add name="hsprof1" hotspot-address=200.168.0.1 dns-name="SunNet" html-directory=hotspot \
    rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap \
    http-cookie-lifetime=3d split-user-domain=no use-radius=no


    isso vai fazer criar uma tag no DNS , que vai marcar o seu ip como um dns, daeh toda vez quem alguem for navegar vai redirecionar pra esse auth.ispwireless.com.br e via fazer pedir tela de Login ;]

    o resto é como você,
    lembrando vC tem que ativar o hotspot na placa pra cliente.
    =}






Tópicos Similares

  1. Respostas: 5
    Último Post: 08-10-2008, 09:06
  2. Hotspot sem autenticação
    Por brenovale no fórum Redes
    Respostas: 0
    Último Post: 07-10-2008, 11:01
  3. Respostas: 3
    Último Post: 29-06-2008, 14:43
  4. Respostas: 1
    Último Post: 10-06-2008, 07:35
  5. Hotspot Sem Broadcast
    Por altairsq no fórum Redes
    Respostas: 3
    Último Post: 05-04-2008, 15:15

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L