LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2009, 10:44 AM   #1
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225

Rep: Reputation: 32
how'd i find my dhcp host name?


In my router (in the LAN IP settings section) there's a checkbox (that's checked) that tells me it's acting as a dhcp server. So i presume this is the host? I need to put something in rc.inet1.conf for dhcp hostname, but there's nothing in the router settings showing me such a name.
Any ideas anyone? Thanks in advance,
mute
 
Old 12-16-2009, 10:55 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Here's mine: DHCP_HOSTNAME[0]=""
 
Old 12-16-2009, 10:57 AM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,075

Rep: Reputation: 210Reputation: 210Reputation: 210
Check the documentation of your router, it might also have a pre-set hostname. Or I just realized while typing, try resolving the router's host name with a ping. If no host name comes up, then assign one on your router's settings (again see the doc for your router, since I don't know what router you have nor am I familiar with all routers). Also I think you can get away with just supplying the router's IP, but I am not for sure on that.
 
Old 12-16-2009, 10:58 AM   #4
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225

Original Poster
Rep: Reputation: 32
Thanks both.
@catkin: mine's like that at the moment. I'm just desperate to try anything to get my wireless working now
 
Old 12-16-2009, 11:02 AM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,075

Rep: Reputation: 210Reputation: 210Reputation: 210
Ok, if you are trying to get wireless to work, then you need to know the SSID. That isn't quite like the host name. The SSID is something that ID's your router to wireless cards. Go into your router, and find your wireless settings, and see if there is a default one. If not, Also remember to use WPA for security rather than WEP. Even better, WPA2, that is if your router has that function, and your card supports it.
 
Old 12-16-2009, 11:08 AM   #6
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
The host name is just the name of your computer. If you are setting up your wireless on the computer using DHCP and there is no encryption you will only need to provide the following information in /etc/rc.d/rc.inet1.conf:

Code:
GATEWAY="router ip"

IFNAME=[#]="device name" (IE: wlan0, ath0, etc..)
USE_DHCP[#]="yes"
WLAN_ESSID[#]="wireless broadcast name"
DHCP_HOSTNAME[#]="computer name"

#= the number of the device being configured, should already be preset.
If your wireless has WPA encryption you will need to configure the /etc/wpa_supplicant file as well.

Last edited by affinity; 12-16-2009 at 11:10 AM.
 
Old 12-16-2009, 11:14 AM   #7
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
In my router (in the LAN IP settings section) there's a checkbox (that's checked) that tells me it's acting as a dhcp server. So i presume this is the host? I need to put something in rc.inet1.conf for dhcp hostname, but there's nothing in the router settings showing me such a name.
The router may be acting as the dhcp server but the "host" refers to the client machine i.e. your workstation. The DHCP_HOSTNAME[] settings in rc.inet1.conf refer to the name of the host machine (your workstation). You can usually leave this blank or simply put the name of the PC returned by "hostname".
 
Old 12-16-2009, 11:25 AM   #8
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225

Original Poster
Rep: Reputation: 32
Ah right, useful stuff about the host not being the host
I have tried to alter my rc.inet1.conf yet, basically because i've been trying to get WICD to work, which i have, but it cant see my essid (my ubuntu partion can see it). I might post my rc.inet1.conf here when i get home tonght if that's ok.

Thanks again,
mute

PS: even a "iwlist wlan0 scan" doesnt pick up my network

Last edited by mutexe; 12-16-2009 at 11:30 AM. Reason: added the PS
 
Old 12-16-2009, 11:47 AM   #9
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Ah right, useful stuff about the host not being the host
Lol - this is admittedly confusing. However if you think of it in terms of the DHCP server,(Dynamic Host Configuration Protocol server), is serving IP addresses to hosts on the network (network nodes) - it hopefully makes more sense. The hosts are the clients in the DHCP client/server relationship.
 
Old 12-16-2009, 11:50 AM   #10
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 13.0
Posts: 225

Original Poster
Rep: Reputation: 32
Hehe yeah, kinda makes more sense now thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Awn: How'd you like me now! LXer Syndicated Linux News 0 09-15-2007 06:11 AM
DHCP host name? sheldonisaac Linux - Networking 2 05-23-2007 03:19 PM
How To know if a host configured with DHCP has obtained IP address from DHCP server? Prassanta Suse/Novell 1 06-29-2006 09:48 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 AM
How'd you find LQ? MasterC General 37 11-26-2004 08:34 PM


All times are GMT -5. The time now is 09:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration