The Little Guy Posted May 14, 2008 Share Posted May 14, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/ Share on other sites More sharing options...
trq Posted May 14, 2008 Share Posted May 14, 2008 Is there any reason I am not getting a network connection? Could be any number of issues. What steps have you taken to configure this card? Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-540887 Share on other sites More sharing options...
Daniel0 Posted May 14, 2008 Share Posted May 14, 2008 Try to run ifconfig -a and see what it says. Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-540898 Share on other sites More sharing options...
The Little Guy Posted May 14, 2008 Author Share Posted May 14, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-540902 Share on other sites More sharing options...
Daniel0 Posted May 14, 2008 Share Posted May 14, 2008 It should tell you information about all detected network interfaces. If it's the only one, then it'll probably be called eth0. You should be able to see whether it's connected or not. Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-540909 Share on other sites More sharing options...
trq Posted May 14, 2008 Share Posted May 14, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541041 Share on other sites More sharing options...
The Little Guy Posted May 14, 2008 Author Share Posted May 14, 2008 OK, here is a screen shot of what I got with ifconfig -a [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541173 Share on other sites More sharing options...
The Little Guy Posted May 14, 2008 Author Share Posted May 14, 2008 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" Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541178 Share on other sites More sharing options...
neylitalo Posted May 14, 2008 Share Posted May 14, 2008 Try `sudo ifup eth0` Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541187 Share on other sites More sharing options...
The Little Guy Posted May 14, 2008 Author Share Posted May 14, 2008 I just realized that there was a disk that came with the card, and it has some Linux stuff on it, so I'll give that a try. Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541249 Share on other sites More sharing options...
The Little Guy Posted May 14, 2008 Author Share Posted May 14, 2008 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> Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541332 Share on other sites More sharing options...
trq Posted May 14, 2008 Share Posted May 14, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541365 Share on other sites More sharing options...
The Little Guy Posted May 14, 2008 Author Share Posted May 14, 2008 # 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? Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541373 Share on other sites More sharing options...
Daniel0 Posted May 15, 2008 Share Posted May 15, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541513 Share on other sites More sharing options...
The Little Guy Posted May 15, 2008 Author Share Posted May 15, 2008 Ubuntu does not come with a compiler installed by default it has a gcc compiler, at least I believe it says it does (in the: synaptic package manager), is that the compiler it needs? Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541801 Share on other sites More sharing options...
Daniel0 Posted May 15, 2008 Share Posted May 15, 2008 Yes, but you cannot download it using synaptic (or aptitude or apt-get) if you do not have a working connection. Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541826 Share on other sites More sharing options...
The Little Guy Posted May 15, 2008 Author Share Posted May 15, 2008 Yes, but you cannot download it using synaptic (or aptitude or apt-get) if you do not have a working connection. Well, obviously But next to it there is a green box, doesn't that mean that it is installed? Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541832 Share on other sites More sharing options...
zq29 Posted May 15, 2008 Share Posted May 15, 2008 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? What were the error messages? Quote Link to comment https://forums.phpfreaks.com/topic/105585-ubuntu-network-connection/#findComment-541876 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.