OESF Portables Forum

General Forums => General Discussion => Topic started by: dougeeebear on August 11, 2004, 09:08:02 am

Title: Zaurus "Computer Name"
Post by: dougeeebear on August 11, 2004, 09:08:02 am
I have a laptop with wi-fi access to my wireless router. I gave it a computer name of "Doug" so I would know if any one else gains access to my wireless system.

My SL-5500 also has a wi-fi card installed, but the only thing I can get to show up on my router is "unknown" when I access it from my Zaurus.

I have tried everything I can think of to change the computer name of my zaurus, but all I get is "unknown".

I would really like to name my zaurus so I have a good handle on access to my router.

Any help on this would be greatly appreciated.

Thanks, Doug
Title: Zaurus "Computer Name"
Post by: CoreDump on August 11, 2004, 03:27:15 pm
OZ 3.2 and earlier didn't send the hostname while asking for an IP via DHCP.

Does

killall udhcpc ; udhcpc -i wlan0 -h openzaurus

work for you?
Title: Zaurus "Computer Name"
Post by: dougeeebear on August 11, 2004, 05:28:30 pm
No, that did not work. I tried it and rec'd the following message:

        killall: udhcpc: no process killed
        bash: udhcpc: command not found

I don't have openzaurus, I am running sharp standard rom 3.13 on SL-5500

Sorry, I should have specified what I am running.

Thanks, Doug
Title: Zaurus "Computer Name"
Post by: doseas on August 11, 2004, 06:05:01 pm
Quote
I have a laptop with wi-fi access to my wireless router. I gave it a computer name of "Doug" so I would know if any one else gains access to my wireless system.

My SL-5500 also has a wi-fi card installed, but the only thing I can get to show up on my router is "unknown" when I access it from my Zaurus.

I have tried everything I can think of to change the computer name of my zaurus, but all I get is "unknown".

I would really like to name my zaurus so I have a good handle on access to my router.
I'm not sure if this will resolve the issue on your router or not.  However, if you want the name of your Zaurus to show up on your PC, you need to add it to the hosts file, which is in C:\WINNT\system32\drivers\etc\hosts on Windows. For example, the line in my hosts file looks like:
192.168.129.201   zaurus

To give a name to the Zaurus, you use the "hostname" command like this:
/bin/hostname zaurus

However, that association doesn't survive reboots.  To make the hostname assignment permanent, I added the above line to my /etc/rc.d/rc.local file, so it gets executed shortly after booting.

Aside: the best way to prevent other people from getting access to your router is to turn on MAC address control.  That way, only WiFi cards that you specify can associate with your router.