Find the answer to your Linux question:
Results 1 to 7 of 7
Hello I am new to Linux and not so new to computers. I would be thankful for any help here! I have recently installed Debian 4.0 with the network install. ...
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    2

    Question After installing by net bootable, I have no Internet!?

    Hello I am new to Linux and not so new to computers.
    I would be thankful for any help here!

    I have recently installed Debian 4.0 with the network install. Everything went smooth during the installation. It was able to connect though my switch to the modem and out to the Debian mirror to download the packages. Everything installed as far as I can tell.

    Once I logged into the system. I quickly noticed I didn't have an Internet connection. To me that doesn't make any sense considering it just downloaded the software I am using!

    I tried the ifconfig and found that I had no IP.
    I tried the dhclient command with no help.

    I am guessing it's a driver problem.

    Would someone please help me identify what the problem is and how to fix it?

    Thanks for your time.

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Sure,

    tell us the mainboard or the network card you are using.
    And give us the output of the ifconfig.

  3. #3
    Just Joined!
    Join Date
    Jul 2008
    Posts
    2

    info

    Here is the info


    the NIC is a Zonet Zn2002d


    debianserver46://# ifconfig
    eth0 Link encap:Ethernet Hwaddr 00:c0:26:C0:34:FA
    inet6 addr: feB0::2c0:26ff:fec0:34fa/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2507 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes 170282 (166.2 KiB) TX bytes:2520 (2.5 KiB)
    Interrupt:10 Base address:0xd800

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACKRUNNING MTU:16436 Metric:1
    RX packets:40 errors:0 dropped:0 overruns:0 frame:0
    TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes 2928 (2.8 KiB) TX bytes:2928 (2.8 KiB)

    usb0 Link encap:Ethernet HWaddr B2:4D:B5:8D:46:54
    inet addr:169.254.236.95 Bcast:169.254.255.255 Mask:255.255.0.0
    inet6 addr: fe80::b04d:b5ff:fe8d:4654/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:20 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes 0 (0.0 b) TX bytes:0 (0.0 b)

  4. #4
    Just Joined!
    Join Date
    Mar 2005
    Location
    Sweden
    Posts
    47

    Exclamation Same problem, no internet after netinst.

    I justed installed Debian 5.0 netinst. Everything went smoothly. I have static ip so i manually configured during installation. After installation i have no internet! It is configured in /etc/network/interfaces but it does not work.

    pls help.

  5. #5
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hi qumran, please start a new thread for your question.

    Read the sticky for wireless setup as well and post the requested info. (This will help us for wired or wireless connections, but make sure you let us know which you're looking to solve.)

  6. #6
    Just Joined!
    Join Date
    Mar 2005
    Location
    Sweden
    Posts
    47
    Thanks for the answer. I will start a new thread soon, but because of lack of time because of parenting ;D i will be installing ubuntu today instead. When i feel i have the time to really get down with it, i will install debian again and crack the problem. Peace reed9

  7. #7
    Just Joined!
    Join Date
    Mar 2005
    Location
    Sweden
    Posts
    47
    I got the same problem with Ubuntu, but i solved it now! And apparantly this bug is also in Debian according to my prior experience.

    There seems to be a known bug with the Gnome Network Manager included with the Ubuntu 8.10 release that resets any static ip address settings that are set manually when the system is rebooted reverting back to a DHCP setup. These steps will remove the Gnome Network Manager and help you manually setup the required files for your static network configuration.
    Solution 1

    Step 1 – Remove the Gnome Network Manager: You need to complete this step first because if left installed this application will overwrite any changes you make to your configuration when the system is rebooted. This is apparently where the bug is located.
    To remove the Gnome Network Manager issue the following command in the terminal:

    Code:
    sudo update-rc.d -f NetworkManager remove
    This will disable and remove the Gnome Network Manager application. Now you will have to edit your configuration manually.

    Restart your System

    Step 2 – Manual configuration of your network interface: In this step you will manually configure your network interface by editing the following two files using your preferred text editor(nano gedit vi). For the purpose of this example I am using the nano editor.

    Step 2.1 – Manually configure your network interface file: You can edit the appropriate file by entering the following command into the terminal:

    Code:
    sudo nano /etc/network/interfaces
    Once your prefered editor opens the file you want to enter the following information (changing your addresses where necessary):

    auto lo eth0
    iface lo inet loopback
    iface eth0 inet static
    address xxx.xxx.xxx.xxx(enter your ip here)
    netmask xxx.xxx.xxx.xxx
    gateway xxx.xxx.xxx.xxx(enter gateway ip here)


    Be sure to save your changes.

    Step 2.2 – Manually configure your dns configuration file: You can edit the appropriate file by entering the following command into the terminal:

    Code:
    sudo nano /etc/resolv.conf
    Once your preferred editor opens the file you want to enter the following information (changing your addresses where necessary):

    # Generated by NetworkManager
    nameserver xxx.xxx.xxx.xxx(enter your dns server ip)
    nameserver xxx.xxx.xxx.xxx(enter your alt dns server ip)

    Be sure to save your changes.

    Step 2.3 – Manually restart your network interface with the new settings: Enter the following command in the terminal:

    Code:
    sudo /etc/init.d/networking restart
    This should return a result that looks like the following:

    *Reconfiguring network interfaces… [OK]

    At this point in your terminal you should be able to run the ifconfig command and the results should reflect your new settings. If the addressing is correct you should have full network access, even after a system restart.

    Haven’t tried reinstalling the Network Manger after doing these steps to see if it still works.

    Solution 2

    Install Wicd if you need both wired and wireless connection

    Solution 3

    Also, it is said that adding a new config in networkmanager (instead of editing the system default ‘Auto eth0′ stuff) and assign the right MAC address (and the static ip) will fix it, every thing’s fine even after reboot, and you can still use that gnome-networkmanager.

    Credit Goes here

Posting Permissions

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