Click to See Complete Forum and Search --> : Zaurus 5500, Openzaurus, How do I set the irda name?


Pafnoutios
03-11-2004, 01:38 PM
I have a Zaurus SL-5500 with OpenZaurus 3.3.5, Opie 1.0.3 on it. A guy I work with also has a 5500 with OpenZaurus 3.2 on it. We can't beam anything between them. When we align the ports and enable irda and discovery, they each find the other: "found Linux". Both units use 'Linux' as the irda name, which is not the name in /etc/hostname. /etc/hostname says 'openzaurus' and that is what is displayed when I run 'hostname' in the Konsole. Each of our units will communicate with our non-Linux PDA's (palm for him and PocketPC for me). We are guessing that our zauruses won't talk well because they have the same name. I've searched through the /etc directory and google and couldn't find how to change the irda name. Does anyone know how? Thank you.

mdwatts
03-11-2004, 01:41 PM
Moved to our brand new 'Mobile Computing' forum. :)

Pafnoutios
03-18-2004, 12:16 PM
I found that /proc/sys/net/irda/devname contains my irda device name. I can 'cat /proc/sys/net/irda/devname' and see it printed on the screen and I can 'echo MyNewName > /proc/sys/net/irda/devname' and it will change my irda name.
Is this safe? Will doing that cause any kernel instabilities?
Will it keep the new name through a reboot? I don't mean a suspend, I mean a real system reboot.

mdwatts
03-18-2004, 12:33 PM
Originally posted by Pafnoutios

Will it keep the new name through a reboot? I don't mean a suspend, I mean a real system reboot.

No it won't as everything in /proc is recreated upon each system boot.

Sorry as I have no idea where to change it permanently on a Zaurus. Anything irda related under /etc? If you cannot find the correct file to modify, you could always add

echo MyNewName > /proc/sys/net/irda/devname

to one of your startup scripts.