Jump to content

Recommended Posts

OK, earlier, I got Ubuntu Server, and now I have Ubuntu desktop. I bought a Network card, plugged it in, the lights on the card come on when I plug in the Ethernet cable from the router (3 other computers are connected as well and connect to the internet fine), and turn off when I unplug it. Is there any reason I am not getting a network connection?

Link to comment
https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/
Share on other sites

All I did was plug it in and connect the cable, then turned the computer on in hopes it would recognize it, and since I made this post, it did not.

 

I can not test the code at the moment due to the fact I'm not at home, but I will try it when I get home. So... could you let me know what I should be looking for when I run that?

All I did was plug it in and connect the cable, then turned the computer on in hopes it would recognize it, and since I made this post, it did not.

 

Thats doesn't mean it didn't recognise the card (it likely has), just that yoiu have not configured your network settings.

 

There is a gui network configuration tool in Ubuntu. Top right hand side of your taskbar should have a network monitor, right click on it and select manual configuration, from there its quite simple.

There is a gui network configuration tool in Ubuntu. Top right hand side of your taskbar should have a network monitor, right click on it and select manual configuration, from there its quite simple.

 

If I right click it, it doesn't give me an option for "manual configuration"

OK, in the following, I don't know what to do with step 5, if I do "make" or "make install" i get error messages. What can I do on this step?

 

Linux version: 2.2.16-generic

 

Installation
============
    Please enter the following commands at the UNIX prompt. Remember, UNIX is
    case sensitive.

    1) Create a temporary directory:
        mkdir /temp

    2) Change to the temporary directory:
        cd /temp

    3) Copy driver (dlkfet-4.39.tar.gz) from DOS disk, (mcopy below is one tool in
       mtools, if you didn't install mtools, you can type
       'mount -t msdos /dev/fd0 /mnt' and use 'cp /mnt/dlkfet-4.39.tar.gz /temp'
       command to copy the driver to the temporary directory):
        mcopy a:dlkfet-4.39.tar.gz .

    4) untar the archive file:
        tar xzvf dlkfet-4.39.tar.gz
        cd dlkfet-4.39

    5) Compile the driver source files and it will generate rhinefet.o, and
       copy it to correct driver installation path (The installation directory
       is different in different kernel versions. In 2.4.x/2.6.x kernel, the path
       is /lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
       the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
       above) means the kernel version of your Linux distribution. If you don't
       know your kernel version , please run 'uname -r' command in command
       line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
        make install

    6) Check configuration file (/etc/modules.conf or /etc/conf.modules or 
       /etc/modprobe.conf, it depends on your Linux distribution) for loading 
       kernel modules. Make sure the first line below is appeared in the 
       configuration file, where # is the interface number (eg: alias eth0 
       rhinefet). If you need to set the driver options, below second line is 
       an example to set the NIC to 100Mbps fullduplex mode (remember to unmark 
       the line if it is put in the configuration file).
        alias eth# rhinefet
        #options eth# speed_duplex=2

    7) Reboot now:
        shutdown -r now

     Install your driver module (If the driver module is in the wrong place,
       an error message will appear, and say that can't find the driver
       module):
        insmod rhinefet.o

    9) Use ifconfig command to assign the IP address, where # is network
       interface number:
        ifconfig eth# <IP>

    10) Check the interface works:
         ping <remote_host_IP>

What can I do on this step?

 

You won't be able to do anything without an internet connection. Ubuntu does not come with a compiler installed by default (hence there error messages) and you'll need an internet connection to install one.

 

What is the output of....

 

cat /etc/udev/rules.d/*net.rules

# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.

 

I do have an internet connection on other computers, so I could download one on one of those computers, and transfer it if I have or if it is possible.

 

If it is OK to do that, where would I get one?

OK, in the following, I don't know what to do with step 5, if I do "make" or "make install" i get error messages. What can I do on this step?

 

You probably need to install the build-essential package (or is it build-essentials?).

sudo aptitude install build-essential

 

I believe that package will be taken from the CD and not from the repos, so you might be able to install that without a connection.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.