I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
Midori-Problem with USB Ethernet Adapter & Misc. Questions

New MessageMidori-Problem with USB Ethernet Adapter & Misc. Questions (modified 0 times) Robin
Profile
I just loaded Midori up onto my IA-1 internal flash. It seems to work well except that I cannot get a connection to the net through my server. I have the Linksys USB100 (Grey with Red stripe) and the D-Link 10/100TX and neither 'work' with Midori. They both function fine on other machines, but with Midori on the IA-1 I don't even get a link light on either box. And I can't ping the static IP I assigned to the IA-1 nor can I reach the server's IP address through the IA-1. Does anyone have any advice/experience with this? There are not problems with the network adapters nor is there any problem with the ethernet cables. So I'm kind of perplexed by this. I have next to no experience with Unix/Linux so any help would be appreciated.

Also:

1. Is there any way to remove the Midori desktop image? It's kind of distracting...
2. If I do get the ethernet issue resolved, can I play streaming media through this box? I want to listen to NPR and all their programs are in Real format. I'm not sure if there's a compatible player built into Midori or if there's space on the internal flash to download and install the one from real networks.
3. How can I access a 128Mb compact flash card that I've got in the IA-1's reader? I'm more familiar with Windows/DOS... can I access it through the GUI? How should it be formatted? Can I use it for storage of images for a slide show or install programs (such as the real player) onto it?

Thanks for any help out there. These are fun little 'project machines' and I'm learning a lot from the experience.

05-18-2002 11:26:53

New MessageRE:Midori-Problem with USB Ethernet Adapter & Misc. Questions (modified 0 times) radarman
Profile
First, I have the exact same setup, and I'm typing this message from it right now. The LED's on the Linksys USB100TX don't work under Linux/FreeBSD - even when the adapter is working. They have only ever worked from Windows (and the MSN image). Check your dmesg output to see whats going on. The lights are obviously controlled by software, and the linux driver doesn't operate them.

Second, the background image is specified by the icewm preference file. Poke around in /usr/X11R6/lib/X11/icewm. The file /tmp/config/bg.xpm is the image itself, so it might be simpler to replace it with something more palatable.

Third, the software load is very tight. If you want to add something as substantial as the Linux Realplayer, I would suggest that you load it into a CF card. I believe you can mount ext2 partitions, though you can't create/format them from midori. I had been meaning to play with this, but it turned out that it was simpler to window most stuff to IA-1, and xmms handles the rest. I have to admit, the real player stuff is kind of neat - so I may look into it again.

Keep in mind, RAM is very tight on the IA-1 as well as permanent storage. I've had Opera crap out numerous times due to a lack of memory. As a result, I run Mozilla from my FreeBSD server and window it back to the IA-1. (The IA-1 makes a wonderful X terminal)

05-18-2002 20:35:26

New MessageRE:Midori-Problem with USB Ethernet Adapter & Misc. Questions (modified 0 times) Robin
Profile
Thanks for your response.

Re: Linksys.
I thought the lights on all of these units were controlled by firmware built into the device; everyday I learn something new. As far as dmesg goes, I don't even know what that is (see Re: All of the Above) let alone what to look for. Any further explanation or a link to where this might be explained would help.

Re: "it turned out that it was simpler to window most stuff to IA-1, and xmms handles the rest"
What do you mean by "window stuff to the IA-1" and what is "xmms"

Re: All of the above.
Can you or anyone else recommend any books that will shed light on issues such as finding my way around Linux, installing drivers. I am a complete Linux/Unix idiot but I do have a lot of Mac/Windows/DOS experience that I can draw on to help pick this up quickly. So I would need a book that can fast-track the basic command line stuff (while still covering it) and also explaining the 'architecture' of Linux--how to accomplish certain basic tasks such as installing drivers, software, mounting volumes on network drives or CF cards etc.

05-19-2002 05:21:14

New MessageRE:Midori-Problem with USB Ethernet Adapter & Misc. Questions (modified 0 times) radarman
Profile
By "window", I mean display a X application running on another computer to the terminal you are sitting in front of. X windows, which Linux uses as its graphical display, is capable of accepting connections not only from local applications, but also from remote (network) applications. Normally, access is turned off (to prevent obvious pranks/problems), but can be turned back on by using xhost.

So, for a simple example, open up an Xterm on your IA-1. Type 'xhost +' (or xhost + remote.system.name) to allow remote access to the X server. Then, log into a system that has some X stuff loaded (xterm being the simplest and most ubiquitous). If you used ssh, you can just start the application. If you used telnet, then you will need to 'setenv DISPLAY <ia-1's IP address>:0.0' for csh/tcsh or 'set DISPLAY=<ia-1's ip address>:0.0' for sh/bash, and then start your application. The end result is that the xterm will "run" on the remote system's processor, but display on your IA-1. This allows you to run programs that the IA-1 hasn't the RAM, storage or CPU speed to run locally.

For example, when I first start my IA-1, I:
1) start xterm by clicking the button
2) type 'xhost + whitetower' to allow whitetower to display applications on the local X server
2) type 'ssh whitetower (my freebsd server)' Connect to whitetower via secure shell
3) type 'who' Find out what the dhcp server assigned the IA-1)
4) type 'setenv DISPLAY dhcp0:0.0' Override the default X server environment variable, and point to the IA-1
5) type '/usr/mozilla/mozilla &' Start the app

Then, kick back and wait a few seconds for Mozilla to start. I've had it running for about a week so far, and since the IA-1 is silent and draws little power, I just leave it up.

As for xmms, it's the X <M>ulti <M>edia <S>ystem. Essentially WinAMP for Linux/FreeBSD. However, it must be run locally in order to access the sound hardware (until Midori supports the Network Audio System). I mount my music via SMBFS (windows networking) and play away.

05-20-2002 10:46:45

New MessageRE:Midori-Problem with USB Ethernet Adapter & Misc. Questions (modified 0 times) Wiz_
Profile
Radarman,
Great answer, your helping more than one Linux newbie out here...
So can you explain how to use Samba from the Midori image to mount a windows file server?

Wiz

05-20-2002 20:09:26

New MessageRE:Midori-Problem with USB Ethernet Adapter & Misc. Questions (modified 0 times) radarman
Profile
This is a more interesting area. Samba actually works better for digital audio than NFS when it comes to the USB ethernet adapters. I'm not sure why, but I get skip free audio from a 10Mbit USB NIC with Samba, but skips all over the place with NFS - even with a Linksys USB100TX. (of course, 100Mb/s ethernet gets throttled down to 12Mb/s through the USB adapter...)

To mount a windows share, you need to create a mount point. You are restricted to directories that allow you to write (/tmp). I use /tmp/music myself, to mount my MP3's. If you are planning on making a digital picture frame - create a directory that works for you.

Then, mount -t smbfs //machine/service -o <options>

To use my setup as an example:

mkdir /tmp/music
freeze (so I don't have to repeat the above step)

mount -t smbfs //whitetower/Music /tmp/music

Supposedly, you can add a line in your fstab - but it doesn't work for some reason. I've tried several times, but I end up having to manually mount the share anyway.

Other notes:
You will be asked for a password regardless of whether the share requires one or not. If it doesn't, then just hit enter.

You can specify a username and password on the command line. Use username= and password=

Good luck

05-21-2002 19:15:17

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