Announcement

Collapse
No announcement yet.

Network (Internet) connection questions. [SOLVED]

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

    Network (Internet) connection questions. [SOLVED]

    Hi!

    I need to tweak my network settings, for better performance with file sharers.
    I have actually 2 questions.

    a) Where can I find some documentation for disabling DHCP on my system?
    (DHCP on my router is always ON).

    b) How can I set the DNS servers manually to those 2, that my ISP provides?


    PS. I have already edited the etc/resolv.conf

    Default resolv.conf:


    Code:
    ### BEGIN INFO
    #
    # Modified_by: NetworkManager
    # Process:   /usr/bin/NetworkManager
    # Process_id: 5048
    #
    ### END INFO
    
    search siemens
    
    
    nameserver 192.168.1.1
    Edited resolv.conf:

    Code:
    ### BEGIN INFO
    #
    # Modified_by: NetworkManager
    # Process:   /usr/bin/NetworkManager
    # Process_id: 5051
    #
    ### END INFO
    
    # search siemens
    
    
    nameserver 194.219.227.2
    nameserver 193.92.150.3
    Unfortunately, this try was definitely a failure!
    Or better, it was successful, until reboot time.
    After rebooting, the edited resolv.conf, is rolling back to default.

    Any hints? 8)
    I have Kubuntu Hardy 64 and my router (a usual one. Nothing special about it) is a Siemens CL-110 (via ethernet (eth0)).
    I have at past, (when Windows was my primary system) already setup the port forwarding to the 192.168.1.2 (my system. No other systems connected) and the respective program ports.

    As I can see at Knetworkmanager, Kubuntu has already auto-assigned the 192.168.1.2.
    Seems like a static IP to me (please correct me, if I'm wrong), so I think there's nothing to deal with, there.
    Speak "Friend" and enter, or...

    #2
    Re: Network (Internet) connection questions.

    An older post, but seems to be relevant.
    Re: system overwrites resolv.conf

    "open /etc/dchp3/dhclient.conf" contains a typo, and is actually "open /etc/dhcp3/dhclient.conf"

    Just cat the file (cat /etc/dhcp3/dhclient.conf) from a console to take a look at it.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Network (Internet) connection questions.

      Your problem is Knetwork manager. Knetwork manager overwrites your resolv.conf file. Remove it.

      You can access the router setup by typing 192.168.1.1 in the url field in a browser. You router seems to come with the beginning address for DHCP at 192.168.1.2 and the ending address ia 192.168.1.254. Change either of these values to make some address available for static IP's. Foe example you could change the beginning field to read 192.168.1.100. Then you could assign your computer any address from 192.168.1.2 through 192.168.1.99. Or you can diusable DHCP and use any address between 192.168.1.2 and 192.168.1.254.

      Comment


        #4
        Re: Network (Internet) connection questions.

        MANY THANKS guys!!!
        SOLVED now!!!

        Indeed the only needed thing, was editing the etc/dhcp3/dhclient.conf.
        After correcting dhclient.conf, resolv.conf autofixed, without dealing with it.

        Original version of dhclient.conf:

        Code:
        .
        .
        .
        #prepend domain-name-servers 127.0.0.1;
        request subnet-mask, broadcast-address, time-offset, routers,
        	domain-name, domain-name-servers, host-name,
        	netbios-name-servers, netbios-scope;
        .
        .
        .
        After editing:
        Code:
        .
        .
        .
        prepend domain-name-servers 194.219.227.2, 193.92.150.3;
        request subnet-mask, broadcast-address, time-offset, routers,
        	domain-name, host-name,
        	netbios-name-servers, netbios-scope;
        .
        .
        .
        (Auto)fixed resolv.conf:
        Code:
        ### BEGIN INFO
        #
        # Modified_by: NetworkManager
        # Process:   /usr/bin/NetworkManager
        # Process_id:  5048
        #
        ### END INFO
        
        search siemens
        
        
        nameserver 194.219.227.2
        nameserver 193.92.150.3
        nameserver 192.168.1.1
        I'll try to learn some more about these things, but for now, this solution was a big success!!!

        THANKS AGAIN guys!!!

        You untied my hands!

        PS. My problems were aMule - Kademlia related.
        Speak "Friend" and enter, or...

        Comment

        Working...
        X