I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / I-Opener Areas / I-Opener Technical Stuff
Jailbait6 mp3 streams
Jailbait6 [audio: no route to host]

New MessageJailbait6 mp3 streams (modified 0 times) boopalooper
Profile | Email
v3 Iopener; streaming mp3 music from the internet doesn't work yet. As far
as I can tell `mpg123 -@ http://host` fails to aquire streaming mp3 radio stations. The error is always "audio: No route
to host".

For example, the music host at: linux0.cs.uaf.edu/radio/ suggests,

"If you have mpg123 on a UNIX box do:
mpg123 http://linux10.cs.uaf.edu:8000/kuac16mono
. . . etc. . . . "

Could someone tell me exactly how to get Jailbait6 to listen to internet radio stations?

I've read /usr/doc/HOWTO/Sound-HOWTO and both output and input work with /dev/audio, so it appears to be some missing
configuration files. Maybe /etc/services & route add?

# Audio output to iopener speakers work!
cat sample.au > /dev/audio

# Audio input by Mic (speaking into Mic) works!
dd bs=8k count=4 < /dev/audio >sample2.au


# Esound config; Is this right?
# Past Ultraboard posts suggesting:
export ESPEAKER=192.168.1.3:5001
# And esound listen at:
esd -tcp -public -port 5001 &

No matter how I reqest streaming mp3 music, the same error occurs: "audio: No route to host".

Poking around for route and host gives:
The default networking in Jailbait6 set host to user_name@lem with 127.0.0.1 by ping showing 0% pack loss, and
192.168.1.3 shows 100% packet loss. The latter address (192.168.1.3) appears to be set via /etc/config/ipaddr:
192.168.1.3 and /etc/init.d/network: `ifconfig eth0 $(cat /etc/config/ipaddr) \` with `nameserver $(cat
/etc/config/dns1)">>/var/share/etc/resolv.conf`.

I'm not sure but all this seems to be just the defaults since the Jailbait installer asks the user to type in name
servers when configuring ppp and the resolv.conf was setup during installation and subsequently stored in
/etc/var_directory.tar.gz, which gets extracted upon each bootup.

grep audio /etc/services returns zero results, as does grep dsp, mp3, and mpg. The www.mpg123.com website mentions
something about MIME types in /etc/mailcap and in Netscape, but there is no mailcap file and Netscape preferences for
applications MPEG Audio and WAV Audio show "Handled by: Unknown: Prompt User".


ROUTE Notes:
route add -net 192.168.1.3 netmask 255.255.255.0 dev audio
route: netmask doesn't match route address

route add 192.168.1.3 netmask 255.255.255.0 dev audio
route: netmask 000000ff doesn't make sense with host route

route add -net 192.168.1.3 netmask 255.255.255.255 dev audio
SIOCADDRT: No such device

route -V
net_tools 1.46
-INEW_ADDRT +RTF_IRTT +RTF_REGECT -I18N
AF:(inet) +UNIX +INET -INET6 +IPX +AX25 +NETROM +ATALK
HW:+ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +FR

Any help is appreciated!

Brian
bwildasi@csulb.edu

+++++++++++++++++++++++++++++++++++++++++++

Okay, am I getting closer?

As root...

export ESPEAKER=127.0.0.1:5001
esd -tcp -public -port 5001 &

# Looking up www.shoutcast.com for some playlists url addresses

cat shoutcast-playlist.pls
[playlist]
numberofentries=1
File=http://216.239.234.226:8040

mpg123 -@ http://216.239.234.226:8040
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
audio: Success


# Well finally the software says, "audio: Success".

However, NO SOUND can be heard from the speakers while connected to this url. So clearly there is still a problem with
the stock setup for this Jailbait6 v3 Iopener connecting to my school's isp by PPP using the Iopener stock internal 56k
modem.

Any help is appreciated setting this up correctly to play incomming streaming mp3 internet radio.

Brian
bwildasi@csulb.edu

06-08-2001 12:02:16

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3