Howto: Mount a Windows share on SLES linux using cifs

This post is mainly for my own benefit.  I mount Windows shares on my SuSE linux box so infrequently, I have to dig through past notes to remind myself what the syntax is.

To mount a Windows share on SLES linux using cifs:

mount -t cifs -o username=jsmith //po5/gwdompri /mnt/po5/gwdompri

  • jsmith is the user account to authenticate as
  • //po5/gwdompri is the Windows server and share you wish to mount
  • /mnt/po5/gwdompri is the location to mount the share, or where you access it on the local Linux box.
  •  you will be prompted for the password 
  • /mnt/po5/gwdompri must exist

Fix for make install / compiler issues with Intel e1000 NIC driver in SLES 10

How I was able to make and install the Intel e1000 NIC driver in SLES 10 Linux:

Steps 1 through 3 of the e1000-8.0.6.tar.gz readme file are simple enough to follow when making the Intel e1000 network card driver on SLES 10 SP2.  
1. Move the base driver tar file to the directory of your choice.  For example, /usr/local/src/e1000
2. From a terminal prompt, untar archive:
    tar zxf e1000-8.0.6.tar.gz
3. Change to the driver src directory:
    cd e1000-8.0.6/src/
Step 4 was where I started having problems
4.  make install
should have compiled the driver module.  Instead, I received the following error:
Linux kernel source not found in any of these locations:
*** Install the appropriate kernel development package, e.g.
*** kernel-devel, for building kernel modules and try again. Stop.
I opened YaST and searched for kernel-devel, but that package was not listed.  I did see a kernel-source package, which I installed.  I then ran make install again, and this time I received a different error message:
Makefile:131: *** Compiler not found.  Stop.
I went back into YaST, installed the gcc compiler, which added glibc-devel and libmudflap packages as dependencies, and ran make install once again.  This time it compiled successfully.
The binary was installed as /lib/modules/
5.  Make sure to remove any older existing drivers before loading the new driver:
rmmod e1000
6.  The module was then loaded using the following syntax:
insmod /lib/modules/
Once you assign an IP address, you should be able to use the interface.

Howto: Minimize all Windows and show the Desktop in SLES Linux

On my Windows machines I frequently use the Windows Key + D shortcut to minimize all open Windows to quickly access the desktop.  I had been meaning to find the equivalent key combination in SuSE Linux Server Enterprise 10’s Gnome desktop, and finally found out how to do it yesterday.

The shortcut key combination to minimize all open Windows and view the desktop is CTRL+ALT+D

Howto: Determine the version of SLES Linux

To determine the version of SuSE Linux Enterprise Server (SLES), type the following in a terminal window:

cat /etc/SuSE-release



To determine which kernel version is in use, type the following in a terminal window:

rpm -qf /boot/vmlinuz

Posted in Linux. Tags: , . 3 Comments »

Ubuntu 8.10 Alpha 4 now available as VMware Virtual Appliance

Ubuntu 8.10 Alpha 4 is now available as a VMware Virtual Appliance free download.

The fourth alpha release of Ubuntu 8.10 “Intrepid Ibex” is ready for testing.

New features:

  • X.Org server 1.5 brings much better support for hot-plugable input devices such as tablets, keyboards, or mice
  • Linux kernel 2.6.26
  • encrypted private directory
  • guest session – the GNOME user switching applet now provides an extra entry for starting a guest session, this creates a temporary password-less user account with restricted privileges
  • Network Manager 0.7 which comes with long-expected features, such as managing system-wide settings, 3G connections (GSM/CDMA.), multiple active devices, PPP and PPPoE connections, devices with static IP configurations, routes for devices.

Last updated: 08/25/2008

Howto: Mount a USB device in SuSE Linux

I have a Kingston USB flash drive that does not automatically mount itself on my SLES server on occasion.  TID 7000951 explains how to mount the drive manually:

1) From a terminal, run:

lsmod |grep usb  make sure usb_storage is loaded.  If it is not, run:

modprobe usb-storage

2) Plug the USB device in and run dmesg.  The results will look like:

USB Mass Storage support registered.
scsi 6:0:0:0: Direct-Access CRUCIAL USB Flash Disk 2.00 PQ: 0 ANSI: 2
sd 6:0:0:0: [sdd] 1017856 512-byte hardware sectors (521 MB)
sd 6:0:0:0: [sdd] Write Protect is off
sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] 1017856 512-byte hardware sectors (521 MB)
sd 6:0:0:0: [sdd] Write Protect is off
sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete

Look for the kernel device name, in this case, /dev/sdd, with a partition on /dev/sdd1

3) Mount volume manually by running:

mount /dev/sdd1 /mnt

Access the USB drive at /mnt

To unmount the USB drive run:

umount /mnt

Posted in howto, Linux. Tags: , , , . 4 Comments »

ConsoleOne error on SLES 10 SP2: Can’t find Java

So, the other day I wrote about my Java errors I experienced when trying to load VNC in Firefox on a brand new SuSE 10 SP2 server.  Today brought about a new Java error after I installed ConsoleOne 1.3.6f on the
same SLES 10 SP2 servers. I  received the following message while trying to start up ConsoleOne for the first time:

no java found

I figured it had to do with me not using the version of Java that shipped with C1.  Here’s what I did to fix the problem:

1) Browse to the /usr/ConsoleOne/bin/ConsoleOne file and right click on it.
2) Select the Permissions tab, and give Owner write access
3) Edit the /usr/ConsoleOne/bin/ConsoleOne file with gedit
4) Add the following line that points to our java installation directory:
export C1_JRE_HOME=/usr/java/jre1.6.0_07
5) Save the file and exit gedit
6) To run ConsoleOne execute: /usr/ConsoleOne/bin/ConsoleOne

Replace /usr/java/jre1.6.0_07 with the path to your Java installation. 

To the location of your version of Java, run the following from a terminal:
find / -name java