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

  • millusions
    replied
    note: do not use webmin to edit your network interfaces if you use Network Manager

    Leave a comment:


  • SteveRiley
    replied
    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!

    Leave a comment:


  • mhumm2
    replied
    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.

    Leave a comment:


  • millusions
    replied
    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

    Leave a comment:


  • mhumm2
    replied
    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

    Leave a comment:


  • millusions
    replied
    i would , but have not had a chance to really use permissions to have the experience.
    ill check it out

    Leave a comment:


  • mhumm2
    replied
    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.

    Leave a comment:


  • millusions
    replied
    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

    Leave a comment:


  • mhumm2
    replied
    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.

    Leave a comment:


  • SteveRiley
    replied
    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.

    Leave a comment:


  • mhumm2
    replied
    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.

    Leave a comment:


  • millusions
    replied
    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

    Leave a comment:


  • life0riley
    replied
    I haven't had this issue. I set the static IP on the router. The router reserves the IP for a particular MAC address.


    Sent from my iPhone using Tapatalk

    Leave a comment:


  • mhumm2
    replied
    okay, I went back to dhcp and took a look at the output of ifconfig. With the server set to dhcp, nslookup works! So I used the same ip numbers as ifconfig displayed to set up static again and NO JOY!!! ifconfig shows the same numbers that the server used when setup for dhcp so why won't they work for a static ip setup? I don't get it.

    I think it would be better to close this thread and open a new one (with a link to this one) with a more descriptive title. Obviously the sources are not the problem -- getting out to the repositories from the server set up for static IP is the problem.

    Leave a comment:


  • mhumm2
    replied
    The header in etc/resolv.conf states that any changes made to the file will be overwritten by resolvconf(8). I have no idea what that is about. Should I just put the Google nameservers in the file anyway?

    Leave a comment:

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X