tag:blogger.com,1999:blog-11681898.post8869446444093717220..comments2023-08-14T08:28:34.796-07:00Comments on Hartman's Blogtastic Blog: LTSP Local Apps Progress (Or Lack Thereof)Anonymoushttp://www.blogger.com/profile/08669542062876450347noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-11681898.post-61395504852998513712009-08-16T14:55:17.454-07:002009-08-16T14:55:17.454-07:00Joe, please do us all a favour and delete (and ban...Joe, please do us all a favour and delete (and ban) all these sneaky bastard spammers that are filling up the comments?<br /><br />thanks and regardsLifeboyhttps://www.blogger.com/profile/13932336082454601112noreply@blogger.comtag:blogger.com,1999:blog-11681898.post-66738383053282872012009-07-29T20:49:01.459-07:002009-07-29T20:49:01.459-07:00Drat, I hope that is clear:
echo 1 > /proc/sys...Drat, I hope that is clear:<br /><br />echo 1 > /proc/sys/net/ipv4/ip_forward<br /><br />and<br /><br />iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE<br /><br />are both on single lines.<br /><br />The iptables NAT rule wrapped in this text box.KingOfTheSmellyGhostshttps://www.blogger.com/profile/05520845293299925282noreply@blogger.comtag:blogger.com,1999:blog-11681898.post-57335551231864024812009-07-29T20:44:15.690-07:002009-07-29T20:44:15.690-07:00Scratch what I said about editing /etc/resolv.conf...Scratch what I said about editing /etc/resolv.conf from the client terminal window. Instead, add SERVER, SEARCH_DOMAIN, and DNS_SERVER entries to your lts.conf file. My entries look like:<br /><br /> # IP address of the LTSP server<br /> SERVER = 192.168.0.254<br /> # Required to build /etc/resolv.conf on client<br /> SEARCH_DOMAIN = isp-systems.lcl <br /> DNS_SERVER = 192.168.1.5<br /><br />Where I run a local network name server on 192.168.1.5<br /><br />The SERVER entry is optional, but you do need both the SEARCH_DOMAIN and DNS_SERVER entries so the bootscript will build /etc/resolv.conf on the client.<br /><br />You do still need the ip_forward and NAT rules from my previous post.KingOfTheSmellyGhostshttps://www.blogger.com/profile/05520845293299925282noreply@blogger.comtag:blogger.com,1999:blog-11681898.post-56797358125096669592009-07-29T19:59:15.567-07:002009-07-29T19:59:15.567-07:00You might want to try to a few things.
enable ip ...You might want to try to a few things.<br /><br />enable ip forward in the kernel on your server with:<br /><br />echo 1 > /proc/sys/net/ipv4/ip_forward<br /><br />and then setup a NAT rule to masquerade to your "outside" interface. Since my outside interface is eth1, I use:<br /><br />iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE<br /><br />(I have these two lines in my /etc/rc.local file)<br /><br />Then chroot into /opt/ltsp/i386 and nano /etc/resolv.conf and add the nameservers that you have listed in /etc/resolv.conf on your server. Exit chroot environment and rebuild the client image.<br /><br />When you boot your client, go into an ltsp-localapps xterm session and you should be able to ping any of your name servers by ip or name.<br /><br />This will allow firefox to resolve names.KingOfTheSmellyGhostshttps://www.blogger.com/profile/05520845293299925282noreply@blogger.comtag:blogger.com,1999:blog-11681898.post-18001386571220259542009-07-21T18:31:59.285-07:002009-07-21T18:31:59.285-07:00There is another way, see https://wiki.ubuntu.com/...There is another way, see https://wiki.ubuntu.com/ThinClientProxyRedirectAce Suareshttps://www.blogger.com/profile/08074676229312113675noreply@blogger.comtag:blogger.com,1999:blog-11681898.post-70719113143248262482009-07-06T03:16:06.438-07:002009-07-06T03:16:06.438-07:00Joe, I think it's a bit unfair to blame your l...Joe, I think it's a bit unfair to blame your lack of networking understanding on the LTSP developers. NAT or routing knowledge is an essential requirement for anyone wanting to set up a server for clients to connect through. There are a great many tutorials on both these topics as it is the heart of what makes TCP/IP work.<br><br>Setting up a server is not difficult, but for an desktop skill level user it can be a daunting task, but it is not the job of the LTSP devs to teach you that.<br><br>As with most software systems there is a great deal of dependency on other and mostly underlying systems that should be understood to a larger or lesser degree. This is the case here as well, so once you have an understanding of routing and/or NAT'ing on a linux server, most of your problems will go away I would think.Lifeboyhttps://www.blogger.com/profile/13932336082454601112noreply@blogger.com