Author Topic: make computer name show in wifi (Solved)  (Read 1804 times)

Offline Grandpa

  • Hero Member
  • *****
  • Posts: 825
make computer name show in wifi (Solved)
« on: January 06, 2012, 10:21:04 PM »
My Parks wifi likes for your computer name to show on their routers.  I have found my computer name.  I opened a terminal and typed "gksudo gedit /etc/hostname".  that said my computer name was "grandpa@localhost".  how do I make that show on the Parks routers when I sign on?  Thanks for any help.
« Last Edit: March 06, 2012, 12:35:26 AM by Grandpa »
Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: make computer name show in wifi
« Reply #1 on: January 06, 2012, 10:23:28 PM »
Texstar's instructions are here. Works for me.

Wait a minute. Misunderstood your post. Is Parks router a brand name?


« Last Edit: January 06, 2012, 10:25:18 PM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9768
  • I'm Just A Dog.
Re: make computer name show in wifi
« Reply #2 on: January 06, 2012, 10:30:16 PM »
Texstar's instructions are here. Works for me.

Wait a minute. Misunderstood your post. Is Parks router a brand name?


I read it the same way as you djohnston. I think Tex's instructions will work.  ;)


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Grandpa

  • Hero Member
  • *****
  • Posts: 825
Re: make computer name show in wifi
« Reply #3 on: January 06, 2012, 10:50:25 PM »
I will reply first then read Tex post.  The Parks router is Linksys WRT54g v2 with DD-WRT firmware installed.  I am also using a like router with the same firmware installed as a Client Bridge.  The Park uses a list of known computer names to know if someone is online who has not paid.  My computer name shows blank.  That is not a big deal as I am the one who does the checking.  But I would like to show up like everyone else.  My windows computer does.
Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5381
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: make computer name show in wifi
« Reply #4 on: January 07, 2012, 12:15:59 AM »
Try adding the following to your /etc/sysconfig/network file

DHCP_HOSTNAME=<yourhostname>




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Grandpa

  • Hero Member
  • *****
  • Posts: 825
Re: make computer name show in wifi
« Reply #5 on: January 07, 2012, 09:31:55 AM »
@YouCanToo
Not sure if this is what you mean.  My file now reads

HOSTNAME=localhost . localdomain
NETWORKING=yes
CRDA_DOMAIN=US
DHCP HOSTNAME=LINUX LAPTOP

If that is what you mean it did not work.  But thanks for the reply
Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.

Offline parnote

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4453
  • The truth is out there ... PCLinuxOS!
Re: make computer name show in wifi
« Reply #6 on: January 07, 2012, 11:18:17 AM »
@YouCanToo
Not sure if this is what you mean.  My file now reads

HOSTNAME=localhost . localdomain
NETWORKING=yes
CRDA_DOMAIN=US
DHCP HOSTNAME=LINUX LAPTOP

If that is what you mean it did not work.  But thanks for the reply

It probably didn't work 'cuz the line in red (above) isn't correct. It should be DHCP_HOSTNAME, and not as you have it with DHCP HOSTNAME. Notice the missing underscore character.
PCLinuxOS Magazine Chief Editor

Linux Registered User #485009

In a world without walls, who needs Windows?

PCLinuxOS Wiki: Contribute tips/tricks/how-to's!

Offline Grandpa

  • Hero Member
  • *****
  • Posts: 825
Re: make computer name show in wifi
« Reply #7 on: January 07, 2012, 12:07:21 PM »
That did not work either.
Since I sign on as a DHCP Client I have also tried
DHCPClient_HOSTNAME=LINUX LAPTOP
DHCP Client_HOSTNAME=LINUX LAPTOP

None of which worked.
But thanks for the reply!
Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5381
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: make computer name show in wifi
« Reply #8 on: January 07, 2012, 12:16:31 PM »
That did not work either.
Since I sign on as a DHCP Client I have also tried
DHCPClient_HOSTNAME=LINUX LAPTOP
DHCP Client_HOSTNAME=LINUX LAPTOP

None of which worked.
But thanks for the reply!

Grampa, Paul was correct there should be a underscore in the DHCP_HOSTNAME

also you show your  HOSTNAME=localhost . localdomain  this is not correct there should be no spaces in the localhost.localdomain part




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Grandpa

  • Hero Member
  • *****
  • Posts: 825
Re: make computer name show in wifi
« Reply #9 on: January 07, 2012, 12:32:50 PM »
That is a typo here.  In the file there is no spaces.
Thanks again
Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: make computer name show in wifi
« Reply #10 on: March 05, 2012, 08:41:55 PM »
Grandpa

Did you get this one sorted out??
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Grandpa

  • Hero Member
  • *****
  • Posts: 825
Re: make computer name show in wifi
« Reply #11 on: March 06, 2012, 12:33:03 AM »
Yes I did.  I don't know what I was doing wrong before.  But here is what I added to the /etc/sysconfig/network.  The line reads "DHCP_HOSTNAME=grandpalinux".  I will change this to solved.  Thanks to all who replied.
Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11052
  • MLUs Forever!
Re: make computer name show in wifi
« Reply #12 on: March 06, 2012, 06:14:29 AM »
Yes I did.  I don't know what I was doing wrong before.  But here is what I added to the /etc/sysconfig/network.  The line reads "DHCP_HOSTNAME=grandpalinux".  I will change this to solved.  Thanks to all who replied.

Maybe the space in "LINUX LAPTOP"  upset it ....
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5381
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: make computer name show in wifi (Solved)
« Reply #13 on: March 06, 2012, 10:03:44 AM »
I just read on the internet the the DHCP_HOSTNAME does not like names with spaces in it. It recommended changing all space to either a "-" or "_".  It looks like you stumbled on to the solution to your problem.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!