[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

NaoFunciona.



Olá caros amigos da Lista.
Por favor, se alguém puder me ajudar, eu estou enfrentando um probleminha para configurar um roteador com Debian, eu coloquei algumas linhas dentro de um script, que funcionou em todas as ditribuições em que eu testei, e é este:

modprobe 8139too
modprobe 3c59x
modprobe ip_tables
ifconfig eth0 up
ifconfig eth0 192.168.0.109 netmask 255.255.255.0
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o ppp0 -j MASQUERADE
echo "1" > /proc/sys/net/ipv4/ip_forward

adsl-start

OBS:Eu utilizo o serviço Speedy da telefonica.
Muito Obrigado a Todos.
-- 
############################
#____________________________#
#|                       _  |\#
#|  T   . _   _      _ < O) | |######################
#|  |  ~/ |/`i|  | \/  ( \| | |   ____________________#
#| _|__|\/|  ||./:_/\_  =   | | /______________________\#
#| Registered User # 341002 | ||                        |#
#| www.linuxcounter.org     | ||          *****         |#
#|      __          __ .    | ||   The open mind is the |#
#|   .'  _ \      /   `:    | ||door for the freedom and|#
#|  |  /  . i     \___      | ||the way of the future,  |#
#|  |  \ _ /   &       \    | ||uses GNU/Linux, uses    |#
#|   \            :     i   | ||Free Software.          |#
#|    ` .         :\___/    | ||________________________|# 
#|__________________________| |______________ ###########
 #\__________________________\|              |#
   ############### |  allan@hosppeda.com.br  |#
                 # |.........................|#           
                 # |Debian-user-portuguese.  |#          
                 # |Slack-users              |#         
                 # |Linux-Br                 |#        
                 # |Quilombodigital          |#       
                 # |_________________________|#
                  # \_______________________/#  
                   #########################          

Reply to: