LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 14.1
Posts: 240

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: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Here's mine: DHCP_HOSTNAME[0]=""
 
Old 12-16-2009, 10:57 AM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
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 14.1
Posts: 240

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: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
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: 232Reputation: 232Reputation: 232
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 14.1
Posts: 240

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: 232Reputation: 232Reputation: 232
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 14.1
Posts: 240

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


Reply



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 / openSUSE 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration