Announcement

Collapse
No announcement yet.

Trying to Setup 32-bit Server Using Trusty -- Bad Sources. Please Help

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

    #16
    oh, yea, sorry,
    to add name server you'd need it add it to /etc/resolvconf/resolv.conf.d/head which is like a header to resolve.conf
    or add it to interfaces configuration like you wrote,

    the fact that static is not working might have something to do with your router,
    for example the router might have this setting
    DHCP pool [192.168.0.1 - 192.168.0.254] , just guessing here,
    and any static ips need to be outside that range, so you'd change the range to 192.168.0.1-192-168-99 and try 192.168.0.100 for your server?


    or as lifeoriley was saying, you can get the router to assign static ip based on mac address, the requirement here might or might not be (depending on router) that the static ips be not in dhcp pool
    K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

    Comment


      #17
      lifeoriley and millusions thanks. I decided to get the server1 mac address from ifconfig then used it to configure my router so it assigns a static ip address to that hardware address. Then I set server1 back to dhcp and deleted the changes I made to the config files. After reboot, everthing seemed to be working well and the server has the correct ip address assigned according to ifconfig. Thanks everyone. I'll give it 24 hours then show this thread as solved (albeit in a round about way.) I wish I knew why the config files on server1 didn't work though.
      "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

      Comment


        #18
        Originally posted by mhumm2 View Post
        DHCP does make a difference! nslookup worked with google. Then I set the server for a static ip address by configuring /etc/network/interfaces

        Code:
        #loopback network interface
        auto lo
        iface lo inet loopback
        
        #primary network interface
        auto eth0
        iface eth0 inet static
        address 192.168.1.100
        netmask 255.255.255.0
        network 192.168.1.0  
        broadcast 192.168.1.255
        gateway 192.168.0.1     #this is the same ip address I use to access and configure my router from a browser.
        Something has to be incorrect here because when I reboot (sudo /etc/init.d/networking restart does not work) the system dmesg progresses until it gets to "Configuring virtual networking devices... Waiting for network configuration... Waiting up to 60 more seconds for network configuration... finally the system completes its boot up without full networking. Then nslookup to google does not work. Obviously, I'm not setting something up correctly in the interfaces file.
        You're missing a line in /etc/network/interfaces. Add the following at the end:
        Code:
        dns-nameservers 4.2.2.1
        I prefer to use Verizon's public DNS rather than Google's. Who knows what Google is tracking...

        Anyway, that line will tell the resolvconf utility how to properly create the file /etc/resolv.conf.

        You should also edit the file /etc/NetworkManager/NetworkManager.conf. Make it look like this, with the changes in red:
        Code:
        [main]
        plugins=ifupdown,keyfile,ofono
        [COLOR="#B22222"][B]#[/B][/COLOR]dns=dnsmasq    [COLOR="#B22222"][i]<-- comment this line[/i][/COLOR][i][/I]
        
        [ifupdown]
        managed=[COLOR="#B22222"][B]true[/B][/COLOR]    [COLOR="#B22222"]<-- [I]Allow NetworkManager to manage this interface[/I][/COLOR]
        Finally, restart related services:
        Code:
        sudo service network-manager restart
        sudo service networking restart
        sudo service resolvconf restart
        Last edited by SteveRiley; Aug 16, 2014, 11:20 PM.

        Comment


          #19
          Thanks SteveRiley! I'll give it a try. In the mean time -- either way -- this thread is solved!!! Thanks again to everyone who weighed in.
          "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

          Comment


            #20
            dude:

            address 192.168.1.100
            netmask 255.255.255.0

            and youre gateway is gateway 192.168.0.1
            netmask excludes that subnet!
            so if your router is 192.168.0.1 ur ip has to be 192.168.0.1-254 with netmask 255.255.255.0
            K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

            Comment


              #21
              Yep, you're correct. Good catch millusions. Would you like to help me fix my ~/user/.ssh directory ownership? Check out my last thread. Thanks again.
              "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

              Comment


                #22
                i would , but have not had a chance to really use permissions to have the experience.
                ill check it out
                K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

                Comment


                  #23
                  I have not idea how long you've been working/playing with Kubuntu. I discovered this site about 2 months after I started. Without it, I probably wouldn't be a Linux user. If your timeline is, as mine was, you're doing great and you seem to be a lot further ahead in your journey to Linux Nirvana <grin>. Thanks mate!

                  Mark
                  "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                  Comment


                    #24
                    Hey, its all good mhumm2 , i found this forums for the same reason you did
                    without the internet Linux would be super hard.
                    if you really want to know my first install was Linux Slackware 3.1 and that was a lot of hacking to get a network card going back then. I remember X giving me lots of issues with a Cirrus Logic video card as it was slightly uncommon. that was around 1997 i think.
                    but ive had long breaks, which i regret now, recently just got back into it to try steam but linux like a virus took over every machine in the house
                    anyway, glad you got it working! Enjoy the journey

                    have you tried webmin? it can be very handy for a server build
                    K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

                    Comment


                      #25
                      No I have not tried webmin. I assume it's a kind of online server admin? I actually have ssh working well. Of course ssh-agent would help, but that's a different issue from this thread. Thanks for sharing your story. Take care.
                      "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                      Comment


                        #26
                        Webmin is a web-based control panel for managing Linux servers. I'm running it on my Debian 7 server at home, but honestly don't use it all that much. I'm a command-line nerd!

                        Comment


                          #27
                          note: do not use webmin to edit your network interfaces if you use Network Manager
                          K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

                          Comment

                          Working...
                          X