Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Someone teach me basic networking for linux

  1. #21
    Junior Member Valifake's Avatar
    Join Date
    Jan 2010
    Location
    Don't worry Sir, I'm from the Internets
    Posts
    38

    Default

    your computers ip = 192.168.1.2
    your routers ip = 192.168.1.1

    ifconfig eth0 192.168.1.2
    route add default gw 192.168.1.1
    echo "nameserver 192.168.1.1" > /etc/resolv.conf

  2. #22
    Just burned his ISO
    Join Date
    Jun 2009
    Posts
    14

    Default

    Quote Originally Posted by rebrov View Post
    i solved the problem be removing the dhc client

    with this :

    apt-get remove dhcp-client

    and then

    /etc/init.d/networking restart

    and it worked and i can connect to internet now the problem is every time i do reboot i have to do networking restart

    explain :

    when i reboot i found the old dhcp mac and default settings again and when i try to remove dhcp again it said already not found so it already deleted

    and i try to do networking restart it work

    dunno why should i every restart do networking restart to tell the system that the dhcp is deleted :S:S:S weird
    r u using a live usb?

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •