PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 24, 2012, 05:46:18 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: make computer name show in wifi (Solved)  (Read 612 times)
Grandpa
Hero Member
*****
Offline Offline

Posts: 649


« on: January 07, 2012, 12:21:04 AM »

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.
Logged

Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5687


I don't do Windows


« Reply #1 on: January 07, 2012, 12:23:28 AM »

Texstar's instructions are here. Works for me.

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


Logged

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
Rudge
Hero Member
*****
Offline Offline

Posts: 7766


I'm just a dog.


« Reply #2 on: January 07, 2012, 12:30:16 AM »

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.  Wink
Logged

Grandpa
Hero Member
*****
Offline Offline

Posts: 649


« Reply #3 on: January 07, 2012, 12:50:25 AM »

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.
Logged

Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.
YouCanToo
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4243


Location: Lebanon, OR., USA


WWW
« Reply #4 on: January 07, 2012, 02:15:59 AM »

Try adding the following to your /etc/sysconfig/network file

DHCP_HOSTNAME=<yourhostname>
Logged





Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!
Grandpa
Hero Member
*****
Offline Offline

Posts: 649


« Reply #5 on: January 07, 2012, 11: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
Logged

Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.
parnote
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 3963


The truth is out there ... PCLinuxOS!


« Reply #6 on: January 07, 2012, 01:18:17 PM »

@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.
Logged

PCLinuxOS Magazine Chief Editor

Linux Registered User #485009

In a world without walls, who needs Windows?

PCLinuxOS Wiki: Contribute tips/tricks/how-to's!
Grandpa
Hero Member
*****
Offline Offline

Posts: 649


« Reply #7 on: January 07, 2012, 02: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!
Logged

Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.
YouCanToo
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4243


Location: Lebanon, OR., USA


WWW
« Reply #8 on: January 07, 2012, 02: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
Logged





Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!
Grandpa
Hero Member
*****
Offline Offline

Posts: 649


« Reply #9 on: January 07, 2012, 02:32:50 PM »

That is a typo here.  In the file there is no spaces.
Thanks again
Logged

Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.
wedgetail
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 2110


Any Bugs in site?


« Reply #10 on: March 05, 2012, 10:41:55 PM »

Grandpa

Did you get this one sorted out??
Logged

KDE & 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
Grandpa
Hero Member
*****
Offline Offline

Posts: 649


« Reply #11 on: March 06, 2012, 02: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.
Logged

Life is short, Break the rules, Forgive quickly, Kiss slowly, Love truly, Laugh uncontrollably, And never regret anything that made you smile.
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4606


MLUs Forever!


« Reply #12 on: March 06, 2012, 08: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 ....
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
YouCanToo
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4243


Location: Lebanon, OR., USA


WWW
« Reply #13 on: March 06, 2012, 12:03:44 PM »

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.
Logged





Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM