Why GNU/Linux Rocks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • shikitohno
    Member
    • Jul 2009
    • 1156

    I know there are ssh clients on the iPhone that work okay, though it's a pain in the ass to type exactly on those small screens. Still, any remote access software is going to require that you be able to forward ports. By default, ssh would require port 22 to be forwarded for that computer, though you can change it. For your router, did you guys actually remember changing the password? If not, you can probably find out the default password by googling "router model default admin password." If you did change it and you forgot, there ought to be a button that says reset or restore above it somewhere on your router. It'll be the sort of button you'd have to use the tip of a pen or a paperclip to press in. Holding that button down for about 5 seconds will reset your routers settings back to factory default, including the admin password. You'll haveo redo any configurations you previously did on it, like creating you wi-fi network over and such, but it'll spare you paying $40 to have your password reset. Once that's done, you'd have to install open ssh, and edit the files /etc/ssh/ssh_config and /etc/ssh/sshd_config. Then when you have your ssh client and daemon configured properly, run
    Code:
    sudo chkconfig sshd on
    so that sshd would start on boot as a daemon (a process running in the background, not connected to any display or terminal), and you would be able to connect to your computer remotely by typing
    Code:
    ssh username@You.external.IP.here
    in order to SSH into your machine. I'd recommend configuring it to use signed keys for login, rather than passwords, as it's a lot more difficult to generate a PGP key that would be the exact same as yours, compared to just guessingyour password. Some people also recommend picking an arbitrary higher port and using that for SSH instead of port 22, in order to reduce the number of random attempts to guess your password by people who port scan blocks of IP addresses and just see you running ssh on port 22. If you use an alternate port, you'd need to type
    Code:
    ssh -p ### username@Your.external.IP.here
    .

    Keep in mind, ssh is terminal only, so you'll be reliant on what you can do in the terminal. Fortunately, you can do almost anything shy of watch videos or look at pictures in the terminal. Mutt is a really good email client, mpd+ncmpcpp will give you music, irssi does irc, links is a decent web browser, vifm works well as a file manager (providing you know the vi/vim keybindings). Aside from links, I use those programs pretty much exclusively, even when I'm just at home. They're all capable enough and powerful enough that I don't need to use any GUI programs for those functions.

    Comment

    • sgreger1
      Member
      • Mar 2009
      • 9451

      Wow thanks for the detailed tutorial Shiki! I am learning lots of new things every day. Hopefully I will have more computer time today so i can mess around with this.

      I saw a program in there that claims it can crack passwords on open wifi connections, is it really that easy to where you can launch a program and have it sniff enough packets to discover the password to the wifi connection you are on? If so than that is amazing.

      Comment

      • lxskllr
        Member
        • Sep 2007
        • 13435

        Originally posted by sgreger1
        Wow thanks for the detailed tutorial Shiki! I am learning lots of new things every day. Hopefully I will have more computer time today so i can mess around with this.

        I saw a program in there that claims it can crack passwords on open wifi connections, is it really that easy to where you can launch a program and have it sniff enough packets to discover the password to the wifi connection you are on? If so than that is amazing.
        wep is easy to crack, other encryption a bit less so.

        Comment

        • sgreger1
          Member
          • Mar 2009
          • 9451

          Hey so I am using irssi right now and have figured out how to highlight things:

          Code:
          /hilight <nic>
          , but do you know how to customize it so that you can choose which names appear as which colors? The irssi manual website seems to be down so I can't read their documentation.


          Edit: And how do I make it so my name is not attached to my account? Like if I try to use the same username twice it says "Name Belongs to MY NAME HERE". I don't want my real name being used. Is this something I have to change on my computer or in the irssi client?

          Comment

          • sgreger1
            Member
            • Mar 2009
            • 9451

            I am really starting to understand why you said some things are easier from the terminal. I just learned how to move around the various directories using the command line and make folder, move things to folders, open files in folders etc all from the command prompt. I know that seems simple but it's a big deal for me! I'm loving Linux so far. It's almost as though there isn't even much need for the GUI once you get good enough with the command prompt (which I am, not yet).

            Comment

            • lxskllr
              Member
              • Sep 2007
              • 13435

              Scripting is where cl really shines. Here's my small collection of open source books. There's a couple scripting guides in there I think. You should be able to find something interesting to read in any case.

              http://ubuntuone.com/0ykQfDPDDplsR7Fx0EDDGq

              Comment

              • sgreger1
                Member
                • Mar 2009
                • 9451

                Originally posted by lxskllr
                Scripting is where cl really shines. Here's my small collection of open source books. There's a couple scripting guides in there I think. You should be able to find something interesting to read in any case.

                http://ubuntuone.com/0ykQfDPDDplsR7Fx0EDDGq

                Oh wow that's awesome Lx there's a bunch of cool shit in there!


                I'm till at the state where I am just learning how to make the damn IRC client irssi work and move around directories and move/rename/create files etc. I need to get a good grasp on the basic commands and how they work. Once I can move around freely without a tutorial (pretty much where Iam now) than it will be a lot easier to start doing other stuff.

                Comment

                • sgreger1
                  Member
                  • Mar 2009
                  • 9451

                  What program would I use to open that from the command line? Like I know text files are opened by using gedit:

                  Code:
                  gedit mytextfile.txt
                  But what program opens the archive you sent?

                  If I go to the file manager and open the file it uses a program called Archive Manager but I can't seem to get it to launch from the command prompt.

                  Comment

                  • shikitohno
                    Member
                    • Jul 2009
                    • 1156

                    You can use vim or nano to open text files without spawning a new window, sgreger. Vim is typically considered less beginner friendly, but more powerful in the long run, while nano is real easy to pick up. You can extract most archives with the p7zip package, by typing
                    Code:
                    7z e archive.name
                    . You need to make sure you've got the unrar and unzip packages installed too. You can change the real name displayed in irssi by typing
                    Code:
                    /set real_name The new name here
                    Then type:
                    /save
                    This will change the real name it displays, and save it so it'll keep whatever name you set each time you start irssi. If real_name doesn't work, just try it witout the underscore.

                    Comment

                    • Los ßnus
                      Member
                      • Jan 2012
                      • 79

                      Originally posted by sgreger1
                      What program would I use to open that from the command line? Like I know text files are opened by using gedit:

                      Code:
                      gedit mytextfile.txt
                      But what program opens the archive you sent?

                      If I go to the file manager and open the file it uses a program called Archive Manager but I can't seem to get it to launch from the command prompt.

                      The file you are referncing is a tarball with gzip compression (.tar.gz) the easiest way to extract this type of archive is:
                      tar -zxvf yourfile.tar.gz
                      If you see a tarball with bzip compression (.tar.bz) use:
                      tar -jxvf yourfile.tar.bz
                      both of these commands will extract your tarball into a new directory for you.

                      edit: both of these methods are supported by just about every distro out there and even on other unix variants like BSD. The reason I prefer these GNU commands is that you may not always have access to 7zip if you don't own the box. You will not find 7zip installed on most distros by default, however it is for the most part easy to install.

                      Comment

                      • sgreger1
                        Member
                        • Mar 2009
                        • 9451

                        Hey Shiki or anyone else. Do you know how to change your IRC name in irssi? Not your nic but the actual irc name. It keeps showing as my real name and I don't want that shown on my private tracker's irc. Google doesn't seem to have any answers, I must be using the wrong search terms.


                        Google says to use CHGNAME or SETNAME but neither of those commands are recognized

                        Comment

                        • lxskllr
                          Member
                          • Sep 2007
                          • 13435

                          I don't know how that works, or what you're seeing, but the hostname, or nickname should change what it displays.

                          http://www.linuxmanpages.com/man1/irssi.1.php

                          Comment

                          • sgreger1
                            Member
                            • Mar 2009
                            • 9451

                            Originally posted by lxskllr
                            I don't know how that works, or what you're seeing, but the hostname, or nickname should change what it displays.

                            http://www.linuxmanpages.com/man1/irssi.1.php

                            I can change the nickname, but if you doa whois on my nickname it still displays my real name. I also have a custom vhost but it still adds my real name to the beginning of it. Damn annoying.

                            Comment

                            • lxskllr
                              Member
                              • Sep 2007
                              • 13435

                              Did you try changing the host name? How is it getting your real name? I never name my computers after myself. I like to keep things a little more generic.

                              Comment

                              • sgreger1
                                Member
                                • Mar 2009
                                • 9451

                                Originally posted by lxskllr
                                Did you try changing the host name? How is it getting your real name? I never name my computers after myself. I like to keep things a little more generic.
                                That's the thing, I am not sure where it pulls the name from. I changed my computers username but that didn't change it. I did name the profile on my PC after my real name originally, so the directories are like c:\users\MY_NAME_HERE\definatelynotporn.jpg

                                Not sure how to change that. I think I just need to figure out where irssi draws the name from so that I can change it locally on my computer.

                                Comment

                                Working...
                                X