Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: aug on March 30, 2016, 05:46:44 AM
-
How can this done????
- i have edited /etc/hostname
=> nothing
- used sudo hostname xxx
=> changed hostname but after a reboot its reset to box
I both cases i had added /etc/hostname to .filetool.lst and executed filetool.sh -b before rebooting.
-
Add host=xxx to /mnt/mmcblk0p1/cmdline.txt
-
Hm.... can i do this on a running system?
-
Yes
Sent from my iPad using Tapatalk HD
-
but how??? mmcblk0p1 is empty after booting....
-
but how??? mmcblk0p1 is empty after booting....
Mount it
-
Hi aug,
You can also change the hostname from box by editing the line which says/usr/bin/sethostname box
in /opt/bootsync.sh
and then running filetool.sh -b
to save the changes.
HTH
Jon
-
Hi aug,
You can also change the hostname from box by editing the line which says/usr/bin/sethostname box
in /opt/bootsync.sh
and then running filetool.sh -b
to save the changes.
HTH
Jon
This method does not work with DHCP environments, unless you don't care if the router gets the correct hostname advertisement.
Setting it commandline is more reliable.
-
Hi all,
I know this is an old thread, but I'm trying to change the name that shows on the network? This is not the hostname from what I can see but perhaps the device name? How would you do that? I'm trying to define a unique name that if a user did a network "sniff" they would see the custom name. Any ideas :)
Thank you!
-
Hi onelife
... I'm trying to change the name that shows on the network? This is not the hostname from what I can see but perhaps the device name? ...
I think the hostname is what goes out on the network, and that defaults to box. What name are you seeing?
-
At the moment I see "Raspberry" and "Raspberry Pi" on the network search. So perhaps this is linked to the vendor name? Or actual product name when you "search" on a network? That's the name I'm trying to update - That's if it's possible?
Thanks
-
Nothing in piCore is going to broadcast Raspberry pi. If your sniffing and seeing raspberry pi, then that is your sniffing program converting the MAC address to a real vendor name.
If you are using wireshark, then take a look here https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf
-
Hi Paul_123
Now it makes sense. It never occurred to me that Raspberry pi would have their own vendor code.
-
onelife doesn't specify whether his pi is connected via WIFI or wired LAN. I would guess the B8:27:EB OUI would only be applicable to wired interfaces (not USB ones though)?
-
I think the manufacturer for "B8:27:EB" is "Raspberry Pi Foundation" and this applies to wired and built-in wireless.
-
I think the manufacturer for "B8:27:EB" is "Raspberry Pi Foundation" and this applies to wired and built-in wireless.
Yes, thanks for the clarification. Should have checked my pi zero w before posting.
-
Yes thats correct.
B8-27-EB (hex) Raspberry Pi Foundation
B827EB (base 16) Raspberry Pi Foundation
Mitchell Wood House
Caldecote Cambridgeshire CB23 7NU
US
See the file http://standards-oui.ieee.org/oui.txt