also @ TechSpot: Metro: Last Light Performance, Benchmarked

Internet in Linux

Discussion in 'The Alternative OS' started by MetalX, Sep 18, 2006.

  1. MetalX TechSpot Chancellor Posts: 1,902

    Here are the results in the order that you posted them.
  2. YosefM Newcomer, in training Posts: 66

    ok. Analysis of results:
    1) ping is working - it hits your lo (loopback interface, 127.0.0.1)
    2) NIC is working, you can ping yourself
    3)while route -n reports the router as your gateway, you cannot ping it.
    I think we need to set a default gateway. One syntax of the route command looks like this:
    route [add default gw] <ip_address> <interface>
    do this as root from the console in xandros:
    route add default gw 192.168.62.1 eth0

    Then use a text editor from the xandros GUI (also as root) to edit the file /etc/route.conf Add this line to the end of the file:
    nameserver 192.168.62.1

    That should get you up & surfing.
  3. MetalX TechSpot Chancellor Posts: 1,902

    Where is that file located?
  4. YosefM Newcomer, in training Posts: 66

    in the /etc directory, the file name is route.conf
    You might have to be root to edit it. If you dont find it, then you will need to use whatever administration tools xandros supplies to configure your network and NIC.
    Specifying a nameserver gives your system a destination for DNS lookup queries (this translates an internet server name like yahoo.com to an IP address like 216.109.112.135). Without this you could only use the numeric address, and who could remember more than a few of those?
  5. MetalX TechSpot Chancellor Posts: 1,902

    There is no file called route.conf. How can I configure it in the adminitstration tools? BTW thanks for all your help so far!
  6. YosefM Newcomer, in training Posts: 66

    well - drrr - of course you didn't find it. the file you should put that line in is named resolv.conf & it should be in the /etc directory LOL.
     
  7. MetalX TechSpot Chancellor Posts: 1,902

    That file already contains the line I should add and I can't modify it because the system won't let me save it as a ".conf" file. Oh, and I figured out that the system was set on static IP not DHCP. I put it on DHCP but nothing changed.
  8. jobeard TS Ambassador Posts: 12,216   +120

    Lunix does not associate ANY MEANING WHATSOEVER to filename extensions (eg .txt, .etc, .conf, .cnf, .confg, .ps, .html).

    you're into the file permissions of Unix/Linux systems

    from a terminal window, issue
    ls -l /etc/route.conf
    you will get a display something like
    -rw-r-----+ 1 root sys 4576 May 4 2005 /etc/route.conf
    this says ONLY root can write the file, users in group sys can read it, and everyone else can do neither

    login as root, edit the file, and save where it is
  9. YosefM Newcomer, in training Posts: 66

    Jobeard: you're correct, but there's no reason to edit the file, what we were adding is already there.

    MetalX: Read the Xandros documentation carefully. I'm certain the answer is there. You might also want to search the xandros forums. The only suggestion I have at this point would be to redo your install - but I'm pretty sure someone more familiar with Xandros & its admin tools would give a different answer.
  10. MetalX TechSpot Chancellor Posts: 1,902

    Ok... thanks for all your help guys! BTW, where can I find the xnadros documentation? On their website?
  11. Rick TechSpot Staff Posts: 6,250   +38

    Not likely, although some web interfaces I've seen only work with Internet Explorer. Regardless of config page compatability, routing technologies are based on open standards and should work with any computer.

    Can you access your router config page from Windows, using IE?

    I caught up on this thread by skimming over it, but I don't remember seeing any information on whether or not your Internet works in Windows. Can you get online with Windows? If not, can you ping external address and get a reply, like www.google.com? Trying this in both Linux and Windows would be good.

    If not, (and I know this may be obvious...) your router probably needs to be configured for your WAN. Just making sure you get all the bases checked...
  12. MetalX TechSpot Chancellor Posts: 1,902

    I can get online in Windows... I use windows on the same computer to go on TS. However, on linux I can't acess the router or the internet. I can't even ping them.
  13. YosefM Newcomer, in training Posts: 66

    Having had a day to review, I'm thinking this distro comes locked down out of the box. Check Xandros.com & the forums there.
  14. MetalX TechSpot Chancellor Posts: 1,902

    Ok... I'm going to wait awhile before trying linux again... a few months at least because I have replaced the hard drive space it took with Vista RC-1.

    Thank you very much for all your help.
  15. YosefM Newcomer, in training Posts: 66

    LOL - & I was feeling like such a traitor when I did the same thing last week LOL

    It did go in smooth as silk - couldn't believe my XP2600 barton system scored a 3.5! This has inspired me to delay the BIG upgrade another year & just replace the 5200FX AGP vid card with a 7600GT AGP.

    I still have the server running SuSE 9.0 though. Gonna upgrade it to a sempy 2800 on socket 754 & step up to SuSe 10.0. At least 1 machine in the house will be 64-bit.