Results 1 to 8 of 8

Thread: internet won't work - possible fix

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933

    internet won't work - possible fix

    I was just searching the forums when I came across a post from mister Klaus Knopper himself. I haven't had a chance to try it yet but hopefully this will help alot of people who are using DHCP to get their internet back up after a hdd install.

    The harddisk-installed system is a "normal" Debian. You have to add the
    lines

    auto eth0
    iface eth0 inet dynamic dhcp
    I think this should be in the FAQ (if it was I missed it)

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    I gave it a try and it works execpt you do not need the "dynamic" in the line ( at least on KnoppixKDE ) it gives you a to many parameters error when you restart the network. Your right I never seen this anywhere in the FAQ when I had this problem luckily I could use my static settings.

  3. #3
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    12

    AND THAT WOULD BE....

    Any chance of letting the rest of us know WHICH file needs to be modified?

    Greg

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    The file is /etc/network/interfaces I added the line iface eth0 inet dhcp and commented out the static settings I already had. To re-start the network /etc/init.d/networking restart.

  5. #5
    Junior Member
    Join Date
    Mar 2003
    Location
    Lelystad the Netherlands
    Posts
    7
    Greg,
    it is the following file:


    /etc/network/interfaces

    ad the this line as the told you before

    iface eth0 inet dhcp

    and it should work (a searched for hours for this )

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    149

    What do you mean by "internet doesn't work" ?

    I ask because I just installed Knoppix to my hard drive last night.

    I can connect to ISP, but I can get to any web sites.......even google.

    Is the advice offered in this thread germane to my issue?

    While I ran the install script I said no to "dhcp" not understanding what the option was, will this have a bearing on my problem?

    I also said "no" to the options of having many servers started as I will be running Knoppix as a desktop and not a server.

    Could these choices have anything to do with my "internet problem" ?

    Thanks in advance

    Steve

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Sounds like you don't have a name server in your /etc/resolv.conf file check by opening a console and entering vi /etc/resolv.conf there should be at least one line with nameserver 123.456.789.01 ( whatever the number is for your name server from your ISP ). It wouldn't hurt to check /etc/network/interfaces to make sure your settings are right there also. After you make any changes you will have to re-start the network, to make these changes you will have to be root user.

    In answer to your questions no it does not matter that you did not start the servers it asked for in the setup they do not have anything to do with access to the internet. The part that matters is the answers you gave after you declined the dhcp option and if you gave the correct settings for your IP address, gateway, nameserver, etc... , this is what allows you to access the internet.

  8. #8
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    149
    Quote Originally Posted by Stephen
    Sounds like you don't have a name server in your /etc/resolv.conf file check by opening a console and entering vi /etc/resolv.conf there should be at least one line with nameserver 123.456.789.01 ( whatever the number is for your name server from your ISP ). It wouldn't hurt to check /etc/network/interfaces to make sure your settings are right there also. After you make any changes you will have to re-start the network, to make these changes you will have to be root user.

    In answer to your questions no it does not matter that you did not start the servers it asked for in the setup they do not have anything to do with access to the internet. The part that matters is the answers you gave after you declined the dhcp option and if you gave the correct settings for your IP address, gateway, nameserver, etc... , this is what allows you to access the internet.

    I got part of the problem fixed.

    I made the alterations described in the original post to the thread. I also set up an account in kppp but chose dynamic DNS instead of manual.

    I am able to use kppp to connect from the knoppix account.

    I would really like to be able to connect from the account I made for myself ( "steve").

    I added "steve" to the knoppix group via usermod -G. I then chmoded kppp to 777.

    I can bring up kppp as "steve" but for some reason I am not able to select "dyanmic DNS" in the kppp set up when I am logged in as "steve"

    Steve

Similar Threads

  1. Can't Get Internet to Work--3.6 Live CD
    By dylan000 in forum General Support
    Replies: 6
    Last Post: 09-13-2004, 06:47 PM
  2. Knoppix 3.4 on VMware and getting internet to work
    By Bonzo in forum General Support
    Replies: 2
    Last Post: 05-22-2004, 01:42 PM
  3. internet works but doesn't work.
    By drg55 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 11-23-2003, 12:47 PM
  4. INTERNET: Mazilla+Konquektor= DON'T WORK
    By Maximus in forum General Support
    Replies: 1
    Last Post: 06-07-2003, 12:01 AM
  5. Getiing the internet to work.
    By reub2000 in forum Customising & Remastering
    Replies: 3
    Last Post: 06-01-2003, 11:12 PM

Posting Permissions

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


Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



CSE-118 Supermicro 1U 3x GPU Server  2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails picture

CSE-118 Supermicro 1U 3x GPU Server 2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails

$454.03



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Dell R730xd 12LFF 2.6Ghz 20-C 128GB H730 2x10G+2x1G NIC 2x1100W 12x Trays Rails picture

Dell R730xd 12LFF 2.6Ghz 20-C 128GB H730 2x10G+2x1G NIC 2x1100W 12x Trays Rails

$721.05



Intel Xeon E5-2680 v4 SR1N7 2.4GHz 14-Core 3.5MB 35MB Socket 2011-3 Server CPU picture

Intel Xeon E5-2680 v4 SR1N7 2.4GHz 14-Core 3.5MB 35MB Socket 2011-3 Server CPU

$11.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia picture

Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia

$279.56