New Linux User! Trying to set up server, and I need some help.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
New Linux User! Trying to set up server, and I need some help.
Hey everyone! For a quick intro: This is my first time using a Linux distro, and I want to really get into it and learn as much as I can. I've been using Windows for years, and I'd say I'm a pretty advanced user in that regard.
Anyway, I got a Dell Dimension 2350 today, and I'm trying to make it into a server. I want to host some files on here (FTP, right?) and maybe some minecraft server games (to keep myself entertained, haha). From my understanding, I'd just set it up, then lose the mouse, keyboard, and monitor so it'd become "headless". And then I could SSH (remote administration, right?) into it from another computer to configure and interact with it.
I searched, and I decided on getting Ubuntu server edition, then getting Xubuntu's Xfce desktop gui. I'm not exactly sure how viable that is, that's partly the reason why I'm here, haha.
So I installed it on this computer, and I tried using
"sudo apt-get install xubuntu-desktop"
to get the gui so I could start learning about linux (of which I know almost nothing about). But for some reason, it doesn't find the packages, and I'm pretty sure it's because it's not connected to the internet. I tried connecting through it's wifi card, but that didn't work, so then I attempted to mess around with the ethernet and some commands I found online, but to no avail. Could you guys point me in the right direction?
(Oh, also, I'm not against reinstalling this or another distro, based on this situation.)
Last edited by lVlaciiiii; 03-08-2011 at 12:34 AM.
I'm a Debian guy, and I've got Ubuntu experience, both on workstation and server. Ubuntu is a fine distro, and you should have no problem running it as a headless server. First things first, check to see if your machine recognizes the NIC:
Now, if all you see is the loopback, or the lo interface, then your machine is not recognizing the interface. However, if it is, then you're on the right track. If it sees the interface, and you don't have an IP, check the physical connection. If you do have an IP, try pinging out. This should get you started. If you have any other issues, drop another line, and we'll get you through it.
Remember than Linux does not use drivers like Windows, it has a kernel, and then any hardware not supported by the kernel is support by modules, which is basically a linux driver. Yes, if you are only seeing the lo interface, then your system is not seeing the NIC. Do this:
That will give you your Ethernet based NIC, the manufacture and hardware revision so that you can figure out what kernel module you need to install or compile to make it work.
On a side note, it's unusual for the installer not to pick up your ethernet controller in the base install. Hmmmm..........
and I got:
01:09.0 Ethernet controller Broadcom Corporation BCM4401 100Base-T (rev 01)
Ah, then I think I messed up during installation. It had asked me about my two internet interfaces (I believe eth0 and wlan0, or something), and I tried both of them but neither would connect no matter what I did. So I just left it at that.
Ok, so I googled a bit more, and I think I've found out that for some reason the b44 kernel module for my 4401 NIC isn't working. Or it isn't there. I've found the download from broadcom's site at http://www.broadcom.com/support/ethernet_nic/4401.php . At this point, I don't really know what to do to get it on my ubuntu server, haha, any help?
you could try copying it onto the server using a USB stick/pen drive and installing it as per the instructions mentioned in the user manual available on that link.
Alright, I'll give that a shot. I looked at the instructions, and they looked pretty complicated, but we'll see if I can work my way through this. I'll update here with my results.
Ok, so I tried the instructions given by the broadcom site, the beginning of which is given here:
Code:
Installing Source RPM Package
=============================
The following are general guidelines for installing the driver.
1. Install the source RPM package:
rpm -ivh b44-<version>.src.rpm
But when I try that, I get
Code:
The program 'rpm' is currently not installed. You can install it by typing:
sudo apt-get install rpm
Then when I type that, I get
Code:
Reading package lists... done
Building dependency tree
Reading state information... Done
Package rpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source.
E: Package 'rpm' has no installation candidate
So again, I'm at a loss as to what I should try next.
While 'sumeet inani' gave you a great way to do, I wouldn't recommend it. When you download the driver, it allows you to build from source; so that's what I would do. That way you know there will be no issues. If it's built on your system, it will run on your system. If it doesn't have what it needs to build, it will error out and you can fix the problem as you go along. Here is what you need to do.
Quote:
kabarsedge@mymachine:~/Downloads$ unzip linux-1.00g.zip
Archive: linux-1.00g.zip
creating: linux/
inflating: linux/b44-1.00g-1.src.rpm
inflating: linux/b44-1.00g.tar.gz
inflating: linux/LICENSE
inflating: linux/README.TXT
kabarsedge@mymachine:~/Downloads$ cd linux/
kabarsedge@mymachine:~/Downloads/linux$ ls
b44-1.00g-1.src.rpm b44-1.00g.tar.gz LICENSE README.TXT
kabarsedge@mymachine:~/Downloads/linux$ tar zxvf b44-1.00g.tar.gz
b44-1.00g/
b44-1.00g/Makefile
b44-1.00g/b44.c
b44-1.00g/LICENSE
b44-1.00g/b44.h
b44-1.00g/b44.4
kabarsedge@mymachine:~/Downloads/linux$ cd b44-1.00g/
kabarsedge@mymachine:~/Downloads$ unzip linux-1.00g.zip
Archive: linux-1.00g.zip
creating: linux/
inflating: linux/b44-1.00g-1.src.rpm
inflating: linux/b44-1.00g.tar.gz
inflating: linux/LICENSE
inflating: linux/README.TXT
kabarsedge@mymachine:~/Downloads$ cd linux/
kabarsedge@mymachine:~/Downloads/linux$ ls
b44-1.00g-1.src.rpm b44-1.00g.tar.gz LICENSE README.TXT
kabarsedge@mymachine:~/Downloads/linux$ tar zxvf b44-1.00g.tar.gz
b44-1.00g/
b44-1.00g/Makefile
b44-1.00g/b44.c
b44-1.00g/LICENSE
b44-1.00g/b44.h
b44-1.00g/b44.4
kabarsedge@mymachine:~/Downloads/linux$ cd b44-1.00g/
kabarsedge@mymachine:~/Downloads/linux/b44-1.00g$./configure
kabarsedge@mymachine:~/Downloads$ unzip linux-1.00g.zip
Archive: linux-1.00g.zip
creating: linux/
inflating: linux/b44-1.00g-1.src.rpm
inflating: linux/b44-1.00g.tar.gz
inflating: linux/LICENSE
inflating: linux/README.TXT
kabarsedge@mymachine:~/Downloads$ cd linux/
kabarsedge@mymachine:~/Downloads/linux$ ls
b44-1.00g-1.src.rpm b44-1.00g.tar.gz LICENSE README.TXT
kabarsedge@mymachine:~/Downloads/linux$ tar zxvf b44-1.00g.tar.gz
b44-1.00g/
b44-1.00g/Makefile
b44-1.00g/b44.c
b44-1.00g/LICENSE
b44-1.00g/b44.h
b44-1.00g/b44.4
kabarsedge@mymachine:~/Downloads/linux$ cd b44-1.00g/$ ./configure
kabarsedge@mymachine:~/Downloads/linux/b44-1.00g$ make
kabarsedge@mymachine:~/Downloads/linux/b44-1.00g$ make install
kabarsedge@mymachine:~/Downloads/linux/b44-1.00g$ modprobe b44
This should get you going and it will give you good experience compiling something from source. Of course, if you do not have gcc installed this will probably not work. However, you need to make sure you always install gcc when you build a machine, although, with Ubuntu it is probably part of the base install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.