Find the answer to your Linux question:
Results 1 to 9 of 9
Hi all, I, at long last have Kubuntu installed after a messy installation and failed previous attemps with Ubuntu . I had a lot of error messages during the installation, ...
  1. #1
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    432

    Kubuntu installed,have sound and drive issues



    Hi all,

    I, at long last have Kubuntu installed after a messy installation and failed previous attemps with Ubuntu . I had a lot of error messages during the installation, most scrolled past on the screen too fast for me to read but one told me that there were failures with installing packages needed for the desktop.It then gave me a screen to retry installing these packages and once again I got a fail message, however, the system has booted for me and it seems the same as the live disk.

    Which brings me to why I'm posting....My PC has a Creative SB Live Value sound card but also has a defunct on-board VIA Technologies card plus a WIN TV Go card which has been also listed as a sound device. This means that the wrong device is selected giving me no sound. I can change it in KMIX to the correct one but I can't find how to point KDE to the correct piece of hardware. I've posted a general enquiry about this elsewhere in this forum but now as a distro I've installed is affected, it's now become an issue. How can I correct the hardware selection in KDE?

    Also, none of my drives seem to be mounted, can I ask for help in that area too? I want to be able to access my Windows files from Kubuntu as I can do so in my other distros. Any and all help would be really appreciated.

    EDIToes Kubuntu have it's own firewall and if no, how do I get one?
    Martin,

    Dublin, Ireland
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  2. #2
    Linux Engineer
    Join Date
    Aug 2004
    Posts
    826
    The sound issue:
    Code:
    $ sudo apt-get install alsa-base
    $ sudo alsaconf
    Then select the driver for the corresponding audio device you want to initialize.

    The drive issue:
    Code:
    $ sudo modprobe ntfs
    $ sudo mkdir /mnt/windows
    $ sudo mount /dev/hda1 /mnt/windows -t ntfs -r -o umask=0222
    $ foo-command /mnt/windows/bar-location
    This assumes your Windows partition is located at /dev/hda1 and that you have the ntfs module.

    The firewall issue:
    All GNU/Linux distributions have iptables.
    Code:
    $ man iptables

  3. #3
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    432
    Hi Sether,

    I ran the alsa commend, here's what I got;

    martin@dhcppc0:~$ sudo apt-get install alsa-base
    Password:
    Reading package lists... Done
    Building dependency tree... Done
    alsa-base is already the newest version.
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    kubuntu-desktop: Depends: ttf-baekmuk but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    martin@dhcppc0:~$ sudo alsaconf
    sudo: alsaconf: command not found
    Any idea what it's tryng to tell me?

    With regards to my partitions/drives, I forgot to mention all are in FAT32 format, how should the command look for this filetype?

    With the IP Tables, I got this;


    IPTABLES( IPTABLES(

    NAME
    iptables - administration tool for IPv4 packet filtering and NAT

    SYNOPSIS
    iptables [-t table] -[AD] chain rule-specification [options]
    iptables [-t table] -I chain [rulenum] rule-specification [options]
    iptables [-t table] -R chain rulenum rule-specification [options]
    iptables [-t table] -D chain rulenum [options]
    iptables [-t table] -[LFZ] [chain] [options]
    iptables [-t table] -N chain
    iptables [-t table] -X [chain]
    iptables [-t table] -P chain target [options]
    iptables [-t table] -E old-chain-name new-chain-name

    DESCRIPTION
    Iptables is used to set up, maintain, and inspect the tables of IP
    packet filter rules in the Linux kernel. Several different tables may
    be defined. Each table contains a number of built-in chains and may
    also contain user-defined chains.

    Each chain is a list of rules which can match a set of packets. Each
    Manual page iptables( line 1
    Again, I'm sorry but I don't understand, can you help? By the way, I didn't put the smilies in, they copied over from the terminal window (very strange)

    Thanks,

    Martin,
    Dublin, Ireland
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  4. #4
    Linux Engineer
    Join Date
    Aug 2004
    Posts
    826
    For ALSA, you may need to supply the full path to alsaconf.
    Code:
    $ whereis alsaconf
    alsaconf: /path/to/alsaconf
    $ sudo /path/to/alsaconf
    Or perhaps it's in another package. Try
    Code:
    $ sudo apt-get install alsa-utils
    And try alsaconf again.

    The FAT32 partitions shouldn't be a problem. Just do
    Code:
    $ sudo mkdir /mnt/windows
    $ sudo mount /dev/hda1 /mnt/windows -t vfat -r -o umask=0222
    $ foo-command /mnt/windows/bar-location
    Again, this assumes your Windows partition is at /dev/hda1 and that FAT32 support is built into your kernel.

    For iptables, read the entire manual page. This will give you a basic understanding of how iptables works. There is also lots of documentation and many tutorials on the web for setting up an iptables firewall. You can also use a graphical frontend or a script to setup iptables. The ones I can think of at the moment are Shorewall, Guarddog, and linuxipkungfu.

  5. #5
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    432
    hi again Sether,

    Okay, I have my drives mounted and can browse my Windows folders but the sound issue is still not resolved.

    'alsaconf' doesn't seem to be accepted as a valid command, no matter what I enter, once it contains that word I get "bash command alsaconf not found" (or something similar). I took a look at the KDE centre and all I can do there is change the driver, not the device. Then I checked the KDE manual and there were an number of commands I tried, ' artsd -a' 'artsd -f' and all produced this error
    an't register Arts::MidiManager
    There are already artsd objects registered, looking if they are active...

    Error: Can't add object reference (probably artsd is already running).
    If you are sure it is not already running, remove the relevant files:

    /tmp/mcop-martin/Arts_SoundServerV2
    /tmp/mcop-martin/Arts_SoundServer
    /tmp/mcop-martin/Arts_SimpleSoundServer
    /tmp/mcop-martin/Arts_PlayObjectFactory
    /tmp/mcop-martin/Arts_AudioManager
    I also tried in the sound system to override using /dev/dsp, /dev/dsp0 and /dev/dsp1, no joy.
    Any ideas what I should try next? There should be a directory somewhere of all the available sound devices that I can remove the non-functioanl soundcard from, just a case of finding it.....

    Martin,

    Dublin,Ireland
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  6. #6
    Linux Newbie
    Join Date
    May 2005
    Posts
    222
    Martin........ if you have installed "alsautils" as suggested by Sether, "alsonconf" should work.

    If you use Debian 2.6 kernel, alsa drivers are already included as modules. However if you use Debian 2.4 kernel you should first install "alsa-modules-2.4.25-1-686" , then install "alsa-base" and "alsa-utils", and you should be able to do "alsaconf"

  7. #7
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    432
    Hi Junkman4547,

    It's definately a 2.6 kernal. When I run the 'alsautils' command, here's what I get;
    martin@dhcppc0:~$ sudo apt-get install alsa-utils
    Password:
    Reading package lists... Done
    Building dependency tree... Done
    alsa-utils is already the newest version.
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    kubuntu-desktop: Depends: ttf-baekmuk but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    martin@dhcppc0:~$
    What does 'apt-get -f install' mean? When i enter that into a terminal I get this;
    martin@dhcppc0:~$ apt-get -f install
    E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    martin@dhcppc0:~$
    Also, it's forgotten everything I mounted on my last login, am I looking at a bad install/bad burn here? Should I try a fresh burn of the download and a clean re-install?

    Martin,

    Dublin, Ireland
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  8. #8
    Linux Newbie
    Join Date
    May 2005
    Posts
    222
    Martin...

    apt-get -f install

    the.....(-f)...switch means "fast mode, don't check package files".

    I'm not quite sure what your problem is. All informations I found said ..alsaconf ...should work. Anybody has any idea ?....

  9. #9
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    432
    Okay...

    I found a work-around. A little testing on the old on-board sound card reveals it does actually work but it's not brilliant, just the other O.S. both Linux and Windows ignored it in favour of the SB Live card. So what I did was plug in a spare set of PC speakers I have and now I get sound from Kunbuntu through the old speakers and for all my other systems, the main set delivers sound. Not really a solution, but it's a workaround for now.
    Thanks for all the help and suggestions.

    Martin,

    Dublin, Ireland
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •