Find the answer to your Linux question:
Results 1 to 8 of 8
I'm a new learner in Debian, and i just installed Linux. But after that, i found i couldn't set LAN, it seemed the system can't find my network card. What ...
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    4

    NEED HELP IN SETTING LAN IN DEBIAN

    I'm a new learner in Debian, and i just installed Linux. But after that, i found i couldn't set LAN, it seemed the system can't find my network card.
    What should i do? I had tried 'ifconfig', but it didn't work.
    Plz help me, i dunno what to do then...

    I'll be so grateful!

  2. #2
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,814
    If you don't see you network adapter when you do 'ifconfig', it probably means you don't have the correct driver installed. If you know the model of your NIC or the chip that it has, you should be able to find which driver to use from a web search, or you can post your infromation here and you may get an answer.

    For example, one of my NICs is a 3Com 3c509 and is supported by a driver of the same name. To make it work, I would need only to enter the command 'modprobe 3c509' and then, running 'ifconfig' will get a response showing eth0.
    /IMHO
    //got nothin'
    ///this use to look better

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Location
    GA
    Posts
    14

    debian installer?

    Did the debian installer not find your network card automatically?

  4. #4
    Just Joined!
    Join Date
    Oct 2004
    Location
    Midwest
    Posts
    43
    did you have your network cable hooked up to the lan during the installation?

    If not, then you most likely did not set up your connection. You will need to reconfigure your settings by editing the file /etc/network/interfaces

    open a terminal and then type

    Code:
    su
    and enter your password to become root

    Code:
    then type nano /etc/network/interfaces
    check and see if there is an entry for eth0, if there is not, you will need to create one. This is very simple if your lan uses dhcp.

    If it does, insert the following lines into the file

    Code:
    # The primary network interface
    auto eth0
    iface eth0 inet dhcp
    Now you can bring up the netwrok by typing

    Code:
    ifup eth0
    and it will come up automatically on each reboot.

    Hope that helps.

  5. #5
    Just Joined!
    Join Date
    Sep 2005
    Posts
    4
    Thanks 4 telling me these, and i tried...
    To drakebasher,
    I dunno how to see model of my NIC, and i typed /etc/modprobe.d/aliases, then it displayed several lines about alias, i duuno know wat do they mean, which show the model of my NIC

    To lpcustom,
    I thought it couldn't, 'coz when i wanna set my ip(typed ifconfig ech0 inet addr:...), it tell me no such thing.

    To Entangledphoton,
    Yes, i have ech0, and
    "# The primary network interface
    auto eth0
    iface eth0 inet dhcp"appeared on the screen,
    but without "ifup eth0", so i inserted it, unfortunately didn't work.

    Could you tell me more wat to do? Is there any good books 4 beginners like me?

  6. #6
    Just Joined!
    Join Date
    Oct 2004
    Location
    Midwest
    Posts
    43
    woa... don't insert ifup eth0 into the file, if it's there, delete it and stop after the dhcp
    sorry, I guess I was unclear on that

    you just enter that command in the command prompt.

    first become root
    Code:
    su
    enter your password and then type
    Code:
    ifup eth0
    if your card has a driver, then that command should connect you to the internet. You can verfiy that by opening a web browser or by trying any other sort of internet activity.

    But, if that gives you an error, you will need to get your cards driver inserted.

  7. #7
    Just Joined!
    Join Date
    Sep 2005
    Posts
    4

    Resolved the problem!
    Thanx!

    I reinstalled the system, use the latest kernel. I used the net way installed, and it then can find my NIC (Realtek RTL8139 Family PCI Fast Ethernet NIC).

    So happy! ^^

  8. #8
    Just Joined!
    Join Date
    Sep 2005
    Posts
    4

    more i want to say

    after reinstalling a system, i stopped using ipv6, rewriting ech0 addr. netmask, broastcast and gateway, as well we the route, and then reboot.

    Found it worked.

    Hope it can help someone else, who have the same problem like me.


Posting Permissions

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