Personal tools
Add to Technorati Favorites


Number of visitors
since 27 March 2006
 
Document Actions

Installing and configuring Ubuntu server and desktop

by Mukul Dharwadkar — last modified 2006-10-25 14:57

After getting familiarised with the Ubuntu Desktop, I started work on my real objective: To install and configure Ubuntu server and migrate my webserver on it.

Once You Know, You Newegg Apple Store


Digg!

Once I was comfortable with the Ubuntu desktop installation and found out that there is a server edition for Ubuntu, I started working towards setting up the Ubuntu server. With the risk of repeating myself, I say that Ubuntu is truly a user friendly distribution. And once you get yourself familiarised with the environment customising the installation should be pretty much easy for an administrator.

In about 15 minutes, the time it takes to install Ubuntu ServerUbuntu Server Installation Main Screen Edition, you can have a LAMP server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of installation. This is possible because Ubuntu has packaged the server installation also. It gives the user option to install a plain vanilla version or the fully loaded LAMP version depending on requriements saving the user from making decisions to select which component to install and which to pass.

Once you select which version is right for you, the installation process starts. The installation process is a classic text based which walks you through the entire process with ease. Of course you can customise whatever options you want, like disk space, partitions, locales and time zones, first user and password etc.

I was not entirely correct in my earlier article where I said that the Broadcom drivers for wireless interfaces are not there for Ubuntu. Although I was right in saying that Broadcom has not released the specifications for the drivers, Linux community has developed drivers for Broadcom wireless interfaces by reverse engineering. The project site is hosted at http://bcm43xx.berlios.de/. It has some excellent resources on configuring the BCM wireless cards and making it work. More of that later.

So the Ubuntu Server identified all of my hardware correctly including the wireless network card. However, as I later found out, it could not configure it completely. The rest of the installation was breeze and it really did finish in about 15 minutes and it told me to remove the media before rebooting. However, once I removed the media and rebooted the server refused to boot up. It started alright, but it always stuck at:

Uncompressing Linux... OK. Booting the kernel.

I tried a couple of time and then tried re-installing the OS from scratch. Still nothing. The boot process stopped at the same place. I thought maybe it needs some time to load everything for the first time and waited for 15 minutes. Still nothing. At this time I am not sure, if there is some error with the installation, my hardware or the CD itself. It gives me a console prompt, if I choose to go to the boot menu and select the bash prompt.

I, not being a Linux / Unix guru, could really make head way into that and I reverted back to Ubuntu Desktop.

Back on the desktop: On the Ubuntu desktop, I then started working on why the network card was not working. I looked around on the internet and found out that BCM43xx is natively supported in Ubuntu 6.06. I did not want to use NDISWrapper and hence I started work on getting the card working as described on the project website documentation. After spending around 2 hours, I finally got the interface working. Previously for the command:

iwlist eth1 scan
it was not just giving the output of no scan results. I knew this was wrong as there is a wireless network in my home. After following the steps given in the article above, I was able to get it working. I was able to list of my wireless network and all others in the vicinity. Having successfully done that I tried to get on the network, but I never got any DHCP IP address. This is the output when I tried to get an IP through dhclient:
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.

Listening on LPF/eth1/00:04:75:9a:3d:51
Sending on LPF/eth1/00:04:75:9a:3d:51
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent - Sleeping.

I tried giving the IP address manually in the valid range, but the wireless network card just refuses to come on the network. My internet works perfectly fine with wired connection. What is going on here? Any pointers?

Re: What is going on here? Any pointers?

Posted by Anonymous User at 2006-11-21 20:43

I'm no Linux guru myself, but are you sure eth1 is correct? My wireless card shows up as wlan0. Is it possible that eth1 is some kind of bridge between ethernet and wireless?

Re: What is going on here? Any pointers?

Posted by Mukul Dharwadkar at 2006-11-22 17:29
Yes, I am pretty much sure that the device is eth1. It shows up in the network device list as eth1 and it also shows up in the devices folder under /etc/sysconfig/networking as a configuration file called ifcfg-eth1. Here's how it looks.

# Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=00:90:4b:7d:fa:01
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
TYPE=Wireless
ESSID=
CHANNEL=
MODE=
RATE=

figure this out?

Posted by Anonymous User at 2007-01-02 11:41

I just ran into the same problem with my 4306 on ubuntu 6.10. i am scanning and can see the access point, i just never get a DHCP response. not sure how to verify i am actually sending one?

Server

Posted by Anonymous User at 2007-03-13 07:06

I am looking to run plone on a Linux server. I am considering Ubuntu. Were you successful in installing Plone on Ubuntu desktop? Is this site being server from that machine? (it is quite peppy for a Plone site :) )

Re: Server

Posted by Mukul Dharwadkar at 2007-03-14 11:51
Thank you.

This site is running on FC6 and Plone. I found FC6 to be the most reliable. If you are used to GUIs, I would recommend FC6. Ubuntu is good though Ubuntu server does not install a GUI by default and that would put some people off, I guess.

Installing Plone on Ubuntu desktop is quite straight forward.

Mukul.

Installing a GUi

Posted by Anonymous User at 2008-09-22 18:52
So how do you go about installing a GUI on the ubuntu server?

This site is:

Powered by Plone, the Open Source Content Management System