Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: DSL and audio client< Next Oldest | Next Newest >
CappyCaffeine Offline





Group: Members
Posts: 64
Joined: Jan. 2004
Posted: Dec. 21 2004,20:57 QUOTE

JohnS,

Glad to hear you have really dug deep into DSLl for your needs, but have scratched the surface because the next step for you is creating your own scripts.

If you look at most of the configuration files on a typical linux system, they are in a script language. Linux has multiple types of scritpting languages (SH, BASH, PERL) and learning how to use scripts to automate many processes will save time and headache.

Infact, I have my bootlocal.sh script calling other scripts to load various modules, activating wireless connections, etc.

simple script file to set up your wireless connection:

#! /bin/bash

modprobe (whatever module you need, or perhaps ndiswrapper)
iwconfig eth0 (or wlan0 depending on the card) key {26 hexadecimal key for 128bit encryption} SSID {your network name here}
ifconfig eth0 (or wlan0) up
pump -i eth0 (or wlan0)

#-----------eof----------------------------

This script with some modifications should get your wireless network up and running.

There are ways to automate this when creating a personalized DSL CD that is covered on other areas of the forum.

Just my 2 cents, and welcome to DSL!

Cappy
Back to top
Profile PM MSN 
JohnS Offline





Group: Members
Posts: 23
Joined: Dec. 2004
Posted: Dec. 22 2004,03:18 QUOTE

Hello Cappy,
actually I've been using Unix (mostly on suns) for about 20 years but this is my first foray into linux land. On the suns at work I never had to deal with PC wireless connections etc.

The two major stumbling blocks here have ben the lack of persistant store (both machines I'm running DSL on have XP and NTFS file systems so I can't write to disk without repartitioning the disk, and I don't want to do that just yet. The laptop has a floppy but you have to swap out the CD to do that which makes it difficult to boot off the CD!

The other problem has been the lack of man pages, I'm used to just doing a man on something I'm not familiar with, but on DSL that goes off to a web page, which makes things a little difficult when you are trying to debug the network connection. Even when I do have the connection working I get a "don't have permision" message when I try and do a man. Its made things a little difficult to track things down.

As to shells I'm motly used to csh and tcsh, bash is new to me but seems to be quite similar. For scripts I'm an awk expert and like to use python. I don't really like perl much though. Many years ago I actually wrote a word processor in awk, primarily just for the name:  awk-word.

The linux boot procedures, how drivers are loaded, what config files control what and where they are located is quite a bit different than what I am used to, I'm having to unlearn a lot!

All the detailed technical articles on the net assume the audience already knows all the details about how linux boots and installs drivers etc, and the beginners stuff doesn't come close to covering what I'd like to know, its that middle ground that is always the toughest to find. I'm picking up bits and pieces here and there but it would be nice to find one place that had the basic technical aspects of linux. I'm sure its somewhere, I just haven't found it yet.

We just did a massive clean up of the house and I found the USB card reader and smart cards, so now I can actually try doing a backup and restore and writting some scripts. :)

I haven't gotten to the point of remastering my own custom live CD yet, thats going to take a little digging.

I am having a lot of fun working through the problems I'm havin with DSL. Hopefully sometime I'll have figured out enough that I can start helping others out.

John S.
Back to top
Profile PM 
JohnS Offline





Group: Members
Posts: 23
Joined: Dec. 2004
Posted: Jan. 01 2005,09:09 QUOTE

I have softsqueeze working great under DSL now. Its a very tight fit since the java jre takes up 80MB uncompressed. I partially got around this by putting the uncompressed jre onto a pendrive with an ext2 partition, thus it didn't have to be loaded on the ramdrive.  

One of the nice things about using slimserver is that you can control the player through a web interface to the server, with everything else running, firefox took too much memory I had to use dillo which doesn't quite display everything correctly but uses a lot less memory.

It turns out that the java sound system works great with the ALSA system, everything worked straight out of the box including the "docked" mixer. With the non-alsa drivers it took some tweaking to get stuff to work and then I needed a java mixer, I'm sticking with ALSA!

I then tried the slimserver itself under DSL, that was a pain in the neck. The app comes only as an RPM not a tar or deb file. I tried to use alien to convert it but that took a lot of work with apt-get, alien grabs a LOT of packages!!! I finally got alien to extract the rpm and then put things in the right place. Once that is done it works fine under DSL. One of these days I'll make a mydsl for both slimserver and softsqueeze which should simplify the process.

Now that I have proved it can all work under DSL, I guess I have no choice now but to start building the real hardware fore this to run on (PC with LOTS of disk for server running DSL and silent mini-ITX running DSL on CF card for client).

Thanks to everybody that helped along the way.

John S.
Back to top
Profile PM 
12 replies since Dec. 16 2004,00:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: DSL and audio client

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code