Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Computer Name?, Linux Newbie....< Next Oldest | Next Newest >
DeNnO Offline





Group: Members
Posts: 2
Joined: Feb. 2006
Posted: Feb. 02 2006,21:22 QUOTE

Hi,

Is there a way to set a computer name for my DSL PC?

I can only access it using the IP address but am wanting to use a computer name.

The computer Name shows up as unknown on my Router which means it can not detect one.

I do know that BOX works in DSL but i need it to be able to be able to access it on the network.

Sorry I am a Linux Newbie....


--------------
DeNnO has spoken.....
Back to top
Profile PM WEB 
newOldUser Offline





Group: Members
Posts: 241
Joined: Oct. 2004
Posted: Feb. 03 2006,00:16 QUOTE

If I understand you correctly then you may need a DNS server? Or are you saying that your router is your DNS server but the DSL box doesn't show up?  You may want to post a little more information.  Are you trying to get to your DSL box from a windows machine?  If you are, and if your DSL box has the same IP address each time it boots you can add a line to your window machines hosts file.  It's usually found in something like C:\WINDOWS\SYSTEM32\DRIVERS\etc directory. It's called 'hosts'. You can edit it with notepad.  

Add a line with the IP address a few spaces and the name you want to use for that IP address. So it might look like this:

127.0.0.1 localhost
192.168.1.101  myDSLServer

Just add lines as you need them.

Now whenever I reference myDSLServer windows can translate it to an IP Address.

-Good luck


--------------
======== Note =========
The DSL Forum Search default is 'OR'
If you search for "cat dog" you will get all "cat" posts and all "dog" posts.
If you search for "cat AND dog" you will only find results that contain BOTH "cat" and "dog"
Add '*' for wildcards, " cat* and dog* "
Back to top
Profile PM 
Joe Breher
Unregistered






Posted: Feb. 03 2006,20:34 QUOTE

Perhaps you have the same problem I have. My 'DNS' server is a Linksys WRT54AG all-in-one appliance. I think it understands enough about its duties to provide DNS-like services over WINS or some other microsoft bastardization, but does not relly understand DNS as a whole. As a consequence, I can only access my linux boxes via IP address. It's a PITA, but not so much so that I've done anything about it.
Back to top
larkl Offline





Group: Members
Posts: 177
Joined: Sep. 2005
Posted: Feb. 04 2006,12:39 QUOTE

I think that NewOld suggestion will fix both of your problems.  It doesn't matter what the DSL box thinks it is, all it'll ever see is the same old IP address.  If you'll edit your hosts file with the static IP address, then WIndows will do the name to IP conversion for you.  If the DSL box is using dchp, then this won't work.  But, you could easily convert it to a static IP address, especially if it's not being moved around to other networks.
Back to top
Profile PM 
3 replies since Feb. 02 2006,21:22 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Computer Name?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code