Page 1 of 5 12345 LastLast
Results 1 to 10 of 45

Thread: Linux Questions Answered

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    AMDave's Avatar
    AMDave is offline Seeker of the exit clause Moderator
    Site Admin
    Join Date
    Jun 2004
    Location
    Deep in a while loop
    Posts
    9,658

    Linux Questions Answered

    A good friend and fellow forum member asked me some interesting questions today and while I was responding I remembered that it has long been my intention to kick off this thread. Time to bite the bullet and jump in head first.

    The intention of this thread is not to build a Linux FAQ (there are plenty of them all over the web already for every distro you can find) but to find answers to problems or questions that AMD Users members have come across that you did not find answers to when you went searching.

    So:

    If you have a question or a problem on Linux (or even Unix) post it here and AMDave will do his best to find the right solution for you or find someone else who has the "magic key".

    (oh boy ... I hope I can answer the first question...)

  2. #2
    Join Date
    Jul 2003
    Location
    Sydney, Australia
    Posts
    5,662
    Question 1:

    I installed Ubuntu 6.10 from the CD to my HDD. The primary OS is Win XP Pro SP2 and I let Ubuntu do the partitioning. The installation seemed to be flawless but ... when I try to look for updates or browse the internet I get a message that Eth0 is not working. I don't recall the exact message text.

    How do you enable wired networking from the Linux PC to the cable internet on a Windows XP Pro PC? Windows is 192.168.1.1 but I don't know what the Linux PC's address is.


    Question 2:

    What is the Linux equivalent to the DOS command DIR?


  3. #3
    AMDave's Avatar
    AMDave is offline Seeker of the exit clause Moderator
    Site Admin
    Join Date
    Jun 2004
    Location
    Deep in a while loop
    Posts
    9,658
    Quote Originally Posted by vaughan View Post
    Question 1:

    I installed Ubuntu 6.10 from the CD to my HDD. The primary OS is Win XP Pro SP2 and I let Ubuntu do the partitioning. The installation seemed to be flawless but ... when I try to look for updates or browse the internet I get a message that Eth0 is not working. I don't recall the exact message text.

    How do you enable wired networking from the Linux PC to the cable internet on a Windows XP Pro PC? Windows is 192.168.1.1 but I don't know what the Linux PC's address is.
    Go the tricky one first! LOL
    I will answer this separately on a following message...

    Quote Originally Posted by vaughan View Post
    Question 2:

    What is the Linux equivalent to the DOS command DIR?
    A terrific quick reference guide when starting to use commands in the Linux Terminal can be found at Linux/Unix for DOS users But you will mostly find that the parameters that you normally put after the DOS command are different in Linux. Before you use the Linux command you need to find out what the different parameters are and what they will do. To do this, type
    $ man {command} <ENTER>
    where:

    $ is the prompt at the command line. It will be different on your machine but I will stick to this format moving forward. The prompt is what you see when the terminal opens and is ready for you to enter a command.

    man
    (short for "manual" as in Instruction Manual) is a command that will bring up a help-file called a "man-page". man-pages comply to a strict standard format that ensures that you get clear and concise information about the command that you are interested in.

    {command}
    is replaced by the command that you want to use.

    <ENTER>
    is the Enter or Carriage Return key. I wont be putting this in following examples. I will assume from now that everyone knows you have to press enter to complete a command line.
    Last edited by AMDave; 01-29-2007 at 11:15 AM. Reason: highlight url

  4. #4
    Join Date
    Apr 2005
    Location
    US
    Posts
    2,229
    Quote Originally Posted by vaughan View Post
    Question 2:

    What is the Linux equivalent to the DOS command DIR?
    I use "ls" with a switch, like "ls -la" will list out everything in the directory, including the permissions and all. Some distros have included "dir" but it's more of a pain than ls. All the switches can be found using the man command as AMDave laid out above.

  5. #5
    Join Date
    Jul 2003
    Location
    Sydney, Australia
    Posts
    5,662
    On my Windows XP and 2000 systems I use LogMeIn so that I can check their status remotely - either from the other side of my office or the world (it worked perfectly when I was in Florida last year).

    I've checked out the LogMeIn web site and they don't have a Linux version of LogMeIn yet. What can I use or run on my Ubuntu 7.04 box so I can check on it from my Win XP Pro SP2 boxen?


  6. #6
    AMDave's Avatar
    AMDave is offline Seeker of the exit clause Moderator
    Site Admin
    Join Date
    Jun 2004
    Location
    Deep in a while loop
    Posts
    9,658
    Quote Originally Posted by vaughan View Post
    On my Windows XP and 2000 systems I use LogMeIn so that I can check their status remotely - either from the other side of my office or the world (it worked perfectly when I was in Florida last year).

    I've checked out the LogMeIn web site and they don't have a Linux version of LogMeIn yet. What can I use or run on my Ubuntu 7.04 box so I can check on it from my Win XP Pro SP2 boxen?
    You can either set up a DynamicDNS to get you back to your linux box and access your VNC interface
    OR
    Use LogMeIn to get into your Win box and VNC to the linux box from there.

    There is another pay-to-use product called gotomypc which works like logmein and includes a linux install.
    . . . . . ___
    . . . . . . .\___/\______
    . . . . . . . \__AMD___\\__
    ---------------------------------------------

  7. #7
    AMDave's Avatar
    AMDave is offline Seeker of the exit clause Moderator
    Site Admin
    Join Date
    Jun 2004
    Location
    Deep in a while loop
    Posts
    9,658
    Quote Originally Posted by vaughan View Post
    On my Windows XP and 2000 systems I use LogMeIn so that I can check their status remotely - either from the other side of my office or the world (it worked perfectly when I was in Florida last year).

    I've checked out the LogMeIn web site and they don't have a Linux version of LogMeIn yet. What can I use or run on my Ubuntu 7.04 box so I can check on it from my Win XP Pro SP2 boxen?
    Following up from a chatroom conversation, I recommended to Vaughan that he continue to use LogMeIn to get onto his windows desktop and VNC from the windows desktop using a VNC client to access his linux desktops. This entails installing the VNC client of your choice (there are many) on your windows machine and enabling remote desktop access on your linux machine.
    Actually, once you have done that you can basically unplug the monitor from your linux box and stow it in the cupboard. At one point I had just 2 monitors for 12 machines in my study - 1 monitor for the workstation and 1 to plug in to which ever cpu-node that I happened to stuff up that day LOLOL.

    CRT Monitors use a lot of power, but these days there are some plasmas that use even more. LCD is the way to go unless you are a game-freak and you simply have to have the fastest non-interlaced display scan there is.

    Just expanding on the resonse to jay above, you can use a monitor to set up your LTSP clients and enable VNC, unplug it to use to set up the next one. That's often referred to as "headless" operation. Even better you can set up LTSP diskless clients so they all use the disk on the server. With 100BaseT and above these days it's not much of a network issue on a home network. For a CPU farm this can save you real $$s as you just buy the psu, mobo, cpu, ram and a lan cable. Disks, monitors, keyboards, mice, speakers, cases etc not required. It's a challenge though and not one that I'm going to go into the details of. It has been well documented by others in the past elsewhere.
    . . . . . ___
    . . . . . . .\___/\______
    . . . . . . . \__AMD___\\__
    ---------------------------------------------

  8. #8
    AMDave's Avatar
    AMDave is offline Seeker of the exit clause Moderator
    Site Admin
    Join Date
    Jun 2004
    Location
    Deep in a while loop
    Posts
    9,658
    ...quick add to the last message

    when using man and the page displays, the <ENTER> key will scroll the information page down 1 line at a time, the <SPACE> key will give you 1 page at a time and <q> or <Q> will exit back to the command prompt.

    If you missed what you were looking for and want to look again, try pressing the up-arrow once. In most distro's this will scroll up one in the command-history and show the last command that you typed. Then hit <ENTER> again and the man-page will be re-displayed. You can scroll up and down the list. (In Unix, press <ESC><K>. In Unix the escape keys are H for left, L for right, J for down and K for up)
    Last edited by AMDave; 01-29-2007 at 10:48 AM. Reason: standardised <> keypress bounds

  9. #9
    AMDave's Avatar
    AMDave is offline Seeker of the exit clause Moderator
    Site Admin
    Join Date
    Jun 2004
    Location
    Deep in a while loop
    Posts
    9,658
    Re: Vaughan's question 1 above.

    Ubuntu is a brilliantly executed desktop distribution built on top of the work by the Debian developers. I have played around with a couple of Ubuntu distros and found it a pleasant experience. The official Unbunto forums are really well put together and cover jut about every thing, which is not surprising considering the huge uptake this distro has got and how fast it is developing.

    I have to assume that the ethernet cable is working because it is probably working in your WinXP OS on the same machine. We need to know if you have more than ne network card active and how your distro has identified them and what settings it has given them. In Windows you would normally jump into the network settings and have a look, or at the DOS/CLI prompt you would type "> ipconfig /ALL". The equivalent here is ifconfig.

    In most Linux distro's the general user is protected from running system command like this, so you would have to enter "su -" and enter the root password to gain those rights to do this.

    However, in Ubuntu, the primary user can type "sudo " before running any commands that may be restricted to the Admin user "root" and the should run fine. So can you enter
    $ sudo ifconfig -a
    and PM me the results?

    This will allow us to determine if the Ubuntu install has recognised the ethernet port properly and the DHCP address or dedicated IP address it has ended up with. Then we can determine if that fits with your sub net.

    I'll look for your PM.
    Last edited by AMDave; 01-29-2007 at 10:33 AM. Reason: yet another pebkac by AMDave fixed :)

  10. #10
    AMDave's Avatar
    AMDave is offline Seeker of the exit clause Moderator
    Site Admin
    Join Date
    Jun 2004
    Location
    Deep in a while loop
    Posts
    9,658
    ...oooh. another useful observation add on.

    When you select the text in a linux window with the mouse cursor it is automatically put into the clipboard. You can switch window and right-click where you want in (say) a text editor and the highlighted text will paste into that window at the cursor position. This is something you can get used to really quickly.

    Vaughan - got a way of saving that text from that window onto a FD since you can't email it? It's probably too much to re-type. Does it recognise your USB key?

Page 1 of 5 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •