DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have just installed Debian 3.1 on a slave harddrive. The master disk is running Windows 2000, when I'm in the need of using M$. The computer is in a local LAN with a Freesco (Linux) router to be able to access the Internet. The LAN also have another Freesco box, only as a local webserver for test purposes only.
The problem is that I can access the Freesco Web server without problem, but I can't access the internet. When I supply an url in the Firefox browser, it waits forever. I have supplied the Freesco router IP-address as DNS for the eth0, with no luck. If I reboot the computer with Windows it works ok.
Are you using DHCP? /etc/hosts will have a line like this if it is:
# The primary network interface
iface eth0 inet dhcp
I changed mine to be a static IP (make sure you instruct your router to assign that IP only to that box, on my router it is under LAN clients, might come under static routing or something along those lines). My /etc/network/interfaces looks like this now:
iface lo inet loopback
# The primary network interface
iface eth0 inet static
name Ethernet LAN card
Make sure you change the values to be correct for your network. You can find some of these out by typing "ifconfig" as root
You have reason to disbelieve the advice you have recieved to date?
When you reboot - the DHCP part will erase the gateway addr. If it is static, then it won't get erased. So setting a static IP would seem to be a reasonable suggestion. (Check - does your network provide a DHCP service?)
Of course, you can always add the gateway route command right at the end of your boot script...
Apart from this, I think we'd need to know exactly how the LAN is wired... I am picturing a NAT Router + 4-port ethernet hub in the same box in a small home network. Each host connects via a cat5 cable to one of the ethernet ports and the NAT Router goes to a xDSL modem or something to the internet?
Refusing to believe the advise you are given, refusing to accept it, is the reason your support just dried up.
Hmm... tomj88 accidentally writes about lines you should add to /etc/hosts . The information is quite correct but the config file is wrong -- it should be /etc/network/interfaces .
If you can get the network connection temporarily working with the "route add default gw 192.168.7.5" command, you could use the "su" command (to become root) and then "apt-get install etherconf". This should install the etherconf utility that you can use to configure your network interfaces. Run it as root by typing "etherconf".
Ah - just been looking at the freesco router.
This is a software router which is supposed to provide a DHCP service.
Everyone is assuming the router is set up correctly -
the host is set for DHCP
but - not getting a gateway addr this way