Thread: Using VI, and red hat networking

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    106

    Using VI, and red hat networking

    Too entirely unrelated topics



    I am going through a UNIX course, and to get practice on Unix we have to use VI( a console, keyboard only, 80*25 character text editor )


    funny thing, I actually like it, more than notepad, I opened up notepad today and started hitting escape(to go into command mode), got angry booted into red hat and started working in VI there.


    Ok now onto networking, Has anyone gotten linux to work with @home, I would use linux exclusively(except for games and VC++, and Java) if I had Internet access...
    I attempted to set up networking and couldnt, any help?

  2. #2
    junior member mix0matt's Avatar
    Join Date
    Aug 2001
    Posts
    144
    What exactly are you trying to do? connect a single machine to the internet? network two or more machines together? Linux gateway? I may be able to help you, as i'm going through a linux experiment myself. Tell me a little about your hardware setup, and i'll see if i can help you.

    mxr
    THIS IS NOT JUST A CHRONICLING OF THINGS WE HAVE DONE IN THE PAST BUT OUR RISE TO POWER.

  3. #3
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    Some @home ips are static others are dynamic. If you have a static ip you will probably have to find your correct ip address, dns server, gateway, gateway mask, hostname from windows. Depending on the distro, it will have a special utility, I think it's netconfig in Redhat. If dynamic ip you will have to run a daemon named pump at startup, sorry have no clue how to configure it though.

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    79

    Re: Using VI, and red hat networking

    Originally posted by Koshare
    funny thing, I actually like it, more than notepad, I opened up notepad today and started hitting escape(to go into command mode), got angry booted into red hat and started working in VI there.
    There's something called Lemmy that's essentially VI for windows. I like the real Vi(m) better, though, because backspaces while editing don't move the cursor back, they delete the last typed character.

    Even though most people don't seem to like it(or at least don't like both vi and emacs at the same time), you might try using emacs or emacs-nox. Emacs works totally different, but has essentially the same editing power. Emacs works better on english text, source code, and other "from scratch" files, or files whose format is widespread and/or that uses delimiters like parentheses, braces, brackets, and angle brackets, whereas vi works best on cryptic things like traditional configuration files(as opposed to XML config files), makefiles, autogenerated shell scripts, etc.

    Yeah, going from Notepad to Vi, then back is like testdriving a Ferrari.(more like testpiloting a space shuttle, then going back to your prop biplane)
    All generalizations are false

  5. #5
    Registered User
    Join Date
    Sep 2001
    Posts
    1

    @Home

    I actually used a very simple solution. @Home uses dhcp, so I simply used the dhcpcd daemon (instead of setting everything up through linuxconf or netconf or anything like that). If you just give the command 'dhcpcd -h <hostname>', that should work, at least it did for me with my @home set-up. If that works, you can simply add the line to one of the final init scripts (S99local in my case) so that it will be run at start-up. Again, this is probably not the most elegant method, but it is working fine for me.

    Good luck.
    Tom

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question on Vi Editor
    By pritesh in forum Linux Programming
    Replies: 4
    Last Post: 12-10-2001, 12:49 PM