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 / Other I-Appliances / MSN Companion
Jailbait help for Newbies
What now, I've got a root prompt..

New MessageJailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
Could some of the experts help me with some basic Jailbait commands and setup. ??

I now (Thanks to everyone's help) have jailbait loaded on my IA-1, I have logged in and have a Root prompt..

[root@islack /root]# (Now What ??? )

(1) What are the commands to bring up the graphics user interface ?

(2) Is there a website I can get some basic knowedge of Jailbait.?

Thanks for anyones help..
Musicman38

12-02-2001 20:19:21

New MessageRE:Jailbait help for Newbies (modified 0 times) keith721
Profile
The command to startup the X windowing GUI environment is startx.

happy hacking . . .

12-02-2001 20:34:42

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
Thanks Again Keith721,
I am now running a GUI and Netscape. Now I just need to get a USB ethernet adapter.

Any suggestions on the best priced and most compatable USB Ethernet ??
Musicman38

12-02-2001 22:19:37

New MessageRE:Jailbait help for Newbies (modified 0 times) keith721
Profile
The jailbait image you have loads the 'kaweth' driver, which supports the Kawasaki LSI adapter. This device is sold as the NetGear EA-101, the 3COM 3C19250, the D-Link DSB650-C, the LinkSys USB10T, and the SMC 2102 USB ethernet adapters. They are all pretty much the same device, with different USB Vendor_ID and Product_ID values in their flash memory. They can be programmed using the qtools utility MACPARSE, which requires a little effort.

The 'pegasus' driver is also included, but is not loaded by default. This driver supports the ADMtek ADM986 Pegasus and ADM8511 Pegasus II adapters. This device is sold as the 3COM 3C460B, the D-Link DSB650-TX, the LinkSys USB100TX, and the SMC 2202 USB ethernet adapters. Like the others, they are all pretty much the same device, with different ID values. They can be programmed using tools found on ADMtek's Taiwanese web page.

Refer to the thread 'Linux on the IA-1' for several informative messages (and hyperlinks) regarding this entire topic.

Good luck !!

12-02-2001 22:42:39

New MessageRE:Jailbait help for Newbies (modified 0 times) bballctaulbee
Profile
ummm... i parsed the kaweth.o driver, but only saw the NetGear EA101 vendor/device IDs! it *may not* work with other adapters "out-of-the-box" using the same chipset... you can either rebuild kaweth.o and add your adapter's IDs, or reflash the unit to 'become' an EA101.... YMMV, as i use an EA101...
12-03-2001 07:01:29

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
Keith721,

I guess my question more specific is:

What USB ETH adaptor will work out of the box (No re-Programming) and run on Jailbait ?

Musicman38

12-03-2001 11:18:01

New MessageRE:Jailbait help for Newbies (modified 0 times) keith721
Profile
like bball said, the NetGear EA-101-C worked for him, unmodified. most of the units are available on the internet, at about $20 for a 'refurb' unit.
12-03-2001 11:22:20

New MessageRE:Jailbait help for Newbies (modified 0 times) nazareth
Profile
Just so you know, I have an EA-101 that works w/ my laptop (Win2k) and linux
(redhat 7.2) but NOT with my IA-1. So, I guess not all EA-101 adapters are
created equal.

Sean

12-03-2001 13:10:08

New MessageRE:Jailbait help for Newbies (modified 0 times) bballctaulbee
Profile
- one quick way to find out about the unit may be to parse the *.inf files included with your USB adapter:

# strings *.inf | less

- i did this with the $29 USB 2.5" IDE caddy available at computergeeks.com (it is basically a BusLink USB drive adapter, and uses the Prolific chipset bridge - and works with Linux using the usbide kernel module! now the problem is 'backporting' the module to 2.4.0test1-pre and Jailbait will have a nice 4GB /usr and other partitions; [OK, i guess i could use NFS - it may be faster])

12-03-2001 16:27:02

New MessageEA101 w/Linux but not IA-1? (modified 0 times) bballctaulbee
Profile
- you have an EA101 that works with Linux, but not the IA-1? you don't say, but are you using CE or Jailbait Linux?

- what chipset is used in the adapter (or better, what usb driver is Linux using with the device?)...

- your info was a little vague, but if your adapter is working with Linux, it *should* work with Jailbait on the IA-1

- i don't think the EA101 is supported under CE...

12-03-2001 16:31:15

New MessageRE:Jailbait help for Newbies (modified 0 times) nazareth
Profile
bball,

Just to clarify....

I've got a linux laptop running Redhat 7.2 (2.4.7-10 kernel) with the corresponding drivers.

When I plugged it into my laptop, the adapter was autodetected, and the corresponding usb
driver was loaded. I could then "pump" the adapter to get a DHCP address and I was on my
way.

Now, on Jailbait on my IA-1... I'm pretty sure that the driver is an older version than
what is on my laptop. I believe that EA-101 has the kawasaki chip set. So, I insmod'ed
the kaweth.o module, and plugged in the adapter. I cannot remember the exact error message,
but I believe it said that an unrecognized USB adapter was inserted.

Now, I have no idea of the age of the EA-101 adapter since it was something I found lying
around at work, but since it works in my current RH 7.2 linux laptop, I'm assuming that it
is not a problem with the adapter.

In another post, I reported similar problems with my Dlink DSB-650TX adapter. Even though
some people had reported some success using this adapter, I found that DLINK had changed
the DEVICE id (because they changed from PEGASUS to PEGASUS_II chip) and so while it would
work with the current driver in the RH7.2 laptop, it was not until I could get the pegasus.o
v 0.4.15 and patched the DLINK EEPROM to the ADMTEK PEGASUSII adapter IDs that I could get
the adapter to work on JAILBAIT.

Sean

12-04-2001 11:25:27

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
Well I just special ordered a Netgear EA101C adaptor based on what some have said here, so I hope it works on my IA-1 running Jailbait.
Musicman38
12-04-2001 18:52:43

New MessageRE:Jailbait help for Newbies (modified 0 times) bballctaulbee
Profile
sean - if the kaweth.o module (loaded by default) under Jailbait reports 'unknown device' when using your EA101, then indeed, it must be using a different chipset or vendor/device IDs... i can understand how this could be frustrating and confusing if you're trying to get the IA-1 networked... my EA101s (purchased last month as refurbs directly from NetGear) work when reflashed to 'become' 3COM USB adapters on my Audreys, or out-of-the-box on the IA-1 with Jailbait...

the adapter states: EA101 on the front and back ... i don't know what an EA101C is... but the kaweth driver certainly recognizes and configures the adapter (albeit with some error messages)... the adapter didn't work right off the bat, but after a reboot or so, it has been just fine...

part of the problem is also that the source of the 'backported(?)' kaweth.o module is *not* included with the images (indeed, no real source at all); the Jailbait distro does not include source, and seems to be based on the LEM project, which also does not include source (you can download a compatible kernel source tree)... this is a shame, as with little effort, the developers could have made life easier for less knowledgeable hackers wishing to update the distribution... the motto seems to be "Roll Your Own"... this has caused me some headaches when i tried to 'backport' the usbide driver in order to use a computergeeks.com $29 USB 2.5" IDE caddy with the IA-1 (btw, the caddy is a nice deal if you have a spare laptop drive, and the usbide driver works great with RedHat 7.2)...

when i get some time, i'm going to attempt to build/document an updated distro (most likely using a larger CF, as i only have one 16MB CF, but have plenty of others in various sizes)...

12-05-2001 08:33:02

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
OK Folks I just got my Netgear EA101C adaptor in today. SO here is where I am at, and hope some kind soul will help me get started. I now have Jailbait running and now I am ready to access the internet and my WIn2K Server's web pages. How I do that ? I have'nt a clue. Here's where I am at..
1. Have Jailbait loaded in my IA-1.
2. Can boot to a root login prompt, I login is as "Root" and give my password.
3. I then get a root prompt, I then type "startx", and it load the GUI interface.
I have done nothing else sofar, do I need to do anything else ?
4. I can start Netscape, but no Internet or Web server access..
Sure there must be some sort of setup ?

I am using a LAN Modem on my Windows based network and all my Windows based workstations use TCP/IP to access the internet through my LAN modem. I do not use static IP's, and I don't need DNS. All my Windows 98 based Browser needs is to be set to Auto detect the Lan modem. Pretty Simple setup..

SO my Question is: How can I get my IA-1 running jailbait to do the same. Please keep it simple for me, as I am pretty knowledgeable of Windows, but no nothing of Jailbait or Linux.. My all Audreys and Windows Computers are using Non-Static IP's 192.168.0.X (1,2,3,4,etc..)

I know I am asking a lot here but could someone guide me through setting up my Jailbait..??

Thanks in Advance..
Musicman38

12-06-2001 20:18:32

New MessageRE:Jailbait help for Newbies (modified 0 times) keith721
Profile
well -- bball is your best bet here, but i'll throw out two suggestions:
1. don't issue the 'startx' command, until after you've confirmed that the NetGear EA-101 is properly detected and it's module is loaded. how? remove the USB connector from the IA-1 while you're booting. when the boot sequence finishes, log in as root, and at the prompt, plug in the USB connector to the NetGear ethernet adapter. you should see a message telling you that the USB system has either recognized or failed to recognize your adapter.
2. after you've confirmed that your adapter is recognized, and the appropriate kernel module is loaded, you need to use the 'pump' utility to initiate a DHCP request from your NetGear adapter to the DHCP server on your network.

again, bball has commented on both of these issues, and can give you lots more detail. for now, i hope this helps you keep moving forward. by the way, it probably wouldn't be a bad idea to open up your NetGear EA-101C adapter, and positively identify the chipset inside. it's likely to be one of the following:
1. KLSI (Kawasaki LSI) which uses the 'kaweth.o' kernel driver
2. ADMtek Pegasus or Pegasus II which uses the 'pegasus.o' kernel driver

keith721

12-07-2001 08:09:23

New MessageRE:Jailbait help for Newbies (modified 0 times) bballctaulbee
Profile
- in order to use your IA-1 on your LAN for broadband surfing you'll first need a working USB Ethernet connection...
- attach the adapter, then boot the hacked Jailbait image
- after logging in, use the dmesg command to see if your adapter was recognized:

dmesg | more

- there are default values used for eth0 and gateway IP addresses; if the adapter is recognized and configured you can manually use /sbin/ifconfig to set your own, try:

ifconfig eth0 down
ifconfig eth0 192.168.2.15 netmask 255.255.255.0 up

then:

ifconfig eth0

- if these command lines fail, then the adapter was not recognized or configured... reboot the IA-1 with /sbin/shutdown:

shutdown -r now

to reboot and attempt to see if the adapter was recognized and configured (i had to do this with my NetGear, as it was not recognized the first time or two - it works fine now); if the ifconfig command works, use it to set your adapter to your LAN's subnet (as above), then use the /sbin/route command to point routing to your gateway:

route add default gw 192.168.2.43

(note: all examples here use my LAN's IP addresses; substitute yours)... i believe that Jailbait also includes a DHCP client, so you can try that approach if you use DHCP...

don't forget to put your DNS nameserver's IP addresses in /etc/resolv.conf in order to browse:

nameserver 199.45.32.43
nameserver 199.45.32.38

hope this helps...

12-07-2001 09:37:26

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
Keith,
I plugged in the Netgear USB after I logged in as Root, and after a page full of stuff it said "Kewath adaptor created at eth0" SO I guess it is working..

Next I did what you said and typed "pump" and these errors came up.

"Opening Network Device"
"Setting RX mode"
"Failed RX mode -16"

Thats all I get...


Any suggestions ??

Musicman

12-07-2001 09:48:08

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
Thanks Bball,
You and I must have been typng our messages at the same time, I'll try your instructions and let you know.. Thanks Very Much..
Musicman
12-07-2001 09:49:52

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
Bball,
I followed your directions and can now get on the internet (Fantastic...!!!)

Which now opens up new questions (Smile..)

I get lots of errors while running netscape:
Can't save bookmarks, read only errors..

(1) Is there some setting I need to change on Jailbait to allow read write ??
(2) Or have it ignore these errors ??

(3) Next is I realize the Keyboard Mouse Stinks, will Jailbait support a USB mouse ??
(4) Now that I am in in Jailbait, I want to learn more, can you suggest some "Dummies book" or "Jailbait for begginers" ??

Many Thanks for your help on my project..
Musicman

12-07-2001 10:28:57

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
BBall,
There must be some problem running Netscape as it seems to get very slow after awhile and then just locks up.. Is this caused by being set to Read Only ? Or are there some changes I need to set in Netscape. ??
Musicman
12-07-2001 11:38:18

New MessageRE:Jailbait help for Newbies (modified 0 times) keith721
Profile
thanks to bball for picking up on this thread i learn a lot more from others' experience than i do from hacking all alone...

as for jailbait, it's just a very much slimmed-down version of Linux, using kernel 2.4.0-test1. therefore, a 'Linux for Dummiez' book should do just fine. there's a brief jailbait FAQ over at http://jailbait.sourceforge.net which explains some of the basic configuration tasks...

keith721

12-07-2001 13:22:06

New MessageRE:Jailbait help for Newbies (modified 0 times) bballctaulbee
Profile
- understand that the hacked Jailbait distro is meant to provide a means to turn the IA-1 into an X terminal

- the system is mounted read-only because a 16MB compact flash is used, which has a limited lifetime on write cycles (unlimited reads); e.g. swap is created (IIRC) in RAM; read-write directories are /root and /tmp, both in RAM

- the Netscape included (a great hack, btw) can be used for browsing, but you shouldn't save bookmarks, although you could point its prefs (*supposedly* as i have not tried) to save in /tmp; these prefs will be lost upon reboot...

- i have no trouble with browsing, as i launch my clients from my server (which are then displayed on the IA-1's screen), and therefore do not use the built-in Netscape...

- you could set up a Linux system under a VMWare session on your Windows box on the LAN and then telnet to that session (which would have bridged networking enabled), and then launch Netscape from that session; you could use even an older version of any popular Linux distribution, even a 2.2.X version, which would provide a wealth of hosts for Internet operations on the IA-1...

- for example:

1. boot Jailbait on the IA-1
2. open an X terminal window and allow other hosts to display clients on your IA-1; e.g.:

xhost +

3. telnet to your Linux OS session running under VMWare under Win9X on your LAN; the Linux session would have full Internet access by proper DNS entries in /etc/resolv.conf, an IP on the same subnet (such as 192.168.2.XX), and /sbin/route used to point to your LAN's gateway IP (as before: note that you could also use SSH, but i'm not going to get into that here)

4. export your DISPLAY settings to enable the remote Linux OS session to send clients to your IA-1; e.g.:

export DISPLAY=your_IA1_hostname_or_IP_address:0.0

5. launch Netscape, xpat2, xclock, other terminal windows, screensavers, etc.; they will be displayed on your IA-1 as if launched locally...

that's the UNIX/Linux/X way of life - welcome to a better, safer, and free computing environment!

hope this helps...

billy ball
h-tee-tee-pee://dubyaX3dottuxdotorg/~bball

12-07-2001 13:39:46

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
Billy Ball,

Now you are way over my head, I do eventually want to run this X-Terminal running from a Linux Server you speak of, Sounds Very Very Cool and Yes Free !! .. As I get more into Linux I want to build a Linux Server. But until then I just need the little IA-1 to run Netscape as-is.. I assume it should work, Others are using it. But from what I see it sounds like its continually trying to save stuff as it goes along. And I am guessing here but I think it is actually storing it in it's RAM , and then after a few mins of browsing it locks up.. Must be some setting I am missing, I will try some more tonight as I get time. I'm at work right now (Rather be playing.. Ha Ha)working on customers computers..

Musicman (Part Musician, part Man, Part Hacker, Multi-Personality type Person)

12-07-2001 14:54:43

New MessageRE:Jailbait help for Newbies (modified 0 times) bballctaulbee
Profile
for creating a temp Netscape directory you can try (before launching Netscape on the IA-1):

mkdir /tmp/.netscape

(note the above ".netscape" has a period as part of the filename)

ln -s /tmp/.netscape /root/.netscape

(note: i haven't tried this as yet, but it may help get rid of some of the error messages); note that Netscape could easily use all your RAM quickly, so i'd then set prefs to small cache sizes)... if i get time, i'll look at the Netscape setup on the ThinkNIC (i have one); it comes with Netscape, no hard drive, and all prefs are saved in a 4MB flash disk - and it works well!

12-08-2001 14:26:30

New MessageRE:Jailbait help for Newbies (modified 0 times) Musicman38
Profile | Email
BBall,

I have come to the conclusion that trying to run Netscape on Jailbait will not work for me , just to many quirks. I think you are correct in X-Terminal being far better on the IA-1. So I just spent about $60 and purchased two nice books on Linux.
My goal is to setup a Linux Server to enable me to run an X-Terminal client on my IA-1..
From your description is sounds pretty easy. And I have wanted to learn Linux for some time now, and pull away from Bill Gate's domination..

Question :

Did you say there was a way to host a Linux program to support X-Terminal from a Widows 2000 Server using (I think you said) VMware ??

Or:

Would it be simplier for me to turn an old Pentium 166Mhz with 128MB RAM I have (Not currently being used) to just be a Linux Server to host Netscape and everything I need to run X terminal client from my iA-1

Any Ideas apperciated as always..
Musicman38

12-09-2001 23:36:21

New MessageRE:Jailbait help for Newbies (modified 0 times) bballctaulbee
Profile
yes, you can use a VMWare session running Linux to support launching X clients over a network... using a VMWare session has the advantage of being able to use an existing system to host Linux without the need for partitioning... you could also launch an .mp3 player under Linux and use the IA-1 as a player/controller (the client will play sounds using the sound driver on your remote host machine)

on the other hand, adding a Linux box to your LAN is a great idea and simplifies things (as well as being cheaper, since you don't have to pay for VMWare, which, IMHO, is too pricey); an existing machine would be cheaper, and for the cost of VMWare, you can get an old used PC for less! you will have everything you need using either approach...mind you, i don't think a 166MHz has the horsepower for playing .mp3s (i could be wrong though)...

12-11-2001 12:16:47

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