Find the answer to your Linux question:
Results 1 to 9 of 9
I am using Debian (last version, downloaded it last week.) I installed it with x server. When i try to connect internet nothing happens. I installed my router/modem, so that ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5

    Question eth0 interfaces doesnt connect anything

    I am using Debian (last version, downloaded it last week.)

    I installed it with x server.
    When i try to connect internet nothing happens.
    I installed my router/modem, so that it gives a ip for the mac adres of my debian server.

    Some how my debian install doesn`t pick up the ip.....

    can someone help me?

    p.s. i`m a newbie at Debian.

    Thanx

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    I am understanding correctly that you need this server to use dhcp (getting ip the router assigns)? From the command line as su:
    Code:
    dhclient eth0
    If on the other hand, you need a static ip:
    Code:
    ifconfig eth0 inet ip.you.want.here
    All this, providing of course that your server already detects your ethernet device and has loaded the module for it. If you see the device when doing:
    Code:
    ifconfig
    Then the above will likely yield a result. You should find this page very helpful.
    Last edited by Dapper Dan; 04-24-2008 at 11:28 AM.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5
    if i use dhclient it takes the wrong subnet mask
    it takes 255.255.255.255 while my router broadcasts at 255.255.255.0

  4. #4
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5
    unfortunatly it didnt work

  5. #5
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    With your favourite editor as su, open: /etc/network/interfaces. It will look something like this:
    Code:
    auto lo
    iface lo inet loopback
    
    
    iface eth0 inet static
    address 192.168.1.101
    netmask 255.255.255.0
    gateway 192.168.1.1
    
    auto eth1
    #iface eth1 inet dhcp
    
    auto eth2
    #iface eth2 inet dhcp
    
    auto ath0
    #iface ath0 inet dhcp
    
    auto wlan0
    #iface wlan0 inet dhcp
    Find your eth0 and edit it as you need for it to be.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  6. #6
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5
    Quote Originally Posted by Dapper Dan View Post
    With your favourite editor as su, open: /etc/network/interfaces. It will look something like this:
    Code:
    auto lo
    iface lo inet loopback
    
    
    iface eth0 inet static
    address 192.168.1.101
    netmask 255.255.255.0
    gateway 192.168.1.1
    
    auto eth1
    #iface eth1 inet dhcp
    
    auto eth2
    #iface eth2 inet dhcp
    
    auto ath0
    #iface ath0 inet dhcp
    
    auto wlan0
    #iface wlan0 inet dhcp
    Find your eth0 and edit it as you need for it to be.
    it doesnt work....

    How can i see if the drivers are working alright for this nic?

  7. #7
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    To troubleshoot, you need to provide more information than just "...it doesn't work." What doesn't work? opening the file doesn't work? Editing it doesn't work? Did you run ifconfig? Is your device there? Open a terminal and do:
    Code:
    ifconfig
    and post the output here please.

    EDIT: If the device isn't up and running, do:
    Code:
    ifconfig eth0 up
    Last edited by Dapper Dan; 04-24-2008 at 12:49 PM.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  8. #8
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    post the output of "ifconfig -a" command and the content of /etc/network/interfaces file. Maybe a "lspci" output would be useful.

  9. #9
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5
    I`m not behind the server, but i think its a hardware problem:

    If i fire up the eth0 device it says something like.
    Irg 11.

Posting Permissions

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