Announcement

Collapse
No announcement yet.

how to connect desktop and netbook through router?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: how to connect desktop and netbook through router?

    Originally posted by toad
    Perhaps you ought to check your ip addresses over the period of a week or two to see whether they change or stay consistent. If they remain constant there is no need for setting up static ip addresses Use for example the ifconfig to find out your ip address.
    - or configure the router's DHCP server to reserve specific IPs for each MAC
    - or configure all hosts with static IPs, manually map names to IPs in the /etc/hosts of every host, and disable the DHCP server on the router
    - or just use Samba which can resolve names to IPs without relying on a name server or /etc/hotst, and hopefully bypass a lot of mucking around in config files

    There are certainly many options to choose from.
    Welcome newbies!
    Verify the ISO
    Kubuntu's documentation

    Comment


      #17
      Re: how to connect desktop and netbook through router?

      Originally posted by toad
      Nice one Vinny! I don't think I've ever be able to find an NFS howto that made sense but reading the first words of your link was like a homecoming: Write down your information
      that's why I bookmarked it!

      if I remember right if it's 2 linux box's SSH is prity easy and you probebley all ready have the openssh clyent insalled so you'd just nead the server package for eatch box then after you start the servises (cant remember the comand to start and stop)you just go to network in dolphin and add a network folder using the ssh tick box enter the IP adress of the box you'r conecting to in the server feald and user name and pasword for the login on the box you conekting to and you'r in......... but I may be remembering rong it was a long time ago and on slackware and Konqueror .

      I do mis the KDE 3.5 task bar addon simpel file server you could just point it at a folder share it set the bandwidth and port clik ok then go to the other box and fire up you faveret browser and enter the IP and port like 192.168.1.101:8000 and you were in.

      but I havent found that on KDE4+ yet!

      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #18
        Re: how to connect desktop and netbook through router?

        Vinny, I think you're after the quite inappropriately named drop2ftp plasmoid at http://www.kde-look.org/content/show...?content=97281

        My package manager tells me:
        This is a KDE 4 plasma applet which can copy files with every protocol which is supported by KIO. So you can use it to copy files to a FTP server or an folder on your PC for example.
        Downloading it at this very moment

        Tom, you still there? Don't let us get in the way...
        Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

        Comment


          #19
          Re: how to connect desktop and netbook through router?

          In my experience DHCP keeps the same addresses indefinitely, if you don't take out a device with a number in the middle of the range and then add a new device. Even then, it would stay the same until the lease expires.

          It is easy to set a short range for DHCP and use the numbers after that for static. However on a small home network, you will know that the DHCP server will be using the numbers starting at the bottom of the range and that there won't be any addresses used further up. That means that you can safely use higher numbers for static without (re)defining the range for the DHCP server. If your router is 192.168.1.1 start using 192.168.1.101, 102, etc. Note that with static, you just make up the numbers that you want. Just remember to keep track of them!

          In tomcloyd's case he can just type ifconfig on each computer and the number that comes up will probably be usable. Personally, I'd use static addressing though.
          1. Remove the DHCP line from /etc/network/interfaces
          2. Add the network settings to /etc/network/interfaces
          3. Add DNS server addresses to /etc/resolv.conf
          4. Restart network

          After having done it once, it only takes a minute. One obviously needs to know how to edit those files and also what to put in them. Fortunately the hints are in the files themselves because DHCP has already gotten the basics. For a short and easy to follow how-to (and some other tricks as well) see this link:
          http://www.cyberciti.biz/tips/howto-...iguration.html

          As to file transfer, I have my own too-simple-to-believe ways which I've detailed many times before. I won't bore everybody again, but, in one "sentence": Apt-get ftpserver, then just type "ftp othermachineip" and copy files to your hearts content - simple as that - CLI or drag and drop. /2¢



          Comment


            #20
            Re: how to connect desktop and netbook through router?

            Hello. I'm back. Regrettably, and to my frequent grief, I have a life outside of Linux, and it doth wisk me away rather often, alas.

            So, the plan is:

            1. First give thanks to the marvelous blooming of this thread - now appearing to me to be rich with resources and good ideas to checked out, studied, tried, and learned from. So THANKS TO YOU ALL. I'm very grateful. Hope springs anew.

            2. Return here this evening (it's 1:50PM here now on the left coast of the US), when I have time to indulge myself at this banquet table.

            3. Report back on my struggles and hopefully (some) successes.

            4. Receive more guidance, and repeat the loop until evenly brown on all sides.

            Dare I hope that somehow out of this I might also get my netbook to connect to the router wirelessly? Stop. Ignore that. One thing at a time. That's for the future!

            I will return.

            t.

            Comment


              #21
              Re: how to connect desktop and netbook through router?

              Tom, we've discussed a number of possible solutions for you. Indeed, there are many, many more ways to solve the problem which we haven't even mentioned yet. The thing is, only you know what you need, even if you don't know that you know it. The more you tell us about what you need to do, and how you would like to to do it, the better a solution we can come to.

              @ Everyone. Until we can learn a little more about Tom's needs and expectations I think maybe we should just cool it a bit. No need to give the poor guy information overload.
              Welcome newbies!
              Verify the ISO
              Kubuntu's documentation

              Comment


                #22
                Re: how to connect desktop and netbook through router?

                Originally posted by Telengard

                @ Everyone. Until we can learn a little more about Tom's needs and expectations I think maybe we should just cool it a bit. No need to give the poor guy information overload.
                but but ....we havent even tutched ftp or http and apachey and and .....

                no your quite right that's probebley enuff to digest for a wille.

                @toad

                that's a prity cool widget.............but assumes you have a ftp or http server runing allready on the box you'r trying to conect to.

                the one from KDE3.5 was it's own server (http I think sence you could acsess it thrugh a web browser)........you just pointed it at a file and you could then get the file or files in that DIR and it's sub folders using a web browser on the other box.



                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #23
                  Re: how to connect desktop and netbook through router?

                  Originally posted by vinnywright
                  ftp
                  Actually Ole Juul already mentioned it at the bottom of his post. I have a feeling though that FTP is not the kind of solution Tom is looking for. If I understand correctly, he wants to be able to mount part of the filesystem from the other machine. FTP is great, and I've gotten many miles out of it, but it won't do that.
                  Welcome newbies!
                  Verify the ISO
                  Kubuntu's documentation

                  Comment


                    #24
                    Re: how to connect desktop and netbook through router?

                    Originally posted by Ole Juul
                    In my experience DHCP keeps the same addresses indefinitely,...
                    .....
                    That's because your wireless router defaults internally to 192.168.1.X as the IP address it dispenses, where X is the starting number for successive addresses that are handed out. X is configurable. I set my Linksys WTR54GL wireless router to start at 192.168.1.100 and give up to 5 addresses only. Which address a laptop in my house gets depends on the order it logs in. First come, first serve.

                    Because of this, if you make a connection to a network printer using DHCP your printer connection, and those of others who may request a connection to the network printer, may work IF the printer is allowed to be the first to request a lease from the wireless router before other users log on. This gets to be a pain, so the thing to do is configure the wireless router to give a static IP address of 192.168.1.99 to the printer (in my case), which is just below the initial IP set for dhcp requests. You can do this by connecting an eth port on the back of the wireless print server to an eth port on the back of the wireless router.
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #25
                      Re: how to connect desktop and netbook through router?

                      I too reserve a small number of addresses for DHCP and then use another range for my static. I hardly ever use DHCP and never wireless any more. However, I think that kind of thing is a bit beyond this thread. It is the best plan though.

                      Telengard: I have a feeling though that FTP is not the kind of solution Tom is looking for. If I understand correctly, he wants to be able to mount part of the filesystem from the other machine. FTP is great, and I've gotten many miles out of it, but it won't do that.
                      I have always thought of FTP as mounting another computer onto my filesystem. How could it not do that? It does that for me.

                      I'm going to start another thread on that so as not to totally hijack this one.

                      Comment


                        #26
                        Re: how to connect desktop and netbook through router?

                        OK, I'm making progress, but have encountered a block I cannot get past.

                        My Netgear WGR614v9 router comes with software and documentation I'm able to make sufficient sense of, so I have assigned to both my desktop and netbook static IP addresses. I'm trying to suitably edit my /etc/network/interfaces files on both machines, according to the documents at

                        * http://www.cyberciti.biz/tips/howto-...iguration.html
                        * http://mostlylinux.wordpress.com/network/staticip

                        BUT, my interfaces file is this:
                        Code:
                        auto lo
                        iface lo inet loopback
                        not as shown in the references above:
                        Code:
                        auto eth0
                        iface eth0 inet dhcp
                        I dare not go farther, since I do not understand enough of what I am doing to improvise at this point.

                        Can anyone please advise me how to go forward?

                        Comment


                          #27
                          Re: how to connect desktop and netbook through router?

                          If in doubt make a backup copy first!

                          Now comment out the line beginning with iface...

                          Add your stuff and you should be fine. And even if you _totally_ screwed up you have your backup copy to restore things
                          Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                          Comment


                            #28
                            Re: how to connect desktop and netbook through router?

                            Originally posted by toad
                            Now comment out the line beginning with iface...

                            Add your stuff and you should be fine.
                            After he comments out the line his IP will no longer be assigned by the DHCP server. I think he will also need to insert his static information here, right?
                            Welcome newbies!
                            Verify the ISO
                            Kubuntu's documentation

                            Comment


                              #29
                              Re: how to connect desktop and netbook through router?

                              Yes, of course. Thanks for making that clear, Telengard

                              Here is a nice howto for a static ip:

                              http://mostlylinux.wordpress.com/network/staticip/
                              Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                              Comment


                                #30
                                Re: how to connect desktop and netbook through router?

                                Guys, this isn't working for me. You don't understand that I really don't have the basics of networking under control. I cannot make many decisions, because I'm too ignorant. I can only follow fairly rote instructions. If I'm going to do this, that's what I need.

                                My goal is this: I want to see and access some or all of the filesystem of my computer A in my computer B's file tree, and viceversa, so I can run a file sync program and do some simply manual file transfers. That's it. Used to do this all the time in Windows, and it didn't take a week to set up.

                                So, again...here's my interfaces file, as I find it without modification:

                                Code:
                                auto lo
                                iface lo inet loopback
                                Needless to say, I have NO idea what this is saying.

                                Everyone's raving about http://mostlylinux.wordpress.com/network/staticip, and agree that it's the best thing I've yet found, BUT...please go to http://mostlylinux.wordpress.com/net...cip/#assigning.

                                Now look at #3. Here's where things get nuts for me. I'm supposed to fine these lines in my file:

                                Code:
                                auto eth0
                                iface eth0 inet dhcp
                                You'll note that they're not there. I don't know what to do at this point. Dare I insert them? I got a bit casual a few months back, doing something involving networking, and my system went nuts. No on the forum seemed to have a clue what to do. I go to start from scratch, which took the better part of a day. Trying hard not to go THERE again....

                                Assuming we get past that problem, look at #5. I'm supposed to insert these lines:
                                iface eth0 inet static
                                address 192.168.1.100
                                netmask 255.255.255.0
                                gateway 192.168.1.1


                                I don't understand the last two lines and there is no explanation given. I cannot handle this degree of ambiguity.

                                All I have to work with beyond this is what I see in my router manager LAN setup window:

                                [img width=400 height=330]http://tomcloyd.com/misc/lan_setup2.png[/img]

                                I keep thinking that the information I need is in that window, but I cannot be sure of anything at this point. Far too many IP addresses and other obscure junk floating around.

                                If you respond to this please respond to ALL my concerns, since I need to get past all of them. Thanks for sticking with me.

                                Comment

                                Working...
                                X