Zdravím
Nedaří se mi připojit k internetu z ntb(winXP) přes ntb-router(Ubuntu)
prostudoval jsem už hodně návo dů a všechny jsem vyzkoušel -např. Firestarter,Firehol,návod na wiki- ale nedobral jsem se výsledku.
jediné co mi trochu pomohlo, je toto:
http://ubuntuforums.org/showthread.php?t=91370The following will explain how to share your Internet connection:
Note: Type all the following commands in a root terminal, DO NOT use sudo.
1. Start by configuring the network card that interfaces to the other computers on you network:
# ifconfig ethX ip
where ethX is the network card and ip is your desired server ip address (Usually 192.168.0.1 is used)
2. Then configure the NAT as follows:
# iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE
where ethX is the network card that the Internet is coming from
# echo 1 > /proc/sys/net/ipv4/ip_forward
3. Install dnsmasq and ipmasq using apt-get:
# apt-get install dnsmasq ipmasq
4. Restart dnsmasq:
# /etc/init.d/dnsmasq restart
5. Reconfigure ipmasq to start after networking has been started:
# dpkg-reconfigure ipmasq
6. Repeat steps 1 and 2.
7. Add the line "net.ipv4.ip_forward = 1" to /etc/sysctl.conf
# gedit /etc/sysctl.conf
8. Reboot. (Optional)
takto se z ntb(winXP) dostanu na internet, ale jen do prvního rebootu ntb(Ubuntu)
pak nejen nejde sdílet internet, ale nejde síťové wifi připojení ath0 ani internet ppp0
Zkoušel jsem z předcházejících souborů napsat skript s tím ntb(Ubuntu) zamrzl už při startu, ještě před naloadováním GUI.
možná je problém v tom, že krok 2) se musí zadat do rootovského terminálu.
Dokázal by mi tu někdo pls poradit ?
Gibon