View previous topic :: View next topic |
Author |
Message |
n1hck n00b
Joined: 20 Jan 2003 Posts: 34
|
Posted: Tue Jan 21, 2003 4:51 am Post subject: Zaurus - gentoo 1.4 how-to! |
|
|
ok..here is what I did to get gentoo working with the zaurus no problem.. (sort of :-D)
do yoru kernel thing.. make USBDNET as a module.. basically follow the directions on:
http://www.ruault.com/Zaurus/ethernet-over-usb-howto.html
the thing is.. do all those steps.. but .. in /lib/modules/kenrel.x.x/modules.usbmap file you have to change whereever it says
usbdnet 0x0193 0x04dd 0x8004
change to
usbdnet 0x0003 0x04dd 0x8004
then save this file somewhere else AS WELL AS saving it locally.
than make hotplug work... and use this script:
#! /bin/bash
sleep 1
cp /path_to_backup_of_modules.usbmap/modules.usbmap /lib/modules/2.4.19-gentoo-r10
sleep 1
typeset -i num
num=`ifconfig | grep usb0 | wc -l`
if [ $num -eq 0 ] ; then
ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up
route add -host 192.168.129.201 usb0
fi
basically..on a desktop you need to have the modules. usbmap file be cahnged to usbdnet 0x0003 0x04dd 0x8004...
on reboots its changed BACK to:
usbdnet 0x0193 0x04dd 0x8004
so the script rewrite the reset modules.usbmap file with the RIGHT usbmap file we made a back up of, and the sleep commands allow everything to happen.. and after 2 seconds your zaurus SHOULD be allll set!
I hope this method helps!!
Nick D |
|
Back to top |
|
|
refriedbean n00b
Joined: 19 Jan 2003 Posts: 70 Location: N 37° 33.327 E 126° 55.650
|
Posted: Tue Jan 21, 2003 5:24 am Post subject: :) |
|
|
Thanks!
I'm totally new to hotplug, and not wanting to sound like a total idiot, but how do I 'make hotplug work'?
If you tell me to rtfm I'll understand, but at least point me to the right ones
Thanks again! |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Tue Jan 21, 2003 11:54 am Post subject: |
|
|
There's an option in the kernel that says: "Support for hot-plugable devices" on the "General Setup", perhaps he meant that... _________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
n1hck n00b
Joined: 20 Jan 2003 Posts: 34
|
Posted: Tue Jan 21, 2003 12:19 pm Post subject: |
|
|
wellll.. actually...
emerge hotplug
after that follow directions and my directions off the website.
Nick D |
|
Back to top |
|
|
PorkySpine n00b
Joined: 31 Jan 2003 Posts: 13 Location: Portugal
|
Posted: Mon Feb 03, 2003 3:10 pm Post subject: |
|
|
Hello!
Read my post in
https://forums.gentoo.org/viewtopic.php?t=30930
It shows a better way, or at least more "Gentooish" way to use hotplug, because it configures interface usb0 the same way that you configure other intefaces in gentoo (through a net.usb0 script, like the net.eth0).
I also thing that using the way you are showing (which i could not get to work ) it will show the "cannot connect" error message.
The way i am showing, u just have to put that usbdnet 0x0003 0x04dd 0x8004 on /etc/hotplug/usb.usermap (read the details in the other post), and hotplug will take care of the rest.
If someone try trought these ways, please tell what is the better one... i wont chage my configuration anyway, i have my priciples: "If its working, don't fix it".
Good hotplugings! _________________ Tiago Reis Alves
a.k.a. PorkySpine * ICQ: 74529946
@:talves@student.dei.uc.pt
http://student.dei.uc.pt/~talves |
|
Back to top |
|
|
whanau n00b
Joined: 08 Jan 2003 Posts: 7
|
Posted: Tue Feb 04, 2003 1:34 am Post subject: The first script..... |
|
|
When do we run the script you have just posted ??
add it to rc.local ???
Thanks!! |
|
Back to top |
|
|
PorkySpine n00b
Joined: 31 Jan 2003 Posts: 13 Location: Portugal
|
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Tue Feb 04, 2003 3:39 am Post subject: |
|
|
This looks like a candidate for Tips & Tricks rather than a support question... Moving from Hardware and Laptops. _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
|
PorkySpine n00b
Joined: 31 Jan 2003 Posts: 13 Location: Portugal
|
Posted: Mon Aug 11, 2003 3:13 pm Post subject: Usbdnet is better! |
|
|
As i said in another post, i was having some problems with usbnet module. It actually made my desktop crash sometimes!!!
Now i am using the usbdnet module of kernel 2.4.21 (pfeifer-sources), and its working just fine. I had no more crashings.
Bye! _________________ Tiago Reis Alves
a.k.a. PorkySpine * ICQ: 74529946
@:talves@student.dei.uc.pt
http://student.dei.uc.pt/~talves |
|
Back to top |
|
|
|