Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: jjreina on July 30, 2010, 04:16:11 AM

Title: audio codec
Post by: jjreina on July 30, 2010, 04:16:11 AM
Hi all, i'm noob whit TC and my system has no sound, what extension is needed for sound?
Thank you very much
Title: Re: audio codec
Post by: curaga on July 30, 2010, 04:33:19 AM
OSS.tcz or alsa.tcz
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 04:40:12 AM
ok, very thaks i will try now.

Is it possible to download and install a extension whit command-line? Is that i have not GUI and connect whit PC by telnet.

Thanks
Title: Re: audio codec
Post by: hiro on July 30, 2010, 04:59:18 AM
tce-load -wi
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 05:12:04 AM
Thaks, but no download extension whith tce-load -wi.

error->
wget: bad address 'distro.ibiblio.org'
wget: bad address 'distro.ibiblio.org'

How do I fix it?

Very thanks
Title: Re: audio codec
Post by: hiro on July 30, 2010, 05:21:11 AM
-w downloads, -i installs (mounts and adds an entry to onboot.lst)

And because you originally asked for a "codec" and not an audio driver:
If you want to play mp3s install the mpg123 decoder/player, for ogg stuff use ogg123.
I'm also using that headless on my tiny core linux audio machine.
Title: Re: audio codec
Post by: tinypoodle on July 30, 2010, 05:27:48 AM
Alternatively try <ab>. Hint: to exit the info hit "q".
Title: Re: audio codec
Post by: hiro on July 30, 2010, 05:49:46 AM
error->
wget: bad address 'distro.ibiblio.org'
wget: bad address 'distro.ibiblio.org'

You got a network problem here.
Have you configured it, is it working for other addresses?
Output of ifconfig?
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 05:51:52 AM
Sorry, my English is very bad, I really want audio driver and the problem with downloading of extension is that it does not have internet but LAN

ifconfig:
         eth0  Link encap:Ethernet  HWaddr 00:30:D6:06:3A:EA 
          inet addr:192.168.0.250  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1320 errors:0 dropped:0 overruns:0 frame:0
          TX packets:620 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:102526 (100.1 KiB)  TX bytes:47537 (46.4 KiB)

and cat /etc/resolv.config
nameserver 80.58.61.250
nameserver 80.58.61.254
nameserver 152.46.7.109

any suggestions Thanks
Title: Re: audio codec
Post by: hiro on July 30, 2010, 06:00:13 AM
80.58.61.250 doesn't work here. Perhaps try removing it from your resolv.conf.
The 254 one should work
:
tc@box:~$ nslookup distro.ibiblio.org 80.58.61.254
Server:    80.58.61.254
Address 1: 80.58.61.254 254.Red-80-58-61.staticIP.rima-tde.net

Name:      distro.ibiblio.org
Address 1: 152.46.7.109 jungle.metalab.unc.edu
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 06:07:09 AM
Hi, i have removed 80.58.61.250 and

tc@box:~$ nslookup distro.ibiblio.org 80.58.61.254
Server:    80.58.61.254
Address 1: 80.58.61.254

nslookup: can't resolve 'distro.ibiblio.org'
Title: Re: audio codec
Post by: hiro on July 30, 2010, 06:19:21 AM
Is your LAN connected to the internet?
Do other PCs connected to this LAN work?
How did you get your ip adress?
Do you use dhcp?
What output does route have?
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 06:29:27 AM
Is your LAN connected to the internet?

Yes
Do other PCs connected to this LAN work?

Yes, and  nslookup distro.ibiblio.org work on other PC of the same LAN

How did you get your ip adress?

manual
Do you use dhcp?
i dont no

What output does route have?

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.1       *               255.255.255.255 UH    0      0        0 lo
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0

and ping from PC con TC to other PC

tc@box:~$ ping 192.168.0.110
PING 192.168.0.110 (192.168.0.110): 56 data bytes
64 bytes from 192.168.0.110: seq=1 ttl=64 time=0.726 ms
64 bytes from 192.168.0.110: seq=2 ttl=64 time=1.341 ms
64 bytes from 192.168.0.110: seq=3 ttl=64 time=0.657 ms
64 bytes from 192.168.0.110: seq=4 ttl=64 time=1.335 ms
Title: Re: audio codec
Post by: hiro on July 30, 2010, 06:43:17 AM
You have to add a default route for all other addresses outside of your LAN.
Try this: route add default gw 192.168.0.1 eth0
If it doesn't work check which gateway your already working PCs are using.
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 07:00:46 AM
No work.

I have do route on PC with and
Tabla de rutas IP del nĂșcleo
Destino         Pasarela        Genmask         Indic MĂ©tric Ref    Uso Interfaz
192.168.0.0     *               255.255.255.0   U     1      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 eth0
default         192.168.0.100   0.0.0.0         UG    0      0        0 eth0

too on PC con TC

sudo route add default gw 192.168.0.100 eth0
and no work
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 07:10:12 AM
Thank, now work.

thank you very much
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 07:13:23 AM
Thank, now work.

thank you very much

i do:

tc@box:~$ nslookup distro.ibiblio.org 80.58.61.250
Server:    80.58.61.250
Address 1: 80.58.61.250 250.Red-80-58-61.staticIP.rima-tde.net

Name:      distro.ibiblio.org
Address 1: 152.46.7.109 jungle.metalab.unc.edu

but->

tc@box:~$ tce-load -wi alsa   
wget: bad address 'distro.ibiblio.org'
wget: bad address 'distro.ibiblio.org'
md5sum: alsa.md5.txt: No such file or directory
on alsa


Title: Re: audio codec
Post by: tinypoodle on July 30, 2010, 07:40:13 AM
tce-load -wi alsa.tcz
that's why i suggest <ab> if you don't know exactly what you want  ;)
Title: Re: audio codec
Post by: curaga on July 30, 2010, 07:42:07 AM
tce-load does accept extension names without .tcz as well.

There still seems to be DNS trouble at your comp jjreina.
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 07:46:53 AM
Yes, i too think thats is problem of DNS.

But on other PC whit ubuntu on same LAN work

Any suggestion.

Thx
Title: Re: audio codec
Post by: jjreina on July 30, 2010, 07:56:38 AM
solved

do not know why, but the DNS's file was called resolv.config I have it renamed to resolv.conf and all work ok

Thanks all
Title: Re: audio codec
Post by: hiro on July 30, 2010, 11:31:17 AM
Yeah, I wrote resolv.conf once, but didn't even see you had it wrong.

tce-load -wi alsa.tcz
that's why i suggest <ab> if you don't know exactly what you want  ;)

ab would have had exactly the same problem, and it's more complex.
Title: Re: audio codec
Post by: tinypoodle on July 30, 2010, 11:48:41 AM
Agreed, I didn't know it was a DNS issue when i wrote that.