http://www.cnn.com/2004/TECH/ptech/01/23/booting.up.ap/index.html
Unhuh, I sure did. I whittled down a bunch of source, compiled it
all up into an abbreviated package, stole some pieces off the Internet and
WWW, compacted it all down to about five hundred meg, did a do with some
technology a few other fellows left laying around that they said was pubic
domain and free for me to do what ever I wanted to do with it. Then I burned
it all to a bootable CD. But I did it kinda cause I was bored and looking
for something goofy to do on a slow day and it turned out like my wind
powered fan and solar powered flashlight and when I 'splained it to a fried
he said, "You fucking drunk again Charlie?"
What I was trying to do, was run Microsoft's Web TV on a Linux Computer, so
I set it up so I could hook one of them Web TV boxes in line on my cable
like an ordinary person, 'cept instead of a conventional TV I'd use the TV
card in my computer and then when I wanted to just watch TV or browse the
web or piss all over UseNet or read e-mail, or record TV shows or play
VCR's or just listen to the radio, or watch DVD movies or listen to my mp3
collection on the hard disk, I'd just slip thet lil live Linux based CDROM
in my coffee cup holder, close it and boot off it and I come up with a set
top box what looked like this
http://freshmeat.net/screenshots/28228/
but when I wanted to watch TV or play on the web, with a few gymnastics,
virtual tty stuff, mounting a hd partition and chroot dealy, my full screen
Linux display on my left monitor looked like like this
http://home.hot.rr.com/olgnuby/goofiness.jpg
and I still had access to my word processor and all that good stuff on my
right and I was uptown and able to play like one of them big boys did on
WebTV.
But a major company here in the U. S. found me out and made me an offer I
just couldn't resist. I sure do like this XBox thanger and that $10.00
bought a lot of Beachnut.. ;-)
http://shorterlink.com/?PM07KP
Hey Kai, you guys with all that dayright time up there ought to be able to
use some of my solar powered flashlights. I got a bunch of them I'll sell
real cheap.
And I need to convince my neighbor who been coming over here sneaking round
my apartment looking for where I been hiding my bottle that there really
ain't nutten wrong with Charlie. He just unleashing his inner imp and
having fun. ;-)
CC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAFUcT7qlV9FVfKBkRAuV5AKCfx7jTWvLg2EeV+3qjGZuimkZ3mwCgk80K
dFv6gX40hnoouIIug4IWPY4=
=kDFJ
-----END PGP SIGNATURE-----
That CC at the end of your post, it your initials or part of gcc?
Walt R.
> You are building your own kernel, and you call me a nix guru. I can
> not get alsa to do anything. I have not attempted to compile my own
> kernel. I am up on Slackware9.1 and 2.4.22 kernel.
>
> That CC at the end of your post, it your initials or part of gcc?
>
> Walt R.
Almost missed you in my transition over to 10 beta to fart around today
Walt. Didn't find you until I got all the java, flash, realplayer and
other plugins in Mozilla a minute ago and decided to go ahead adn give
it's news module a go.
Last things first I guess. CC Chronocidal Charlie. I just started using
the initials cause I was mispelling my name so ofen. ;-)
First kernel I built was a kernel-2.0.32-2 on a RedHat 5.0 distro. I did
it on a 386/25 with 32 meg of ram and it took 19 hours and errored out
due to a screw up of mine. It took me another week of trial and error
before I sat down and read the instructions and then I got one to
compile the way I wanted it in 19 hours. ;-)
I compiled a 2.6.1 the other day on this machine and it took about
fifteen minutes and it worked first time.
2.4.22 is a good kernel It is what I use on my main workaday system that
I refuse to fuck with under any circumstances since I got it the way I
want it. 2.6 has a lot of gnu innovations that are mostly hardware
specific and accomadating a lot of new gadgetry on the market. It does
have alsa built into it and oss is depreciated.
The trick with alsa is to get your kernel compiled with only sound
enabled as a module and no cards or drivers chosen. Compile it, install
compile all your other modules and install them. Get the system booted
on the new kernel, and then get and compile all the alsa sources.
Some helpful links maybe.
http://www.alsa-project.org/alsa-doc/
http://www.alsa-project.org/alsa-doc/alsa-howto/c47.htm
http://www.djcj.org/LAU/guide/index.php
All the scripts you will need to make devices and do configuration of
init scripts etc are in with the various source packages. Libs, drivers,
utilities, etc.
I got turned on to alsa because I once owned a sound card that only two
people in the world ever got to work under linux. One of us died. and I
switched to alsa before I'd try to get the sob to work with an upgrade
to RedHat 6.2. ;-)
Excuse my spelling. I haven't got moz-speller on this install yet. ;-)
CC
I got turned on to alsa because I once owned a sound card that only
two
people in the world ever got to work under linux. One of us died. and
I
switched to alsa before I'd try to get the sob to work with an upgrade
to RedHat 6.2. ;-)
Excuse my spelling. I haven't got moz-speller on this install yet. ;-)
**
Just kidding about the CC, at least it is not, "Canadian Club."
I did not get a speller checker for moz1.4 either.
Been playing with this here alsa again. It works from root, but I
have a permissions problem somewhere.
root@wmr_srv01:/home/wmr $ aplay -D default
/usr/lib/mozilla-1.4/res/samples/test.wav
Playing WAVE '/usr/lib/mozilla-1.4/res/samples/test.wav' : Unsigned 8
bit, Rate 22050 Hz, Mono
root@wmr_srv01:/home/wmr $
wmr@wmr_srv01:~ $ aplay -D default
/usr/lib/mozilla-1.4/res/samples/test.wav
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p
failed: Permission denied
aplay: main:484: audio open error: Permission denied
wmr@wmr_srv01:~ $
wmr@wmr_srv01:~ $ groups wmr
wmr : users sys
all of the files in /dev/snd are in group sys
Thanks Charlie
Walt R.
Hey, thas a neat way to make noise. Kind of like sex standing up in a
hammock. But it kind of skeers most folk I talk to about Linux. And it
makes em wonder and say things to me like, "Charlie, I wuz thinking
about using Linux but I seen this post on araa the other day by this
fellow and he say the only way he could get sound was with his root
and somthing like default afterplay 'stead of foreplay with a bunch of
commands. Would thet the only way I can get any? Getting out the whips and
chains and commanding, 'stand up in thet hammock gal, I wanna play.' Hell,
can't I just turn on the computer, click my music and listen to it play
while me and my woman snuggle on the couch."
Kind of like some hard core AA I know. Kind of like my spoof I based
around a real experience up in Colorado one day. And the part in the
follosing story about the fellow next door asking "How does it Work?"
http://shorterlink.com/?WLK0B6
Sound to me like you need to add wmr to /etc/groups sum place 'cides sys.
That is if you gonna persist on running it cli and not from a wm that can
do suid thingies and safely do stuff like that with out adding a bunch of
users to a bunch of different things in /etc/groups
iffen I do
[charlie@localhost charlie]$ xmms /usr/lib/mozilla-1.6/res/samples/test.wav
All I get is a damn goofy looking graphic equalizer looking thing pop up
on the screen what say out real loud to me, "BOINK!" Like this..
http://home.hot.rr.com/olgnuby/today.jpg
I must be doing sumpin wrong. ;-)
But it say "BOINK" in high quality five speaker surround sound. ;-)
And hey just looka here whut I fount. Why that graphic equalizer thanger
will even let me play muzak frum my other Linux disk whar that I got all
my mp3 stuff stored. Just look at this.
http://home.hot.rr.com/olgnuby/today1.jpg
Hey Walt. You have a good day, OK.
CC
**
I am running Gnome along with a couple of xterms. One xterm as root
and the other as wmr. I do not run Gnome as root.
Walt R.
>> Sound to me like you need to add wmr to /etc/groups sum place 'cides
>> sys. That is if you gonna persist on running it cli and not from a wm
>> that can do suid thingies and safely do stuff like that with out adding
>> a bunch of users to a bunch of different things in /etc/groups
> I am running Gnome along with a couple of xterms. One xterm as root and
> the other as wmr. I do not run Gnome as root.
>
> Walt R.
Anyone who would run Gnome, or for that matter any window manager,
regardless of the circumstances unless it is a person with a whole shit
pot of experience in systems administration or bunches of knowledge as
ordianry user, should probably go back down in the pasture and execute
themselves. A good properly configured setup will not even allow root
login from a display manager such as GDM, KDE or XDM with out some severe
warnings.
Slackware out of the box doesn't give normal user much in the way of
privleges, CLI or GUI, referring back to the problems you seemed to have
had getting your ppp and and dialer scripts set up to connect to your isp.
I went through ppp_hell back about a hundred years ago until I learned how
to create my /dev/ppp and other nodes, in's and outs of pppd and symbolic
link them and do them proper permissions on them and found the
historically documented /usr/share/doc/ppp* and the following script which
is scattered all over the web in varrious formats.
----
#!/bin/sh
#
# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command. However, it is simple.
#
# These are the parameters. Change as needed.
TELEPHONE=555-1212 # The telephone number for the connection
ACCOUNT=george # The account name for logon (as in 'George Burns')
PASSWORD=gracie # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
#
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
#
# This is the location of the script which dials the phone and logs
# in. Please use the absolute file name as the $PATH variable is not
# used on the connect option. (To do so on a 'root' account would be
# a security hole so don't ask.)
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
# Initiate the connection
#
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
----
And allowed me to innitiate my first connection to an ISP with LeadHat
after two or three years of screwing wtih Linux, still using Windows to
connect to Internet and having countless ISP tell me, "We don't support
Linux" or forcing me to use a Windows interface and dialer to connect."
and one day my light came on and I command lined a ppp-on and my modem
dialed my ISP here in Temple who had told me, "No way Jose. You ain't
gonna be able to get it to work." But I did, and I connected and made the
following post on araa after having been using Linux and FreeBSD off line
for a couple of years unnnecessarly cause I was too proud to ask any of
them grizzly old farts on comp.os.linux.setup how to do it and take their
RTFM gaff or go find the info to do it, but that seems pretty common
behavior among ex-drunks.
My first Linux post; ;-)
http://shorterlink.com/?K3N65E
So if you got it done in a day, you hell of a lot better man and guru
than I was back then. ;-)
I don't know why your /dev/sound/* or if alsa, /dev/snd/* are set to user
sys. Seems to me like it ought to be set to user root and group root.
Mandrake and some distributions use an Xwrapper to suid root so that most
of the common user devices can be accessed from the window manager,
consequently, my /etc/group only looks like this, and what I was trying to
suggest and do it simply with a little humor is that perhaps you do have
an ownership problem with sound and that mayhaps you need to add wmr to
the audio group, and hell, maybe even create a ppp uaer account in your
/etc/paswd, and then add wmr to ppp in /etc/group, cause I kinda suspect
you got wmr in sys to get around ppp. ;-) ---
root:x:0: bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:
mail:x:12:
news:x:13:
uucp:x:14:
man:x:15:
floppy:x:19:
games:x:20:
cdrom:x:22:
utmp:x:24:
usb:x:43:
cdwriter:x:80:
audio:x:81:
video:x:82:
users:x:100:
nogroup:x:65534:
rpm:x:101:
xgrp:x:102:xfs,gdm
ntools:x:103:
ctools:x:104:
vcsa:x:69:
rpc:x:70:
xfs:x:71:
rpcuser:x:72:
slocate:x:105:
charlie:x:501:
gdm:x:73:
---
And I use all my audio, disks, video, cameras, etc. modem, eth0 and what
have you from within my window manager as normal user and never run shit
as root.
But I do have charlie in /etc/sudoers so's I can do simple admin
tasks from within X at a terminal
Nuff this stuff. It about as boring and OT as looking at liver and brain
specimens from cadavers who spent a life time of eating at McDonalds in
hopes of finding some genetic link or phenomena like tetraisoquinilin(sp?)
to find a genitic gene or disease factor link causing stupidity or dumb . ;-)
CC
**
<snip>
root:x:0: bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
</snip>
Is your sys a group or is it also a user.
excerpt from my /etc/group:
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin,adm,sys,wmr
adm::4:root,adm,daemon
tty::5:
Excerpt from my /etc/passwd
root:x:0:0::/root:/bin/bash
bin:x:1:1:bin:/bin:
daemon:x:2:2:daemon:/sbin:
adm:x:3:4:adm:/var/log:
lp:x:4:7:lp:/var/spool/lpd:
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
This is a little script I wrote to dial my ISP. I have not
tried to set this up to dial as a user.
@wmr_srv01:~ $ cat bin/dialer
#!/bin/sh
#
# Walt Reinemer
# date of origin: 20 Jan 2004
# last edit date: 20 Jan 2004
#
# usage: dialer [no args]
#
# This script has to be run as root.
#
clear
if [ $# -ne 0 ]; then
echo -e "\n usage: dialer [no args]\n"
exit 0
fi
sel=0
while [ $sel -ne 3 ]; do
trap '' 1 2 3 5 15 24
echo -e "\n\n Phone Dialer"
echo -e " ----------------"
echo -e " 1. Dial tnscv"
echo -e " 2. Hang Up tnscv"
echo -e " 3. Exit dialer"
echo -e "\n Enter Valid Number!\n"
read sel
case $sel in
1 ) /usr/sbin/ppp-on ;;
2 ) /usr/sbin/ppp-off ;;
3 ) echo -e "\n BYE!!\n"
sel=3 ;;
* ) sel=0
esac
clear
done
clear
wmr@wmr_srv01:~ $
This is what the menu looks like.
Phone Dialer
----------------
1. Dial tnscv
2. Hang Up tnscv
3. Exit dialer
Enter Valid Number!
|
How did you manage to drink as long as you did? I had all I could
stand and had to quit before I was 30. I looked older at 25 than I
did at 40.
Thanks Charlie!!
Walt R.
> Is your sys a group or is it also a user. excerpt from my /etc/group:
My sys is just this
sys:x:3:
but note that my xgrp is
xgrp:x:102:xfs,gdm
and gdm is the display manager I'm using on this betta tester since KDM
ain't gehawing yet. ;-)
> This is what the menu looks like.
>
> Phone Dialer
> ----------------
> 1. Dial tnscv
> 2. Hang Up tnscv
> 3. Exit dialer
>
> Enter Valid Number!
>
>
>
Looks gud to me. What wurks, wurks. To each his own.
> How did you manage to drink as long as you did?
The same way I spent damn near two years tying to get a linux box to dial
an ISP. ;-)
I tried like hell at the drinking and failed.
I finally got it right on the dialing.
Gave up on the drinking. Hell I got to where I tried so hard at it I
didn't have any thing to left to dial and nothing nor anyone to talk to no
way and it lost it's priority.
CC
Chronocidal Charlie wrote:
> On Thu, 29 Jan 2004 15:35:46 -0800, Walt R wrote:
>
>
>> Is your sys a group or is it also a user. excerpt from my /etc/group:
>
> My sys is just this
>
> sys:x:3:
>
> but note that my xgrp is
>
> xgrp:x:102:xfs,gdm
>
> and gdm is the display manager I'm using on this betta tester since KDM
> ain't gehawing yet. ;-)
>
>> This is what the menu looks like.
>>
>> Phone Dialer
Hey Walt, I'm back on my main machine what got ppp and modem stuff in it and
I had to jog my memory a tad since the only thing I use that modem for is
searching the card file at the local library by way of my minicom program.
;-)
This shot may give you some ideas on your dialup connection. Gnome got a
wizzer also, but I don't got it installed on this. There are a couple
applets from Kppp showing here which is KDE wizzer for Internet dialup that
only requires knowing where your modem is, telephone number, pass word etc.
to connect. Far cry from the fossilized versions of hooking up that were
available to me when I first started this journey. ;-)
Put you some snd stuff up there also.
http://home.hot.rr.com/olgnuby/today.jpg
Oh, and me too ernie. I choose not to drink today to keep this mishmosh on
topic. ;-)
Weather Report - ktpl, Temple, TX. U. S. A.
Last updated on Friday 30 January 2004 04:35 am
Overcast clouds at 1.0 thousand feet
Temperature:
44.6°F
Dew Point:
39.2°F
Air Pressure:
30.03" Hg
Rel. Humidity:
81.2%
Wind Speed:
13 MPH N
Wind Chill:
38.3°F
CC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAGkMB7qlV9FVfKBkRAh78AKCKNrSF+2NpZifwPs6Qkn9PA6BHEwCggRdf
+y9nR2VR9iJSRn5Pgooxdwg=
=bVj9
-----END PGP SIGNATURE-----
I do not have a xgrp, Your group file looks like a passwd file.
Gnome on redhat uses there own graphic frontend to wvdial.
Do you have xdm, it will allow you to bring up either kde or gnome.
After a bad session with the framebuffer that froze up my system,
This thing boots into a terminal, and after I login I invoke startx.
I will eventually set up this dialer script with an option for a
second number, and execute with sudo. I will probably invoke the
script with
#!/bin/sh -r # -r = restricted shell
trap "exit" 1 2 3 5 ... # If this is a login shell put logout where
exit is,
# and it will log the person out.
Any attempt to break out of the script will exit you from the shell
There is a great "advanced bash scripting guide" at tldp.org
> Put you some snd stuff up there also. Ok, but where do you want me to put it.
I do not have a web site.
I am not concerned about the dialer, but this alsa is a nightmare from
hell.
Alsa reminds me of those poorly designed programs for microsoft OS's.
I come from the world of Amiga, and we did not tolerate crappy
programs.
I used to connect a receiver to the stereo outputs of my Amiga once in
a while.
Ran that redhat box without sound for over four years.
I would like to get alsa working, but it sure is frustrating not
having any decent docs.
Do you want to continue this on email?
Thanks Charlie!!
Walt R.
Walt R wrote:
>
> I do not have a xgrp, Your group file looks like a passwd file.
No Walt. My /etc/group looks like a properly configured /etc/group file.
Your basis for comparison seems to be a broken /etc/group file.
> Gnome on redhat uses there own graphic frontend to wvdial.
I preferred diald that gave me on demand dialing when an app called for it.
but as I said, I have no further need for dialup other than through my comm
program to call the library.
I'm aware of that, but you seem to be using slackware at present and
although I have Redhat's latest release, I'm not currently using it
There are numerous front ends to numerous applications
> Do you have xdm, it will allow you to bring up either kde or gnome.
xdm brings up what ever is system default window manager or what ever a user
has configured in .xinitrc or .xsession, if that particular wm is installed
on the system, but it doesn't give you a choice on login. On this particular
system I'm usng KDM and I have a choice of five different window managers
at login, which I've installed, all of which work for me. And yes, I have
xdm which also works when I choose to use it as preferred display manager.
> After a bad session with the framebuffer that froze up my system,
> This thing boots into a terminal, and after I login I invoke startx.
If you like it like that, fine, If not fix it.
> I am not concerned about the dialer, but this alsa is a nightmare from
> hell.
>
> Alsa reminds me of those poorly designed programs for microsoft OS's.
I don't have a problem with much of Microsoft's Operating System other than
it's vulnerabilities to intrusions, when I choose to use it. I have
problems with Microsoft's policies and licensing. I joke about the OS on
occasion, but as far as getting it to work, I have no difficulty in using
it for what it is designed for.
> I come from the world of Amiga, and we did not tolerate crappy
> programs.
What happened to Amiga? You should probably go back to it.
> I used to connect a receiver to the stereo outputs of my Amiga once in
> a while.
See above
> Ran that redhat box without sound for over four years.
Then why are you concerned now.
> I would like to get alsa working, but it sure is frustrating not
> having any decent docs.
There are always openings in the LDP (Linux Documentation Program)
for volunteers to write good documentation.
My alsa works with no problems. Five channel surround sound. OSS does also
if I choose to use it. I pointed you several directions and there is
excellent documentation both with alsa and on the web
> Do you want to continue this on email?
My e-mail isn't munged
> Thanks Charlie!!
You're welcome Walt.
CC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAG5TN7qlV9FVfKBkRAvtWAJ97QjnRbub9KnCGxpYBCVvFw2CKwACdGY4+
FaRLH23fbXS/4OKjTTlW1Hw=
=V/wA
-----END PGP SIGNATURE-----